:root {
  --bg: #100f0f;
  --canvas: #100f0f;
  --surface: #1a1919;
  --elevated: #202122;
  --navbar: #2e2e2e;
  --text: #ffffff;
  --body: #d4d4d4;
  --muted: #a3a3a3;
  --dim: #9b9b9b;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(29, 253, 192, 0.35);
  --green: #1dfdc0;
  --green-dark: #0ccc98;
  --green-deep: #21a27f;
  --black: #100f0f;
  --white: #ffffff;
  --pink: #fb2c8d;
  --scrim: color-mix(in srgb, #100f0f 72%, transparent);
  --scrim-hero: linear-gradient(180deg, rgba(16, 15, 15, 0.35) 0%, rgba(16, 15, 15, 0.55) 42%, rgba(16, 15, 15, 0.92) 100%);
  --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --btn-radius: 4px;
  --btn-padding-y: 12px;
  --btn-padding-x: 22px;
  --btn-transform: none;
  --radius-card: 4px;
  --header-top: 68px;
  --header-nav: 44px;
  --header-h: 112px;
  --follow-h: 72px;
  --gutter: clamp(16px, 3vw, 40px);
  --wrap: min(1160px, 100% - var(--gutter) * 2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  padding-bottom: calc(var(--follow-h) + env(safe-area-inset-bottom));
}
.legal-page { padding-bottom: 32px; }
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--green);
  color: var(--black);
  padding: 8px 14px;
  border-radius: var(--btn-radius);
  font-family: var(--font-ui);
}
.skip-link:focus { top: 12px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: clamp(36px, 5.5vw, 80px) 0; }
.section-kicker {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 10px;
  font-weight: 500;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(1.85rem, 4.4vw, 3.15rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 14px; }
h3 { font-size: 1.12rem; margin: 0 0 8px; }
p { margin: 0 0 1em; }
.lede { font-size: 1.12rem; color: var(--text); }
.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  border-radius: var(--btn-radius);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-transform: var(--btn-transform);
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0;
}
.btn-primary {
  background: var(--green);
  color: var(--black);
}
.btn-primary:hover { background: var(--green-dark); color: var(--black); }
.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: rgba(29, 253, 192, 0.5);
}
.btn-ghost:hover { border-color: var(--green); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* H6 stacked two-row header */
.site-header {
  position: relative;
  z-index: 40;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-top);
  width: var(--wrap);
  margin-inline: auto;
}
.brand-lockup {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-lockup img {
  height: 36px;
  width: auto;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--elevated);
  border-radius: var(--btn-radius);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  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-nav {
  background: var(--navbar);
  min-height: var(--header-nav);
}
.nav {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-height: var(--header-nav);
  padding: 6px 0;
}
.nav a {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.15px;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--green); }

/* cinematic stack hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - var(--follow-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media img[data-hero-still] {
  animation: heroDrift 28s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-2%, 3%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img[data-hero-still] { animation: none; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--scrim-hero);
}
.hero-stack {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  padding: 48px 0 56px;
  max-width: 42rem;
}
.hero-stack.asymmetric {
  margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  margin-right: auto;
}
.byline {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 14px;
}
.byline time { color: var(--green); }

.cta-band {
  background: var(--elevated);
  border-block: 1px solid var(--line);
  padding: 28px 0;
}
.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cta-band h2 { margin: 0; font-size: 1.35rem; }
.final-cta {
  background: var(--green);
  color: var(--black);
  padding: clamp(40px, 6vw, 72px) 0;
}
.final-cta h2, .final-cta p { color: var(--black); }
.final-cta .btn-primary {
  background: var(--black);
  color: var(--green);
}
.final-cta .btn-ghost {
  color: var(--black);
  border-color: var(--black);
}

.grid-asym {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 22px;
}
.benefit p:last-child { margin-bottom: 0; }
.benefit.wide { grid-column: 1 / -1; }

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.showcase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 0;
}
.showcase-card .snippet,
.showcase-card pre {
  margin: 0;
  padding: 12px 14px;
  max-height: 180px;
  overflow: auto;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text);
  white-space: pre-wrap;
}
.showcase-card pre { background: #0a0a0a; }
.showcase-card .cap {
  margin: 0;
  padding: 8px 12px 10px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.link-grid,
.card-grid,
.model-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 18px 16px;
}
.card:hover { border-color: var(--line-strong); }
.card h3 { color: var(--green); }
.card p:last-child { margin-bottom: 0; }

.split-about {
  display: grid;
  gap: 28px;
}
.disclaimer {
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 16px;
  color: var(--muted);
}

.audience-list {
  display: grid;
  gap: 10px;
}
.audience-list article {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 14px;
  align-items: start;
}
.audience-list article::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--green);
}

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

.rating {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: var(--radius-card);
}
.rating-score {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--green);
  margin: 0 0 6px;
}
.reviews { display: grid; gap: 12px; }
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: var(--radius-card);
}
.review .who { font-family: var(--font-ui); color: var(--muted); font-size: 0.88rem; }

.crumbs { padding: 20px 0 0; font-family: var(--font-ui); font-size: 0.9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 10px; color: var(--dim); }
.page-hero { padding: 28px 0 8px; }

.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--line);
  padding: 40px 0 32px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 24px;
}
.legal-links { display: flex; flex-direction: column; gap: 8px; }

.follow-cta {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navbar);
  border: 1px solid var(--line);
  border-radius: var(--btn-radius);
  padding: 10px 12px 10px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.follow-cta p { margin: 0; font-size: 0.88rem; color: var(--muted); font-family: var(--font-ui); }
.follow-cta.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
.legal-page .follow-cta { display: none; }

.cta-stub {
  max-width: 28rem;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--btn-radius);
  background: var(--elevated);
  color: var(--body);
}
.cta-stub::backdrop { background: rgba(16, 15, 15, 0.7); }
.cta-stub h2 { margin-top: 0; }
.cta-stub-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cta-stub .btn {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

.table-wrap { overflow-x: 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 { color: var(--green); font-weight: 600; font-family: var(--font-ui); }

@media (min-width: 768px) {
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-card .snippet,
  .showcase-card pre { max-height: 200px; }
  .grid-asym { grid-template-columns: 1.4fr 1fr; }
  .link-grid, .card-grid, .model-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .split-about { grid-template-columns: 1.15fr 0.85fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .showcase-grid { grid-template-columns: 1fr 1fr 1fr; }
  .showcase-card:first-child { grid-column: span 2; }
  .showcase-card .snippet,
  .showcase-card pre { max-height: 180px; }
  .grid-asym { grid-template-columns: 1.3fr 0.85fr 0.85fr; }
  .benefit.wide { grid-column: span 1; }
  .link-grid, .card-grid { grid-template-columns: repeat(3, 1fr); }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1440px) {
  .showcase-grid { grid-template-columns: repeat(4, 1fr); }
  .showcase-card:first-child { grid-column: span 2; }
  .model-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  :root { --header-h: 68px; }
  .header-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background: var(--navbar);
    border-bottom: 1px solid var(--line);
  }
  .header-nav.is-open { display: block; }
  .nav { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .nav a { min-height: 44px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-stack.asymmetric { margin-left: auto; }
  .follow-cta {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    justify-content: space-between;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .follow-cta .btn { flex: 0 0 auto; }
  .showcase-card .snippet,
  .showcase-card pre { max-height: 200px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero { min-height: calc(100svh - var(--header-h) - 88px); }
}
