/* =========================================================
   RenderMix landing — styles.css
   Single accent: cyan #53d8ff (matches the app's --cyan).
   Violet kept only as decorative companion in hero gradient.
   ========================================================= */

:root {
  color-scheme: dark;
  --bg:           #020204;
  --bg-elevated:  #07080b;
  --bg-card:      #14151c;
  --bg-card-alt:  #181a22;
  --line:         rgba(255,255,255,0.08);
  --line-strong:  rgba(255,255,255,0.14);
  --text:         #f4f4f5;
  --text-soft:    #c9cbd2;
  --muted:        #8a8e9b;
  --muted-2:      #6b6f7b;

  /* Single primary accent — must match the app's --cyan */
  --cyan:         #53d8ff;
  --cyan-hover:   #7be2ff;
  --cyan-soft:    rgba(83, 216, 255, 0.12);

  /* Decorative companion (used only in hero brand-mark + hero h1 gradient) */
  --violet:       #9a7cff;

  --green:        #58e69a;
  --shadow-lg:    0 24px 70px rgba(0,0,0,0.45);

  /* Radius tokens — names mirror app's rendermix_app/static/styles.css
     for cross-surface consistency.  --radius-card / --radius-btn
     aliases retained for legacy CSS rules in this file (12px / 8px). */
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --radius-pill:  9999px;
  --radius-card:  var(--radius-lg);
  --radius-btn:   var(--radius-md);

  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

::selection {
  background: rgba(83, 216, 255, 0.35);
  color: var(--text);
}

/* Landing page has no inner-scroll containers — body scroll uses
   the native overlay scrollbar (macOS Safari hides until scroll).
   See rendermix_app/static/styles.css for why the global rule was
   removed (created a persistent 8px bar over content). */

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── Typography helpers ── */
.muted    { color: var(--muted); }
.accent   { color: var(--cyan); }
.sr-only  { position: absolute; width: 1px; height: 1px;
            overflow: hidden; clip: rect(0,0,0,0); }

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(2,2,4,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-brand .rm-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #020204;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-links .btn-cta {
  background: var(--cyan);
  color: #020204;
  font-weight: 700;
  padding: 7px 16px;
}

.nav-links .btn-cta:hover { background: var(--cyan-hover); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 24px 80px;
  gap: 36px;
}

/* CSS-only abstract gradient orb — no image assets */
.hero-gfx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-gfx::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg at 50% 45%,
    #53d8ff33 0deg,
    #9a7cff22 60deg,
    #53d8ff18 120deg,
    #53d8ff00 180deg,
    #9a7cff22 240deg,
    #53d8ff33 300deg,
    #53d8ff33 360deg
  );
  filter: blur(60px);
  opacity: 0.7;
}

.hero-gfx::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-body {
  position: relative;
  z-index: 1;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(83, 216, 255, 0.35);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--cyan-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Value hook under the H1 (2026-05-31): flat-unlimited vs per-clip metering —
   our #1 differentiator, placed first in the eye-path for price-led buyers. */
.hero-pitch {
  margin: -6px 0 0;          /* nudge up: group identity (H1) + value */
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 600px;
}
.hero-pitch .accent {
  color: var(--text);     /* emphasis via weight, not colour — reserve cyan for the CTA */
  font-weight: 700;
}
.hero-pitch .pitch-rest {     /* justification reads as support, not a 2nd headline */
  color: var(--text-soft);
  font-weight: 500;
}

.hero-sub {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

/* ================================================================
   SHOWCASE PREVIEW (SSI fragment between hero and features)
   /preview.html is regenerated 4×/day by the showcase-refresh cron
   (see deploy/showcase-refresh.service ExecStartPost).  Tiles square,
   filmstrip layout on desktop, 3-col on tablet, 2-col on mobile.
   When the fragment is missing/empty the entire section hides via
   :has() so no whitespace gap between hero and features.
   ================================================================ */
.lp-showcase {
  padding: 0 24px 56px;
}

.lp-showcase:not(:has(.lp-showcase-strip)) {
  display: none;
}

.lp-showcase-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.lp-showcase-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.lp-showcase-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lp-showcase-tile:hover,
.lp-showcase-tile:focus-visible {
  transform: scale(1.02);
  box-shadow: 0 0 0 1px var(--cyan), 0 8px 24px rgba(83, 216, 255, 0.18);
  outline: none;
}

.lp-showcase-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-card);
}

/* 2026-05-17 — the `hidden` HTML attribute is given `display:none` by
   the browser UA stylesheet, but our `.lp-showcase-tile { display: block }`
   author rule above wins on specificity (author > UA, even though both
   are class-0).  Without this explicit override, every baked tile would
   render and lp-shuffle.js's hidden-toggle would be a no-op.
   See lesson_css_specificity_audit for the pattern. */
.lp-showcase-tile[hidden] {
  display: none;
}

.lp-showcase-strip-cta {
  text-align: center;
  margin: 24px 0 0;
}

.lp-showcase-strip-cta a {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s;
}

.lp-showcase-strip-cta a:hover {
  opacity: 0.75;
}

