@font-face {
  font-family: "Nunito Sans";
  src: url("/static/fonts/nunito-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/static/fonts/nunito-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/static/fonts/nunito-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/static/fonts/nunito-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/static/fonts/nunito-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/static/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #3d7b87;
  --brand-hover: #1e4e5a;
  --brand-soft: #e7f1f3;
  --deep: #0f2c42;
  --ink: #3a3f47;
  --muted: #6b7280;
  --paper: #f9fafb;
  --surface: #ffffff;
  --line: #e5e7eb;
  --gold: #b8956a;
  --queue: #b8956a;
  --queue-soft: #fff6e0;
  --ok: #1e4e5a;
  --ok-soft: #e8f5e9;
  --draft: #6b7280;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --page: 24px;
  --nav: 72px;
  --radius: 16px;
  --on-brand: #ffffff;
  --dur-hover: 160ms;
  --dur-mark: 180ms;
  --dur-panel: 200ms;
  --dur-draw: 320ms;
  --dur-reveal: 480ms;
  --shadow-soft: 0 16px 40px rgba(15, 44, 66, 0.08);
  --shadow-lift: 0 22px 50px rgba(15, 44, 66, 0.18);
}

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

html { color-scheme: light; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, p { overflow-wrap: break-word; }

h1, h2, h3 {
  font-family: Fraunces, Nunito, "Nunito Sans", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--deep);
}

h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h2 { margin: 0 0 12px; font-size: clamp(1.75rem, 3vw, 2.35rem); }
h3 { margin: 0; font-size: 1.2rem; }

p { margin: 0 0 12px; }

a { color: var(--brand-hover); text-underline-offset: 3px; }
a:hover { color: var(--deep); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--on-brand); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - var(--page) * 2));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--brand-hover);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.section-head { max-width: 40rem; margin-bottom: 36px; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }

.band { padding: 96px 0; }
section[id],
article[id] { scroll-margin-top: calc(var(--nav) + 12px); }
.band-white { background: var(--surface); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  -webkit-text-stroke: 0;
  transition: background-color var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease);
}
a.btn:hover,
.btn:hover { background: var(--brand-hover); color: #FFFFFF; -webkit-text-fill-color: #FFFFFF; }
.btn.ghost {
  background: var(--surface);
  color: var(--brand);
  -webkit-text-fill-color: var(--brand);
  -webkit-text-stroke: 0;
  box-shadow: inset 0 0 0 1px var(--brand);
}
a.btn.ghost:hover,
.btn.ghost:hover {
  background: var(--brand-soft);
  color: var(--brand-hover);
  -webkit-text-fill-color: var(--brand-hover);
}
.btn.light {
  background: var(--surface);
  color: var(--deep);
  -webkit-text-fill-color: var(--deep);
  -webkit-text-stroke: 0;
}
a.btn.light:hover,
.btn.light:hover {
  background: var(--brand-soft);
  color: var(--deep);
  -webkit-text-fill-color: var(--deep);
}
.btn.ghost-on-dark {
  background: transparent;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
a.btn.ghost-on-dark:hover,
.btn.ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--deep);
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
}
.logo-mark { width: 32px; height: 32px; flex: none; display: block; }
.logo-mark .stem,
.logo-mark .ring { transition: stroke var(--dur-mark) cubic-bezier(0.16, 1, 0.3, 1); }
.logo:hover .logo-mark .stem,
.logo:hover .logo-mark .ring { stroke: #3d7b87; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease);
}
.site-nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(15, 44, 66, 0.06);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1120px, calc(100% - var(--page) * 2));
  min-height: var(--nav);
  margin: 0 auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a,
.site-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.nav-links a:hover,
.site-menu a:hover,
.nav-links a[aria-current="true"],
.site-menu a[aria-current="true"] { color: var(--deep); background: var(--paper); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--deep);
}
.menu-btn:hover { background: var(--paper); }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.site-menu { display: none; }

.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: clip;
  background:
    radial-gradient(ellipse 60% 50% at 12% 20%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 40% at 48% 88%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 65%),
    var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: max(440px, 46vw);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--deep) 92%, var(--brand)) 0%, var(--deep) 55%, var(--brand-hover) 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.35rem, 4.4vw, 3.55rem);
  line-height: 1.05;
}
.hero h1 span { display: block; color: var(--brand-hover); }
.lede {
  max-width: 38rem;
  margin: 0 0 28px;
  font-size: 1.125rem;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 16px 0 0; max-width: 36rem; color: var(--muted); font-size: 0.9375rem; }
.device-caption {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
}

