/* ==========================================================================
   GEO console — marketing site (dark "limy" theme)
   Loads AFTER theme.css (reuses its :root tokens & fonts).
   ========================================================================== */

html { overflow-x: hidden; }
.site-body { padding-top: 0; overflow-x: hidden; max-width: 100%; }
/* hard guard: no public-site section may push the page wider than the viewport */
.site-nav, .hero, .section, .cta-band, .site-footer { overflow-x: clip; }
.wrap, .mock, .feat-grid, .steps, .pricing, .analyze, .trust, .footer-top { max-width: 100%; min-width: 0; }
.trust__names, .mock__url { min-width: 0; }
#mockChart { max-width: 100%; overflow: hidden; }

/* ===== Site nav ========================================================= */
/* centered floating "pill" nav — hides on scroll-down (JS toggles --hidden) */
.site-nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 90;
  display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 8px 0 14px;
  max-width: calc(100vw - 24px);
  background: rgba(17,17,21,.72); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--border-strong); border-radius: 999px;
  box-shadow: 0 14px 44px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}
.site-nav--hidden { transform: translateX(-50%) translateY(-180%); opacity: 0; pointer-events: none; }
.site-nav .brand { display: flex; align-items: center; gap: 8px; flex: none; }
.site-nav .brand__mark { width: 26px; height: 26px; }
.site-nav .brand__name { font-size: 15.5px; }
.site-nav__sep { width: 1px; height: 22px; background: var(--border-strong); margin: 0 2px; flex: none; }
.site-nav__links { display: flex; align-items: center; gap: 2px; }
.site-nav__links a { padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .15s, background .15s; }
.site-nav__links a:hover { color: var(--ink); background: var(--surface-3); }
.site-nav__links a.active { color: var(--violet-bright); background: var(--blue-soft); }
.site-nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.site-nav__signin { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.site-nav__signin:hover { color: var(--violet-bright); }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; height: 30px; flex: none; }
.lang-switch button { border: 0; background: transparent; color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; font-weight: 600; padding: 0 9px; height: 100%; cursor: pointer; transition: color .15s, background .15s; }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.on { background: var(--violet); color: #fff; }
.site-nav .btn--primary { height: 36px; padding: 0 16px; font-size: 13px; border-radius: 999px; }
.nav-burger { display: none; width: 38px; height: 38px; border: 0; background: transparent; color: var(--ink); border-radius: 999px; cursor: pointer; }
.nav-burger:hover { background: var(--surface-3); }
/* When the mobile burger sheet is open, the absolutely-positioned dropdown must
   not be clipped by the pill's overflow-x: clip. (.open only happens on mobile.) */
.site-nav.open { overflow: visible; }
/* A sign-in copy that lives inside the open burger sheet (desktop has its own). */
.site-nav__links-signin { display: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; position: relative; z-index: 1; }
.section--tight { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--violet-bright); padding: 6px 12px; border: 1px solid rgba(139,92,246,.3);
  border-radius: 999px; background: var(--blue-soft); margin-bottom: 22px; white-space: nowrap;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 {
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em; color: #fff; margin: 0 0 16px; line-height: 1.08;
}
.section-head p { font-size: 17px; color: var(--ink-3); margin: 0; line-height: 1.55; }

/* ===== Hero ============================================================= */
.hero { padding: 92px 0 64px; text-align: center; position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(40px, 6.6vw, 76px);
  letter-spacing: -0.025em; line-height: 1.04; color: #fff; margin: 18px auto 0; max-width: 16ch;
}
.hero h1 .grad { color: var(--violet-bright); }
.hero p.lead {
  font-size: 18px; color: var(--ink-2); max-width: 56ch; margin: 26px auto 0; line-height: 1.6;
}
.analyze {
  display: flex; gap: 10px; max-width: 540px; margin: 34px auto 0; padding: 7px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.analyze input {
  flex: 1; border: 0; background: transparent; outline: none; color: var(--ink);
  font-family: var(--font-sans); font-size: 15px; padding: 0 14px;
}
.analyze input::placeholder { color: var(--ink-4); }
.analyze .btn { height: 46px; padding: 0 22px; font-size: 14px; }
.trust { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.trust__label { font-size: 13px; color: var(--ink-4); }
.trust__logos { display: flex; gap: 8px; }
.trust__names { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }

/* ===== Browser mockup =================================================== */
.mock {
  max-width: 1000px; margin: 64px auto 0; border-radius: 16px 16px 14px 14px; overflow: hidden;
  border: 1px solid var(--border-strong); background: var(--surface);
  box-shadow: 0 40px 120px rgba(139,92,246,.18), 0 30px 60px rgba(0,0,0,.6);
}
.mock__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.mock__dot { width: 11px; height: 11px; border-radius: 50%; }
.mock__url { margin: 0 auto; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); background: var(--surface); padding: 5px 16px; border-radius: 8px; border: 1px solid var(--border); }
.mock__body { padding: 22px; display: grid; gap: 18px; }
.mock__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mock__kpi { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.mock__kpi .l { font-size: 11px; color: var(--ink-3); margin-bottom: 8px; }
.mock__kpi .v { font-family: var(--font-heading); font-weight: 600; font-size: 22px; color: #fff; letter-spacing: -.02em; }
.mock__kpi .d { font-family: var(--font-mono); font-size: 11px; color: var(--green); margin-top: 4px; }
.mock__chart { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.mock__chart .ttl { display:flex; align-items:center; justify-content:space-between; margin-bottom: 8px; font-size: 12px; color: var(--ink-3); }

/* ===== Feature cards ==================================================== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feat:hover { border-color: rgba(139,92,246,.4); transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.feat__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--violet-bright); margin-bottom: 18px; }
.feat h3 { font-family: var(--font-heading); font-weight: 600; font-size: 17px; color: #fff; margin: 0 0 8px; letter-spacing: -.01em; }
.feat p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.55; }
.feat__chip { display:inline-flex; margin-top:14px; }

/* ===== Steps =========================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step__n {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin: 0 auto 18px;
  background: var(--violet); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 18px;
  box-shadow: 0 8px 24px rgba(139,92,246,.35);
}
.step h3 { font-family: var(--font-heading); font-weight: 600; font-size: 18px; color: #fff; margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.55; max-width: 30ch; margin-inline: auto; }
.steps__line { position: absolute; }

/* ===== CTA band ======================================================== */
.cta-band {
  position: relative; z-index: 1; border-radius: 24px; overflow: hidden; text-align: center;
  padding: 64px 28px; border: 1px solid rgba(139,92,246,.35);
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(167,139,250,.35), transparent 70%),
    linear-gradient(180deg, #15121f, #0c0b12);
}
.cta-band h2 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; color: #fff; margin: 0 0 14px; }
.cta-band p { font-size: 16px; color: var(--ink-2); margin: 0 0 28px; }
.cta-band .btn { height: 50px; padding: 0 28px; font-size: 15px; }

/* ===== Pricing ========================================================= */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.price {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 18px; position: relative;
}
.price.pop { border-color: rgba(139,92,246,.6); box-shadow: 0 0 0 1px rgba(139,92,246,.3), 0 30px 60px rgba(139,92,246,.12); }
.price__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--violet); padding: 5px 14px; border-radius: 999px;
}
.price__name { font-family: var(--font-heading); font-weight: 600; font-size: 18px; color: #fff; }
.price__amt { display: flex; align-items: baseline; gap: 6px; }
.price__amt .n { font-family: var(--font-heading); font-weight: 700; font-size: 38px; color: #fff; letter-spacing: -.03em; }
.price__amt .u { font-size: 13px; color: var(--ink-3); }
.price__feats { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--border); display: grid; gap: 12px; }
.price__feats li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.price__feats li .ck { color: var(--green); flex: none; margin-top: 1px; }
.price__feats li.off { color: var(--ink-4); }
.price__feats li.off .ck { color: var(--ink-4); }
.price .btn { justify-content: center; height: 44px; }

/* ===== Footer ========================================================== */
.site-footer { border-top: 1px solid var(--border); background: #060608; position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--ink-3); max-width: 30ch; line-height: 1.6; margin: 0 0 20px; }
.footer-status { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--ink-2); background: var(--surface); }
.footer-social a:hover { color: #fff; border-color: var(--border-strong); background: var(--surface-2); }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--ink-2); }
.footer-col a:hover { color: var(--violet-bright); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.footer-bottom span { font-size: 13px; color: var(--ink-4); }
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom .links a { font-size: 13px; color: var(--ink-3); }
.footer-bottom .links a:hover { color: var(--ink); }

/* ===== Responsive ====================================================== */
@media (max-width: 900px) {
  .site-nav__links { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .feat-grid, .steps, .pricing { grid-template-columns: 1fr; }
  .pricing { gap: 22px; }
  .mock__kpis { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .wrap { padding: 0 18px; }
  .analyze { flex-direction: column; background: transparent; border: 0; padding: 0; gap: 10px; }
  /* Finger-friendly URL field on phones (16px font also stops iOS zoom-on-focus). The
     button is a matched pair with it: same height + radius, and its label centered
     (the base .btn is inline-flex with no justify-content, so a full-width button would
     otherwise left-align its text). */
  .analyze input { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; height: 54px; font-size: 16px; padding: 0 16px; }
  .analyze .btn { width: 100%; height: 54px; border-radius: 12px; justify-content: center; font-size: 15px; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Animations — "vivant" (limy-style motion). All gated on reduced-motion.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* scroll/load reveal — JS adds .in via GEO.initReveal() */
  .reveal { opacity: 0; transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--d, 0s); will-change: opacity, transform; }
  .reveal.in { opacity: 1; transform: none; }


  /* product mockup: intro lift, then a slow continuous float */
  .mock { animation: mockIn .9s .25s cubic-bezier(.2,.7,.2,1) both, floatY 7s .9s ease-in-out infinite; }
  @keyframes mockIn { from { opacity: 0; transform: translateY(34px) scale(.985); } to { opacity: 1; transform: none; } }
  @keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

  /* drifting violet/cyan aura behind the hero */
  .hero::after { content: ""; position: absolute; inset: -18% 0 auto 0; width: 100%; height: 130%; z-index: -1; pointer-events: none;
    background:
      radial-gradient(600px 300px at 30% 18%, rgba(139,92,246,.18), transparent 60%),
      radial-gradient(520px 280px at 76% 8%, rgba(139,92,246,.08), transparent 60%);
    animation: auraDrift 16s ease-in-out infinite alternate; }
  @keyframes auraDrift { 0% { transform: translate3d(-2%,0,0) scale(1); } 100% { transform: translate3d(3%,1.5%,0) scale(1.08); } }

  /* primary button shimmer on hover */
  .btn--primary { position: relative; overflow: hidden; }
  .btn--primary::after { content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); }
  .btn--primary:hover::after { animation: shine .8s ease; }
  @keyframes shine { to { left: 135%; } }
}

/* feature card: top accent line on hover (works with the existing lift) */
.feat { position: relative; overflow: hidden; }
.feat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(139,92,246,.55); opacity: 0; transition: opacity .25s; }
.feat:hover::before { opacity: 1; }
.feat__ico { transition: transform .25s, background .25s; }
.feat:hover .feat__ico { transform: translateY(-2px) scale(1.06); }

/* Centered CTA row under a section. Shared here because SIX pages use the class
   but only index/pricing used to define it locally — on the four others the
   button sat flush left. */
.center-link { text-align: center; margin-top: 30px; }
.center-link .btn + .btn { margin-left: 10px; }

/* free-test action rows (share / compare / email) — stack cleanly on phones */
.res-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 560px) {
  .res-row { flex-direction: column; align-items: stretch; }
  .res-row input { min-width: 0 !important; }
  .res-row .btn { width: 100%; }
  .mock__kpis { grid-template-columns: 1fr 1fr; }
  .geo-spin { width: 24px; height: 24px; border-width: 2px; }
  #loadLine { font-size: 13px; }
  #loadPrompt { font-size: 12px; }
  .res-sec { padding: 14px; }
  .mock__body { padding: 16px; }
}
@media (max-width: 400px) {
  .mock__kpis { grid-template-columns: 1fr; }
}

/* perceived page transition: a short opacity-only fade on load */
@media (prefers-reduced-motion: no-preference) {
  body { animation: pageFade .3s ease both; }
  @keyframes pageFade { from { opacity: 0 } to { opacity: 1 } }
}

/* analyze bar focus ring */
.analyze:focus-within { border-color: rgba(139,92,246,.6); box-shadow: 0 0 0 4px rgba(139,92,246,.14), var(--shadow-card); }

/* step number subtle hover */
.step__n { transition: transform .25s, box-shadow .25s; }
.step:hover .step__n { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(139,92,246,.45); }

/* mobile: open the nav links as a dropdown sheet */
@media (max-width: 900px) {
  .site-nav.open .site-nav__links { display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 68px; left: 0; right: 0; margin: 0; padding: 10px 16px 16px;
    background: rgba(8,8,10,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow-pop); z-index: 5; }
  .site-nav.open .site-nav__links a { padding: 13px 12px; border-radius: 10px; }
  .site-nav.open .site-nav__links-signin { display: block; margin-top: 6px; padding-top: 14px;
    border-top: 1px solid var(--border); color: var(--ink); font-weight: 600; }
}

/* small-screen polish: keep the nav + big headline inside the viewport */
@media (max-width: 560px) {
  .site-nav { gap: 10px; padding: 0 14px; }
  .site-nav__signin { display: none; }            /* sign-in lives in the burger sheet */
  .site-nav__actions { gap: 8px; margin-left: auto; }
  .site-nav .btn--primary { height: 38px; padding: 0 14px; font-size: 13px; }
  .hero { padding: 78px 0 46px; }
  .hero h1 { font-size: 30px; line-height: 1.12; max-width: 100%; overflow-wrap: break-word; }
  .hero p.lead { font-size: 16px; max-width: 100%; }
  .eyebrow { font-size: 11px; letter-spacing: .03em; max-width: 100%; }
  .mock__url { font-size: 11px; padding: 5px 10px; }
}

/* ==========================================================================
   Background depth + film grain — kills the "too clean / AI" flatness.
   ========================================================================== */
.site-body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(139,92,246,.10), transparent 60%),
    radial-gradient(820px 560px at 88% 0%, rgba(139,92,246,.05), transparent 58%),
    radial-gradient(1000px 760px at 50% 118%, rgba(99,102,241,.07), transparent 60%);
}
.site-body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}
@media (prefers-reduced-motion: no-preference) {
  .site-body::after { animation: grainShift 1.1s steps(3) infinite; }
  @keyframes grainShift { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-2%)} 100%{transform:translate(0,0)} }
}

