/* ============ Tokens ============ */
:root {
  --bg: #f6f8f5;
  --bg-2: #edf2ec;
  --surface: #ffffff;
  --surface-2: #f1f5f0;
  --sunken: #f3f6f2;
  --track: #e2e9e1;
  --line: #e0e7de;
  --line-2: #cdd8cb;
  --text: #0f1f17;
  --text-2: #44534a;
  --muted: #55655b;
  --violet: #166534;
  --violet-2: #15803d;
  --violet-3: #177a43;
  --lilac: #14532d;
  --pink: #4d7c0f;
  --good: #059669;
  --warn: #c27803;
  --bad: #dc2626;
  --wa: #1fb855;
  --navy: #0a2a1b;
  --navy-2: #0f3d26;
  --grad: linear-gradient(135deg, #166534 0%, #15803d 55%, #65a30d 130%);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(10, 42, 27, .28);
  --shadow-sm: 0 1px 2px rgba(10, 42, 27, .05), 0 4px 14px -8px rgba(10, 42, 27, .12);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --header-h: 72px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--lilac); text-decoration: none; }
a:hover { color: var(--violet); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; font-weight: inherit; background: linear-gradient(90deg, var(--lilac), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }
code { font-family: var(--font-mono); font-size: .9em; }
:focus-visible { outline: 2px solid var(--violet-3); outline-offset: 3px; border-radius: 6px; }
::selection { background: #c6efd3; color: var(--text); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mono { font-family: var(--font-mono); }
.mt { margin-top: 1.6rem; }
.small-caps { font: 500 .78rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.section { padding: clamp(44px, 5.5vw, 76px) 0; position: relative; }
.section-tight { padding: clamp(28px, 3.5vw, 44px) 0; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 .78rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-3); margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 680px; }
.sub { color: var(--text-2); font-size: 1.05rem; }
.sec-head { max-width: 720px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ''; width: 18px; height: 1px; background: currentColor; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 .96rem var(--font-display); border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; color: var(--text); background: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); color: var(--text); }
.btn-primary, .btn-primary:hover { color: #fff; }
.btn-primary { background: var(--grad); box-shadow: 0 10px 24px -12px rgba(22, 101, 52, .7); }
.btn-primary:hover { box-shadow: 0 14px 30px -12px rgba(22, 101, 52, .85); }
.btn-ghost { border-color: var(--line-2); background: var(--surface); }
.btn-ghost:hover { border-color: var(--violet-3); background: rgba(22, 163, 74, .1); }
.btn-outline { border-color: var(--violet-2); color: var(--lilac); }
.btn-outline:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); box-shadow: 0 12px 30px -10px rgba(255, 255, 255, .5); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-row.center { justify-content: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; font-size: 1.1rem; transition: .2s; }
.icon-btn:hover { border-color: var(--violet-3); background: var(--surface-2); color: var(--violet); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.link svg { width: 16px; }

/* ============ Preloader: backlinks connecting to a hub ============ */
.preloader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); transition: opacity .45s ease, visibility .45s ease; }
.preloader.done { opacity: 0; visibility: hidden; }
html:not(.js) .preloader, .pl-seen .preloader { display: none; }
.pl-inner { width: min(320px, 80vw); text-align: center; }
.pl-graph { width: 100%; height: auto; overflow: visible; }
.pl-graph line { stroke: var(--violet-2); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; opacity: .55; animation: pl-draw .45s ease-out var(--d) forwards; }
.pl-node { fill: var(--surface); stroke: var(--violet-2); stroke-width: 2.4; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pl-pop .3s cubic-bezier(.3, 1.6, .5, 1) var(--d) forwards; }
.pl-hub { fill: var(--violet); }
.pl-ring { fill: none; stroke: #a3e635; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pl-pulse 1.1s ease-out infinite; }
.pl-bar { height: 4px; border-radius: 2px; background: var(--track); overflow: hidden; margin: 22px 0 10px; }
.pl-bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; animation: pl-fill 1.5s cubic-bezier(.4, 0, .2, 1) forwards; }
.pl-text { font: 500 .85rem var(--font-mono); color: var(--muted); margin: 0; }
.pl-text b { color: var(--violet); }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-pop { to { transform: scale(1); } }
@keyframes pl-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@keyframes pl-fill { to { width: 100%; } }

/* Hero background: spider web crawled by bots (drawn by assets/js/web-crawl.js) */
.web-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3), #000 50%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3), #000 50%); }
.crawl-tag { position: absolute; z-index: 1; right: 24px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font: 500 .74rem var(--font-mono); color: var(--text-2); }
.crawl-tag i { width: 1px; height: 12px; background: var(--line-2); }
.crawl-tag span:not(.lg-dot) { color: var(--text); font-weight: 600; }
.crawl-tag b { color: var(--violet-2); }
@media (max-width: 640px) { .crawl-tag { right: 50%; transform: translateX(50%); bottom: 10px; } }

