:root {
  --navy-950: #071a2a;
  --navy-900: #0b2538;
  --navy-800: #123a54;
  --blue-700: #17679b;
  --blue-600: #2183ba;
  --blue-100: #dff2fb;
  --ice-50: #f4f9fc;
  --sand-50: #fbfaf7;
  --white: #ffffff;
  --ink: #122635;
  --muted: #526877;
  --line: #d8e3e9;
  --success: #23856d;
  --shadow: 0 28px 80px -48px rgba(7, 26, 42, 0.7);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Public Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--navy-900); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }

.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-950);
  font-weight: 800;
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 227, 233, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-link { color: var(--muted); font-size: 14px; font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 9px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--white); background: var(--blue-700); }
.button-primary:hover { color: var(--white); background: var(--navy-800); }
.button-secondary { color: var(--navy-900); border-color: var(--line); background: var(--white); }
.button-secondary:hover { background: var(--ice-50); }
.button-light { color: var(--navy-900); background: var(--white); }
.button-light:hover { background: var(--blue-100); }
.button-outline-light { color: var(--white); border-color: rgba(255,255,255,.48); background: transparent; }
.button-outline-light:hover { color: var(--white); background: rgba(255,255,255,.1); }
.button-lg { min-height: 50px; padding: 14px 22px; font-size: 16px; }

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-icon { display: flex; align-items: center; gap: 10px; }
.eyebrow-icon .feature-icon { width: 30px; height: 30px; font-size: 17px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 58px;
  background:
    radial-gradient(circle at 82% 18%, rgba(87, 180, 221, .16), transparent 28%),
    linear-gradient(180deg, var(--ice-50), var(--white));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -160px 38%;
  height: 260px;
  border: 1px solid rgba(33, 131, 186, .14);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(560px, 1.25fr);
  align-items: center;
  gap: 54px;
}

