/* ============================================================================
   AIOStory — Design System  ·  v4  "Arena"
   Dark, high-tech AI product. A head-to-head where AI declares a winner.
   Green + white on near-black. Hero mirrors the [box] VS [box] logo: both
   logos, VS in the middle, the winner's corner celebrates. Then straight into
   the six chapters — big graphics, clear results, little text.
   Type: Sora (display/UI) + JetBrains Mono (data / readouts).
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg:#06090C; --bg-1:#0B0F13; --bg-2:#11171C; --glass:rgba(18,24,29,0.66);
  --line:#1B232A; --line-2:#27323A;
  --text:#EAF1F2; --muted:#8C9AA0; --dim:#5A686E;
  --green:#16E08A; --green-bright:#4DF5AC; --green-deep:#0BA968;
  --green-ghost:rgba(22,224,138,0.12); --green-line:rgba(22,224,138,0.35); --green-glow:rgba(22,224,138,0.45);
  --cyan:#25F0D0; --loss:#9AA7AD;
  --grad:linear-gradient(120deg, var(--green), var(--cyan));
  --font:'Sora', system-ui, -apple-system, sans-serif;
  --mono:'JetBrains Mono', ui-monospace, monospace;
  --max-w:1180px; --radius:10px; --radius-lg:16px;
  --t:200ms cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(1100px 700px at 50% -8%, rgba(22,224,138,0.06), transparent 60%),
    radial-gradient(rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: auto, 26px 26px; background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--green); color: #04130C; }

h1,h2,h3,h4 { font-family: var(--font); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
p { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }
.mono { font-family: var(--mono); }
.kicker { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--green); }
.eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.green { color: var(--green); } .muted { color: var(--muted); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; position: relative; }
.section--alt { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 60ch; margin: 0 auto 52px; }
.sec-head .kicker { display: block; margin-bottom: 14px; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { font-size: 1.02rem; }

.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; font-size: 0.92rem; font-weight: 600; border-radius: var(--radius); transition: var(--t); border: 1px solid transparent; }
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--green); color: #04130C; box-shadow: 0 0 0 1px var(--green-line), 0 10px 30px -10px var(--green-glow); }
.btn--primary:hover { background: var(--green-bright); transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,0.02); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--green-line); color: var(--green); }
.btn--lg { padding: 17px 34px; font-size: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(6,9,12,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand svg { height: 26px; width: auto; }
.brand .wordmark { font-family: var(--font); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--text); }
.brand .wordmark b { color: var(--green); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 9px 14px; font-size: 0.86rem; font-weight: 500; color: var(--muted); border-radius: 8px; transition: color var(--t); }
.nav-link:hover { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; inset: 68px 0 0; background: var(--bg); z-index: 99; padding: 26px 28px; overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 2px; font-size: 1.05rem; color: var(--muted); border-bottom: 1px solid var(--line); }

/* ════════════════════════════════════════════════════════════════════════════
   1 · HERO — the matchup. Mirrors the logo: [logo] VS [logo]. Winner celebrates.
   ════════════════════════════════════════════════════════════════════════════ */
.hero { position: relative; padding: 40px 0 40px; border-bottom: 1px solid var(--line); overflow: hidden; text-align: center; }
.hero::before { content: ''; position: absolute; top: -12%; left: 50%; transform: translateX(-50%); width: 900px; height: 520px; background: radial-gradient(closest-side, var(--green-glow), transparent 72%); opacity: 0.34; pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 4px); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* The matchup IS the icon: a green box, a small VS, a white box. Each side is a
   FIXED grid cell with its own framed box, so the layout stays centred and
   aligned no matter how long the names or scores are. The winner is obvious
   graphically: crown + glow + green score + AHEAD. No "X is winning" sentence. */
.matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: clamp(12px, 3vw, 30px); max-width: 760px; margin: 30px auto 0; }
.m-box { position: relative; display: flex; flex-direction: column; align-items: center; padding: 26px 20px 22px; border: 1.5px solid; border-radius: 18px; background: rgba(255,255,255,0.014); transition: var(--t); }
/* Box colours ALWAYS match the brand icon: you = green (left), competitor =
   white (right). The winner is marked separately (WINNING badge + crown + glow
   + green score), never by recolouring the box. */
.box-you { border-color: var(--green-line); }                 /* icon: left box green  */
.box-rival { border-color: rgba(234,241,242,0.34); }          /* icon: right box white */
.m-box.win { box-shadow: 0 0 70px -14px var(--green-glow); }  /* spotlight glow, border colour unchanged */
.m-box.lose { opacity: 0.5; }
.m-logo { width: clamp(70px, 11vw, 90px); height: clamp(70px, 11vw, 90px); border-radius: 14px; background: #fff; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.m-logo img { width: 100%; height: 100%; object-fit: contain; padding: 15%; }
.m-crown { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; z-index: 2; }
.m-crown svg { width: 100%; height: 100%; stroke: var(--green); fill: none; filter: drop-shadow(0 0 8px var(--green-glow)); }
.m-name { margin-top: 16px; min-height: 2.1em; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font); font-weight: 800; font-size: clamp(1.05rem, 2.4vw, 1.55rem); line-height: 1.05; color: var(--text); word-break: break-word; }
.m-box.win .m-name { color: #fff; text-shadow: 0 0 26px var(--green-glow); }
.m-score { margin-top: 12px; font-family: var(--mono); line-height: 1; }
.m-score b { font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.7rem); color: var(--loss); }
.m-score span { font-size: 0.72rem; color: var(--dim); margin-left: 3px; }
.m-box.win .m-score b { color: var(--green); text-shadow: 0 0 20px var(--green-glow); }
.m-tag { margin-top: 14px; font-family: var(--mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); }
.m-box.win .m-tag { background: var(--green); color: #04130C; border-color: transparent; font-size: 0.74rem; letter-spacing: 0.18em; padding: 6px 18px; box-shadow: 0 0 24px var(--green-glow); animation: winpulse 2.4s ease-in-out infinite; }
@keyframes winpulse { 0%,100% { box-shadow: 0 0 24px var(--green-glow); } 50% { box-shadow: 0 0 36px var(--green-glow); } }
@media (prefers-reduced-motion: reduce) { .m-box.win .m-tag { animation: none; } }
.m-yours { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--bg); padding: 0 8px; font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }

/* small VS medallion between the boxes (not the giant watermark) */
.m-vs { align-self: center; width: clamp(42px, 6vw, 54px); height: clamp(42px, 6vw, 54px); border-radius: 50%; border: 1px solid var(--green-line); background: var(--bg-1); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: clamp(0.78rem, 1.6vw, 0.95rem); color: var(--green); box-shadow: 0 0 22px -6px var(--green-glow), inset 0 0 14px -8px var(--green-glow); }

/* Winner celebration: high-tech sparks + aura, injected on the winning box. */
.sparks { position: absolute; top: 38%; left: 50%; width: 0; height: 0; pointer-events: none; z-index: 0; }
.spark { position: absolute; top: 0; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green-glow); opacity: 0; transform: rotate(var(--a)) translateY(0) scale(0.4); animation: spark 2.6s ease-out infinite; animation-delay: var(--d); }
.spark.c { background: var(--cyan); }
@keyframes spark { 0% { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(0.3); } 12% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-120px) scale(0); } }
.aura { position: absolute; top: 38%; left: 50%; width: 200px; height: 200px; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid var(--green-line); opacity: 0; animation: aura 2.8s ease-out infinite; pointer-events: none; z-index: 0; }
@keyframes aura { 0% { opacity: 0.5; transform: translate(-50%,-50%) scale(0.5); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.7); } }
@media (prefers-reduced-motion: reduce) { .spark, .aura, .hero-eyebrow .dot, .loading-orb { animation: none; } .spark, .aura { display: none; } }