/* Founder */
.fc-top { display: flex; gap: 16px; align-items: center; }
.fc-top h3 { margin: 2px 0; font-size: 1.3rem; }
.fc-top p { margin: 0; }
.fc-title { font-weight: 600; color: var(--violet-2); font-size: .92rem; margin: 4px 0 0; }
.founder-card .chips .pill { font-size: .72rem; }
.fc-train { margin: 0; }
.fc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fc-foot .socials { margin: 0; }
.founder-block { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.founder-profile { text-align: center; position: sticky; top: calc(var(--header-h) + 20px); }
.founder-profile h2 { margin: 4px 0 2px; font-size: 1.7rem; }
.founder-profile .socials { justify-content: center; }
.founder-photo.lg { width: 180px; height: 180px; border-radius: 28px; margin: 0 auto 14px; }
.founder-facts { list-style: none; padding: 0; margin: 18px 0 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.founder-facts li { padding: 10px 6px; border-radius: 12px; background: var(--sunken); }
.founder-facts strong { display: block; font: 700 1.05rem var(--font-display); color: var(--text); }
.founder-facts span { font-size: .74rem; color: var(--muted); }
@media (max-width: 900px) { .founder-block { grid-template-columns: 1fr; } .founder-profile { position: static; } }

/* Any section with a crawl web behind it */
.web-section { position: relative; overflow: hidden; }
.web-section > .container { position: relative; z-index: 1; }
.crawl-tag-left { right: auto; left: 24px; bottom: 14px; }
@media (max-width: 640px) { .crawl-tag-left { left: 50%; transform: translateX(-50%); } }

/* Hero background: faint backlink network with signals travelling along a few links */
.net-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35), #000 55%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35), #000 55%); }
.net-bg line { stroke: var(--violet-2); stroke-width: 1; opacity: .13; }
.net-bg line.pulse { stroke: #65a30d; opacity: .55; stroke-width: 1.6; stroke-dasharray: 10 400; animation: net-pulse 4.5s linear infinite; animation-delay: var(--d); }
.net-bg circle { fill: var(--violet-2); opacity: .22; }
.net-bg circle.hot { fill: #65a30d; opacity: .5; transform-box: fill-box; transform-origin: center; animation: net-hot 3s ease-in-out infinite; animation-delay: var(--d); }
@keyframes net-pulse { from { stroke-dashoffset: 410; } to { stroke-dashoffset: 0; } }
@keyframes net-hot { 50% { transform: scale(1.6); opacity: .85; } }

/* Hero card: SERP race. Your result climbs to #1 and wins the trophy */
.sr-search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: #fff; }
.sr-search svg { width: 16px; height: 16px; color: #9fbba8; flex: none; }
.sr-q { white-space: nowrap; overflow: hidden; }
.sr-caret { width: 1.5px; height: 1em; background: #a3e635; animation: caret 1s steps(1) infinite; }
.sr-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 .68rem var(--font-mono); color: #bef264; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.sr-live .lg-dot { width: 7px; height: 7px; }
.sr-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 14px 0 6px; min-height: 74px; }
.sr-rankbox small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.sr-rankbox strong { font: 800 2.4rem/1 var(--font-display); color: #fff; letter-spacing: -.03em; transition: color .3s; }
.sr-card.win .sr-rankbox strong { color: #facc15; }
.sr-delta { justify-self: end; font: 600 .78rem var(--font-mono); color: #4ade80; text-align: right; }
.sr-card.win .sr-delta { color: #facc15; }
.sr-trophy { position: relative; width: 70px; height: 70px; opacity: .15; transform: scale(.7) rotate(-8deg); filter: grayscale(1); transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1), filter .4s; }
.sr-trophy svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 14px rgba(250, 204, 21, .35)); }
.sr-card.win .sr-trophy { opacity: 1; transform: scale(1) rotate(0); filter: none; animation: trophy-shine 1.8s ease-in-out .5s infinite; }
.sp { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fde68a; opacity: 0; }
.s1 { top: 4px; left: -6px; } .s2 { top: -6px; right: 6px; background: #a3e635; } .s3 { bottom: 14px; right: -8px; } .s4 { bottom: 2px; left: 0; background: #a3e635; } .s5 { top: 30px; left: -14px; width: 4px; height: 4px; }
.sr-card.win .sp { animation: sparkle 1.4s ease-out infinite; }
.sr-card.win .s2 { animation-delay: .25s; } .sr-card.win .s3 { animation-delay: .5s; } .sr-card.win .s4 { animation-delay: .75s; } .sr-card.win .s5 { animation-delay: 1s; }
@keyframes sparkle { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; transform: scale(1.4); } 100% { opacity: 0; transform: scale(.4) translateY(-10px); } }
@keyframes trophy-shine { 50% { transform: scale(1.06) rotate(-3deg); } }

.sr-list { position: relative; list-style: none; margin: 8px 0 14px; padding: 0; height: calc(6 * 46px); }
.sr-row { position: absolute; left: 0; right: 0; top: calc(var(--p, 0) * 46px); height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .045); border: 1px solid transparent; transition: top .75s cubic-bezier(.3, 1.25, .5, 1), background .3s, box-shadow .3s, transform .5s ease; }
.sr-row[data-pos="0"] { --p: 0; } .sr-row[data-pos="1"] { --p: 1; } .sr-row[data-pos="2"] { --p: 2; } .sr-row[data-pos="3"] { --p: 3; } .sr-row[data-pos="4"] { --p: 4; } .sr-row[data-pos="5"] { --p: 5; }
.sr-card.reset .sr-row { transition: none; }
.sr-pos { width: 18px; font: 700 .8rem var(--font-mono); color: #9fbba8; text-align: center; }
.sr-fav { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #dcebe0; font: 700 .7rem var(--font-display); flex: none; }
.sr-row > div { flex: 1; min-width: 0; }
.sr-row b { display: block; font: 600 .8rem var(--font-body); color: #dcebe0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-row i { display: block; height: 4px; width: 72%; border-radius: 2px; background: rgba(255, 255, 255, .1); margin-top: 5px; }
.sr-row.you { z-index: 2; background: linear-gradient(90deg, rgba(132, 204, 22, .22), rgba(132, 204, 22, .06)); border-color: rgba(163, 230, 53, .5); }
.sr-row.you b { color: #fff; }
.sr-row.you .sr-fav { background: #15803d; color: #fff; }
.sr-row.you .sr-pos { color: #bef264; }
.sr-badge { font: 700 .68rem var(--font-mono); color: #422006; background: #facc15; padding: 3px 8px; border-radius: 999px; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); white-space: nowrap; }
.sr-card.win .sr-row.you { box-shadow: 0 0 0 1.5px #facc15, 0 12px 30px -12px rgba(250, 204, 21, .7); }
.sr-card.win .sr-badge { opacity: 1; transform: none; }
@media (max-width: 640px) { .sr-rankbox strong { font-size: 2rem; } .sr-trophy { width: 56px; height: 56px; } }

/* ---- SERP race in 3D ---- */
@property --rx { syntax: '<angle>'; inherits: true; initial-value: 4deg; }
@property --ry { syntax: '<angle>'; inherits: true; initial-value: -8deg; }
.hero-visual { perspective: 1800px; perspective-origin: 50% 40%; position: relative; padding: 6px; }
.hero-visual::after { content: ''; position: absolute; left: 12%; right: 8%; bottom: -34px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 42, 27, .35), transparent); filter: blur(6px); z-index: -1; }
.serp-card.sr-card { transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); animation: sr-sway 9s ease-in-out infinite; box-shadow: 18px 28px 50px -28px rgba(10, 42, 27, .55), inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .35s ease-out; -webkit-font-smoothing: subpixel-antialiased; backface-visibility: hidden; }
.serp-card.sr-card.tilting { animation: none; }
@keyframes sr-sway { 0%, 100% { --rx: 4deg; --ry: -8deg; } 50% { --rx: 2deg; --ry: -3deg; } }
/* depth layers */
.sr-card > .sr-search { transform: translateZ(12px); box-shadow: 0 8px 16px -12px rgba(0, 0, 0, .6); }
.sr-card > .sr-head { transform: translateZ(18px); transform-style: preserve-3d; }
.sr-card > .sr-list { transform-style: preserve-3d; }
.sr-card > .lp-stats { transform: translateZ(8px); }
.sr-card .lp-stats > div { box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
/* result rows are thick tiles; yours floats higher */
.sr-row { transform: translateZ(6px); box-shadow: 0 2px 0 rgba(0, 0, 0, .28), 0 8px 14px -10px rgba(0, 0, 0, .55); }
.sr-row.you { transform: translateZ(18px); box-shadow: 0 3px 0 #3f6212, 0 12px 22px -12px rgba(0, 0, 0, .65); }
.sr-card.win .sr-row.you { transform: translateZ(24px); box-shadow: 0 3px 0 #a16207, 0 0 0 1.5px #facc15, 0 14px 26px -12px rgba(250, 204, 21, .5); }
/* trophy spins in 3D when you hit #1, then floats */
.sr-trophy { transform-style: preserve-3d; }
.sr-card.win .sr-trophy { animation: trophy-3d 1.1s cubic-bezier(.3, 1.2, .5, 1) both, trophy-float 2.4s ease-in-out 1.1s infinite; }
@keyframes trophy-3d { from { transform: translateZ(8px) rotateY(-360deg) scale(.5); } to { transform: translateZ(24px) rotateY(0) scale(1); } }
@keyframes trophy-float { 0%, 100% { transform: translateZ(24px) translateY(0) rotateY(0); } 50% { transform: translateZ(28px) translateY(-4px) rotateY(12deg); } }
.sr-card.win .sr-trophy svg { filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .4)) drop-shadow(0 0 14px rgba(250, 204, 21, .4)); }
@media (max-width: 900px) { .serp-card.sr-card { animation: none; transform: none; } .hero-visual { perspective: none; } }
@media (prefers-reduced-motion: reduce) { .serp-card.sr-card { animation: none; } }

/* Hero card: link profile */
.lp-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.lp-top b { display: block; font: 600 .98rem var(--font-display); color: #fff; }
.lp-top small { color: var(--muted); font-size: .78rem; }
.lp-fav { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #15803d; color: #fff; font: 800 1.1rem var(--font-display); flex: none; }
.lp-badge { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(163, 230, 53, .15); color: #bef264; font: 600 .74rem var(--font-mono); }
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.lp-stats > div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.lp-stats strong { display: block; font: 700 1.35rem var(--font-display); color: #fff; }
.lp-stats span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.3; }
.lp-stats em { font: 600 .72rem var(--font-mono); font-style: normal; color: #4ade80; }

/* Hero: live link graph. Links connect to your site in a loop, bars show referring domains growing */
.live-graph { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); }
.lg-head { display: flex; align-items: baseline; gap: 8px; font: 500 .78rem var(--font-mono); color: var(--text-2); }
.lg-dot { width: 8px; height: 8px; border-radius: 50%; background: #a3e635; align-self: center; animation: lg-blink 1.4s ease-in-out infinite; }
.lg-count { margin-left: auto; font: 700 1.05rem var(--font-display); color: #fff; }
.lg-head small { color: var(--muted); }
.lg-svg { width: 100%; height: auto; display: block; margin: 6px 0 4px; }
.lg-link line { stroke: #4ade80; stroke-width: 1.4; stroke-dasharray: 160; stroke-dashoffset: 160; opacity: .7; animation: lg-draw 9s ease-in-out infinite; animation-delay: calc(var(--i) * .55s); }
.lg-link circle { fill: #0f3d26; stroke: #86efac; stroke-width: 2; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: lg-pop 9s ease-in-out infinite; animation-delay: calc(var(--i) * .55s); }
.lg-hub { fill: #15803d; stroke: #a3e635; stroke-width: 2; }
.lg-hub-t { fill: #fff; font: 700 9px var(--font-mono); }
.lg-ring { fill: none; stroke: #a3e635; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pl-pulse 1.8s ease-out infinite; }
.lg-bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.lg-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #86efac, #15803d); transform-origin: bottom; animation: lg-grow 9s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes lg-draw { 0% { stroke-dashoffset: 160; } 8%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 160; } }
@keyframes lg-pop { 0%, 5% { transform: scale(0); } 11%, 88% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes lg-grow { 0% { transform: scaleY(.15); } 10%, 88% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
@keyframes lg-blink { 50% { opacity: .3; } }

/* Scroll progress: a link line that grows as you read */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 70; pointer-events: none; }
.scroll-progress span { position: relative; display: block; height: 100%; width: 0; background: var(--grad); }
.scroll-progress span::after { content: ''; position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #a3e635; box-shadow: 0 0 0 3px rgba(163, 230, 53, .3); opacity: 0; transition: opacity .2s; }
.scroll-progress.on span::after { opacity: 1; }

/* ============ Top bar ============ */
.topbar { background: var(--navy); font-size: .8rem; color: #a9bdb0; }
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 36px; }
.topbar a { color: #dcebe0; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--wa); }
.tb-track { margin-left: auto; color: #86efac !important; font-weight: 500; }
@media (max-width: 640px) { .tb-hide { display: none !important; } .topbar-in { gap: 12px; } }
.chips.center-chips { justify-content: center; }
.kw-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .95rem; }
.kw-chip svg { width: 16px; height: 16px; color: var(--violet-3); }
.page-hero .chips .pill { font-size: .8rem; padding: 6px 14px; }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .88); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(10, 42, 27, .35); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 700 1.28rem var(--font-display); letter-spacing: -.02em; }
.logo:hover { color: var(--text); }
.logo .wm { font-family: var(--font-display); font-weight: 800; letter-spacing: -.035em; }
.logo .wm i { font-style: normal; color: var(--violet-2); margin-right: .5px; }
.site-footer .logo .wm i { color: #a3e635; }
.logo-mark { width: 36px; height: 36px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px; color: var(--text-2); font: 500 .95rem var(--font-body); background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-item.open > .nav-link { color: var(--text); background: var(--surface-2); }
.nav-link svg { width: 16px; transition: transform .2s; }
.nav-item { position: relative; }
.nav-item.open > .nav-link svg { transform: rotate(180deg); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; padding: 10px; }

.drop { position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 50px -20px rgba(10, 42, 27, .3); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.drop::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-item.open > .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.drop a:hover { background: var(--surface-2); }
.drop a span { display: block; font-weight: 500; font-size: .94rem; }
.drop a small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.mega { display: grid; grid-template-columns: repeat(3, minmax(230px, 1fr)); gap: 6px; left: -120px; width: min(820px, 90vw); }
.mega-title { font: 500 .72rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-3); padding: 8px 12px 4px; margin: 0; }
.drop .mega-all { display: inline-flex; align-items: center; gap: 6px; color: var(--lilac); font-weight: 600; margin-top: 6px; }
.mega-all svg { width: 16px; }

@media (min-width: 1025px) {
  .nav-item.has-drop:hover > .drop { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 16px 40px; background: var(--bg); overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
  body.nav-open .site-nav { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 14px 12px; }
  .drop, .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; width: auto; min-width: 0; background: var(--surface); margin: 4px 0 8px; grid-template-columns: 1fr; }
  .nav-item.open > .drop { display: block; }
  .nav-item.open > .mega { display: grid; }
  .drop::before { display: none; }
  .nav-cta { margin: 16px 0 0; }
}

/* ============ Hero ============ */
.hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 4.5vw, 56px); overflow: hidden; }
.glow { position: absolute; inset: -30% -10% auto; height: 120%; pointer-events: none; background: radial-gradient(50% 45% at 30% 30%, rgba(21, 128, 61, .10), transparent 70%), radial-gradient(35% 35% at 80% 20%, rgba(101, 163, 13, .08), transparent 70%); filter: blur(10px); z-index: 0; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); opacity: .5; }
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.code-line { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text-2); font-size: .88rem; margin-bottom: 18px; }
.code-line .k { color: var(--pink); }
.code-line .f { color: var(--violet-3); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 em { font-size: 1.1em; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--text-2); font-size: .92rem; }
.stars { display: inline-flex; gap: 2px; color: #fbbf24; vertical-align: middle; }
.stars svg { width: 16px; height: 16px; }

.serp-card { --good: #4ade80; --muted: #9fbba8; --pink: #bef264; --text-2: #b9c9bd; --line-2: rgba(255, 255, 255, .14); color: #e8f2ea; background: linear-gradient(180deg, #0f3d26, #0a2a1b); border: 1px solid var(--line-2); border-radius: 22px; padding: 18px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06); transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(-10px); } }
.serp-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.serp-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.serp-search { flex: 1; margin-left: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .82rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; margin-bottom: 6px; }
.serp-row.you { background: linear-gradient(90deg, rgba(22, 101, 52, .28), rgba(22, 101, 52, .05)); border: 1px solid rgba(22, 163, 74, .35); }
.serp-row .pos { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); font: 600 .85rem var(--font-mono); }
.serp-row.you .pos { background: var(--grad); }
.serp-row > div { flex: 1; display: grid; gap: 6px; }
.serp-row i { display: block; height: 8px; border-radius: 4px; background: rgba(134, 239, 172, .35); }
.serp-row i.thin { height: 6px; background: rgba(134, 239, 172, .14); }
.serp-row.you i:first-child { background: var(--lilac); }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.up { font: 600 .78rem var(--font-mono); color: var(--good); }
.serp-chart { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); }
.serp-chart svg { width: 100%; height: 90px; }
.draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.2s .4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.serp-legend { display: flex; justify-content: space-between; font: .75rem var(--font-mono); color: var(--muted); margin-top: 8px; }

/* Page hero */
.page-hero { position: relative; padding: clamp(28px, 4vw, 52px) 0 clamp(28px, 3.5vw, 44px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 900px; }
.page-hero .center h1, .page-hero .center .lead { margin-inline: auto; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--violet); }
.badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(22, 101, 52, .12); font-size: .88rem; color: var(--text-2); }
.badges svg { width: 15px; color: var(--good); }
.metric-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.metric-row > div { flex: 1 1 150px; max-width: 220px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.metric-row strong { display: block; font: 600 1.6rem var(--font-display); }
.metric-row span { color: var(--muted); font-size: .85rem; }

/* ============ Cards & grids ============ */
.card { position: relative; background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); }
a.card { color: var(--text); display: block; transition: transform .25s, border-color .25s, box-shadow .25s; }
a.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); color: var(--text); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-2); }
.card p:last-child { margin-bottom: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-head h3 { margin: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--lilac); font-weight: 600; font-size: .92rem; margin-top: 8px; }
.card-link svg { width: 16px; transition: transform .2s; }
a.card:hover .card-link svg { transform: translateX(4px); }
.accent-card { background: linear-gradient(135deg, #e9f6ec, #f0f8e6); border-color: #bfe0c8; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.two-col.wide-left { grid-template-columns: 1.4fr 1fr; }
.two-col > .card + .card { margin-top: 0; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 20px); }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(22, 163, 74, .14); color: var(--lilac); font: 500 .76rem var(--font-mono); letter-spacing: .02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.svc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(22, 101, 52, .18); color: var(--lilac); margin-bottom: 18px; border: 1px solid rgba(22, 163, 74, .25); }
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1.1rem; }
.svc-card p { font-size: .94rem; }
.why-card .mono { display: block; margin-bottom: 14px; font-size: .8rem; }
.path-card .pill { margin-bottom: 16px; }
.fit-card { display: flex; align-items: center; gap: 12px; padding: 18px 20px; color: var(--text); }
.fit-card svg { width: 20px; flex: none; color: var(--good); }
.info-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 10px; }
.big-intro { font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.5 var(--font-display); color: var(--text); letter-spacing: -.01em; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: 2px; padding: 3px; border-radius: 50%; background: rgba(52, 211, 153, .15); color: var(--good); }
.checklist.small { gap: 8px; font-size: .92rem; }
.checklist.small svg { width: 18px; height: 18px; }
.xlist svg { background: rgba(248, 113, 113, .14); color: var(--bad); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.steps::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(var(--violet-2), transparent); }
.step { display: flex; gap: 20px; position: relative; }
.step-num { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font: 600 .9rem var(--font-mono); color: var(--lilac); z-index: 1; }
.step > div { flex: 1; padding: 4px 0 18px; border-bottom: 1px solid var(--line); }
.step:last-child > div { border-bottom: 0; }
.step h3 { margin-bottom: .2em; font-size: 1.15rem; }
.step p { color: var(--text-2); margin-bottom: .6em; }
.step-when { font: 500 .78rem var(--font-mono) !important; color: var(--violet-3) !important; text-transform: uppercase; letter-spacing: .1em; }

/* ============ Home ============ */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); margin-top: 18px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font: 600 1.35rem var(--font-display); color: var(--muted); opacity: .75; white-space: nowrap; letter-spacing: -.01em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.stat { padding: 18px 0; border-top: 1px solid var(--line-2); }
.stat strong { display: block; font: 600 clamp(1.8rem, 3.4vw, 2.6rem)/1.1 var(--font-display); background: linear-gradient(90deg, var(--text), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .9rem; }
.stats-card { grid-template-columns: repeat(2, 1fr); margin: 0; }
.founder-card { display: grid; gap: 16px; }
.founder-card > div:nth-child(2) h3 { margin: 2px 0; font-size: 1.35rem; }
.founder-card > div:nth-child(2) p { margin: 0; }
.founder-avatar { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); font: 700 1.5rem var(--font-display); color: #fff; }
.founder-photo { width: 112px; height: 112px; border-radius: 24px; object-fit: cover; object-position: center 30%; border: 2px solid rgba(22, 163, 74, .5); box-shadow: 0 12px 30px -10px rgba(22, 101, 52, .7); }
.team-card .founder-photo { margin: 0 auto 16px; }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: .2s; }
.socials a:hover { color: var(--violet); border-color: var(--violet-3); background: rgba(22, 163, 74, .12); }
.socials svg { width: 18px; height: 18px; }

.tabs { max-width: 980px; margin: 0 auto; }
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.tab-list button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font: 500 .92rem var(--font-body); cursor: pointer; transition: .2s; }
.tab-list button:hover { color: var(--text); border-color: var(--violet-3); }
.tab-list button[aria-selected="true"] { background: var(--violet); color: #fff; border-color: transparent; }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 44px); animation: fade .35s ease; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tab-panel .checklist { margin: 0; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

.scroller-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 36px) / 3)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.scroller-track::-webkit-scrollbar { display: none; }
.scroller-track > * { scroll-snap-align: start; }
.scroller-nav { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.scroller-nav .link { margin-left: auto; }

.result-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: .75rem; }
.result-line { font-size: .95rem; }
.spark { width: 100%; height: 80px; margin: 10px 0 16px; }
.spark-area { fill: rgba(22, 163, 74, .18); }
.spark-line { fill: none; stroke: var(--lilac); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.result-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.result-metrics strong { display: block; font: 600 1.35rem var(--font-display); color: var(--good); }
.result-metrics span { font-size: .8rem; color: var(--muted); }

.review-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 720px; margin: 0 auto 28px; }
.review-summary .card { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; }
.review-summary span { color: var(--text-2); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.review-card { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.review-card blockquote { margin: 0; color: var(--text); flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.review-card figcaption small { display: block; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; flex: none; }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry > * { break-inside: avoid; margin-bottom: 18px; }

.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 56px); border-radius: 28px; background: linear-gradient(135deg, #0f3d26, #0a2a1b 55%, #14532d); border: 0; color: #fff; --text: #fff; --text-2: #c2d3c6; --line-2: rgba(255, 255, 255, .25); --lilac: #86efac; --pink: #bef264; --surface: rgba(255, 255, 255, .06); }
.cta-band .glow { inset: -50% -20%; }
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 760px; margin-inline: auto; }
.cta-band p { color: var(--text-2); max-width: 600px; margin: 0 auto; font-size: 1.08rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s; }
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font: 600 1.02rem var(--font-display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; flex: none; color: var(--violet-3); transition: transform .25s; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; color: var(--text-2); }
.faq-a p { margin: 0; }

/* ============ Pricing ============ */
.price-grid { display: grid; gap: 18px; align-items: stretch; }
.price-grid.cols-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.price-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.price-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.price-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.price-card { display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.price-card.popular { border-color: var(--violet-2); background: linear-gradient(180deg, #ecf8ef, var(--surface) 45%); box-shadow: var(--shadow); }
.price-card .tag { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; font: 600 .72rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.price-card .tag.muted { background: var(--surface-2); border: 1px solid var(--line-2); color: var(--lilac); }
.price-card h3 { margin-bottom: 4px; }
.qty { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.price { font: 700 clamp(1.9rem, 3vw, 2.3rem) var(--font-display); letter-spacing: -.02em; margin-bottom: 18px; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.price-card .checklist { flex: 1; }

.builder { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.builder-rows { display: grid; gap: 10px; }
.builder-row { display: grid; grid-template-columns: 1fr auto 110px; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s; }
.builder-row.active { border-color: rgba(22, 163, 74, .5); background: linear-gradient(90deg, rgba(22, 101, 52, .14), var(--surface)); }
.builder-row strong { display: block; }
.builder-row .muted { font-size: .85rem; }
.row-total { text-align: right; color: var(--text-2); font-size: .9rem; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.stepper button { width: 40px; height: 42px; border: 0; background: var(--surface-2); color: var(--text); font-size: 1.2rem; cursor: pointer; }
.stepper button:hover { background: var(--violet); color: #fff; }
.stepper input[type=number] { width: 64px; min-height: 0; padding: 0; border-radius: 0; box-shadow: none; height: 42px; border: 0; background: transparent; color: var(--text); text-align: center; font: 600 1rem var(--font-mono); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.builder-summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.summary-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line-2); }
.summary-total strong { font: 700 1.7rem var(--font-display); }

/* ============ Forms ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label, .field { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--text-2); }
.field { margin-bottom: 16px; }
.field-top { display: flex; justify-content: space-between; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=number], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--text); font: 400 1rem var(--font-body); transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2316a34a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
select option { background: var(--surface); }
input:focus, select:focus, textarea:focus { outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--violet-3); box-shadow: 0 0 0 4px rgba(22, 101, 52, .2); }
input::placeholder, textarea::placeholder { color: #98a2b3; }
input[type=date] { color-scheme: light; }
.invalid { border-color: var(--bad) !important; }
.form-error { color: var(--bad); font-size: .92rem; margin: 0 0 12px; }
.form .small { margin: 12px 0 0; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--violet); }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex !important; align-items: center; gap: 16px; }
.contact-card svg { width: 28px; height: 28px; flex: none; color: var(--lilac); }
.contact-card strong, .contact-card span { display: block; }
.contact-card span { color: var(--text-2); font-size: .92rem; word-break: break-all; }

/* ============ Team / Blog / Prose ============ */
.team-card { text-align: center; }
.team-card .founder-avatar { margin: 0 auto 16px; }
.team-card .pill { margin-bottom: 12px; }
.post-card h2 { font-size: 1.45rem; margin-top: 14px; }
.post-card h3 { margin-top: 12px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .82rem; }
.post-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-top: 16px; }
.prose { font-size: 1.06rem; color: var(--text-2); }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--text); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ============ Tools ============ */
.tool-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px; }
.tool-bar .grow { flex: 1 1 280px; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--sunken); }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; font-size: .9rem; color: var(--text-2); transition: .2s; }
.seg input:checked + span { background: var(--surface); color: var(--violet); box-shadow: var(--shadow-sm); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--violet-3); }
.center-seg { display: flex; width: max-content; margin: 0 auto 18px; }
.feature-trio { margin-top: 24px; }
.feature-trio .mono { display: block; margin-bottom: 10px; }
.loading-card { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.loading-card p { margin: 0; }
/* Loader: four link bars growing in turn, like a backlink profile building up */
.spinner { --c: var(--violet-2); width: 38px; height: 30px; flex: none; background: linear-gradient(var(--c) 0 0) 0 100% / 7px 30% no-repeat, linear-gradient(var(--c) 0 0) 33.3% 100% / 7px 50% no-repeat, linear-gradient(var(--c) 0 0) 66.6% 100% / 7px 70% no-repeat, linear-gradient(#a3e635 0 0) 100% 100% / 7px 90% no-repeat; animation: grow-bars 1.1s ease-in-out infinite; }
@keyframes grow-bars { 0% { background-size: 7px 10%, 7px 10%, 7px 10%, 7px 10%; } 25% { background-size: 7px 45%, 7px 10%, 7px 10%, 7px 10%; } 50% { background-size: 7px 45%, 7px 65%, 7px 10%, 7px 10%; } 75% { background-size: 7px 45%, 7px 65%, 7px 82%, 7px 10%; } 100% { background-size: 7px 45%, 7px 65%, 7px 82%, 7px 100%; } }
#audit-results { display: grid; gap: 18px; margin-top: 20px; }
#audit-results[hidden] { display: none; }
.audit-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.audit-head h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 0; word-break: break-all; }
.audit-head p { margin: 0 0 4px; }
.audit-head .btn-row { margin: 0; }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.score { text-align: center; }
.ring { --v: 0; --c: var(--good); width: 104px; height: 104px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--track) 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); }
.ring span { position: relative; font: 700 1.8rem var(--font-display); color: var(--c); }
.score p { margin: 0; font-weight: 600; color: var(--text); }
.vitals { display: grid; gap: 10px; }
.vital { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--sunken); }
.vital strong { font-family: var(--font-mono); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: var(--muted); }
.is-good { --c: var(--good); } .is-good .dot, .dot.is-good { background: var(--good); } .vital.is-good strong { color: var(--good); }
.is-warn { --c: var(--warn); } .is-warn .dot, .dot.is-warn { background: var(--warn); } .vital.is-warn strong { color: var(--warn); }
.is-bad { --c: var(--bad); } .is-bad .dot, .dot.is-bad { background: var(--bad); } .vital.is-bad strong { color: var(--bad); }
.audit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.audit-list li { border-radius: 12px; background: var(--sunken); }
.audit-list details summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.audit-list details summary::-webkit-details-marker { display: none; }
.audit-list .a-title { flex: 1; }
.audit-list .a-val { font: .82rem var(--font-mono); color: var(--muted); }
.audit-list .a-desc { padding: 0 14px 14px 35px; color: var(--text-2); font-size: .9rem; }
.audit-list .a-desc p { margin: 0; }
.audit-list .empty { padding: 12px 14px; color: var(--muted); }
.spinner.sm { display: inline-block; width: 22px; height: 18px; vertical-align: middle; background-size: 4px 30%, 4px 50%, 4px 70%, 4px 90%; animation-name: grow-bars-sm; }
@keyframes grow-bars-sm { 0% { background-size: 4px 10%, 4px 10%, 4px 10%, 4px 10%; } 50% { background-size: 4px 45%, 4px 65%, 4px 10%, 4px 10%; } 100% { background-size: 4px 45%, 4px 65%, 4px 82%, 4px 100%; } }
.loading-inline { display: flex; align-items: center; gap: 12px; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.kv > div { padding: 12px 14px; border-radius: 12px; background: var(--sunken); min-width: 0; }
.kv dt { font: 500 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.kv dd { margin: 0; font-size: .92rem; word-break: break-word; }
.check-group { font: 600 1rem var(--font-display); margin: 18px 0 10px; display: flex; justify-content: space-between; }
.check-group:first-child { margin-top: 0; }
.seg-sm span { padding: 6px 12px; font-size: .82rem; }
.outline { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 420px; overflow: auto; font-size: .9rem; }
.outline li { display: flex; gap: 10px; align-items: baseline; color: var(--text-2); }
.outline .mono { flex: none; font-size: .7rem; padding: 2px 6px; border-radius: 6px; background: rgba(22, 163, 74, .14); color: var(--lilac); }
.outline .lv2 { padding-left: 16px; } .outline .lv3 { padding-left: 32px; } .outline .lv4 { padding-left: 48px; }
.outline .lv1 { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .kv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .kv { grid-template-columns: 1fr; } }
.kd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kd-stats .card { padding: 16px; }
.kd-stats strong { display: block; font: 700 1.5rem var(--font-display); }
.kd-stats span { font-size: .8rem; color: var(--muted); }
.kd-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.kd-table th, .kd-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.kd-table thead th { font: 500 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kd-table td:nth-child(n+2) { font-family: var(--font-mono); white-space: nowrap; width: 1%; }
.kd-table td:first-child { position: relative; }
.kd-bar { display: block; height: 3px; border-radius: 2px; background: var(--violet-3); opacity: .6; margin-top: 5px; }
.meta-table th { width: 34%; color: var(--lilac); font: 500 .82rem var(--font-mono); word-break: break-all; }
.meta-table td { word-break: break-word; color: var(--text-2); }
.meta-row { display: grid; grid-template-columns: 18px 120px 1fr auto; gap: 10px; align-items: baseline; padding: 12px 14px; }
.meta-row .dot { margin: 0; }
.meta-val { word-break: break-word; color: var(--text-2); font-size: .92rem; }
.share-card { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.share-card img, .share-noimg { display: block; width: 100%; aspect-ratio: 1.91; object-fit: cover; background: var(--surface-2); }
.share-noimg { display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.share-card > div { padding: 12px 14px; display: grid; gap: 2px; }
.share-card span { font: .72rem var(--font-mono); color: var(--muted); }
.share-card p { font-size: .85rem; margin: 0; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .kd-stats { grid-template-columns: 1fr 1fr; } .meta-row { grid-template-columns: 18px 1fr; } .meta-row .meta-val, .meta-row .a-val { grid-column: 2; } }
.visibility-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.visibility-card > div { flex: 1 1 360px; }

.tool-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tool-split > :last-child { position: sticky; top: calc(var(--header-h) + 20px); }
.repeat-item { grid-column: 1 / -1; display: grid; gap: 10px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 12px; }
.repeat-head { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }
.code-card .card-head .btn-row { margin: 0; }
.code { margin: 0 0 12px; padding: 18px; border-radius: 12px; background: var(--navy); border: 1px solid var(--line); overflow: auto; max-height: 560px; font: .84rem/1.6 var(--font-mono); color: #e6f2e9; white-space: pre; }
.code .t-key { color: #86efac; } .code .t-str { color: #86efac; } .code .t-num { color: #fcd34d; } .code .t-tag { color: #bef264; }

.counter { font: .8rem var(--font-mono); }
.meter { height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; margin: -8px 0 18px; }
.meter span { display: block; height: 100%; width: 0; background: var(--good); transition: width .2s, background .2s; }
.tips { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.tips li { display: flex; align-items: baseline; gap: 4px; color: var(--text-2); }
.serp-preview { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 24px; margin-bottom: 14px; transition: max-width .3s; margin-inline: auto; max-width: 680px; }
.serp-preview[data-device="mobile"] { max-width: 400px; padding: 18px 16px; }
.g-result { font-family: Arial, sans-serif; }
.g-site { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.g-fav { width: 26px; height: 26px; border-radius: 50%; background: #f1f3f4; border: 1px solid #dadce0; display: grid; place-items: center; font: 700 12px Arial; color: #5f6368; flex: none; }
.g-name { display: block; font-size: 14px; color: #202124; line-height: 20px; }
.g-url { display: block; font-size: 12px; color: #4d5156; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 520px; }
.g-title { font: 400 20px/26px Arial, sans-serif; color: #1a0dab; margin: 0 0 4px; letter-spacing: 0; white-space: nowrap; overflow: hidden; }
.serp-preview[data-device="mobile"] .g-title { font-size: 18px; line-height: 24px; white-space: normal; }
.g-desc { font: 14px/22px Arial, sans-serif; color: #4d5156; margin: 0; }
.g-date { color: #70757a; }

.track-card { margin-top: 20px; display: grid; gap: 16px; }
.track-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.track-top h3 { margin: 0; word-break: break-all; }
.status { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font: 600 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; background: var(--track); }
.status.is-good { background: rgba(52, 211, 153, .15); color: var(--good); }
.status.is-warn { background: rgba(251, 191, 36, .14); color: var(--warn); }
.status.is-bad { background: rgba(248, 113, 113, .14); color: var(--bad); }
.progress { height: 12px; border-radius: 6px; background: var(--track); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--grad); border-radius: inherit; transition: width .8s ease; }
.track-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.track-stats div { padding: 12px 14px; border-radius: 12px; background: var(--sunken); }
.track-stats strong { display: block; font: 600 1.2rem var(--font-display); }
.track-stats span { font-size: .8rem; color: var(--muted); }

/* ============ Infographics ============ */
.ig { margin: 0; }
.ig figcaption { margin-top: 16px; font-size: .85rem; color: var(--muted); text-align: center; }
.ig-card { padding: clamp(20px, 3vw, 36px); }
.ig-pair > .card { display: flex; flex-direction: column; }
.ig-pair > .card > h3 { margin-bottom: 18px; }
.ig-pair > .card > .ig { margin-block: auto; }
.prose .ig-card { margin: 28px 0; }
.prose .ig figcaption { font-size: .82rem; }

/* Pyramid */
.ig-pyramid { position: relative; }
.pyr { display: grid; gap: 8px; }
.pyr-axis { display: flex; justify-content: space-between; font: 500 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-3); margin-bottom: 10px; }
.pyr-tier { display: grid; grid-template-columns: minmax(0, 42%) 1fr; align-items: center; gap: 16px; color: var(--text); padding: 4px; border-radius: 14px; transition: background .2s; }
.pyr-tier:hover { background: var(--surface-2); color: var(--text); }
.pyr-shape { height: 64px; display: grid; place-items: center; margin-inline: auto; font: 700 1.05rem var(--font-mono); color: #fff; transition: transform .25s, filter .25s; }
.pyr-tier:hover .pyr-shape { transform: scale(1.04); filter: brightness(1.15); }
.t1 .pyr-shape { width: 44%; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #4d7c0f, #3f6212); align-items: end; padding-bottom: 8px; }
.t2 .pyr-shape { width: 72%; clip-path: polygon(19% 0, 81% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #15803d, #166534); }
.t3 .pyr-shape { width: 100%; clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #0f3d26, #0a2a1b); }
.pyr-copy { display: grid; gap: 2px; min-width: 0; }
.pyr-copy strong { font: 600 1.02rem var(--font-display); }
.pyr-tag { font: 500 .7rem var(--font-mono); color: var(--violet-3); text-transform: uppercase; letter-spacing: .06em; }
.pyr-text { font-size: .86rem; color: var(--text-2); line-height: 1.45; }

/* Donut */
.ig-donut { display: grid; grid-template-columns: minmax(150px, 200px) 1fr; gap: 24px; align-items: center; }
.ig-donut figcaption { grid-column: 1 / -1; }
.donut-wrap { position: relative; }
.donut-wrap svg circle { transition: stroke-width .2s; }
.donut-wrap svg circle:hover { stroke-width: 36; }
.js .ig-donut:not(.in) svg { opacity: 0; transform: rotate(-40deg) scale(.9); }
.ig-donut svg { transition: opacity .8s ease, transform .8s ease; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-center strong { font: 700 1.5rem var(--font-display); }
.donut-center span { font-size: .75rem; color: var(--muted); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: baseline; font-size: .9rem; }
.legend .sw { width: 12px; height: 12px; border-radius: 4px; align-self: center; }
.legend em { display: block; font-style: normal; font-size: .78rem; color: var(--muted); }
.legend b { font: 600 .95rem var(--font-mono); }

/* White vs black */
.ig-compare svg { width: 100%; height: auto; }
.grid-line { stroke: var(--line); stroke-width: 1; }
.update-line { stroke: var(--bad); stroke-width: 1.5; stroke-dasharray: 5 5; }
.ig-note { fill: var(--bad); font: 500 12px var(--font-mono); }
.ig-axis { fill: var(--muted); font: 12px var(--font-mono); }
.line-white { fill: none; stroke: var(--good); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.area-white { fill: rgba(52, 211, 153, .12); }
.line-black { fill: none; stroke: var(--bad); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; opacity: .9; }
.dot-white { fill: var(--good); } .dot-black { fill: var(--bad); }
.js .ig-compare:not(.in) .line-white, .js .ig-compare:not(.in) .line-black { stroke-dashoffset: 1000; }
.line-white, .line-black { stroke-dasharray: 1000; stroke-dashoffset: 0; transition: stroke-dashoffset 2s ease; }
.compare-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.compare-legend > div { display: grid; grid-template-columns: 14px 1fr; column-gap: 10px; padding: 14px; border-radius: 12px; background: var(--sunken); }
.compare-legend .sw { width: 14px; height: 4px; border-radius: 2px; margin-top: 10px; grid-row: span 2; }
.sw-white { background: var(--good); } .sw-black { background: var(--bad); }
.compare-legend span:not(.sw) { font-size: .86rem; color: var(--text-2); }

/* Timeline */
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.tl-item { display: grid; align-content: start; gap: 4px; position: relative; }
.tl-pos { height: 150px; display: flex; align-items: flex-end; margin-bottom: 14px; }
.tl-pos b { display: grid; place-items: start center; padding-top: 8px; width: 100%; height: var(--h); border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, rgba(22, 163, 74, .55), rgba(22, 101, 52, .12)); font: 700 1.1rem var(--font-mono); transition: height 1s ease; }
.tl-item:last-child .tl-pos b { background: var(--grad); color: #fff; }
.js .ig-timeline:not(.in) .tl-pos b { height: 0; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--violet-3); box-shadow: 0 0 0 5px rgba(22, 163, 74, .2); margin-bottom: 8px; position: relative; z-index: 1; }
.tl::before { content: ''; position: absolute; left: 7px; right: 7px; top: 171px; height: 2px; background: linear-gradient(90deg, var(--violet-2), var(--pink)); }
.tl-when { font: 500 .75rem var(--font-mono); color: var(--violet-3); text-transform: uppercase; letter-spacing: .08em; }
.tl-item strong { font: 600 1.05rem var(--font-display); }
.tl-text { font-size: .88rem; color: var(--text-2); }

/* Numbers */
.ig-numbers { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
.ig-numbers > div { background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.num-hero { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #e9f6ec, #f0f8e6) !important; border-color: #bfe0c8 !important; }
.num-hero p { margin: 0; }
.num-big { font: 700 clamp(4rem, 9vw, 6.5rem)/1 var(--font-display); letter-spacing: -.04em; background: linear-gradient(90deg, var(--text), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num-hero > span { font-size: 1.05rem; color: var(--text-2); }
.year-track { display: flex; gap: 4px; margin-top: 22px; }
.year-track i { flex: 1; height: 10px; border-radius: 3px; background: var(--lilac); opacity: .35; }
.year-track i:last-child { opacity: 1; background: var(--pink); }
.year-ends { display: flex; justify-content: space-between; font-size: .75rem; margin-top: 6px; }
.num-bars { display: grid; gap: 22px; align-content: center; }
.num-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.num-row strong { font: 700 1.8rem var(--font-display); }
.num-row span { color: var(--text-2); }
.bar-track { height: 12px; border-radius: 6px; background: var(--track); overflow: hidden; }
.bar-track span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad); transition: width 1.2s ease; }
.js .ig-numbers:not(.in) .bar-track span { width: 0; }
.dots { display: grid; grid-template-columns: repeat(25, 1fr); gap: 4px; margin-bottom: 6px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--violet-3); opacity: .8; }
.num-rings { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num-ring { display: flex; align-items: center; gap: 14px; }
.num-ring svg { width: 72px; height: 72px; flex: none; }
.ring-bg { fill: none; stroke: var(--track); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--violet-3); stroke-width: 10; stroke-linecap: round; stroke-dasharray: var(--p) 100; transition: stroke-dasharray 1.2s ease; }
.js .ig-numbers:not(.in) .ring-fg { stroke-dasharray: 0 100; }
.num-ring strong { display: block; font: 700 1.35rem var(--font-display); }
.num-ring span { font-size: .82rem; color: var(--muted); }

@media (max-width: 900px) {
  .ig-numbers { grid-template-columns: 1fr; }
  .num-rings { grid-template-columns: repeat(2, 1fr); }
  .tl { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .tl::before { display: none; }
}
@media (max-width: 640px) {
  .ig-donut { grid-template-columns: 1fr; justify-items: center; }
  .ig-donut .donut-wrap { width: 190px; }
  .legend { width: 100%; }
  .compare-legend { grid-template-columns: 1fr; }
  .pyr-tier { grid-template-columns: minmax(0, 38%) 1fr; gap: 12px; }
  .num-rings { grid-template-columns: 1fr; }
  .dots { grid-template-columns: repeat(10, 1fr); }
}

/* ============ Footer ============ */
.site-footer { padding: 48px 0 20px; background: var(--navy); margin-top: 24px; color: #c2d3c6; --text: #edf2ec; --text-2: #b5c7b9; --muted: #88a092; --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16); --violet-3: #86efac; --violet: #86efac; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid a { display: block; color: var(--text-2); font-size: .92rem; padding: 4px 0; }
.footer-grid a:hover { color: var(--violet); }
.footer-grid .logo { display: inline-flex; margin-bottom: 14px; }
.footer-grid .socials a { display: grid; padding: 0; }
.footer-tag { color: var(--text-2); font-size: .94rem; max-width: 340px; }
.footer-tag strong { color: #fff; }
.footer-wa { display: inline-flex !important; align-items: center; gap: 8px; color: var(--wa) !important; font-weight: 600; }
.footer-wa svg { width: 18px; }
.footer-title { font: 500 .75rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-3); margin: 0 0 10px; }
.footer-title.mt { margin-top: 24px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Hero sub-headline: three words that light up one after another */
.hero-sub { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0 0 10px; font: 700 clamp(1.05rem, 2vw, 1.45rem)/1.3 var(--font-display); letter-spacing: -.01em; color: var(--text); }
.hero-sub .w { display: inline; }
.hero-sub span { position: relative; padding-bottom: 4px; animation: sub-in .6s ease both; }
.hero-sub span:nth-child(2) { animation-delay: .25s; } .hero-sub span:nth-child(3) { animation-delay: .5s; color: var(--violet-2); }
.hero-sub span::after { content: ''; position: absolute; left: 0; right: 12%; bottom: 0; height: 3px; border-radius: 2px; background: #a3e635; transform: scaleX(0); transform-origin: left; animation: sub-line 6s ease-in-out infinite; }
.hero-sub span:nth-child(2)::after { animation-delay: 2s; } .hero-sub span:nth-child(3)::after { animation-delay: 4s; }
@keyframes sub-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes sub-line { 0% { transform: scaleX(0); } 12%, 30% { transform: scaleX(1); } 42%, 100% { transform: scaleX(0); } }

/* ============ Text animation ============ */
.typer { font: 500 clamp(1.1rem, 2vw, 1.45rem) var(--font-display); color: var(--text-2); margin: -4px 0 18px; min-height: 1.5em; }
.typer-word { background: linear-gradient(90deg, var(--lilac), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.typer-word::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -.15em; background: var(--pink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

h1 em, h2 em { background-size: 200% 100%; background-image: linear-gradient(90deg, var(--lilac), var(--pink), var(--lilac)); animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 50% { background-position: 100% 0; } }

.split .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(4px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s ease; transition-delay: calc(var(--i) * 55ms); }
.split.in .w { opacity: 1; transform: none; filter: none; }
.split em .w { padding-right: .04em; background-image: inherit; background-size: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s ease-in-out infinite; }

/* ============ Motion ============ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .serp-card { animation: none; transform: none; }
  .marquee-track { animation-duration: 60s; }
  .js .reveal { transform: none; }
}

/* ============ Responsive ============ */
.hero-grid > *, .intro-grid > *, .two-col > *, .tool-split > *, .builder > *, .tab-panel > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .price-grid > *, .footer-grid > * { min-width: 0; }
@media (max-width: 1100px) {
  .grid-4, .price-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .intro-grid, .two-col, .two-col.wide-left, .builder, .tool-split, .tab-panel { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .grid-3, .price-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .sticky-card, .builder-summary, .tool-split > :last-child { position: static; }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
  .scroller-track { grid-auto-columns: minmax(280px, 46%); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .price-grid.cols-2, .price-grid.cols-3, .price-grid.cols-4, .form-grid, .review-summary { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat strong { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .scroller-track { grid-auto-columns: 86%; }
  .builder-row { grid-template-columns: 1fr auto; }
  .row-total { grid-column: 1 / -1; text-align: left; }
  .track-stats { grid-template-columns: repeat(2, 1fr); }
  .btn-row .btn { flex: 1 1 100%; }
  .tool-bar .btn, .tool-bar .seg { flex: 1 1 100%; }
  .seg { justify-content: center; }
  .serp-card { transform: none; animation: none; }
  .step { gap: 14px; }
  .step-num { width: 40px; height: 40px; }
  .steps::before { left: 19px; }
}

/* ============ Print (SEO audit PDF) ============ */
@media print {
  .site-header, .site-footer, .wa-float, .page-hero, .tool-bar, #audit-empty, .section-tight + .section-tight, .audit-head .btn-row, .visibility-card { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
  .card { background: #fff; border-color: #ddd; break-inside: avoid; }
  .card p, .vital, .audit-list li { color: #222; background: #f6f6f6; }
  .audit-list details { display: block; }
}