/* ==========================================================================
   HERO v2 — animated "AI assistants being queried" field + centered CTA.
   ========================================================================== */
.hero--v2 {
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  padding: 132px 22px 90px; position: relative; overflow: clip; text-align: center; isolation: isolate;
}
.hero--v2 .wrap { position: relative; z-index: 3; }
.hero__field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(62% 52% at 50% 42%, rgba(8,8,10,.9) 0%, rgba(8,8,10,.55) 46%, transparent 78%),
    linear-gradient(180deg, transparent 58%, var(--bg) 100%); }
.hero--v2 .eyebrow { margin-bottom: 26px; }
.hero--v2 h1 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(38px, 6.4vw, 80px);
  letter-spacing: -.025em; line-height: 1.05; color: #fff; margin: 0 auto; max-width: 15ch; }
.hero--v2 .grad { color: var(--violet-bright); }
.hero--v2 .lead { font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-2); max-width: 52ch; margin: 24px auto 0; line-height: 1.6; }
.hero__cta { margin: 36px auto 0; max-width: 520px; }
.hero__cta .analyze { margin-top: 0; }

/* floating query cards */
.qcard { position: absolute; width: 244px; padding: 13px 15px 14px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(26,26,32,.66), rgba(18,18,22,.6)); border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(11px); backdrop-filter: blur(11px);
  box-shadow: 0 16px 44px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
  transform: rotate(var(--rot, 0deg)); opacity: 0; transition: opacity .6s ease; will-change: opacity, transform; }