/* Slim foot: confidence + one-line reason. No verdict sentence. */
.hero-foot { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.champ-reason { font-size: clamp(0.95rem, 1.8vw, 1.1rem); color: var(--muted); max-width: 64ch; margin: 0; line-height: 1.55; }

/* Confidence: x / 5 */
.confidence { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 100px; background: rgba(255,255,255,0.02); }
.confidence-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.confidence-meter { display: flex; gap: 4px; }
.confidence-meter span { width: 18px; height: 7px; border-radius: 2px; background: rgba(255,255,255,0.10); transition: var(--t); }
.confidence-meter span.on { background: var(--green); box-shadow: 0 0 10px var(--green-glow); }
.confidence-val { font-family: var(--mono); font-weight: 700; font-size: 0.82rem; color: var(--green); }
@media (max-width: 560px) { .matchup { grid-template-columns: 1fr; gap: 18px; } .m-box.lose { order: 3; } .m-vs { order: 2; } }

/* ════════════════════════════════════════════════════════════════════════════
   2 · HOW THE STORY WAS DECIDED — chapters. Big graphics, clear results, low text.
   ════════════════════════════════════════════════════════════════════════════ */
.chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .chapters { grid-template-columns: 1fr; } }
.chapter { position: relative; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 30px 26px; overflow: hidden; transition: var(--t); }
.chapter:hover { border-color: var(--line-2); transform: translateY(-3px); }
.chapter-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.chapter-graphic { flex-shrink: 0; width: 60px; height: 60px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; }
.chapter-graphic svg { width: 32px; height: 32px; stroke: var(--green); fill: none; stroke-width: 1.6; }
.chapter-id { font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.chapter-title { font-family: var(--font); font-weight: 700; font-size: 1.55rem; line-height: 1.02; color: var(--text); margin-top: 2px; }
/* per-chapter mini head-to-head: [logo] VS [logo], mirrors the brand icon */
/* Same build as the hero: two framed boxes (you = green, competitor = white),
   the winner's box lights up. No card-edge highlight. */
.ch-matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 12px; margin-bottom: 18px; }
.ch-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; padding: 18px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,0.014); transition: var(--t); }
.ch-team.team-you { border-color: var(--green-line); }            /* icon: you = green  */
.ch-team.team-rival { border-color: rgba(234,241,242,0.28); }     /* icon: them = white */
.ch-team.win { box-shadow: 0 0 40px -16px var(--green-glow); }     /* winner lights up  */
.ch-team.lose { opacity: 0.5; }
.ch-team-logo { width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ch-team-logo img { width: 100%; height: 100%; object-fit: contain; padding: 14%; }
.ch-team .sc { font-family: var(--mono); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--muted); }
.ch-team .sc i { font-size: 0.42em; font-weight: 400; font-style: normal; color: var(--dim); margin-left: 1px; }
.ch-team.win .sc { color: var(--green); text-shadow: 0 0 16px var(--green-glow); }
.ch-team.win .sc i { color: var(--green-deep); }
.ch-team .nm { font-size: 0.72rem; color: var(--dim); max-width: 15ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-team.win .nm { color: var(--green); }
.ch-team .wins { font-family: var(--mono); font-size: 0.52rem; font-weight: 700; letter-spacing: 0.14em; color: #04130C; background: var(--green); padding: 2px 8px; border-radius: 100px; box-shadow: 0 0 12px var(--green-glow); }
.ch-vs { align-self: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--green-line); background: var(--bg-1); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 0.62rem; color: var(--green); box-shadow: 0 0 16px -6px var(--green-glow); }
.ch-vs.tie { border-color: var(--line-2); color: var(--muted); box-shadow: none; }
.chapter-why { font-size: 0.92rem; color: var(--text); opacity: 0.92; line-height: 1.55; }
.chapter-matters { margin-top: 10px; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.chapter-matters b { color: var(--text); font-weight: 600; }
.chapter-fix { margin-top: 12px; font-family: var(--mono); font-size: 0.74rem; color: var(--dim); line-height: 1.5; }
.chapter-fix .fix-help { color: var(--green); font-weight: 700; white-space: nowrap; }
.chapter-fix .fix-help:hover { text-decoration: underline; }
.chapter-fix b { color: var(--green); font-weight: 500; }
.chapter--na { opacity: 0.55; }

/* ════════════════════════════════════════════════════════════════════════════
   3 · STORY REVEAL — AI's answer about each business.
   ════════════════════════════════════════════════════════════════════════════ */
.story-section { position: relative; padding: 96px 0; background: radial-gradient(900px 500px at 50% 0%, rgba(22,224,138,0.05), transparent 60%), var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.story-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 0; }
.story-bg svg { width: min(920px, 94%); opacity: 0.05; filter: drop-shadow(0 0 30px var(--green-glow)); }
.story-section .container { position: relative; z-index: 1; }
.stories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .stories-grid { grid-template-columns: 1fr; } }
.story-col { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(6px); }
.story-col.win { border-color: var(--green-line); box-shadow: 0 0 50px -26px var(--green-glow); }
.story-col-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.story-logo { width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.story-logo img { width: 100%; height: 100%; object-fit: contain; padding: 14%; }
.story-col-head h3 { font-family: var(--font); font-weight: 700; font-size: 1.3rem; line-height: 1.05; color: var(--text); }
.story-col.win .story-col-head h3 { color: var(--green); }
.story-col .ai-tag { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.story-col p { font-size: 1.04rem; line-height: 1.7; color: var(--text); margin: 0; }

/* ════════════════════════════════════════════════════════════════════════════
   4 · IF A CUSTOMER ASKED AI TODAY — payoff.
   ════════════════════════════════════════════════════════════════════════════ */
.ask { padding: 92px 0; text-align: center; }
.ask-kicker { display: inline-block; margin-bottom: 16px; }
.ask-headline { font-family: var(--font); font-weight: 800; font-size: clamp(2rem, 5.4vw, 3.4rem); line-height: 1.05; max-width: 20ch; margin: 0 auto 14px; color: #fff; }
.ask-headline .green { color: var(--green); text-shadow: 0 0 30px var(--green-glow); }
.ask-sub { font-size: 1.05rem; color: var(--muted); max-width: 54ch; margin: 0 auto 38px; }
.ask-card { max-width: 560px; margin: 0 auto; border: 1px solid var(--green-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px -40px var(--green-glow); background: var(--glass); }
.ask-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; }
.ask-row + .ask-row { border-top: 1px solid var(--line); }
.ask-row-lbl { font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.ask-winner { display: flex; align-items: center; gap: 10px; font-family: var(--font); font-weight: 800; font-size: 1.5rem; color: var(--green); text-shadow: 0 0 22px var(--green-glow); }
.ask-winner .aw-logo { width: 28px; height: 28px; border-radius: 6px; background: #fff; overflow: hidden; }
.ask-winner .aw-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.ask-winner.tie { color: var(--muted); text-shadow: none; }

/* Soft Digilu CTA */
.soft-cta { text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-1); padding: 36px 32px; }
.soft-cta .kicker { display: block; margin-bottom: 12px; }
.soft-cta h3 { margin-bottom: 8px; }
.soft-cta p { font-size: 0.96rem; max-width: 52ch; margin: 0 auto 22px; }
.form-note { font-size: 0.78rem; color: var(--dim); margin-top: 16px; text-align: center; font-family: var(--mono); letter-spacing: 0.02em; }

/* ════════════════════════════════════════════════════════════════════════════
   LANDING PAGES (homepage, verticals, franchise, how-it-works, about)
   ════════════════════════════════════════════════════════════════════════════ */
.lp-hero { position: relative; padding: 64px 0 72px; border-bottom: 1px solid var(--line); overflow: hidden; text-align: center; }
.lp-hero::before { content: ''; position: absolute; top: -14%; left: 50%; transform: translateX(-50%); width: 1000px; height: 600px; background: radial-gradient(closest-side, var(--green-glow), transparent 72%); opacity: 0.3; pointer-events: none; }
.lp-hero::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 4px); pointer-events: none; }
.lp-hero-inner { position: relative; z-index: 1; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.lp-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s ease-in-out infinite; }
.lp-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); max-width: 18ch; margin: 0 auto 18px; }
.lp-hero h1 .green { color: var(--green); text-shadow: 0 0 30px var(--green-glow); }
.lp-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; margin: 0 auto 38px; line-height: 1.55; }

