@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Lora:ital,wght@0,500;1,400&display=swap');

:root {
  --navy: #0d1f3c;
  --navy-mid: #162d52;
  --bg: #faf9f7;
  --surface: #ffffff;
  --border: #ebe8e3;
  --border-2: #d8d4cc;
  --text: #1a1a1a;
  --text-2: #44403c;
  --text-3: #78716c;
  --font-ui: 'Inter', system-ui, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --narrow: 40rem;
  --wide: 60rem;
  --radius: 6px;
  --pad-x: 1rem;
  --pad-section: 2.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--navy); }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
  padding: 0.1em 0.35em;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ─── Type ────────────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1rem + 0.75vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 1.25rem;
}

/* ─── Header ──────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--pad-x);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo img { height: 2.5rem; width: auto; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
}

.nav a:not(.btn) {
  color: var(--text-3);
  text-decoration: none;
  padding: 0.375rem 0.125rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.nav a:not(.btn):hover { color: var(--text); }

.nav a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.1s;
}

.btn:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: #fff;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.btn--nav {
  min-height: 2.25rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn__icon {
  height: 1.125rem;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

/* ─── Layout ──────────────────────────────────────────────────── */
.main-narrow {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

main {
  padding: 0 0 5rem;
}

/* ─── Hero split ──────────────────────────────────────────────── */
.hero-split {
  padding: var(--pad-section) 0;
  margin-bottom: 0;
}

.hero-split__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-split__copy {
  min-width: 0;
}

.hero-split__media {
  margin: 0;
  min-width: 0;
}

.hero-split__media img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 32px rgba(13, 31, 60, 0.06);
}

.hero-split__caption {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-3);
  line-height: 1.5;
  text-align: left;
}

.hero__logo {
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: none;
  line-height: 0;
}

.hero__logo img {
  height: 4.5rem;
  width: auto;
}

.hero__logo:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  border-radius: 4px;
}

.hero-split h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 18ch;
}

.hero__lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 38ch;
}

.hero__scope {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-3);
  line-height: 1.55;
  max-width: 42ch;
}

.hero__cta {
  margin: 1.5rem 0 0;
}

@media (min-width: 56rem) {
  .hero-split__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 2.5rem 3rem;
    align-items: center;
  }

  .hero-split h1 {
    max-width: 16ch;
  }
}

/* ─── Features ────────────────────────────────────────────────── */
.feature-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.feature {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.feature__title {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.375rem;
}

.feature__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 52ch;
}

@media (min-width: 48rem) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }

  .feature:nth-child(odd):last-child {
    grid-column: 1 / -1;
  }
}

/* ─── Screenshots ─────────────────────────────────────────────── */
.shot img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: block;
}

.shot__link {
  display: block;
  border-radius: var(--radius);
  text-decoration: none;
  transition: box-shadow 0.15s, outline-offset 0.15s;
}

.shot__link:hover img {
  border-color: var(--border-2);
}

.shot__link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.shot figcaption {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-3);
  line-height: 1.5;
  text-align: center;
}

.shot figcaption a {
  margin-left: 0.35rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shot--wide {
  margin: 0;
}

.shot--wide img {
  box-shadow: 0 8px 32px rgba(13, 31, 60, 0.06);
}

.section--wide {
  border-top: 1px solid var(--border);
  padding-top: var(--pad-section);
  margin-top: var(--pad-section);
}

.section--wide__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ─── Sections ────────────────────────────────────────────────── */
.section {
  padding-top: var(--pad-section);
  border-top: 1px solid var(--border);
}

.section p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 48ch;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section__head .section-title {
  margin-bottom: 0;
}

.hf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-end;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.1rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.1s, background 0.1s;
}

.hf-badge:hover {
  border-color: var(--border-2);
  background: var(--bg);
}

.hf-badge:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.hf-badge img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.links li:first-child { border-top: 1px solid var(--border); }

.links__main {
  min-width: 0;
  flex: 1;
}

.links a {
  display: block;
  padding: 0.125rem 0;
  text-decoration: none;
  font-weight: 500;
  color: var(--navy);
}

.links a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 2px;
}

.links__name {
  display: block;
  padding: 0.125rem 0;
  font-weight: 500;
  color: var(--text-2);
}

.links__desc {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-3);
  line-height: 1.4;
}

.links__cer {
  flex-shrink: 0;
  min-width: 7rem;
  text-align: right;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}

.links__cer b {
  font-weight: 500;
  color: var(--text-2);
}

@media (max-width: 480px) {
  .links__cer { min-width: 0; }
}

.status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.3rem 0.65rem 0.3rem 0.5rem;
  line-height: 1;
  white-space: nowrap;
}

.status__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.status--live {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.status--live .status__dot {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.status--soon {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.status--soon .status__dot {
  background: #f59e0b;
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 1.5rem var(--pad-x);
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-3);
}

.footer a { color: var(--text-3); }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (min-width: 48rem) {
  :root {
    --pad-x: 1.5rem;
    --pad-section: 3rem;
  }

  .header__logo img { height: 3rem; }

  .hero__logo img { height: 6.5rem; }
}

@media (min-width: 64rem) {
  :root {
    --narrow: 42rem;
    --pad-section: 3.5rem;
  }
}

@media (min-width: 90rem) {
  :root { --wide: 64rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .hf-badge { transition: none; }
}