.qcard.show { opacity: 1; }
.qcard__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.qcard__llm { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.qcard__live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-left: auto; flex: none; }
.qcard__q { font-size: 13.5px; color: var(--ink); line-height: 1.4; min-height: 1.4em; }
.qcard__a { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; margin-top: 9px; opacity: 0; transform: translateY(5px); transition: opacity .45s, transform .45s; }
.qcard__a.show { opacity: 1; transform: none; }
.qcard__brand { color: var(--violet-bright); font-weight: 600; background: rgba(139,92,246,.13); padding: 0 5px; border-radius: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .qcard { animation: qfloat 9s var(--fdelay, 0s) ease-in-out infinite; }
  @keyframes qfloat { 0%,100% { transform: rotate(var(--rot,0deg)) translateY(0); } 50% { transform: rotate(var(--rot,0deg)) translateY(-12px); } }
  .qcard__live { animation: qpulse 2s ease-in-out infinite; }
  @keyframes qpulse { 0%{box-shadow:0 0 0 0 rgba(74,222,128,.5)} 70%{box-shadow:0 0 0 7px rgba(74,222,128,0)} 100%{box-shadow:0 0 0 0 rgba(74,222,128,0)} }
}
/* cards live in the side margins beside the 1180px content — only show them
   when there's genuinely room, else a clean text hero. */