/* The two-sided comparison form: [your site] VS [competitor], mirrors the icon */
.cform { max-width: 760px; margin: 0 auto; }
.cform-matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: clamp(12px, 3vw, 22px); }
.cform-box { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border: 1.5px solid; border-radius: 16px; background: rgba(255,255,255,0.014); text-align: left; transition: var(--t); }
.cform-box.box-you { border-color: var(--green-line); }
.cform-box.box-rival { border-color: rgba(234,241,242,0.30); }
.cform-box:focus-within { box-shadow: 0 0 40px -16px var(--green-glow); }
.cform-box .cf-label { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cform-box.box-you .cf-side { color: var(--green); }
.cform-input { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 13px 14px; font-size: 0.98rem; color: var(--text); transition: var(--t); -webkit-appearance: none; appearance: none; }
.cform-input::placeholder { color: var(--dim); }
.cform-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-ghost); }
.cform-vs { align-self: center; width: clamp(44px, 6vw, 56px); height: clamp(44px, 6vw, 56px); border-radius: 50%; border: 1px solid var(--green-line); background: var(--bg-1); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 0.85rem; color: var(--green); box-shadow: 0 0 22px -6px var(--green-glow); }
.cform-foot { margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: stretch; }
.cform-foot .cform-input { padding: 16px 16px; }
.cform .field-error { display: none; font-size: 0.74rem; color: var(--green); margin-top: 6px; font-family: var(--mono); }
.cform .field.has-error .field-error { display: block; }
.cform .field.has-error .cform-input, .cform .field.has-error .cform-box { border-color: var(--green); }
.cform-note { margin-top: 16px; font-family: var(--mono); font-size: 0.74rem; color: var(--dim); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-sub { font-family: var(--mono); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.cform-input.cf-local { padding: 10px 13px; font-size: 0.9rem; }
@media (max-width: 560px) {
  .cform-matchup { grid-template-columns: 1fr; }
  .cform-vs { order: 2; margin: 0 auto; }
  .cform-foot { grid-template-columns: 1fr; }
  .cform-foot .btn { justify-content: center; }
}

/* trust strip */
.trust-strip { display: flex; align-items: center; justify-content: center; gap: 14px 32px; flex-wrap: wrap; padding: 22px 0; }
.trust-strip .tp { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); }
.trust-strip .tp svg { width: 15px; height: 15px; stroke: var(--green); fill: none; stroke-width: 1.8; }

/* how-it-works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.step .step-n { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; color: var(--green); }
.step h3 { margin: 10px 0 8px; }
.step p { font-size: 0.94rem; }

/* what-we-score grid (the six chapters preview) */
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .score-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .score-grid { grid-template-columns: 1fr; } }
.score-cell { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: var(--t); }
.score-cell:hover { border-color: var(--line-2); transform: translateY(-3px); }
.score-cell .sc-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.score-cell .sc-ico svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 1.6; }
.score-cell h3 { font-size: 1.2rem; margin-bottom: 6px; }
.score-cell p { font-size: 0.9rem; }

