:root {
  --ink: #101923;
  --muted: #66717f;
  --bg: #f4f7fb;
  --paper: #ffffff;
  --accent: #245cc7;
  --accent-soft: #dce8ff;
  --dark: #101b29;
  --line: rgba(16, 25, 35, 0.13);
  --radius: 28px;
}

.developer {
  --ink: #f2f6f2;
  --muted: #9ba8a0;
  --bg: #0b100e;
  --paper: #111815;
  --accent: #8ee477;
  --accent-soft: #1d3829;
  --dark: #050807;
  --line: rgba(255, 255, 255, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; color: white; background: #111; border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; min-height: 82px; padding: 0 4.5vw; color: white;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 720; text-decoration: none; }
.brand img { width: 33px; height: 33px; }
.brand-divider { width: 1px; height: 24px; margin: 0 16px; background: rgba(255,255,255,.4); }
.product-wordmark { font-weight: 600; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a { font-size: .88rem; font-weight: 620; text-decoration: none; opacity: .78; }
.site-nav a:hover { opacity: 1; }
.site-nav .nav-cta { padding: 11px 17px; color: #111; background: white; border-radius: 999px; opacity: 1; }
.menu-button, .mobile-nav { display: none; }

.hero {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  min-height: 790px; color: white; background: var(--dark);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 145px 6vw 75px; }
.eyebrow, .section-label {
  margin: 0 0 20px; font-size: .72rem; font-weight: 780;
  letter-spacing: .13em; line-height: 1.2; text-transform: uppercase;
}
.eyebrow { color: rgba(255,255,255,.62); }
.hero h1 {
  margin: 0; font-size: clamp(3.7rem,5.8vw,7rem); font-weight: 570;
  letter-spacing: -.065em; line-height: .92;
}
.hero h1 span { display: block; margin-top: .17em; color: var(--accent); }
.hero-lead { max-width: 610px; margin: 34px 0 0; color: rgba(255,255,255,.69); font-size: 1.16rem; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 53px;
  padding: 0 23px; color: #101510; background: var(--accent);
  border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .18s ease;
}
.research .button { color: white; }
.button:hover { transform: translateY(-2px); }
.text-link { font-weight: 650; text-decoration: none; }
.status-note { margin: 28px 0 0; color: rgba(255,255,255,.42); font-size: .76rem; }
.hero-media { position: relative; min-height: 790px; margin: 0; overflow: hidden; }
.hero-media::after {
  position: absolute; inset: 0; content: "";
  background: linear-gradient(90deg, rgba(16,27,41,.35), transparent 32%), linear-gradient(0deg, rgba(4,10,8,.48), transparent 42%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.research .hero-media img { object-position: 53% center; }
.developer .hero-media img { object-position: center 48%; }
.hero-media figcaption {
  position: absolute; right: 5vw; bottom: 48px; z-index: 2;
  display: flex; flex-direction: column; text-align: right;
  font-family: Georgia, serif; font-size: clamp(1.5rem,2.3vw,2.8rem); font-style: italic; line-height: 1.05;
}

.statement {
  display: grid; grid-template-columns: .55fr 1.35fr .9fr; gap: 55px;
  padding: 125px 6vw; background: var(--paper);
}
.statement h2, .section-heading h2, .split-copy h2, .code-section h2, .access h2 {
  margin: 0; font-size: clamp(2.8rem,5.1vw,6.1rem); font-weight: 570; letter-spacing: -.057em; line-height: .97;
}
.statement > p:last-child { align-self: end; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }

.section-shell { max-width: 1500px; margin: 0 auto; padding: 130px 5vw; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 68px; }
.section-heading > p { max-width: 430px; margin: 0 0 8px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.topic-card {
  min-height: 310px; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper);
}
.topic-card > span { color: var(--muted); font-size: .72rem; font-weight: 750; }
.topic-card h3 { margin: 92px 0 12px; font-size: 1.46rem; letter-spacing: -.035em; }
.topic-card p { max-width: 350px; margin: 0; color: var(--muted); line-height: 1.58; }
.topic-card.accent { background: var(--accent-soft); }

.split-feature { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 760px; background: var(--paper); }
.split-feature figure { margin: 0; overflow: hidden; }
.split-feature figure img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px 7vw; }
.split-copy > p:not(.section-label,.fine-print) { max-width: 610px; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.spec-list { margin: 34px 0 0; }
.spec-list > div { display: grid; grid-template-columns: 145px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.spec-list dt { font-size: .82rem; font-weight: 760; }
.spec-list dd { margin: 0; color: var(--muted); line-height: 1.5; }
.fine-print { margin-top: 25px; color: var(--muted); font-size: .74rem; line-height: 1.5; }

.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow-list li { display: grid; grid-template-columns: 80px .8fr 1fr; gap: 40px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.workflow-list li > span { color: var(--accent); font-size: .76rem; font-weight: 760; }
.workflow-list h3 { grid-column: 2; margin: 0; font-size: 1.5rem; }
.workflow-list p { grid-column: 3; margin: 0; color: var(--muted); line-height: 1.55; }

.image-band { position: relative; min-height: 720px; overflow: hidden; background: #111; }
.image-band > img, .image-band > video { width: 100%; height: 720px; object-fit: cover; opacity: .72; }
.image-band::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(4,9,14,.8), transparent 70%); }
.image-band > div { position: absolute; top: 50%; left: 7vw; z-index: 2; color: white; transform: translateY(-50%); }
.image-band h2 { margin: 0; font-size: clamp(3.5rem,6.3vw,7.8rem); font-weight: 560; letter-spacing: -.06em; line-height: .93; }

.code-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8vw;
  padding: 130px 7vw; background: #101712;
}
.code-section > div > p:last-child { max-width: 520px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.code-section pre {
  align-self: center; margin: 0; padding: 38px; overflow: auto;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  background: #060a08; box-shadow: 0 32px 70px rgba(0,0,0,.35);
}
.code-section code { color: #e6eee8; font-family: "SFMono-Regular", Consolas, monospace; font-size: .95rem; line-height: 2; }
.code-muted { color: #718078; }.code-key { color: #8ee477; }.code-string { color: #f3c879; }

.access {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8vw;
  padding: 120px 7vw; color: #101510; background: var(--accent);
}
.research .access { color: white; }
.access > div > p:last-child { max-width: 580px; color: currentColor; opacity: .72; font-size: 1.05rem; line-height: 1.6; }
.signup-form { align-self: center; }
.signup-form label { display: block; margin-bottom: 12px; font-size: .76rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.form-row { display: flex; gap: 10px; }
.form-row input {
  min-width: 0; flex: 1; height: 60px; padding: 0 20px; color: #111;
  border: 1px solid rgba(0,0,0,.25); border-radius: 999px; outline: 0; background: rgba(255,255,255,.9);
}
.form-row input:focus { box-shadow: 0 0 0 4px rgba(255,255,255,.28); }
.form-row button {
  min-height: 60px; padding: 0 22px; color: white; border: 0; border-radius: 999px;
  background: #101923; cursor: pointer; font-weight: 730;
}
.developer .form-row button { color: #111; background: white; }
.form-row button:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 21px; margin: 12px 0 0; font-size: .88rem; font-weight: 650; }
.form-status.is-error { color: #7c1515; }
.form-fine-print { margin: 4px 0 0; font-size: .72rem; opacity: .58; }

.site-footer {
  display: grid; grid-template-columns: 1fr auto; gap: 50px; padding: 62px 6vw 30px;
  color: white; background: #080d0b;
}
.site-footer .brand { margin-bottom: 18px; }
.site-footer p { color: rgba(255,255,255,.48); font-size: .8rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 26px; align-items: start; }
.site-footer nav a { color: rgba(255,255,255,.7); font-size: .84rem; text-decoration: none; }
.site-footer .copyright { grid-column: 1/-1; margin: 42px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 1050px) {
  .site-nav { display: none; }
  .menu-button {
    display: flex; flex-direction: column; gap: 6px; width: 42px; height: 42px;
    margin-left: auto; padding: 13px 10px; border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%; background: transparent;
  }
  .menu-button span:not(.sr-only) { display: block; width: 100%; height: 1px; background: white; }
  .mobile-nav {
    position: absolute; top: 70px; right: 4vw; display: none; flex-direction: column;
    min-width: 220px; padding: 12px; color: #111; border-radius: 18px; background: white;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 12px; text-decoration: none; font-weight: 650; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy, .hero-media { min-height: 670px; }
  .statement { grid-template-columns: 1fr 2fr; }
  .statement > p:last-child { grid-column: 2; }
  .section-heading { align-items: start; flex-direction: column; }
  .split-feature, .code-section, .access { grid-template-columns: 1fr; }
  .split-feature figure { min-height: 620px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; padding: 0 20px; }
  .brand span, .brand-divider { display: none; }
  .product-wordmark { margin-left: 11px; }
  .hero-copy { min-height: 650px; padding: 120px 24px 65px; }
  .hero h1 { font-size: clamp(3.2rem,14vw,5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-media { min-height: 500px; }
  .statement { grid-template-columns: 1fr; gap: 24px; padding: 85px 24px; }
  .statement > p:last-child { grid-column: auto; }
  .statement h2, .section-heading h2, .split-copy h2, .code-section h2, .access h2 { font-size: clamp(2.8rem,13vw,4.3rem); }
  .section-shell { padding: 90px 20px; }
  .section-heading { gap: 24px; margin-bottom: 44px; }
  .card-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 270px; }
  .topic-card h3 { margin-top: 68px; }
  .split-feature figure { min-height: 480px; }
  .split-copy { padding: 80px 24px; }
  .spec-list > div { grid-template-columns: 1fr; gap: 8px; }
  .workflow-list li { grid-template-columns: 42px 1fr; gap: 14px; }
  .workflow-list h3, .workflow-list p { grid-column: 2; }
  .image-band, .image-band > img, .image-band > video { min-height: 590px; height: 590px; }
  .image-band > img, .image-band > video { object-position: center; }
  .image-band > div { right: 24px; left: 24px; }
  .code-section, .access { padding: 90px 24px; }
  .code-section { gap: 45px; }
  .code-section pre { padding: 24px; }
  .code-section code { font-size: .78rem; }
  .form-row { flex-direction: column; }
  .form-row button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; padding: 50px 24px 25px; }
  .site-footer .brand span { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
