/* SellaRank — site styles */
:root {
  /* SellaRank brand: navy #031430, orange #F8860F, white, muted blue-white #AEB9D4 */
  --ink: #031430;
  --ink-2: #0A1F45;
  --ink-3: #132A58;
  --cobalt: #A85600;          /* orange for text on light backgrounds (AA 5.3:1) */
  --cobalt-d: #8A4700;
  --amber: #F8860F;           /* brand orange: buttons, highlights, text on navy */
  --amber-d: #D9700A;
  --green: #15A265;
  --red: #D6452E;
  --surface: #F3F5FA;
  --surface-2: #E6EAF3;
  --white: #FFFFFF;
  --line: #DDE2EC;
  --line-dark: rgba(174, 185, 212, .16);
  --text: #031430;
  --slate: #5A6682;
  --slate-light: #AEB9D4;
  --tint: rgba(248, 134, 15, .1);
  --navy-tint: rgba(3, 20, 48, .06);
  --display: "Caladea", Cambria, Georgia, "Times New Roman", serif;
  --body: "Carlito", Calibri, "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 14px;
  --r-s: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --head-h: 72px;
  --shadow: 0 1px 2px rgba(3, 20, 48, .05), 0 8px 24px -8px rgba(3, 20, 48, .14);
  --shadow-lg: 0 24px 60px -20px rgba(3, 20, 48, .5);
  color-scheme: light;
}