.device-stage {
  position: relative;
  padding-bottom: 28px;
}
.device {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  color: var(--ink);
}
.device-chrome {
  display: flex;
  gap: 6px;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.device-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5dbe3;
}
.device-chrome span:nth-child(1) { background: #e8b4b4; }
.device-chrome span:nth-child(2) { background: #e6d4a8; }
.device-chrome span:nth-child(3) { background: #b8d4c2; }
.device-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  background: var(--surface);
  box-shadow: inset 0 -1px 0 var(--line);
}
.device-mark { width: 22px; height: 22px; flex: none; color: var(--deep); }
.device-title {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}
.sample-tag {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.device-body { padding: 16px; background: var(--paper); }
.device-greeting {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.device-greeting strong {
  display: block;
  color: var(--deep);
  font-family: Fraunces, Nunito, serif;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.device-greeting span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.device-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
}
.device-heading {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.device-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 12px;
  color: var(--deep);
  font-size: 0.875rem;
  font-weight: 700;
}
.device-filters span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.device-float {
  position: absolute;
  z-index: 2;
  right: -12px;
  bottom: 0;
  width: min(220px, 58%);
  padding: 14px 16px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-soft), 0 0 0 1px var(--line);
}
.float-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.float-case {
  margin: 0;
  color: var(--deep);
  font-size: 0.875rem;
  font-weight: 700;
}
.float-meta {
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.stat {
  min-width: 0;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.stat span {
  display: block;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
}
.stat strong {
  display: block;
  margin-top: 2px;
  color: var(--brand);
  font-family: Nunito, "Nunito Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.sample-list { display: flex; flex-direction: column; gap: 8px; }
.sample-case {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--dur-panel) var(--ease);
}
.sample-case:not(:has(.sample-mark)) { grid-template-columns: minmax(0, 1fr) auto; }
.sample-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}
.sample-case strong,
.file-row strong {
  display: block;
  color: var(--deep);
  font-size: 0.875rem;
  letter-spacing: -0.01em;
}
.sample-case div span,
.file-row span {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--draft);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill.in_queue { background: var(--queue-soft); color: var(--brand-hover); }
.pill.assigned { background: var(--brand-soft); color: var(--brand-hover); }
.pill.in_review { background: var(--queue-soft); color: var(--brand-hover); }
.pill.completed { background: var(--ok-soft); color: var(--ok); }
.pill.draft { background: var(--paper); color: var(--draft); box-shadow: inset 0 0 0 1px var(--line); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.value-card {
  min-width: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur-panel) var(--ease), transform var(--dur-panel) var(--ease), box-shadow var(--dur-panel) var(--ease);
}
.value-card:hover {
  border-color: #c5dde2;
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.value-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-hover);
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { margin: 0; font-size: 0.9375rem; color: var(--muted); }

.flow-track { position: relative; }
.flow-line {
  position: absolute;
  z-index: 0;
  top: 21px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: #dfe5ea;
}
.flow-line > span {
  display: block;
  height: 100%;
  background: var(--brand);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform var(--dur-draw) var(--ease);
}
.flow[data-step="1"] { --progress: 0; }
.flow[data-step="2"] { --progress: 0.333; }
.flow[data-step="3"] { --progress: 0.666; }
.flow[data-step="4"] { --progress: 1; }
.flow-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.flow-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--deep);
  text-align: center;
}
.flow-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--deep);
  font-family: Nunito, "Nunito Sans", sans-serif;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color var(--dur-panel) var(--ease), color var(--dur-panel) var(--ease), box-shadow var(--dur-panel) var(--ease);
}
.flow-tab.is-reached .flow-num {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: none;
}
.flow-tab[aria-selected="true"] .flow-num { box-shadow: 0 0 0 4px var(--brand-soft); }
.flow-label { font-size: 0.9375rem; font-weight: 700; line-height: 1.35; }
.flow-panel {
  margin-top: 28px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.flow-panel h3 { margin-bottom: 8px; }
.flow-panel p { margin: 0; max-width: 42rem; color: var(--muted); }

.audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.audience {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow var(--dur-panel) var(--ease);
}
.audience:hover { box-shadow: var(--shadow-soft); }
.audience h3 { margin-bottom: 8px; font-size: 1.45rem; }
.audience .btn { margin-top: auto; }
.ticks { margin: 0 0 24px; padding: 0; list-style: none; }
.ticks li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 28px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.audience-dark {
  background: var(--deep);
  border-color: var(--deep);
  color: rgba(255, 255, 255, 0.88);
}
.audience-dark h3,
.audience-dark .eyebrow { color: var(--on-brand); }
.audience-dark .eyebrow::before { background: var(--gold); }
.audience-dark .ticks li::before { border-color: var(--on-brand); }
.audience-dark :focus-visible { outline-color: var(--on-brand); }

.preview-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.preview-switch button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease);
}
.preview-switch button:hover { background: var(--surface); }
.preview-switch button[aria-selected="true"] {
  background: var(--deep);
  color: var(--on-brand);
  box-shadow: none;
}
.device-wide { box-shadow: var(--shadow-soft); }