/* industry chips */
.ind-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ind-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 100px; font-size: 0.9rem; color: var(--muted); transition: var(--t); }
.ind-chip:hover { border-color: var(--green-line); color: var(--green); }

/* two-up callout cards (franchise / multi-location) */
.callout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .callout-grid { grid-template-columns: 1fr; } }
.callout-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; transition: var(--t); }
.callout-card:hover { border-color: var(--green-line); transform: translateY(-3px); }
.callout-card .cc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.callout-card .cc-ico svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 1.6; }
.callout-card h3 { margin-bottom: 8px; }
.callout-card p { font-size: 0.94rem; margin-bottom: 16px; }
.callout-card .cc-link { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; color: var(--green); }

/* final cta band */
.cta-band { text-align: center; padding: 80px 0; border-top: 1px solid var(--line); background: radial-gradient(800px 400px at 50% 100%, rgba(22,224,138,0.06), transparent 60%); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 52ch; margin: 0 auto 28px; }

/* article / long-form (verticals, how it works, about) */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { margin-bottom: 20px; font-size: 1.04rem; line-height: 1.7; color: var(--muted); }
.article-body h2 { margin: 40px 0 16px; }
.article-body h3 { margin: 28px 0 12px; }
.article-body ul { margin: 0 0 20px; padding-left: 22px; list-style: disc; }
.article-body li { margin-bottom: 8px; color: var(--muted); }
.article-body strong { color: var(--text); }
.crumb { display: flex; align-items: center; gap: 8px; padding: 18px 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--dim); }
.crumb a:hover { color: var(--green); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font); font-size: 1.05rem; font-weight: 600; color: var(--text); }
.faq-q svg { width: 18px; height: 18px; stroke: var(--green); flex-shrink: 0; transition: transform var(--t); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 22px; }
.faq-a p { font-size: 0.96rem; color: var(--muted); }