.hero-copy h1,
.page-intro h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy h1 { max-width: 11ch; }
.hero-lede, .page-lede {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.access-note { margin: 13px 0 0; color: var(--muted); font-size: 13px; }

.showcase { min-width: 0; }
.showcase-tabs { display: flex; gap: 7px; margin: 0 0 10px 18px; }
.showcase-tab {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.showcase-tab[aria-pressed="true"] { color: var(--white); border-color: var(--blue-700); background: var(--blue-700); }

.product-frame {
  overflow: hidden;
  border: 1px solid #bbccd5;
  border-radius: var(--radius-md);
  background: var(--navy-950);
  box-shadow: var(--shadow);
}

.frame-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  color: #a8bdc9;
  background: #102534;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.frame-dot { width: 7px; height: 7px; border-radius: 50%; background: #557181; }
.frame-title { margin-left: 5px; }
.showcase-media { display: grid; background: #0b1b27; }
.showcase-shot { grid-area: 1 / 1; opacity: 0; transition: opacity 700ms ease; }
.showcase-shot.is-active { opacity: 1; }
.showcase-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.showcase-caption { margin: 13px 18px 0; color: var(--muted); font-size: 13px; }

.proof-strip { padding: 23px 0; border-block: 1px solid var(--line); background: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.proof-item { display: flex; gap: 11px; align-items: flex-start; }
.proof-mark {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--success);
  background: #e1f4ee;
  font-weight: 900;
}
.proof-item strong { display: block; color: var(--navy-950); font-size: 14px; }
.proof-item span { color: var(--muted); font-size: 13px; }

.section { padding: 86px 0; }
.section-tint { background: var(--ice-50); border-block: 1px solid var(--line); }
.section-dark { color: var(--white); background: var(--navy-950); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head h2, .outcome-copy h2, .cta-band h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(31px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.section-head p, .outcome-copy > p { margin: 15px 0 0; color: var(--muted); font-size: 17px; }
.section-dark .section-head h2, .section-dark .outcome-copy h2 { color: var(--white); }
.section-dark .section-head p, .section-dark .outcome-copy > p { color: #b7cad5; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capability-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}
.feature-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 21px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}
.capability-card h3 { margin: 15px 0 8px; color: var(--navy-950); font-size: 20px; letter-spacing: -.02em; }
.capability-card p { margin: 0; color: var(--muted); font-size: 15px; }

.outcome {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  gap: 62px;
  align-items: center;
}
.outcome-reverse { grid-template-columns: minmax(340px, .75fr) minmax(0, 1.05fr); }
.outcome-reverse .outcome-copy { order: -1; }
.outcome-media { min-width: 0; }
.outcome-media img { width: 100%; }
.outcome-list { margin: 24px 0 0; padding: 0; list-style: none; }
.outcome-list li { position: relative; margin: 12px 0; padding-left: 25px; color: var(--muted); }
.outcome-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-600); }
.section-dark .outcome-list li { color: #c4d4dd; }
.text-link { display: inline-flex; margin-top: 22px; font-weight: 850; }

.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.workflow-step { position: relative; padding: 24px 20px 22px; border-top: 2px solid var(--blue-600); background: var(--ice-50); }
.workflow-step b { display: block; margin-bottom: 13px; color: var(--blue-700); font-size: 13px; letter-spacing: .08em; }
.workflow-step h3 { margin: 0 0 7px; color: var(--navy-950); font-size: 18px; }
.workflow-step p { margin: 0; color: var(--muted); font-size: 14px; }

.layer-key { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.layer-key > span { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: #d1e0e8; background: rgba(255,255,255,.05); font-size: 12px; font-weight: 800; }
.layer-key .feature-icon { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 7px; color: #8ed0ef; background: rgba(102,185,225,.13); font-size: 14px; }

.mobile-pair { display: grid; grid-template-columns: 1fr 180px; gap: 16px; align-items: end; }
.mobile-pair .product-frame:last-child { border-radius: 22px; }
.mobile-pair .product-frame:last-child img { width: 100%; }

.feature-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.feature-showcase-tabs { margin-left: 0; }
.feature-swap-media { display: grid; background: var(--navy-950); }
.feature-swap-shot { grid-area: 1 / 1; opacity: 0; pointer-events: none; transition: opacity 700ms ease; }
.feature-swap-shot.is-active { opacity: 1; pointer-events: auto; }
.feature-showcase-copy { margin-top: 13px; }
.feature-showcase-copy h3 { margin: 0 0 5px; color: var(--navy-950); font-size: 18px; }
.feature-showcase-copy p { margin: 0; color: var(--muted); font-size: 14px; }

.format-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.format-group { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.format-group h3 { margin: 0 0 14px; color: var(--navy-950); font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { padding: 7px 11px; border: 1px solid #c5dbe7; border-radius: 999px; color: var(--navy-800); background: var(--blue-100); font-size: 13px; font-weight: 800; }
.format-note { margin: 22px 0 0; color: var(--muted); font-size: 14px; }

.page-intro { padding: 78px 0 62px; background: linear-gradient(180deg, var(--ice-50), var(--white)); }
.page-intro h1 { max-width: 13ch; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.anchor-nav a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 800; }

.cta-section { padding: 66px 0 82px; }
.cta-band {
  padding: 46px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--white);
  background: linear-gradient(125deg, var(--navy-900), #14577b);
}
.cta-band h2 { color: var(--white); }
.cta-band p { margin: 12px 0 25px; color: #cae0eb; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.support-row { padding: 38px 0; border-top: 1px solid var(--line); text-align: center; }
.support-row h2 { margin: 0; color: var(--navy-950); font-size: 21px; }
.support-row p { margin: 7px 0 15px; color: var(--muted); font-size: 14px; }

.site-footer { padding: 38px 0; color: var(--muted); border-top: 1px solid var(--line); background: var(--sand-50); font-size: 13px; }
.footer-row { display: flex; align-items: center; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 17px; margin-left: auto; }
.footer-links a { color: var(--muted); }
.disclaimer { max-width: 84ch; margin: 19px 0 0; }

.thanks-banner { display: none; padding: 10px 16px; color: var(--white); background: var(--success); text-align: center; font-size: 14px; }
.thanks-banner.show { display: block; }

.shot-button { width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot-slot {
  position: relative;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #8eabbc;
  color: inherit;
  background:
    linear-gradient(135deg, rgba(33,131,186,.07), transparent 48%),
    var(--ice-50);
}
.shot-slot:not(.has-image) { cursor: default; }
.shot-slot img { display: none; width: 100%; height: 100%; object-fit: cover; }
.shot-slot.has-image { min-height: 0; border-style: solid; cursor: zoom-in; }
.shot-slot.has-image img { display: block; }
.shot-slot.has-image .shot-placeholder { display: none; }
.shot-placeholder { max-width: 380px; padding: 28px; text-align: center; }
.shot-placeholder .feature-icon { margin-bottom: 14px; }
.shot-placeholder strong { display: block; color: var(--navy-900); font-size: 16px; }
.shot-placeholder span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; }
.shot-placeholder code { display: inline-block; margin-top: 12px; padding: 5px 8px; border-radius: 6px; color: var(--navy-800); background: var(--blue-100); font: 700 12px/1.2 "IBM Plex Mono", Consolas, monospace; }
.section-dark .shot-slot { border-color: #456778; background: linear-gradient(135deg, rgba(86,181,224,.12), transparent 48%), #0d293a; }
.section-dark .shot-placeholder strong { color: var(--white); }
.section-dark .shot-placeholder span { color: #b7cad5; }
.section-dark .shot-placeholder code { color: #cde7f4; background: rgba(102,185,225,.14); }
.mobile-pair .display-shot { aspect-ratio: 772 / 490; }
.mobile-pair .shot-slot:last-child { min-height: 320px; aspect-ratio: 1206 / 2145; }
.shot-button:focus-visible, .showcase-tab:focus-visible, .button:focus-visible, a:focus-visible { outline: 3px solid #61b9e5; outline-offset: 3px; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(4, 16, 25, .92);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 91vh; border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,.55); }
.lightbox-close { position: fixed; top: 18px; right: 20px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--white); background: rgba(0,0,0,.35); cursor: pointer; font-size: 24px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 700px; }
  .hero-copy h1 { max-width: 13ch; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .outcome, .outcome-reverse { grid-template-columns: 1fr; gap: 36px; }
  .outcome-reverse .outcome-copy { order: initial; }
  .workflow { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap, .narrow { width: min(100% - 32px, 1160px); }
  .nav { min-height: 62px; gap: 12px; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .button-secondary { display: none; }
  .hero { padding: 54px 0 42px; }
  .hero-copy h1, .page-intro h1 { font-size: 42px; }
  .hero-lede, .page-lede { font-size: 17px; }
  .proof-grid, .capability-grid, .workflow, .format-groups, .feature-showcase-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .mobile-pair { grid-template-columns: 1fr 132px; }
  .cta-band { padding: 34px 20px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 460px) {
  .brand { font-size: 18px; }
  .nav-actions .button { min-height: 38px; padding: 9px 12px; font-size: 13px; }
  .hero-copy h1, .page-intro h1 { font-size: 36px; }
  .hero-actions .button { width: 100%; }
  .showcase-tabs { margin-left: 0; }
  .showcase-tab { flex: 1; }
  .frame-bar { height: 28px; }
  .layer-key { grid-template-columns: 1fr 1fr; }
  .mobile-pair { grid-template-columns: 1fr 105px; gap: 9px; }
  .lightbox { padding: 10px; }
}

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