.trace {
  margin: 8px 0 16px;
  padding: 0;
  list-style: none;
}
.trace li {
  position: relative;
  padding: 0 0 16px 28px;
  color: var(--deep);
  font-weight: 700;
}
.trace li span {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.875rem;
}
.trace li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.trace li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: #d5e4e8;
}
.trace li:last-child { padding-bottom: 0; }
.trace li:last-child::after { display: none; }
.trace li.is-current::before { background: var(--deep); }
.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.file-row svg { color: var(--brand); flex: none; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: start;
}
.about-grid p { max-width: 40rem; font-size: 1.0625rem; }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts strong { color: var(--deep); }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 12px 0;
  color: var(--deep);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-2px) rotate(45deg);
  flex: none;
  transition: transform var(--dur-panel) var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { margin: 0 0 16px; max-width: 40rem; color: var(--muted); }

.cta {
  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, color-mix(in srgb, var(--brand) 28%, transparent), transparent 60%),
    var(--deep);
  color: rgba(255, 255, 255, 0.86);
  overflow: clip;
}
.cta h2 { max-width: 18ch; color: var(--on-brand); }
.cta .eyebrow { color: var(--on-brand); }
.cta p { max-width: 38rem; font-size: 1.125rem; }
.cta a:not(.btn) { color: var(--on-brand); }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cta-mail { margin-top: 16px; font-size: 0.9375rem; }
.cta :focus-visible { outline-color: var(--on-brand); }

.site-footer {
  padding: 48px 0 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.footer-about { max-width: 28rem; margin-top: 12px; color: var(--muted); }
.site-footer h2 {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Nunito Sans", sans-serif;
}
.site-footer nav a,
.site-footer p a {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 4px 0;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.site-footer nav a:hover,
.site-footer p a:hover { color: var(--brand-hover); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.footer-base p { margin: 0; color: var(--muted); font-size: 0.875rem; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-base a { padding: 0; font-size: 0.875rem; }

.legal { padding: 64px 0 96px; max-width: 44rem; }
.legal h1 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { margin: 28px 0 8px; font-size: 1.25rem; }
.legal-note {
  padding: 12px 14px;
  background: var(--brand-soft);
  border-radius: 12px;
  color: var(--deep);
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  .flow-panel.is-in,
  .device-body.is-in { animation: rise 280ms var(--ease); }
  .device-stage .device {
    animation: float-in 560ms var(--ease) both;
  }
  .device-float {
    animation: float-card 640ms 120ms var(--ease) both;
  }
}
@keyframes rise {
  from { transform: translateY(8px); }
  to { transform: none; }
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes float-card {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .site-nav .logo { animation: logo-in 300ms cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes logo-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .flow-line > span,
  .faq summary::after,
  .value-card,
  .btn,
  .logo-mark .stem,
  .logo-mark .ring,
  .audience,
  .site-nav { transition: none; }
  .flow-panel.is-in,
  .device-body.is-in,
  .site-nav .logo,
  .device-stage .device,
  .device-float { animation: none; }
  .value-card:hover { transform: none; }
}

@media (max-width: 980px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
  .faq-layout,
  .about-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero::after { width: 100%; top: 48%; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 span { color: inherit; }
  .device-float {
    right: 8px;
    bottom: -4px;
  }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
  .site-menu {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 8px var(--page) 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(15, 44, 66, 0.08);
  }
  .site-menu[hidden] { display: none; }
  .site-menu a { display: flex; }
  .site-menu a[href="/login"],
  .site-menu a[href="/#contact"]:last-child {
    font-weight: 700;
    color: var(--deep);
  }
}

@media (max-width: 860px) {
  .audiences { grid-template-columns: 1fr; }
  .flow-tabs { grid-template-columns: 1fr; gap: 18px; }
  .flow-tab {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 0;
  }
  .flow-line {
    top: 22px;
    bottom: 22px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .flow-line > span {
    width: 100%;
    height: 100%;
    transform: scaleY(var(--progress, 0));
    transform-origin: top center;
  }
}

@media (max-width: 640px) {
  :root { --page: 16px; }
  .band, .cta, .hero { padding: 56px 0; }
  .value-grid,
  .stats { grid-template-columns: 1fr 1fr; }
  .audience, .flow-panel { padding: 22px; }
  .sample-case { grid-template-columns: minmax(0, 1fr) auto; }
  .sample-mark { display: none; }
  .nav-actions .btn.ghost { display: inline-flex; }
  .nav-actions .btn:not(.ghost) { padding-inline: 12px; }
  .device-float { display: none; }
  .device-stage { padding-bottom: 0; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.05rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav-actions .btn:not(.ghost) { display: none; }
}
