:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --elevated: #ececf1;
  --text: #0d0d0d;
  --muted: #8e8ea0;
  --line: #ececf1;
  --primary: #10a37f;
  --primary-hover: #0d8f6f;
  --dark: #343541;
  --scrim: color-mix(in srgb, var(--dark) 55%, transparent);
  --font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --btn-radius: 999px;
  --btn-padding-y: 12px;
  --btn-padding-x: 22px;
  --btn-transform: none;
  --radius-card: 16px;
  --header-h: 88px;
  --follow-h: 64px;
  --gutter: clamp(16px, 3vw, 40px);
  --wrap: min(1120px, 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.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }

.skip-link {
  position: absolute; left: 12px; top: -40px; z-index: 100;
  background: var(--dark); color: #fff; padding: 8px 12px;
}
.skip-link:focus { top: 12px; }

/* H3 centered-masthead */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px var(--gutter);
  display: grid; gap: 12px; justify-items: center; text-align: center;
}
.brand-lockup {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.brand-lockup img { height: 28px; width: auto; }
.brand-lockup span {
  font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem;
}
.header-row {
  width: 100%; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 10px 18px;
}
.nav { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
.nav a {
  text-decoration: none; color: var(--muted); font-family: var(--font-ui);
  font-size: 0.95rem; padding: 8px 4px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--surface);
  border-radius: 10px; padding: 10px 14px; font: inherit; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem;
  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; transition: background .15s, color .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary {
  background: transparent; color: var(--text);
  border-color: color-mix(in srgb, var(--text) 18%, transparent);
}
.btn-secondary:hover { background: var(--surface); }
.btn-compact { padding: 10px 18px; font-size: 0.9rem; }

main { padding-bottom: calc(var(--follow-h) + env(safe-area-inset-bottom, 0px) + 24px); }

/* video-cinematic-stack hero */
.hero-cinematic {
  position: relative; min-height: calc(100svh - var(--header-h));
  display: grid; align-items: end; overflow: hidden;
  padding-top: var(--header-h);
}
.hero-cinematic__media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-cinematic__media img.poster,
.hero-cinematic__media video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-cinematic__media .scrim {
  position: absolute; inset: 0; background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--dark) 20%, transparent) 0%,
    color-mix(in srgb, var(--dark) 72%, transparent) 100%
  );
}
.hero-cinematic__panel {
  position: relative; z-index: 1; width: min(880px, 100%);
  margin: 0 auto; padding: 48px var(--gutter) 72px; color: #fff;
}
.hero-cinematic__panel .kicker {
  text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
  color: color-mix(in srgb, #fff 72%, transparent); margin: 0 0 10px;
}
.hero-cinematic__panel h1 {
  font-family: var(--font-heading); font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.12; margin: 0 0 16px; font-weight: 700;
}
.hero-cinematic__panel .lede { max-width: 56ch; margin: 0 0 18px; opacity: .94; }
.byline {
  display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .92rem;
  color: color-mix(in srgb, #fff 78%, transparent); margin-bottom: 22px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 56px 0; }
.section-muted { background: var(--surface); }
.wrap { width: var(--wrap); margin: 0 auto; }
.wrap-wide { width: min(1200px, 100% - var(--gutter) * 2); margin: 0 auto; }
.kicker {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 8px;
}
.section h2 {
  font-family: var(--font-heading); font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2; margin: 0 0 14px;
}
.section-lead { color: var(--muted); max-width: 68ch; margin: 0 0 24px; }
.prose p { margin: 0 0 16px; max-width: 72ch; }

.magazine-2col {
  display: grid; gap: 28px;
}
@media (min-width: 900px) {
  .magazine-2col { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
}

.showcase-grid {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .showcase-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1440px) { .showcase-grid { grid-template-columns: repeat(4, 1fr); } }

.showcase-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column;
}
.showcase-card img, .showcase-card video {
  width: 100%; height: clamp(140px, 18vw, 180px); object-fit: cover;
}
.showcase-card pre {
  margin: 0; padding: 14px; font-size: .78rem; line-height: 1.45;
  background: var(--dark); color: #ececf1; overflow: auto; max-height: 180px;
}
.showcase-card .card-body { padding: 12px 14px 14px; flex: 1; }
.showcase-card .meta { font-size: .78rem; color: var(--muted); margin: 0 0 6px; }
.showcase-card .caption { font-size: .88rem; margin: 0; color: var(--muted); }
.showcase-card .text-sample {
  padding: 14px; background: var(--surface); font-size: .92rem; min-height: 120px;
}

.card-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.model-card {
  border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 18px; background: var(--bg);
}
.model-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.model-card p { margin: 0 0 12px; color: var(--muted); font-size: .92rem; }

.benefits-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.benefit { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px; }
.benefit h3 { margin: 0 0 8px; font-size: 1rem; }

.audience-list { display: grid; gap: 12px; }
.audience-list li { background: var(--bg); border-left: 3px solid var(--primary); padding: 12px 16px; list-style: none; }

.mid-cta {
  text-align: center; padding: 36px 24px; border-radius: var(--radius-card);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, var(--surface)), var(--surface));
  border: 1px solid var(--line);
}
.mid-cta p { margin: 0 0 16px; color: var(--muted); }

.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 16px 18px; font: inherit; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq-a { padding: 0 18px 16px; color: var(--muted); }
.faq-item:not(.is-open) .faq-a { display: none; }

.rating-block, .reviews-block { max-width: 820px; }
.rating-stars { font-size: 1.4rem; letter-spacing: 2px; color: #f5a623; }
.rating-meta { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.reviews-grid { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
.review-card {
  border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 16px; background: var(--bg);
}
.review-card .who { font-weight: 600; margin-bottom: 6px; }
.review-card .score { color: #f5a623; font-size: .9rem; margin-bottom: 8px; }

.cta-final {
  text-align: center; padding: 48px 24px;
  background: var(--dark); color: #fff; border-radius: var(--radius-card);
}
.cta-final h2 { color: #fff; }
.cta-final p { color: color-mix(in srgb, #fff 78%, transparent); max-width: 52ch; margin: 0 auto 20px; }
.cta-final .btn-secondary { color: #fff; border-color: color-mix(in srgb, #fff 35%, transparent); }

.disclaimer {
  font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line);
  padding-top: 16px; margin-top: 24px;
}

.site-footer {
  border-top: 1px solid var(--line); padding: 28px var(--gutter) 40px;
  color: var(--muted); font-size: .92rem;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.follow-cta {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-top: 1px solid var(--line); backdrop-filter: blur(12px);
  transition: transform .2s, opacity .2s;
}
.follow-cta.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
.follow-cta p { margin: 0; font-size: .88rem; color: var(--muted); display: none; }
@media (min-width: 768px) {
  .follow-cta {
    left: auto; right: 20px; bottom: 20px; width: auto;
    border: 1px solid var(--line); border-radius: var(--btn-radius);
    padding: 10px 14px; box-shadow: 0 8px 30px color-mix(in srgb, var(--dark) 12%, transparent);
  }
  .follow-cta p { display: block; max-width: 16ch; }
}

.cta-stub {
  border: none; border-radius: var(--radius-card); padding: 0; max-width: 480px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--dark) 25%, transparent);
}
.cta-stub::backdrop { background: color-mix(in srgb, var(--dark) 45%, transparent); }
.cta-stub-inner { padding: 24px; }
.cta-stub h2 { margin: 0 0 12px; font-size: 1.25rem; }
.cta-stub p { margin: 0 0 16px; color: var(--muted); }

.breadcrumbs {
  font-size: .88rem; color: var(--muted); margin-bottom: 18px;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }

.page-hero { padding: 32px 0 24px; }
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 12px; }

@media (max-width: 767px) {
  .nav { display: none; width: 100%; flex-direction: column; }
  .nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .header-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cinematic__media video { display: none; }
}