/* Loading overlay */
.loading-overlay { position: fixed; inset: 0; background: var(--bg); z-index: 200; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 24px; }
.loading-overlay.active { display: flex; }
.loading-orb { width: 70px; height: 70px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 50px var(--green-glow); animation: orb 1.6s ease-in-out infinite; }
@keyframes orb { 0%,100% { transform: scale(0.86); opacity: 0.7; } 50% { transform: scale(1.06); opacity: 1; } }
.loading-msg { font-family: var(--font); font-weight: 600; font-size: 1.2rem; color: var(--text); text-align: center; min-height: 1.5em; max-width: 32ch; }
.loading-track { width: 280px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.loading-fill { height: 100%; background: var(--grad); width: 0; transition: width .5s ease; box-shadow: 0 0 14px var(--green-glow); }

/* Footer (Digilu only) */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 0; margin-top: 20px; background: var(--bg-1); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.brand--footer { margin-bottom: 16px; }
.brand--footer svg { height: 36px; }
.brand--footer .wordmark { font-size: 1.6rem; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); max-width: 34ch; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social .social-link { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 8px; color: var(--muted); transition: var(--t); }
.footer-social .social-link:hover { border-color: var(--green-line); color: var(--green); }
.footer-social .social-link svg { width: 17px; height: 17px; }
.footer-col h4 { font-family: var(--mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--muted); transition: color var(--t); }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.78rem; color: var(--dim); margin: 0; }
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a { font-size: 0.78rem; color: var(--dim); }
.footer-bottom .legal a:hover { color: var(--green); }

.hidden { display: none !important; }
.mt-16 { margin-top: 16px; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 760px) { .nav, .header-cta .btn { display: none; } .burger { display: flex; } .section { padding: 60px 0; } .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { :root { font-size: 15px; } .container, .container--narrow { padding: 0 18px; } .footer-top { grid-template-columns: 1fr; } }

@media print {
  .site-header, .site-footer, .burger, .mobile-nav, .soft-cta, .loading-overlay, #ctaSection, .sparks, .aura { display: none !important; }
  body { background: #fff; color: #111; }
  .verdict-head .green, .ask-headline .green, .story-title span, .m-side.win .m-name { color: #0BA968 !important; text-shadow: none; }
  .chapter, .ask-card, .story-answer, .m-logo { background: #fff; border-color: #ccc; box-shadow: none; }
}