@media (max-width: 1300px) { .qcard--wide-only { display: none; } }
@media (max-width: 1180px) { .hero__field { display: none; } }
@media (max-width: 560px) {
  .hero--v2 { padding: 112px 16px 68px; min-height: 86svh; }
  .hero--v2 h1 { font-size: clamp(28px, 8.6vw, 40px); line-height: 1.08; max-width: 100%; overflow-wrap: break-word; }
}

/* ==========================================================================
   Misc utilities + responsive nav (centered pill burger sheet).
   ========================================================================== */
.hide-narrow { }
@media (max-width: 1080px) { .hide-narrow { display: none !important; } }
.section--top { padding-top: 124px; }

@media (max-width: 980px) {
  .site-nav__links, .site-nav__signin, .site-nav__sep { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .site-nav.open .site-nav__links { display: flex; flex-direction: column; gap: 2px;
    position: fixed; top: 80px; left: 50%; transform: translateX(-50%); width: min(92vw, 340px); margin: 0; padding: 10px;
    background: rgba(15,15,19,.97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: var(--shadow-pop); z-index: 5; }
  .site-nav.open .site-nav__links a { padding: 13px 14px; border-radius: 12px; font-size: 15px; text-align: center; }
  .site-nav.open .site-nav__links-signin { display: block; margin-top: 6px; padding-top: 14px;
    border-top: 1px solid var(--border); color: var(--ink); font-weight: 600; }
}
@media (max-width: 480px) {
  .site-nav { gap: 6px; padding: 0 6px 0 10px; }
  .site-nav .brand__name { display: none; }
  .site-nav .btn--primary { padding: 0 12px; }
}
