:root {
  --bg: #f9f8f8;
  --surface: #ffffff;
  --elevated: hsla(0, 0%, 100%, 0.45);
  --text: #1e232c;
  --text-bluish: #152443;
  --muted: rgba(0, 0, 0, 0.65);
  --placeholder: #8691a1;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.2);
  --brand: #4d6bfe;
  --brand-deep: #3a65c2;
  --brand-mid: #4176e6;
  --link: #234792;
  --primary: #1a1615;
  --primary-fg: #ffffff;
  --primary-hover: #2c2725;
  --dark: #0a0a0a;
  --scrim: color-mix(in srgb, #152443 52%, transparent);
  --font-heading: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ui: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --btn-radius: 100px;
  --btn-padding-y: 12px;
  --btn-padding-x: 20px;
  --btn-transform: none;
  --radius-card: 24px;
  --radius-panel: 16px;
  --radius-media: 12px;
  --header-h: 72px;
  --follow-h: 72px;
  --gutter: clamp(16px, 3vw, 40px);
  --wrap: min(1180px, 100% - var(--gutter) * 2);
  --blur: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding-bottom: calc(var(--follow-h) + env(safe-area-inset-bottom));
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--link); }
a:hover { color: var(--brand-deep); }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--primary); color: var(--primary-fg);
  padding: 8px 14px; border-radius: var(--btn-radius);
}
.skip-link:focus { top: 12px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: clamp(40px, 6vw, 88px) 0; }
.section-kicker {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 10px;
  font-weight: 600;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--text-bluish);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); margin: 0 0 16px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
p { margin: 0 0 1em; }
.lede { font-size: 1.12rem; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--btn-radius);
  padding: var(--btn-padding-y) var(--btn-padding-x);
  text-transform: var(--btn-transform);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--primary-fg);
}
.btn-secondary {
  background: hsla(0, 0%, 100%, 0.4);
  color: var(--text);
  border-color: rgba(9, 45, 78, 0.18);
  backdrop-filter: blur(var(--blur));
}
.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
  border-color: rgba(9, 45, 78, 0.36);
}

/* H4 floating-pill */
.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 80;
  pointer-events: none;
}
.header-pill {
  pointer-events: auto;
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 10px 8px 16px;
  background: hsla(0, 0%, 100%, 0.72);
  border: 1px solid rgba(9, 45, 78, 0.14);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(21, 36, 67, 0.08);
  backdrop-filter: blur(var(--blur));
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-lockup img {
  height: 22px;
  width: auto;
  max-width: 132px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--btn-radius);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(0, 0, 0, 0.04); color: var(--text-bluish); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: var(--btn-radius);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.header-cta { flex-shrink: 0; margin-left: 4px; }

/* video-split hero */
.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 36px) 0 72px;
  display: grid;
  align-items: center;
}
.hero-split {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-copy .byline {
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #152443;
  box-shadow: 0 20px 50px rgba(21, 36, 67, 0.16);
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--scrim));
  pointer-events: none;
}
.hero-poster {
  animation: drift 28s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .hero-poster { animation: none; }
}
@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-2%, -1.5%, 0); }
}

/* bento */
.bento {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
}
.card.soft { background: hsla(0, 0%, 100%, 0.55); }
.showcase-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.showcase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 16px;
  min-width: 0;
}
.showcase-card pre,
.snippet {
  margin: 0;
  padding: 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-media);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  overflow: auto;
  max-height: 180px;
  white-space: pre-wrap;
  color: var(--text-bluish);
}
.showcase-card figcaption,
.showcase-card .cap {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 16px 18px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
}

.cta-band {
  background: var(--text-bluish);
  color: #fff;
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 40px);
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { color: hsla(0, 0%, 100%, 0.8); }
.cta-band .btn-secondary { color: var(--text-bluish); background: #fff; }

.model-grid, .link-grid, .audience-grid, .benefit-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.model-card, .link-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  min-height: 100%;
}
.model-card:hover, .link-card:hover {
  border-color: rgba(9, 45, 78, 0.28);
  box-shadow: 0 10px 28px rgba(21, 36, 67, 0.06);
}
.model-card h3, .link-card h3 { color: var(--text-bluish); }
.model-card p, .link-card p { color: var(--muted); margin: 0; }

.disclaimer {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--brand);
  background: #edf3fe;
  border-radius: 0 var(--radius-media) var(--radius-media) 0;
  color: var(--text);
  font-size: 0.95rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-bluish);
  cursor: pointer;
  min-height: 44px;
}
.faq-a { color: var(--muted); padding: 0 0 16px; }
.faq-a[hidden] { display: none; }

.rating {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
}
.rating-score {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  color: var(--text-bluish);
}
.rating p { color: var(--muted); }

.reviews {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 18px;
}
.review .who { font-weight: 600; color: var(--text-bluish); }
.review .stars { color: var(--brand-deep); font-size: 0.9rem; margin: 4px 0 8px; }

.crumbs {
  font-size: 0.9rem;
  color: var(--muted);
  padding: calc(var(--header-h) + 28px) 0 0;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--placeholder); }
.crumbs a { color: var(--link); }

.page-hero { padding: 28px 0 8px; }

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 40px 0 32px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.site-footer a { color: var(--link); }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }

.follow-cta {
  position: fixed;
  z-index: 70;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  background: hsla(0, 0%, 100%, 0.9);
  border: 1px solid rgba(9, 45, 78, 0.18);
  border-radius: var(--btn-radius);
  padding: 8px 8px 8px 16px;
  box-shadow: 0 10px 30px rgba(21, 36, 67, 0.12);
  backdrop-filter: blur(var(--blur));
}
.follow-cta p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.follow-cta.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
.legal-page .follow-cta { display: none; }
body.no-follow { padding-bottom: 0; }

.cta-stub {
  border: 0;
  border-radius: var(--radius-card);
  padding: 28px;
  max-width: 440px;
  width: calc(100% - 32px);
  box-shadow: 0 24px 60px rgba(21, 36, 67, 0.2);
}
.cta-stub::backdrop { background: rgba(10, 10, 10, 0.45); }
.cta-stub h2 { margin-top: 0; }
.cta-stub-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.prose { max-width: 72ch; }
.table-wrap { overflow: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { font-family: var(--font-ui); font-weight: 600; }

@media (min-width: 768px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .model-grid, .link-grid, .audience-grid, .benefit-grid, .reviews { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .showcase-card pre, .snippet { max-height: 200px; }
}
@media (min-width: 1024px) {
  .showcase-grid { grid-template-columns: 1fr 1fr 1fr; }
  .model-grid { grid-template-columns: 1fr 1fr 1fr; }
  .link-grid { grid-template-columns: repeat(3, 1fr); }
  .bento.bento-3 { grid-template-columns: 1.2fr 0.8fr; }
}
@media (min-width: 1440px) {
  .showcase-grid { grid-template-columns: repeat(4, 1fr); }
  .showcase-grid .span-2 { grid-column: span 2; }
}

@media (max-width: 1023px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}
@media (max-width: 767px) {
  .header-pill {
    border-radius: 22px;
    flex-wrap: wrap;
    padding: 8px 10px;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 6px 10px;
  }
  .nav.is-open { display: flex; }
  .header-cta { width: 100%; }
  .header-cta .btn { width: 100%; }
  .follow-cta {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .steps { grid-template-columns: 1fr; }
  .showcase-card pre, .snippet { max-height: 200px; }
}