@media (max-width: 900px) {
  .lp-showcase-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .lp-showcase {
    padding: 0 18px 40px;
  }
  .lp-showcase-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================================
   BUTTONS (shared)
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.btn-primary {
  background: var(--cyan);
  color: #020204;
  box-shadow: 0 4px 24px rgba(83, 216, 255, 0.3);
}

.btn-primary:hover {
  background: var(--cyan-hover);
  box-shadow: 0 6px 32px rgba(83, 216, 255, 0.45);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover { background: rgba(255,255,255,0.09); color: var(--text); }

/* ================================================================
   SECTION WRAPPER
   ================================================================ */
section {
  padding: 80px 24px;
}

.section-inner {
  /* 1040 → 1160 (2026-06-16): the 4-up pricing row squeezed cards to ~245px;
     1160 brings them to ~275px (matching the in-app billing shell).  Safe to
     widen globally — body text is independently capped (.section-sub 540px),
     so only the grids (catalogue, pricing) widen and every section stays
     edge-aligned. */
  max-width: 1160px;
  margin: 0 auto;
}

.section-label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;   /* keep multi-line titles evenly split */
}

.section-sub {
  margin: 0 0 56px;
  color: var(--muted);
  font-size: 1rem;
  max-width: 540px;
  /* avoid a lone short word ("runt") on the last line; Chrome/Safari nudge
     the line breaks, older browsers fall back to normal wrap. */
  text-wrap: pretty;
}

/* ================================================================
   FEATURES GRID
   ================================================================ */
.features {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ================================================================
   MODELS section — public model catalogue (2026-05-22, revised
   2026-05-23 for visual integration with the page band rhythm).
   - Section uses `.bg-elevated` treatment: pairs with the adjacent
     `.features` band so the eye reads them as one "what we offer"
     stretch with a thin hairline between.  No border-bottom on
     `.models` — `.features` border-top is the seam.
   - Column grid uses the same `gap: 1px on var(--line) bg` hairline
     trick as `.features-grid`: two cells read as one cohesive card
     split by a vertical divider, instead of two detached bordered
     boxes floating on bare canvas.
   - `.models-col-title` is now a cyan small-caps eyebrow, NOT a
     heading-weight title.  Establishes a clean hierarchy so model
     names (700 weight) stand alone as the foreground content.
   Reuses .section-inner / .section-label / .section-title primitives.
   ================================================================ */
.models {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  /* no border-bottom — .features border-top serves as the seam */
}

.models-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 32px;
}

.models-col {
  background: var(--bg-card);
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.models-col-title {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.models-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.models-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.4;
}

.models-list li strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.models-list .models-tag {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.models-footnote {
  margin: 32px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--bg-card-alt); }

/* SVG icons (Lucide-style monoline, 1.5px stroke) replace the emoji that
   used to live here.  Icon colour inherits via currentColor. */
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  color: var(--cyan);
  background: var(--cyan-soft);
  border-radius: var(--radius-md);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  counter-reset: steps;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-increment: steps;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(83, 216, 255, 0.4);
  background: rgba(83, 216, 255, 0.1);
  font-size: 14px;
  font-weight: 800;
  color: var(--cyan);
}

.step-num::before { content: counter(steps); }

.step h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ================================================================
   PRICING TEASER
   ================================================================ */
.pricing {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
  /* Equal-height cards.  Content is balanced — a reserved price-note slot on
     EVERY card (founding rate on Standard/Bulk, a muted 'price held' note on
     Trial/Starter) + equal feature counts — so equal height leaves no dead gap. */
}

/* 4-card variant (added 2026-05-23 with the Bulk bundle): forces 4-across on
   wide viewports (≥1080px) instead of auto-fit's tendency to spread out
   into wider cards.  At narrower widths, auto-fit's minmax(260px) takes
   over and wraps 2×2.  Keeps cards consistently sized so the featured
   one's cyan glow doesn't dominate by virtue of width. */
@media (min-width: 1080px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  border-color: rgba(83, 216, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(83, 216, 255, 0.15);
}

.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(83, 216, 255, 0.25),
              0 8px 40px rgba(83, 216, 255, 0.12);
}

.pricing-card-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Tier badge — pixel-aligned with app's .tier-badge in
   rendermix_app/static/styles.css.  Typography (10px, 0.08em) MUST
   match across surfaces; color semantics diverge by role:
     • Landing default = muted (tier-identifier label on pricing teaser)
     • Landing .popular = strong (flagship "Most popular" + "Best value")
     • App default = strong — same flagship badges, matched weight
       (unified 2026-06-16; no more muted "Most popular" split)
   Both surfaces use the same pill geometry so cross-surface navigation
   reads as the same component family. */
.tier-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-soft);
  align-self: flex-start;
  white-space: nowrap;
}