@font-face { font-family: "Caladea"; src: url("../fonts/Caladea-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caladea"; src: url("../fonts/Caladea-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .78em; letter-spacing: .02em; }
.muted { color: var(--slate); }
.small { font-size: .9rem; }

[class*="-grid"] > *, .hero-copy, .serp { min-width: 0; }

/* ---------- icons ---------- */
.ic { width: 24px; height: 24px; flex: none; }
.ic-s { width: 18px; height: 18px; }
.ic-xs { width: 15px; height: 15px; }

/* ---------- type scale ---------- */
.h1, .h2, .h3, .h4, .h5 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -.01em; font-weight: 700; }
.h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; font-weight: 700; }
.h1-xl { font-size: clamp(2.3rem, 4.8vw, 3.8rem); line-height: 1.03; }
.page-service .h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.h1 em { font-style: normal; color: var(--amber); position: relative; }
.h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; background: currentColor; border-radius: 2px; opacity: .55; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.12; font-weight: 700; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; font-weight: 700; }
.h4 { font-size: 1.22rem; line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.h5 { font-size: 1.1rem; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 600 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.eyebrow.on-dark { color: var(--amber); }
.lede { font-size: clamp(1.04rem, 1.4vw, 1.18rem); line-height: 1.6; color: var(--slate-light); max-width: 62ch; margin: 18px 0 0; }
.sec-lede { font-size: 1.08rem; color: var(--slate); max-width: 62ch; margin: 14px 0 0; }
p { margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .96rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 52px; padding: 13px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 6px 20px -8px rgba(248, 134, 15, .7); }
.btn-amber:hover { background: #FF9A30; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: var(--white); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--cobalt); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link.inline { display: inline; }

/* ---------- header ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: rgba(11, 20, 38, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-dark); color: var(--white); }
.head-row { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); flex: none; }
.logo-img { display: block; height: 34px; width: auto; }
.foot-brand .logo-img { height: 38px; }
.lm-bg { fill: var(--amber); }
.lm-b { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lm-a { fill: var(--ink); }
.logo-word { font: 700 1.5rem/1 var(--display); letter-spacing: -.01em; }
.logo-word b { color: var(--amber); font-weight: 700; }
.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: none; border: 0; color: rgba(255, 255, 255, .86); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; }
.nav-link:hover, .has-mega.open .nav-link { color: var(--white); background: rgba(255, 255, 255, .08); }
.mega-toggle .ic { transition: transform .2s; }
.has-mega.open .mega-toggle .ic { transform: rotate(180deg); }
.head-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark); background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); color: var(--text); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.has-mega.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: 1.05fr 1.2fr 1.2fr 1fr; gap: 28px; padding-block: 28px; }
.mega-feature { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--ink); color: var(--white); text-decoration: none; position: relative; overflow: hidden; }
.mega-feature::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(248, 134, 15, .35), transparent 70%); }
.mega-feature .eyebrow { margin: 0; color: var(--amber); }
.mega-feature strong { font: 700 1.3rem/1.2 var(--display); }
.mega-feature-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--amber); }
.mega-feature-p { color: var(--slate-light); font-size: .92rem; line-height: 1.5; }
.mega-feature .text-link { color: var(--amber); margin-top: auto; }
.mega-h { font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin: 4px 0 12px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-inline: -10px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text); }
.mega-col a .ic { color: var(--cobalt); }
.mega-col a:hover, .mega-col a:focus-visible { background: var(--surface); }
.mega-desc { display: none; }
.mega-foot { background: var(--surface); border-top: 1px solid var(--line); }
.mega-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding-block: 12px; }
.mega-micro { display: flex; align-items: center; gap: 12px; color: var(--slate); font-size: .95rem; max-width: 820px; }
.mega-micro .mono { flex: none; font-size: .68rem; font-weight: 600; letter-spacing: .1em; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--amber); }
.mega-micro.active .mega-micro-t { color: var(--text); }

/* drawer (mobile) */
.drawer { border-top: 1px solid var(--line-dark); max-height: calc(100dvh - var(--head-h)); overflow-y: auto; background: var(--ink); }
.drawer-body { padding: 12px var(--gutter) 28px; display: grid; gap: 4px; }
.drawer-group { border-bottom: 1px solid var(--line-dark); }
.drawer-group summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group summary .mono { color: var(--amber); }
.drawer-group ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
.drawer-group a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; background: rgba(255, 255, 255, .04); }
.drawer-group a strong { font-size: .98rem; }
.drawer-group a span { color: var(--slate-light); font-size: .86rem; line-height: 1.45; }
.drawer-link { display: block; padding: 16px 0; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.drawer-cta { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(174, 185, 212, .16), transparent 65%); }
.hero-home { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 100px); }
.hero-home-grid { display: grid; grid-template-columns: 1.15fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-service { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.hero-svc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.hero-svc-grid .hero-copy { padding-top: 12px; }
.hero-slim { padding-block: clamp(28px, 4vw, 48px) clamp(44px, 6vw, 72px); }
.hero-center { text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.hero-center .lede { margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--slate-light); margin-bottom: 22px; }
.crumbs a { color: var(--slate-light); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks .ic { color: var(--ink); background: var(--amber); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-btns.center { justify-content: center; }
.trust-row { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; color: var(--slate-light); }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(21, 162, 101, .2); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); text-decoration: none; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .88); }
.jump a:hover { border-color: var(--amber); color: var(--amber); }
.big-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--amber); color: var(--ink); margin-bottom: 22px; }
.big-ic .ic { width: 32px; height: 32px; }
.big-404 { font-size: clamp(4rem, 12vw, 7rem); font-weight: 600; color: var(--amber); margin: 0 0 8px; line-height: 1; }

