:root {
  --bg: #f7fafc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef5fa;
  --line: rgba(14, 58, 140, 0.12);
  --line-strong: rgba(14, 58, 140, 0.22);
  --text: #33383d;
  --muted: #5c6570;
  --accent: #5bc0eb;
  --accent-ink: #0e3a8c;
  --navy: #0e3a8c;
  --charcoal: #33383d;
  --warm: #0e3a8c;
  --danger: #c4473a;
  --shadow: 0 18px 44px rgba(14, 58, 140, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 92px;
  --max: 1120px;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", serif;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 450;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--accent);
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text);
}

.brand-logo {
  display: block;
  height: 68px;
  width: auto;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  color: inherit;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  background: #0b3178;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text);
}

.header-cta {
  padding: 9px 16px;
  font-size: 0.92rem;
  margin-left: 8px;
}

.hero {
  padding: 72px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  background:
    radial-gradient(640px 280px at 80% 0%, rgba(91, 192, 235, 0.28), transparent 62%),
    radial-gradient(500px 220px at 10% 100%, rgba(14, 58, 140, 0.06), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  color: var(--navy);
}

h1 {
  font-size: clamp(3rem, 7vw, 5.1rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
}

h3 {
  font-size: 1.55rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 38ch;
  margin: 22px 0 0;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-stage {
  position: relative;
  min-height: 460px;
}

.badge-card,
.brief-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.badge-card {
  width: min(100%, 320px);
  padding: 28px 26px 32px;
  position: relative;
  overflow: hidden;
}

.reticle {
  position: absolute;
  inset: 14px;
  pointer-events: none;
}

.reticle span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
}

.reticle span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.reticle span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.reticle span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.reticle span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.scan-line {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan {
  0%, 100% { top: 22%; opacity: 0.2; }
  45%, 55% { opacity: 1; }
  50% { top: 72%; }
}

.badge-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 28px;
}

.badge-name {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 8px;
}

.badge-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--navy);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 650;
  margin-top: 22px;
}

.brief-card {
  position: absolute;
  right: 0;
  top: 92px;
  width: min(100%, 300px);
  padding: 20px 20px 18px;
}

.brief-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.brief-sub {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 14px;
}

.brief-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: points;
}

.brief-card li {
  counter-increment: points;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.brief-card li::before {
  content: counter(points);
  color: var(--accent);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 1.08rem;
}

.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mode-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
}

.mode-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.mode-card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  padding: 8px 8px 0 0;
}

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  margin: 10px 0 0;
}

.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}

.chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.95rem;
  background: var(--surface);
}

.chip.soon {
  color: var(--muted);
  border-style: dashed;
}

.fine-print {
  color: var(--muted);
  margin: 0;
  max-width: 46rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.trust-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.channel-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.channel-list strong {
  color: var(--text);
  display: block;
  font-weight: 600;
}

.channel-list span.mark {
  color: var(--accent);
  font-weight: 700;
  width: 18px;
  flex-shrink: 0;
}

.access {
  background:
    radial-gradient(500px 200px at 20% 0%, rgba(91, 192, 235, 0.18), transparent 60%),
    var(--bg);
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  width: 100%;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status.error {
  color: var(--danger);
}

.form-status.ok,
.thanks {
  color: var(--navy);
}

.thanks {
  display: none;
  margin: 0;
  font-size: 1.15rem;
}

.form.is-done .form-grid,
.form.is-done .form-intro {
  display: none;
}

.form.is-done .thanks {
  display: block;
}

.form-intro {
  margin: 0 0 18px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 8px 0 10px;
}

.legal .lede {
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 1.5rem;
  margin: 32px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
  max-width: 62ch;
}

.legal ul {
  padding-left: 1.15rem;
}

.page-hero {
  padding: 56px 0 0;
}

.not-found {
  padding: 120px 0 160px;
  text-align: left;
}

@media (max-width: 880px) {
  .hero-grid,
  .modes,
  .steps,
  .trust-grid,
  .split,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .brief-card {
    position: relative;
    top: -28px;
    right: auto;
    margin-left: 28px;
    width: calc(100% - 28px);
  }

  .product-stage {
    min-height: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    gap: 14px;
    margin: 0;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .header-cta {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .brand-logo {
    height: 52px;
  }

  .site-header {
    --nav-h: 80px;
  }

  .wrap,
  .header-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  h1 {
    font-size: 2.55rem;
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scan-line,
  .btn {
    animation: none;
    transition: none;
  }

  .scan-line {
    top: 48%;
    opacity: 0.7;
  }
}

.opt { font-weight: 450; color: var(--muted); }