.tier-badge.popular {
  color: #020204;
  background: var(--cyan);
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Credit allotment headline (2026-06-09 credit pivot) — mirrors the app's
   .tier-credits: bold allotment, muted "≈ N images / M videos" basket. */
.pricing-credits {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.25;
  margin-top: 4px;
}
.pricing-credits .basket {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

/* Founding-rate lock-in line (2026-05-31) — calm, single cyan lock glyph,
   only the future price struck.  Mirrors the app's .tier-pricelock. */
.pricing-pricelock {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}
.pricing-pricelock .lock {
  width: 13px;
  height: 13px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-pricelock .future {
  text-decoration: line-through;
  color: var(--muted-2);
}
.pricing-pricelock .until {
  color: var(--text-soft);
  font-weight: 600;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.pricing-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Savings proof line — dollar figure in the house green idiom. */
.pricing-features li.save b {
  color: var(--green);
  font-weight: 700;
}

/* Per-render price hint — calm, muted, no checkmark. */
.pricing-features li.hint {
  color: var(--muted-2);
  font-size: 0.82rem;
  gap: 0;
}
.pricing-features li.hint::before {
  content: "";
}

.btn-subscribe {
  display: block;
  text-align: center;
  padding: 11px 20px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 700;
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(83, 216, 255, 0.25);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  margin-top: auto;
}

.btn-subscribe:hover {
  background: var(--cyan);
  color: #020204;
  border-color: var(--cyan);
}

.pricing-card.featured .btn-subscribe {
  background: var(--cyan);
  color: #020204;
  border-color: var(--cyan);
}

.pricing-card.featured .btn-subscribe:hover {
  background: var(--cyan-hover);
  border-color: var(--cyan-hover);
}

.pricing-footer {
  text-align: center;
  margin-top: 8px;
}

.pricing-footer a {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s;
}

.pricing-footer a:hover { opacity: 0.75; }

/* ================================================================
   FAQ PAGE
   Compact header (no orb) + alternating-bg sections + flat Q/A list.
   Reuses .section / .section-inner / .section-label / .section-title
   from above; only the page-head and faq-* classes are new.
   ================================================================ */

/* Modifier for sections that need elevated bg without the full
   .features / .pricing visual treatment.  Used to alternate the FAQ
   category sections so the eye has a rhythm down the page. */
.bg-elevated {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-head {
  position: relative;
  padding: 80px 24px 40px;
  text-align: center;
}

.page-head-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
}

.page-head-sub {
  margin: 0;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 540px;
}

.page-head-sub a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(83, 216, 255, 0.4);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}

.page-head-sub a:hover { text-decoration-color: var(--cyan); }

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-group {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.faq-group:first-child {
  border-top: none;
  padding-top: 8px;
}

.faq-group:last-child {
  padding-bottom: 8px;
}

.faq-q {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
  scroll-margin-top: 88px; /* offset for sticky nav when deep-linking */
}

.faq-a {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.faq-a a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(83, 216, 255, 0.35);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}

.faq-a a:hover { text-decoration-color: var(--cyan); }

.faq-cta {
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

.faq-cta a {
  color: var(--cyan);
  font-weight: 600;
  transition: opacity 0.15s;
}

.faq-cta a:hover { opacity: 0.75; }

@media (max-width: 640px) {
  .page-head { padding: 56px 18px 32px; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left {
  font-size: 13px;
  color: var(--muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-right a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}

.footer-right a:hover { color: var(--text-soft); }

.footer-status {
  max-width: 1160px;
  margin: 20px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 0 2px rgba(88, 230, 154, 0.2);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 640px) {
  .nav { padding: 0 18px; }
  .nav-links .nav-text-link { display: none; }
  section { padding: 56px 18px; }
  .hero { padding: 48px 18px 40px; }
  .feature-card { padding: 28px 22px; }
  .pricing-card { padding: 24px 20px; }
  .site-footer { padding: 32px 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Hero orb perf — base size 900×700px rasterizes a huge blurred
     conic-gradient even though it's clipped by .hero { overflow: hidden }
     on small viewports.  Cap to viewport-bound size to save GPU cycles
     on low-end Androids without changing the visible silhouette. */
  .hero-gfx::before {
    width: min(900px, 130vw);
    height: min(700px, 100vw);
  }
}

/* Contest promo strip (2026-07 — remove when the contest ends).  Lives here in
   the external sheet (NOT inline) because the landing CSP is `style-src 'self'`,
   which blocks inline <style>/style="" — the earlier inline version rendered
   unstyled on prod. */
.contest-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; padding: 12px 16px;
  text-decoration: none; font-size: 15px; line-height: 1.3; color: #e9e6ff;
  background: linear-gradient(90deg, rgba(124,92,255,.34), rgba(34,211,238,.26));
  border-bottom: 1px solid rgba(124,92,255,.5);
  box-shadow: inset 0 1px 0 rgba(34,211,238,.22);
  transition: filter .15s ease;
}
.contest-bar:hover { filter: brightness(1.12); }
.contest-bar .trophy { font-size: 17px; line-height: 1; }
.contest-bar strong { color: #fff; font-weight: 700; }
.contest-bar .cta {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 3px 13px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #22d3ee; background: rgba(34,211,238,.16); border: 1px solid rgba(34,211,238,.5);
}
@media (max-width: 640px) {
  .contest-bar { font-size: 13px; gap: 8px; }
  .contest-bar .hide-sm { display: none; }
}