/* SERP illustration */
.serp { position: relative; background: var(--white); color: var(--text); border-radius: 20px; padding: 16px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06); }
.serp-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface); color: var(--slate); }
.serp-q { color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-tag { font: 600 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; background: var(--white); }
.serp-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.serp-row { display: grid; grid-template-columns: 44px 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.serp-rank { color: var(--slate); font-size: .82rem; font-weight: 600; }
.serp-thumb { width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.serp-thumb.you { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%); position: relative; }
.serp-thumb.you::after { content: ""; position: absolute; left: 18px; top: 9px; width: 16px; height: 34px; border-radius: 6px 6px 8px 8px; background: var(--amber); }
.serp-lines { display: grid; gap: 5px; min-width: 0; }
.serp-name { font-weight: 700; font-size: .98rem; }
.serp-sub { color: var(--green); font-size: .7rem; }
.serp-stars { color: var(--amber); font-size: .8rem; letter-spacing: 1px; line-height: 1; }
.serp-stars.dim { color: #F7B267; }
.serp-stars i { font-style: normal; color: var(--line); }
.serp-brand { font-weight: 600; font-size: .92rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-skel { display: block; height: 9px; border-radius: 5px; background: var(--surface-2); }
.serp-skel.w70 { width: 70%; } .serp-skel.w55 { width: 55%; } .serp-skel.w64 { width: 64%; } .serp-skel.w48 { width: 48%; } .serp-skel.w30 { width: 30%; }
.serp-row.is-you { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(248, 134, 15, .25), var(--shadow); position: relative; z-index: 2; }
.serp-row.is-you .serp-rank { color: var(--ink); font-size: .95rem; }
.serp-badge { font: 600 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--amber); padding: 6px 8px; border-radius: 6px; }
.serp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 .74rem/1 var(--mono); padding: 8px 10px; border-radius: 8px; }
.chip.up { background: rgba(21, 162, 101, .1); color: #0E7C4C; }
.chip.down { background: var(--navy-tint); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .serp-row { animation: slot-down 1.1s cubic-bezier(.5, 0, .2, 1) .5s both; }
  .serp-row.is-you { animation: climb 1.4s cubic-bezier(.6, 0, .2, 1) .4s both; }
  @keyframes climb { from { transform: translateY(calc(4 * (100% + 8px))); } to { transform: none; } }
  @keyframes slot-down { from { transform: translateY(calc(-100% - 8px)); } to { transform: none; } }
}

/* lead form */
.lead-form { background: var(--white); color: var(--text); border-radius: 20px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.lf-head { margin-bottom: 18px; }
.lf-title { font: 700 1.55rem/1.15 var(--display); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.lf-sub { color: var(--slate); font-size: .95rem; margin-top: 8px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; font: 500 .96rem/1.3 var(--body); color: var(--text); background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r-s); padding: 12px 13px; min-height: 46px; transition: border-color .15s, background-color .15s; }
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356627A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.field input::placeholder, .field textarea::placeholder { color: #8C96AA; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: var(--white); }
.field.invalid input { border-color: var(--red); background: #FFF6F4; }
.field .err { color: var(--red); font-size: .8rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lf-micro { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: .82rem; color: var(--slate); margin-top: 12px; }
.lf-status { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-s); font-size: .92rem; font-weight: 600; }
.lf-status.ok { background: rgba(21, 162, 101, .1); color: #0E7C4C; }
.lf-status.bad { background: #FFF1EE; color: #B53A25; }
.lead-form button[disabled] { opacity: .7; cursor: progress; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 8vw, 112px); }
.sec-soft { background: var(--surface); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec-ink .sec-lede, .sec-ink p { color: var(--slate-light); }
.sec-ink .h2, .sec-ink .h4, .sec-ink .h5 { color: var(--white); }
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.row-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.head-note { max-width: 44ch; }
.sticky-head { position: sticky; top: calc(var(--head-h) + 28px); align-self: start; }

/* metrics band */
.metrics-band { background: var(--surface); padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.metrics-band .sec-head { margin-bottom: 24px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; align-content: start; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.metric-k { font-size: .88rem; font-weight: 600; color: var(--ink); }
.goal { font: 600 .64rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border-radius: 6px; }
.goal-up { background: rgba(21, 162, 101, .1); color: #0E7C4C; }
.goal-down { background: var(--navy-tint); color: var(--ink); }
.metric-d { color: var(--slate); font-size: .9rem; line-height: 1.5; }
.spark { width: 100%; height: 44px; display: block; }
.spark-a { fill: var(--navy-tint); }
.spark-l { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark-d { fill: var(--amber); stroke: var(--white); stroke-width: 1.5; vector-effect: non-scaling-stroke; }

/* cards */
.card-grid { display: grid; gap: 16px; }
.card-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.g-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); display: grid; gap: 12px; align-content: start; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #C7D0E4; box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--slate); font-size: .97rem; }
.card-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--cobalt); flex: none; }

/* who */
.who-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); }
.who-grid .btn { margin-top: 24px; }
.who-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.who-list li { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.who-list p { color: var(--slate); font-size: .95rem; margin-top: 4px; }
.who-ic { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--amber); display: grid; place-items: center; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.why { padding: 24px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.why + .why { padding-left: 24px; border-left: 1px solid var(--line); }
.why p { color: var(--slate); font-size: .97rem; }
.why-grid.on-dark { border-top-color: var(--amber); }
.why-grid.on-dark .why p { color: var(--slate-light); }
.why-grid.on-dark .why + .why { border-left-color: var(--line-dark); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; padding: 24px 20px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-dark); display: grid; gap: 10px; align-content: start; }
.step::after { content: ""; position: absolute; top: 38px; right: -17px; width: 18px; height: 2px; background: var(--amber); }
.step:last-child::after { display: none; }
.step-n { color: var(--amber); font-size: .86rem; font-weight: 600; }
.step p { font-size: .94rem; }
.steps.light .step { background: var(--white); border-color: var(--line); }
.steps.light .step p { color: var(--slate); }
.steps.light .step-n { color: var(--cobalt); }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); }
.faqs { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { font: 700 1.1rem/1.35 var(--display); margin: 0; }
.faq-ic { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.faq-ic::after { transform: rotate(90deg); }
.faq[open] .faq-ic { background: var(--amber); }
.faq[open] .faq-ic::after { transform: rotate(0); }
.faq-a { padding: 0 22px 22px; color: var(--slate); max-width: 68ch; }
.ask-card { margin-top: 28px; padding: 20px; border-radius: var(--r); background: var(--surface); display: grid; gap: 10px; }
.sec-soft .ask-card { background: var(--white); }

/* call */
.call-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.call-box { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.call-box.on-dark { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); margin-top: 28px; }
.call-box.on-dark p { color: var(--slate-light); }
.call-h { font: 600 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 16px; }
.on-dark .call-h { color: var(--amber); }
.call-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.call-list li { display: flex; gap: 14px; align-items: flex-start; }
.call-list p { color: var(--slate); font-size: .94rem; margin-top: 2px; }
.call-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 600; font-size: .82rem; }
.call-list.big { margin: 28px 0; gap: 22px; }
.call-list.big strong { font-size: 1.08rem; }

/* related */
.related { padding-block: clamp(56px, 6vw, 88px); }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rel { display: grid; gap: 8px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, transform .2s; }
.rel:hover { border-color: var(--cobalt); transform: translateY(-2px); }
.rel strong { font: 700 1.12rem/1.3 var(--display); margin-top: 6px; }
.rel span:last-child { color: var(--slate); font-size: .92rem; }

/* home */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.problem-grid .sec-lede + .sec-lede { margin-top: 18px; }
.problem-grid strong { color: var(--ink); }
.launch-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: var(--ink); color: var(--white); text-decoration: none; margin-bottom: 48px; overflow: hidden; position: relative; }
.launch-feature .eyebrow { color: var(--amber); }
.launch-feature p { color: var(--slate-light); margin: 12px 0 18px; max-width: 60ch; }
.launch-feature .text-link { color: var(--amber); }
.launch-bars { display: flex; align-items: flex-end; gap: 8px; height: 180px; }
.launch-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(174, 185, 212, .75), rgba(174, 185, 212, .35)); }
.launch-bars span:last-child { background: var(--amber); }
@media (prefers-reduced-motion: no-preference) {
  .launch-feature .launch-bars span { transform-origin: bottom; transition: transform .5s cubic-bezier(.3, 0, .2, 1); }
  .launch-feature:hover .launch-bars span { transform: scaleY(1.08); }
}
.cluster + .cluster { margin-top: 44px; }
.cluster-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc-grid.wide, .svc-grid.n6 { grid-template-columns: repeat(3, 1fr); }
.svc { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.svc:hover, .svc:focus-visible { border-color: var(--cobalt); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.svc-arrow { color: var(--slate-light); transition: transform .2s, color .2s; }
.svc:hover .svc-arrow { transform: translateX(3px); color: var(--cobalt); }
.svc strong { font: 700 1.14rem/1.3 var(--display); }
.svc-d { color: var(--slate); font-size: .93rem; line-height: 1.5; }
.svc-more { font-size: .86rem; line-height: 1.5; color: var(--ink); background: var(--surface); border-radius: var(--r-s); padding: 10px 12px; margin-top: 4px; }
@media (hover: hover) {
  .svc-more { position: absolute; left: 8px; right: 8px; bottom: 8px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; background: var(--ink); color: var(--white); box-shadow: var(--shadow-lg); }
  .svc:hover .svc-more, .svc:focus-visible .svc-more { opacity: 1; transform: none; }
}
.launch-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.launch-grid .btn { margin-top: 26px; }
.stages { display: grid; gap: 16px; }
.stage-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stage { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: .93rem; line-height: 1.3; cursor: pointer; transition: border-color .15s, background-color .15s; }
.stage .mono { color: var(--cobalt); font-size: .72rem; }
.stage:hover { border-color: var(--cobalt); }
.stage.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.stage.is-on .mono { color: var(--amber); }
.stage-panel { padding: 22px; border-radius: var(--r); background: var(--surface); border-left: 3px solid var(--amber); min-height: 118px; }
.stage-panel-k { font-weight: 600; color: var(--cobalt); margin-bottom: 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.stage-panel-t { font-size: 1.05rem; color: var(--ink); }
.glossary-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); }
.glossary { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.gl { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.gl dt { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gl dt .mono { font-size: .92rem; font-weight: 600; color: var(--ink); }
.gl dd { margin: 0; color: var(--slate); font-size: .95rem; }
.audit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-lines { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 12px; align-items: center; }
.contact-lines .ic { color: var(--amber); }
.contact-lines div { display: grid; }
.contact-lines .mono { color: var(--slate-light); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-lines a { color: var(--white); font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

/* prose */
.prose { max-width: 72ch; }
.prose h2 { font: 700 1.4rem/1.3 var(--display); margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--slate); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--white); padding-block: 0 28px; border-top: 1px solid var(--line-dark); }
.foot-cta { display: grid; grid-template-columns: 1.2fr auto; gap: 28px; align-items: end; padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line-dark); }
.foot-cta-h { font: 700 clamp(2rem, 4vw, 3.1rem)/1.08 var(--display); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.foot-cta-p { color: var(--slate-light); margin-top: 14px; max-width: 56ch; font-size: 1.06rem; }
.foot-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px; }
.foot-brand p { color: var(--slate-light); margin: 16px 0; max-width: 36ch; font-size: .95rem; }
.foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.foot-contact li { display: flex; align-items: center; gap: 10px; color: var(--amber); }
.foot-contact a { color: var(--white); text-decoration: none; word-break: break-all; }
.foot-contact a:hover { text-decoration: underline; }
.foot-h { font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: var(--slate-light); text-decoration: none; font-size: .93rem; }
.foot-col a:hover { color: var(--white); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--slate-light); font-size: .85rem; }
.foot-base a { color: var(--slate-light); }
.foot-note { flex-basis: 100%; opacity: .7; font-size: .8rem; }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .hero-home-grid, .hero-svc-grid { grid-template-columns: 1fr; }
  .serp { max-width: 560px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .svc-grid.n6 { grid-template-columns: repeat(2, 1fr); }
  .steps-4, .steps-5 { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why:nth-child(3) { padding-left: 0; border-left: 0; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .card-grid.g3 { grid-template-columns: repeat(2, 1fr); }
  .who-grid, .faq-grid, .call-grid, .problem-grid, .launch-grid, .glossary-grid, .audit-grid { grid-template-columns: 1fr; }
  .sticky-head { position: static; }
  .launch-feature { grid-template-columns: 1fr; }
  .launch-bars { height: 110px; }
  .svc-grid.wide { grid-template-columns: repeat(2, 1fr); }
  .foot-cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .head-cta .btn-amber { padding: 8px 14px; min-height: 40px; font-size: .9rem; }
  .logo-img { height: 28px; }
  .card-grid.g3, .card-grid.g-auto, .svc-grid, .svc-grid.wide, .svc-grid.n6, .who-list, .glossary, .rel-grid, .metric-grid, .steps-4, .steps-5, .why-grid { grid-template-columns: 1fr; }
  .why + .why { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .why-grid.on-dark .why + .why { border-top-color: var(--line-dark); }
  .lf-grid { grid-template-columns: 1fr; }
  .stage-list { grid-template-columns: 1fr 1fr; }
  .serp { padding: 12px; }
  .serp-row { grid-template-columns: 34px 40px 1fr; gap: 10px; padding: 8px 10px; }
  .serp-thumb { width: 40px; height: 40px; }
  .serp-thumb.you::after { left: 13px; top: 7px; width: 14px; height: 26px; }
  .serp-badge { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
  .foot-cta-btns .btn { flex: 1 1 100%; white-space: normal; }
  .wa-float { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.fact-card { margin: 0; display: grid; gap: 0; background: rgba(174, 185, 212, .06); border: 1px solid var(--line-dark); border-radius: 18px; padding: 8px 22px; }
.fact-card div { padding: 14px 0; display: grid; gap: 4px; }
.fact-card div + div { border-top: 1px solid var(--line-dark); }
.fact-card dt { color: var(--amber); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.fact-card dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.founder-card { display: flex; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.founder-avatar { flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--amber); font: 700 1.8rem/1 var(--display); box-shadow: inset 0 0 0 3px var(--amber); }
.founder-card .eyebrow { margin-bottom: 6px; }
.founder-role { color: var(--slate); margin-top: 6px; font-size: .95rem; }
.founder-copy { display: grid; gap: 16px; justify-items: start; }
.founder-copy .sec-lede { margin: 0; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.rules li { display: grid; gap: 12px; align-content: start; padding: 22px 20px 6px 0; }
.rules li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.rules p { color: var(--slate); font-size: .97rem; margin-top: 8px; }
.rule-n { color: var(--cobalt); font-weight: 600; }
.cluster-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cluster-card { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r); border: 1px solid var(--line-dark); background: var(--ink-2); text-decoration: none; transition: border-color .2s, transform .2s; }
.cluster-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.cluster-card .mono { color: var(--amber); }
.cluster-card strong { font: 700 1.2rem/1.25 var(--display); }
.cluster-card span:last-child { color: var(--slate-light); font-size: .95rem; }

/* ---------- mobile sticky CTA ---------- */
.sticky-cta { display: none; }
.btn-wa { background: #25D366; color: #fff; }
@media (max-width: 860px) {
  .sticky-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(3, 20, 48, .96); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-cta .btn-amber { flex: 1; }
  .show-sticky .sticky-cta { transform: none; }
  .page-service .wa-float { display: none; }
  .page-service .site-foot { padding-bottom: 96px; }
  .about-hero, .founder { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .rules li + li { padding-left: 0; border-left: 0; }
  .rules li { border-top: 1px solid var(--line); padding-right: 16px; }
  .cluster-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .rules, .cluster-cards { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; align-items: flex-start; }
}
