/* ==========================================================================
   woofrank.com design system
   Brand: blue #0754ED, navy #02102B. Headings: Sora. Body: Inter. Self-hosted.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/sora-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/sora-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --blue-50: #EEF3FF; --blue-100: #DCE6FF; --blue-200: #B9CDFF; --blue-300: #8AADFF; --blue-400: #4F86FF;
  --blue-500: #1F63F7; --blue-600: #0754ED; --blue-700: #0543C2; --blue-800: #063597; --blue-900: #072B73;
  --navy-900: #02102B; --navy-800: #071A3F; --navy-700: #0F2656; --navy-600: #1B3A78; --navy-100: #E6EBF5; --navy-50: #F3F6FC;
  --ink: #0B1220; --ink-2: #263042; --muted: #566274; --muted-2: #7A8598; --line: #E3E8F0; --line-2: #CBD3E0;
  --bg: #FFFFFF; --bg-tint: #F5F8FE; --bg-tint-2: #EEF3FF; --surface: #FFFFFF;
  --on-dark: #FFFFFF; --on-dark-2: #C9D3E6; --on-dark-3: #92A1BE; --on-dark-line: rgba(255,255,255,.14);
  --success: #0F8A5F; --warn: #B45309; --error: #C62828;
  --brand: var(--blue-600); --brand-hover: var(--blue-700); --brand-soft: var(--blue-50);

  --font-head: 'Sora', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;

  --fs-display: clamp(2.5rem, 1.6rem + 3vw, 4rem);
  --fs-h1: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .4vw, 1.35rem);
  --fs-h4: 1.05rem;
  --fs-lead: clamp(1.1rem, 1rem + .45vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-xs: .8rem;
  --lh-tight: 1.1; --lh-snug: 1.25; --lh-body: 1.65;

  --container: 1200px; --container-narrow: 820px; --container-wide: 1360px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);
  --section-y-tight: clamp(2.25rem, 5vw, 4rem);
  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(2,16,43,.06), 0 1px 1px rgba(2,16,43,.03);
  --shadow: 0 2px 6px rgba(2,16,43,.05), 0 16px 40px -18px rgba(2,16,43,.25);
  --shadow-lg: 0 8px 20px rgba(2,16,43,.08), 0 40px 80px -30px rgba(7,84,237,.35);
  --ease: cubic-bezier(.2,.7,.2,1); --dur: 180ms;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
svg.icon { flex: none; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: var(--lh-snug); letter-spacing: -.02em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.025em; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; }
small { font-size: var(--fs-small); }
mark { background: var(--blue-100); color: var(--blue-800); padding: 0 .2em; border-radius: 3px; }
code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 4px; padding: .05em .35em; }
pre { background: var(--navy-900); color: var(--on-dark); padding: 1rem 1.25rem; border-radius: var(--radius); overflow: auto; font-size: .9rem; line-height: 1.55; }
pre code { background: none; border: 0; padding: 0; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--brand); color: var(--ink-2); font-size: 1.05em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--ink); background: var(--bg-tint); }
tbody tr:hover td { background: #FAFBFE; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 560px; }
.table-wrap caption { caption-side: bottom; text-align: left; padding: .75rem .9rem; font-size: var(--fs-small); color: var(--muted); }
.ta-right { text-align: right; } .ta-center { text-align: center; }
:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 3px #fff; }
.cta-band__inner :focus-visible, .section--navy :focus-visible, .section--blue :focus-visible, .site-footer :focus-visible, .tier--featured :focus-visible, .hero--navy :focus-visible { outline-color: #fff; box-shadow: 0 0 0 3px var(--navy-900); }
::selection { background: var(--blue-200); color: var(--navy-900); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--navy-900); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); transition: top var(--dur); }
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--section-y-tight); }
.section--tint { background: var(--bg-tint); }
.section--tint-2 { background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%); }
.section--navy, .section--blue { color: var(--on-dark); }
.section--navy { background: var(--navy-900); background-image: radial-gradient(60% 50% at 100% 0%, rgba(7,84,237,.35), transparent 60%), radial-gradient(40% 40% at 0% 100%, rgba(7,84,237,.18), transparent 60%); }
.section--blue { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); }
.section--navy :is(h1,h2,h3,h4), .section--blue :is(h1,h2,h3,h4) { color: #fff; }
.section--navy .lead, .section--blue .lead, .section--navy .section__footer, .section--navy p { color: var(--on-dark-2); }
.section--navy a:not(.btn), .section--blue a:not(.btn) { color: #fff; }
.section--navy .eyebrow { color: var(--blue-300); }
.section--navy .eyebrow::before { background: var(--blue-300); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { margin-bottom: .6rem; }
.section__footer { margin-top: clamp(1.75rem, 3vw, 2.5rem); color: var(--muted); }
.section__footer .btn { margin-top: .25rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 .9rem; }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 2px; background: var(--brand); }
.eyebrow--light { color: #fff; } .eyebrow--light::before { background: var(--blue-200); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1; padding: .95rem 1.4rem; border-radius: var(--radius-pill); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform var(--dur) var(--ease), background var(--dur), color var(--dur), border-color var(--dur), box-shadow var(--dur); white-space: nowrap; }
.btn .icon { transition: transform var(--dur) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(7,84,237,.7); }
.btn--primary:hover { background: var(--brand-hover); color: #fff; box-shadow: 0 12px 24px -10px rgba(7,84,237,.8); }
.btn--secondary { background: #fff; color: var(--navy-900); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn--ghost { background: transparent; color: var(--navy-900); }
.btn--ghost:hover { background: var(--bg-tint); }
.btn--white { background: #fff; color: var(--blue-700); }
.btn--white:hover { background: var(--blue-50); color: var(--blue-800); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--lg { padding: 1.1rem 1.7rem; font-size: 1.05rem; }
.btn--sm { padding: .65rem 1.05rem; font-size: .9rem; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- Header ---------- */
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would turn it into the containing block for the fixed mobile nav. */
.site-header { position: sticky; top: 0; z-index: 100; background: transparent; border-bottom: 1px solid transparent; transition: border-color var(--dur), box-shadow var(--dur); }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.site-header__inner { position: relative; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(2,16,43,.4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand img { width: 196px; height: 40px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; flex: 1; justify-content: flex-end; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link { display: inline-flex; align-items: center; padding: .6rem .8rem; border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; transition: color var(--dur), background var(--dur); }
.site-nav__link:hover, .site-nav__item.is-current > .site-nav__link { color: var(--brand); }
.site-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: -.5rem; border: 0; background: transparent; color: var(--muted); border-radius: var(--radius-sm); cursor: pointer; transition: transform var(--dur) var(--ease), color var(--dur); }
.has-children.is-open .site-nav__toggle, .has-children:hover .site-nav__toggle { color: var(--brand); transform: rotate(180deg); }
.site-nav__panel { position: absolute; top: calc(100% + .6rem); left: -.5rem; min-width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); z-index: 50; }
.has-children.is-open .site-nav__panel, .has-children:hover .site-nav__panel, .has-children:focus-within .site-nav__panel { opacity: 1; visibility: visible; transform: none; }
.site-nav__panel ul { list-style: none; margin: 0; padding: 0; }
.menu-item { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .8rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: background var(--dur); }
.menu-item strong { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.menu-item span { font-size: var(--fs-small); color: var(--muted); }
.menu-item:hover, .menu-item.is-current { background: var(--bg-tint); color: var(--ink); }
.menu-item:hover strong { color: var(--brand); }
.site-nav__panel-all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }
.site-nav__panel-all a { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .8rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
.site-nav__cta { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); color: var(--ink); cursor: pointer; }
.nav-toggle__close { display: none; }
body.nav-open .nav-toggle__open { display: none; }
body.nav-open .nav-toggle__close { display: inline-flex; }
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--header-h)); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: .5rem var(--gutter) 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 240ms var(--ease), visibility 0s linear 240ms; z-index: 90; border-top: 1px solid var(--line); }
  body.nav-open .site-nav { transform: none; visibility: visible; transition-delay: 0s; }
  body.nav-open { overflow: hidden; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .site-nav__link { flex: 1; padding: 1rem .25rem; font-size: 1.05rem; }
  .site-nav__toggle { width: 44px; height: 44px; margin: 0; }
  .has-children:hover .site-nav__toggle { transform: none; color: var(--muted); }
  .has-children.is-open .site-nav__toggle { transform: rotate(180deg); color: var(--brand); }
  .site-nav__panel { position: static; width: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 .75rem; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-children.is-open .site-nav__panel { display: block; }
  .has-children:hover:not(.is-open) .site-nav__panel { display: none; }
  .site-nav__cta { flex-direction: column; align-items: stretch; padding-top: 1.25rem; }
  .site-nav__cta .btn { padding: 1rem; font-size: 1rem; }
}
@media (max-width: 1140px) and (min-width: 1024px) { .site-nav__contact { display: none; } .site-nav__link { padding-inline: .6rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%); }
.hero--home { padding-top: clamp(3rem, 8vw, 6.5rem); background: radial-gradient(70% 60% at 85% 10%, var(--blue-100) 0%, rgba(238,243,255,0) 60%), radial-gradient(40% 40% at 10% 90%, var(--blue-50) 0%, rgba(238,243,255,0) 70%), #fff; }
.hero--home::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(2,16,43,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(2,16,43,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(80% 70% at 70% 30%, #000 0%, transparent 100%); -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 0%, transparent 100%); pointer-events: none; }
.hero .container { position: relative; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero--split .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.hero__copy { max-width: 640px; }
.hero__title { font-size: var(--fs-h1); margin-bottom: 1.1rem; }
.hero--home .hero__title { font-size: var(--fs-display); }
.hero__title em { font-style: normal; color: var(--brand); position: relative; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 58ch; margin-bottom: 1.5rem; }
.hero__bullets { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .55rem; }
.hero__bullets li { display: flex; align-items: flex-start; gap: .6rem; color: var(--ink-2); }
.hero__bullets .icon { color: var(--brand); margin-top: .2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero__note { margin-top: 1.1rem; font-size: var(--fs-small); color: var(--muted); }
.hero--navy { background: var(--navy-900); color: var(--on-dark); }
.hero--navy .hero__title, .hero--navy .breadcrumbs a { color: #fff; }
.hero--navy .hero__lead, .hero--navy .hero__note, .hero--navy .hero__bullets li { color: var(--on-dark-2); }
.hero--page .hero__title { max-width: 18ch; }
@media (max-width: 1023px) { .hero--split .hero__grid { grid-template-columns: 1fr; } .hero__visual { max-width: 640px; } }

/* Hero visual (Google + AI answer panels) */
.hero-visual { margin: 0; }
.hv__caption { margin: 1rem 0 0; font-size: var(--fs-small); color: var(--muted); text-align: center; }
.hv__caption a { color: var(--muted); }
.hv { position: relative; display: grid; gap: 1rem; font-size: .8rem; line-height: 1.45; }
.hv--single { max-width: 560px; }
.hv__panel { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.1rem 1.6rem; }
.hv__panel--serp { transform: rotate(-1deg) translateX(-4px); }
.hv__panel--ai { transform: rotate(1deg) translateX(10px); border-color: var(--blue-200); background: linear-gradient(180deg, #fff, var(--blue-50)); }
.hv__panel--chart { transform: translateX(-2px); }
.hv__label { position: absolute; right: .9rem; bottom: .55rem; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.hv__bar { display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; border: 1px solid var(--line-2); border-radius: var(--radius-pill); color: var(--ink-2); margin-bottom: .85rem; background: #fff; }
.hv__bar .icon { color: var(--muted); }
.hv__result { display: grid; gap: .2rem; padding: .45rem .25rem; }
.hv__result--brand { background: var(--blue-50); border-radius: var(--radius-sm); padding: .6rem .7rem; margin-inline: -.45rem; }
.hv__url { font-size: .7rem; color: var(--muted); min-height: .9em; }
.hv__title { color: var(--blue-700); font-weight: 600; font-size: .92rem; }
.hv__snip { color: var(--ink-2); }
.hv__title--ghost, .hv__snip--ghost, .hv__result:not(.hv__result--brand) .hv__url { background: var(--navy-100); border-radius: 4px; height: .7em; display: block; }
.hv__title--ghost { width: 60%; height: .85em; margin-top: .2rem; }
.hv__snip--ghost { width: 90%; margin-top: .3rem; }
.hv__result:not(.hv__result--brand) .hv__url { width: 35%; }
.hv__ai-head { display: flex; align-items: center; gap: .45rem; color: var(--blue-700); font-weight: 600; font-size: .78rem; margin-bottom: .6rem; }
.hv__ai-text { color: var(--ink-2); margin: 0 0 .7rem; font-size: .86rem; }
.hv__ai-text mark { font-weight: 700; }
.hv__sources { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.hv__sources > span { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-right: .2rem; }
.hv__chip { font-style: normal; font-size: .7rem; padding: .2rem .55rem; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); }
.hv__chip--brand { background: var(--blue-600); border-color: var(--blue-600); color: #fff; font-weight: 600; }
.hv__chart-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .78rem; color: var(--ink-2); font-weight: 600; margin-bottom: .4rem; }
.hv__chart-head em { font-style: normal; font-weight: 500; color: var(--muted-2); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.hv__panel--chart { padding-bottom: .9rem; }
@media (max-width: 480px) { .hv__panel--serp, .hv__panel--ai, .hv__panel--chart { transform: none; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin-bottom: 1.25rem; font-size: var(--fs-small); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li + li::before { content: '/'; color: var(--muted-2); margin-right: .35rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span { color: var(--ink-2); }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 2.2vw, 1.75rem); color: var(--ink); text-decoration: none; transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur); }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--brand); margin-bottom: .35rem; }
.card__kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__title { margin: 0; font-size: var(--fs-h3); }
.card__text { color: var(--ink-2); font-size: .98rem; }
.card__text p { margin-bottom: .6em; }
.card__list { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .4rem; font-size: .95rem; color: var(--ink-2); }
.card__list li { display: flex; gap: .5rem; align-items: flex-start; }
.card__list .icon { color: var(--brand); margin-top: .25rem; }
.card__link { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--brand); font-weight: 600; font-size: .95rem; }
.card--link:hover .card__link .icon { transform: translateX(3px); }
.card__link .icon { transition: transform var(--dur) var(--ease); }
.card--tint { background: var(--bg-tint); border-color: transparent; }
.card--navy { background: rgba(255,255,255,.05); border-color: var(--on-dark-line); color: var(--on-dark); }
.card--navy .card__title, .section--navy .card .card__title { color: #fff; }
.section--navy .card { background: rgba(255,255,255,.05); border-color: var(--on-dark-line); color: var(--on-dark); }
.section--navy .card__text, .section--navy .card__list { color: var(--on-dark-2); }
.section--navy .card__icon { background: rgba(7,84,237,.25); color: var(--blue-200); }
.section--navy .card--link:hover { border-color: var(--blue-400); background: rgba(255,255,255,.08); }
.section--navy .card__link { color: var(--blue-200); }
.section--tint .card { border-color: #fff; box-shadow: var(--shadow-sm); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; align-items: start; padding: clamp(1.25rem, 2.5vw, 1.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; }
.step__title { margin: .35rem 0 .35rem; }
.step__text { color: var(--ink-2); }
.step__meta { margin-top: .6rem; font-size: var(--fs-small); color: var(--muted); font-weight: 500; }
.steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--row .step { grid-template-columns: 1fr; gap: .75rem; }
.section--navy .step { background: rgba(255,255,255,.05); border-color: var(--on-dark-line); }
.section--navy .step__num { background: var(--brand); }
.section--navy .step__title { color: #fff; }
.section--navy .step__text, .section--navy .step__meta { color: var(--on-dark-2); }
.section--tint .step { border-color: #fff; box-shadow: var(--shadow-sm); }
@media (max-width: 1023px) { .steps--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .steps--row { grid-template-columns: 1fr; } .step { grid-template-columns: 48px 1fr; gap: .9rem; } .step__num { width: 44px; height: 44px; font-size: .95rem; } }

/* ---------- Checklist ---------- */
.checklist-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; }
.checklist { padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.checklist__title { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; margin-bottom: 1rem; }
.checklist--included .checklist__title .icon { color: var(--success); }
.checklist--excluded .checklist__title .icon { color: var(--muted); }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.6rem; color: var(--ink-2); }
.checklist li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--success); opacity: .85; }
.checklist--excluded li::before { background: var(--line-2); }
.checklist--excluded { background: var(--bg-tint); border-color: transparent; }
.checklist--included ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .checklist-grid { grid-template-columns: 1fr; } .checklist--included ul { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat { padding: 1.4rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .3rem; align-content: start; }
.stat__value { font-family: var(--font-head); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 700; letter-spacing: -.03em; color: var(--brand); line-height: 1.05; }
.stat__label { font-weight: 600; color: var(--ink); }
.stat__note { font-size: var(--fs-small); color: var(--muted); }
.stat__source { font-size: var(--fs-xs); display: inline-flex; align-items: center; gap: .2rem; color: var(--muted); text-decoration: none; margin-top: .2rem; }
.stat__source:hover { color: var(--brand); }
.stats__footer { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--muted); }
.section--navy .stat { background: rgba(255,255,255,.05); border-color: var(--on-dark-line); }
.section--navy .stat__value { color: var(--blue-300); }
.section--navy .stat__label { color: #fff; }
.section--navy .stat__note, .section--navy .stat__source { color: var(--on-dark-3); }
@media (max-width: 1023px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing__toggle { display: inline-flex; padding: .25rem; background: var(--bg-tint-2); border-radius: var(--radius-pill); margin-bottom: 2rem; }
.pricing__toggle button { border: 0; background: transparent; padding: .55rem 1.1rem; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: background var(--dur), color var(--dur); }
.pricing__toggle button.is-active { background: var(--navy-900); color: #fff; }
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.5rem, 2.5vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.tier--featured { background: var(--navy-900); color: var(--on-dark); border-color: var(--navy-900); box-shadow: var(--shadow-lg); }
.tier__badge { position: absolute; top: -.9rem; left: 1.5rem; background: var(--brand); color: #fff; font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .8rem; border-radius: var(--radius-pill); }
.tier__name { margin: 0; font-size: 1.35rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.tier__descriptor { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--muted); letter-spacing: 0; }
.tier--featured .tier__descriptor { color: var(--on-dark-2); }
.tier { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.tier--featured .tier__name { color: #fff; }
.tier__tagline { color: var(--muted); font-size: .95rem; min-height: 2.9em; }
.tier--featured .tier__tagline { color: var(--on-dark-2); }
.tier__price { display: flex; align-items: baseline; gap: .35rem; font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: .5rem 0 .25rem; color: var(--ink); }
.tier--featured .tier__price { color: #fff; }
.tier__price small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier--featured .tier__price small { color: var(--on-dark-2); }
.tier__price--custom { font-size: 1.6rem; }
.tier__setup, .tier__term { margin: 0; font-size: var(--fs-small); color: var(--muted); }
.tier--featured .tier__setup, .tier--featured .tier__term { color: var(--on-dark-2); }
.tier__features { list-style: none; margin: 1rem 0 .5rem; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; font-size: .95rem; color: var(--ink-2); }
.tier--featured .tier__features { border-color: var(--on-dark-line); color: var(--on-dark-2); }
.tier__features li { display: flex; gap: .55rem; align-items: flex-start; }
.tier__features .icon { color: var(--success); margin-top: .2rem; }
.tier--featured .tier__features .icon { color: var(--blue-300); }
.tier__excluded { font-size: var(--fs-xs); color: var(--muted); margin: .25rem 0 0; }
.tier--featured .tier__excluded { color: var(--on-dark-3); }
.tier__cta { margin-top: auto; padding-top: 1rem; }
.tier__cta .btn { width: 100%; }
.tier--featured .btn--secondary { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); }
.pricing__footer { margin-top: 2rem; color: var(--muted); font-size: .95rem; max-width: 820px; }
@media (max-width: 1023px) { .pricing { grid-template-columns: 1fr; max-width: 560px; } .tier--featured { order: -1; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { color: var(--muted); transition: transform var(--dur) var(--ease); flex: none; }
.faq__item[open] .faq__q .icon { transform: rotate(180deg); color: var(--brand); }
.faq__q:hover { color: var(--brand); }
.faq__a { padding: 0 0 1.25rem; color: var(--ink-2); max-width: 70ch; }
.section--navy .faq, .section--navy .faq__item { border-color: var(--on-dark-line); }
.section--navy .faq__q { color: #fff; }
.section--navy .faq__a { color: var(--on-dark-2); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: var(--section-y-tight); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 4vw, 3.5rem); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--blue-600) 0%, var(--blue-800) 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band__inner::after { content: ''; position: absolute; right: -10%; top: -40%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); pointer-events: none; }
.cta-band__title { color: #fff; margin: 0 0 .5rem; font-size: var(--fs-h2); max-width: 20ch; }
.cta-band__text { color: var(--blue-100); max-width: 52ch; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; flex: none; position: relative; }
.cta-band--navy .cta-band__inner { background: var(--navy-900); }
@media (max-width: 900px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.two-col--reverse .two-col__text { order: 2; }
.two-col__text .section__head { margin-bottom: 1.25rem; }
.two-col__bullets { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .6rem; }
.two-col__bullets li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); }
.two-col__bullets .icon { color: var(--brand); margin-top: .25rem; }
.two-col__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.two-col__visual { display: flex; justify-content: center; }
.section--navy .two-col__bullets li { color: var(--on-dark-2); }
.section--navy .two-col__bullets .icon { color: var(--blue-300); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .two-col--reverse .two-col__text { order: 0; } }

/* Funnel + dashboard visuals */
.fv { display: grid; gap: .6rem; width: 100%; max-width: 520px; }
.fv__row { display: flex; }
.fv__bar { display: block; width: var(--w); min-width: 40%; padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--blue-100); color: var(--blue-900); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.fv__bar--accent { background: var(--brand); color: #fff; }
.section--navy .fv__bar { background: rgba(255,255,255,.1); color: #fff; }
.section--navy .fv__bar--accent { background: var(--brand); }
.dv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; width: 100%; max-width: 520px; }
.dv__tile { padding: .9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; gap: .15rem; box-shadow: var(--shadow-sm); }
.dv__k { font-weight: 600; font-size: .9rem; color: var(--ink); }
.dv__v { font-size: .78rem; color: var(--muted); }
.dv__wide { grid-column: 1 / -1; padding: .75rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

/* ---------- Prose / long-form ---------- */
.prose { color: var(--ink-2); font-size: 1.08rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; margin-bottom: .5em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--ink); }
.prose h3 { margin-top: 1.8em; margin-bottom: .4em; color: var(--ink); }
.prose h4 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); font-weight: 600; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose .table-wrap { margin-block: 1.5em; }
.prose a { font-weight: 500; }
.prose .callout { margin-block: 1.75em; }
.callout { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--bg-tint); border: 1px solid var(--line); border-left: 4px solid var(--brand); color: var(--ink-2); }
.callout__title { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.callout--tip { background: #F0FBF6; border-color: #CDEEDD; border-left-color: var(--success); }
.callout--warn { background: #FFF8EE; border-color: #F5E2C3; border-left-color: var(--warn); }
.callout--answer { background: var(--blue-50); border-color: var(--blue-100); border-left-color: var(--brand); font-size: 1.05em; }
.callout ul { margin-bottom: 0; }
.definitions { margin: 0; display: grid; gap: 1rem; }
.definition { padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 1rem); }
.definition__term { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: .35rem; }
.definition__text { margin: 0; color: var(--ink-2); }
.toc { margin: 1.5rem 0 2rem; padding: 1.1rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-tint); }
.toc__title { font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: .3rem; }
.toc a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.toc a:hover { color: var(--brand); }
.badge { display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; padding: .25rem .6rem; border-radius: var(--radius-pill); background: var(--blue-50); color: var(--blue-800); }

/* ---------- Blog ---------- */
.post-card { gap: .5rem; }
.post-card__tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.post-meta { font-size: var(--fs-small); color: var(--muted); margin-top: auto; padding-top: .5rem; }
.post-meta--lg { font-size: .95rem; margin-top: 1rem; }
.post-meta a { color: var(--ink); font-weight: 500; }
.post__header { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); background: linear-gradient(180deg, #fff, var(--bg-tint)); }
.post__tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.post__title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.post__lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 60ch; }
.post__body { padding-block: clamp(2rem, 4vw, 3rem); }
.author-box { display: flex; gap: 1rem; align-items: flex-start; margin-top: 3rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-tint); }
.author-box__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.author-box__name { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.author-box__bio { color: var(--ink-2); font-size: .95rem; margin-bottom: .35rem; }
.author-box__link { font-size: var(--fs-small); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .2rem; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 2.5rem; }
.form-layout--aside { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.form { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.field { display: grid; gap: .4rem; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-weight: 600; font-size: .95rem; color: var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.field__opt { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
.field__input { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px; padding: .8rem .95rem; transition: border-color var(--dur), box-shadow var(--dur); }
.field__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--blue-100); }
.field__input::placeholder { color: var(--muted); opacity: 1; }
.field__input[aria-invalid="true"] { border-color: var(--error); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23C62828' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.6rem; }
select.field__input[aria-invalid="true"] { background-position: right 2.4rem center, right .9rem center; }
.field__error { margin: 0; font-size: var(--fs-small); color: var(--error); font-weight: 500; }
.field__error::before { content: '\2716\00a0'; font-size: .8em; }
select.field__input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23566274' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
textarea.field__input { resize: vertical; min-height: 110px; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.field--check label { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-small); color: var(--ink-2); cursor: pointer; }
.field--check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.field--check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.honeypot { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__note { margin: 0; font-size: var(--fs-small); color: var(--muted); }
.form__status { margin: 0; font-size: .95rem; min-height: 1.2em; }
.form__status.is-error { color: var(--error); font-weight: 500; }
.form__status.is-success { color: var(--success); font-weight: 500; }
.form-aside { display: grid; gap: 1rem; align-content: start; color: var(--ink-2); }
.form-aside h3 { margin-bottom: .25rem; }
.form-aside ul { padding-left: 1.2em; }
.form-aside .contact-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.form-aside .contact-list a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 500; }
@media (max-width: 900px) { .form-layout--aside { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .form__grid { grid-template-columns: 1fr; } }
.cal-embed { min-height: 640px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.cal-embed:not(.is-loaded) { display: grid; place-items: center; color: var(--muted); padding: 2rem; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-2); padding-block: clamp(3rem, 6vw, 5rem) 1.5rem; margin-top: 0; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--on-dark-line); }
.site-footer__brand img { width: 196px; height: 40px; object-fit: contain; margin-bottom: 1.1rem; }
.site-footer__tagline { font-family: var(--font-head); color: #fff; font-weight: 600; margin-bottom: .5rem; }
.site-footer__desc { font-size: .95rem; max-width: 36ch; color: var(--on-dark-3); }
.site-footer__heading { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.site-footer__contact li a, .site-footer__contact li span { display: inline-flex; align-items: flex-start; gap: .5rem; }
.site-footer__contact .icon { margin-top: .2rem; color: var(--blue-300); }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line); color: #fff; transition: background var(--dur), border-color var(--dur); }
.social a:hover { background: var(--brand); border-color: var(--brand); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: var(--fs-small); color: var(--on-dark-3); }
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer__updated { margin: .75rem 0 0; font-size: var(--fs-xs); color: var(--on-dark-3); }
.form__plan { margin: 0; padding: .6rem .9rem; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue-800); font-weight: 600; font-size: .95rem; }
@media (max-width: 1023px) { .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 639px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 1rem; bottom: 1rem; z-index: 200; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem 1.25rem; font-size: .92rem; color: var(--ink-2); }
.consent__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.consent__actions .btn { flex: 1 1 auto; }
@media (max-width: 480px) { .consent { left: .5rem; right: .5rem; bottom: .5rem; max-width: none; } }

/* ---------- Reveal ---------- */
/* Hidden only when JavaScript is running (html.js); without JS everything is visible. */
.js .reveal:not(.is-visible), .js .reveal-group > *:not(.is-visible) { opacity: 0; transform: translateY(14px); }
.reveal, .reveal-group > * { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .js .reveal:not(.is-visible), .js .reveal-group > *:not(.is-visible) { opacity: 1; transform: none; } .reveal, .reveal-group > *, .btn, .card { transition: none; } }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.measure { max-width: 68ch; }
.inline-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.inline-list li { padding: .35rem .75rem; border-radius: var(--radius-pill); background: var(--bg-tint); border: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-2); }
.section--navy .inline-list li { background: rgba(255,255,255,.06); border-color: var(--on-dark-line); color: var(--on-dark-2); }
.engine-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; margin-top: 1.5rem; font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: .9rem; }
.engine-row span { display: inline-flex; align-items: center; gap: .4rem; }
.engine-row .icon { color: var(--brand); }
.not-found { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.not-found .icon { color: var(--brand); margin: 0 auto 1rem; }
.not-found__code { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; letter-spacing: -.05em; color: var(--navy-100); line-height: 1; }
.sitemap-list { columns: 2; column-gap: 3rem; }
.sitemap-list ul { list-style: none; padding: 0; margin: 0 0 1.5rem; break-inside: avoid; }
.sitemap-list li { padding: .3rem 0; }
.sitemap-list h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .5rem; }
@media (max-width: 639px) { .sitemap-list { columns: 1; } }
.legal .prose h2 { font-size: 1.4rem; }
.legal-meta { font-size: var(--fs-small); color: var(--muted); margin-bottom: 2rem; }

/* ---------- Brand theme: official WoofRank logo and banner (dark navy, electric blue, cyan) ---------- */
:root {
  color-scheme: dark;
  --bg: #030D1F; --bg-tint: #051430; --bg-tint-2: #0A1D3D; --surface: #071833;
  --ink: #F3F7FF; --ink-2: #C6D2EA; --muted: #9AABC9; --muted-2: #8394B6;
  --line: #15294B; --line-2: #24406E;
  --navy-900: #020817; --navy-800: #061430; --navy-100: #1A2D50; --navy-50: #0A1D3D;
  --blue-50: rgba(46,155,255,.10); --blue-100: rgba(46,155,255,.18); --blue-200: #7CC4FF; --blue-300: #8FD0FF; --blue-400: #4FB3FF;
  --blue-500: #1E8BFF; --blue-600: #0A6EEA; --blue-700: #6EB9FF; --blue-800: #A9D6FF; --blue-900: #D2E9FF;
  --cyan: #22C3FF;
  --brand: #2E9BFF; --brand-hover: #6CBBFF; --brand-soft: rgba(46,155,255,.12);
  --btn-grad: linear-gradient(135deg, #0A55D6 0%, #0A6EEA 100%);
  --success: #34D399; --warn: #F5B157; --error: #FF7A7A;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow: 0 2px 8px rgba(0,0,0,.35), 0 18px 40px -20px rgba(0,0,0,.7);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.45), 0 40px 90px -30px rgba(10,110,234,.45);
  --header-h: 92px;
}
body { background: var(--bg); }
:focus-visible { outline-color: var(--cyan); box-shadow: 0 0 0 3px var(--bg); }
.cta-band__inner :focus-visible, .section--navy :focus-visible, .section--blue :focus-visible, .site-footer :focus-visible, .tier--featured :focus-visible, .hero--navy :focus-visible { outline-color: var(--cyan); box-shadow: 0 0 0 3px var(--navy-900); }
::selection { background: #0A6EEA; color: #fff; }
th { background: var(--bg-tint-2); }
tbody tr:hover td { background: rgba(255,255,255,.025); }
code { background: var(--bg-tint-2); }

/* Sections */
.section--tint-2 { background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%); }
.section--navy { background: #020A1A; background-image: radial-gradient(60% 55% at 100% 0%, rgba(10,110,234,.30), transparent 60%), radial-gradient(40% 45% at 0% 100%, rgba(34,195,255,.12), transparent 60%); border-block: 1px solid var(--line); }
.section--navy .eyebrow, .eyebrow { color: var(--cyan); }
.section--navy .eyebrow::before, .eyebrow::before { background: linear-gradient(90deg, var(--blue-500), var(--cyan)); }

/* Buttons */
.btn--primary { background: var(--btn-grad); color: #fff; box-shadow: 0 0 0 1px rgba(34,195,255,.25) inset, 0 10px 26px -10px rgba(10,110,234,.9); }
.btn--primary:hover { background: linear-gradient(135deg, #0B5FE8 0%, #0B7AF5 100%); color: #fff; box-shadow: 0 0 0 1px rgba(34,195,255,.45) inset, 0 14px 32px -10px rgba(30,139,255,.95); }
.btn--secondary { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.22); }
.btn--secondary:hover { border-color: var(--cyan); color: #fff; background: rgba(34,195,255,.08); }
.btn--ghost { color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.06); }
.btn--white { background: #fff; color: #0A55D6; }
.btn--white:hover { background: #E8F3FF; color: #063597; }

/* Header and navigation */
.site-header::before { background: rgba(3,13,31,.82); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0,0,0,.9); }
.brand img { width: 109px; height: 72px; }
.site-nav__panel { background: #071833; border-color: var(--line-2); }
.menu-item:hover, .menu-item.is-current { background: rgba(46,155,255,.08); }
.nav-toggle { background: transparent; border-color: var(--line-2); color: var(--ink); }
@media (max-width: 1023px) { .site-nav { background: var(--bg); border-top-color: var(--line); } }
@media (max-width: 480px) { .brand img { width: 94px; height: 62px; } }

/* Hero: the banner's navy glow, grid and dotted wave on every page */
.hero, .post__header { background: radial-gradient(60% 75% at 88% 0%, rgba(10,110,234,.30), transparent 62%), radial-gradient(45% 60% at 0% 100%, rgba(34,195,255,.10), transparent 60%), linear-gradient(180deg, #041633 0%, var(--bg) 100%); }
.hero::after, .post__header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; pointer-events: none; background-image: radial-gradient(rgba(79,179,255,.38) 1px, transparent 1.4px); background-size: 12px 12px; mask-image: radial-gradient(90% 70% at 60% 130%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(90% 70% at 60% 130%, #000 20%, transparent 70%); }
.post__header { position: relative; overflow: hidden; }
.post__header .container { position: relative; z-index: 1; }
.hero .container { z-index: 1; }
.hero--home { background: radial-gradient(70% 60% at 85% 10%, rgba(10,110,234,.32), transparent 62%), radial-gradient(40% 40% at 10% 90%, rgba(34,195,255,.12), transparent 70%), linear-gradient(180deg, #041633 0%, var(--bg) 100%); }
.hero--home::before { background-image: linear-gradient(rgba(120,170,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120,170,255,.07) 1px, transparent 1px); }
.hero__title em, .not-found__code { background: linear-gradient(90deg, #1E8BFF 0%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__banner { margin: 0 0 clamp(2rem, 4.5vw, 3.5rem); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(79,179,255,.22); box-shadow: 0 30px 80px -30px rgba(10,110,234,.6), 0 0 0 1px rgba(0,0,0,.4); background: #021A33; }
.hero__banner img { width: 100%; height: auto; }
.hero--home { padding-top: clamp(1.5rem, 4vw, 3rem); }

/* Mock Google / AI answer panels and dashboard tiles stay light, like real screenshots */
.hv, .dv { --ink: #0B1220; --ink-2: #263042; --muted: #566274; --muted-2: #5E6A7D; --line: #E3E8F0; --line-2: #CBD3E0; --surface: #fff; --blue-800: #063597; --blue-50: #EEF3FF; --blue-100: #DCE6FF; --blue-200: #B9CDFF; --blue-600: #0754ED; --blue-700: #0543C2; --navy-100: #E6EBF5; --brand: #0754ED; color: var(--ink); }
.hv__panel { box-shadow: 0 20px 50px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(79,179,255,.15); }

/* Cards, steps, stats, checklists */
.card { border-color: var(--line); }
.card--link:hover { border-color: rgba(46,155,255,.55); box-shadow: 0 0 0 1px rgba(46,155,255,.25), 0 24px 50px -24px rgba(10,110,234,.6); }
.card__icon { background: rgba(46,155,255,.12); color: var(--blue-400); box-shadow: inset 0 0 0 1px rgba(46,155,255,.25); }
.section--tint .card, .section--tint .step { border-color: var(--line); box-shadow: none; }
.step__num, .section--navy .step__num, .author-box__avatar { background: var(--btn-grad); box-shadow: 0 8px 20px -8px rgba(10,110,234,.8); }
.stat__value { background: linear-gradient(90deg, #4FB3FF, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Pricing */
.pricing__toggle { background: var(--bg-tint-2); }
.pricing__toggle button.is-active { background: var(--btn-grad); }
.tier--featured { background: linear-gradient(165deg, #0B2A5C 0%, #071833 70%); border-color: rgba(46,155,255,.55); box-shadow: 0 0 0 1px rgba(46,155,255,.25), 0 40px 90px -30px rgba(10,110,234,.6); }
.tier__badge { background: var(--btn-grad); }

/* CTA band */
.cta-band__inner { background: radial-gradient(60% 120% at 100% 0%, rgba(34,195,255,.25), transparent 60%), linear-gradient(120deg, #0A4FC4 0%, #0A6EEA 100%); box-shadow: 0 30px 70px -30px rgba(10,110,234,.7); }
.cta-band__text { color: #DCEBFF; }
.cta-band--navy .cta-band__inner { background: radial-gradient(60% 120% at 100% 0%, rgba(10,110,234,.35), transparent 60%), #061430; border: 1px solid var(--line-2); }

.fv__bar--accent, .section--navy .fv__bar--accent { background: var(--btn-grad); }
.cal-embed { background: var(--surface); }
/* Dashboard visual tiles */
.dv__tile, .dv__wide { background: #fff; }

/* Long-form */
.callout--tip { background: rgba(52,211,153,.07); border-color: rgba(52,211,153,.25); }
.callout--warn { background: rgba(245,177,87,.07); border-color: rgba(245,177,87,.28); }
.callout--answer { background: rgba(46,155,255,.08); border-color: rgba(46,155,255,.28); }

/* Forms */
.field__input { background: #061430; border-color: var(--line-2); color: var(--ink); }
.field__input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(46,155,255,.22); }
.field__input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 1000px #061430 inset; }
select.field__input option { background: #061430; color: var(--ink); }
.form { box-shadow: 0 30px 70px -40px rgba(10,110,234,.5); }

/* Footer */
.site-footer { background: #020817; background-image: radial-gradient(50% 80% at 100% 0%, rgba(10,110,234,.16), transparent 60%); border-top: 1px solid var(--line); }
.site-footer__brand img { width: 180px; height: 119px; }

/* Consent */
.consent { background: #081A36; border-color: var(--line-2); box-shadow: 0 30px 70px -20px rgba(0,0,0,.9); }

/* Homepage hero: edge-to-edge banner with a motion background (canvas in main.js + a drifting glow) */
.hero--bleed { padding-top: 0; isolation: isolate; }
.hero--bleed .hero__banner { margin: 0 0 clamp(1.5rem, 3.5vw, 2.75rem); border: 0; border-radius: 0; box-shadow: none; background: none; }
.hero--bleed .hero__banner img { max-height: 640px; object-fit: cover; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.hero__motion { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero.hero--bleed::after { left: auto; right: -12%; top: -25%; bottom: auto; width: 72%; height: 100%; background: radial-gradient(closest-side, rgba(30,139,255,.22), transparent); background-size: auto; -webkit-mask-image: none; mask-image: none; mix-blend-mode: screen; }
@media (prefers-reduced-motion: no-preference) {
  .hero.hero--bleed::after { animation: hero-drift 18s ease-in-out infinite alternate; }
  @keyframes hero-drift { to { transform: translate3d(-22%, 12%, 0) scale(1.18); } }
}
@media (max-width: 700px) { .hero--bleed .hero__banner img { height: 210px; object-position: 82% 50%; } .hero__fx { display: none; } }

/* Logo in motion: overlay drawn in the banner's own coordinates (see HERO_FX in components.mjs) */
.hero--bleed .hero__banner { position: relative; }
.hero--bleed .hero__banner img { display: block; }
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.fx-comet, .fx-ring, .fx-flash, .fx-bloom { opacity: 0; }
.fx-comet { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 130 1000; stroke-dashoffset: 130; }
.fx-comet--glow { stroke: #22C3FF; stroke-width: 12; }
.fx-ring { fill: none; stroke: #4FB3FF; stroke-width: 2.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.fx-flash { fill: #9FE4FF; transform-box: fill-box; transform-origin: center; }
.fx-bloom { opacity: .6; }
@media (prefers-reduced-motion: reduce) { .hero__fx { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .fx-sweep { animation: fx-sweep 7s cubic-bezier(.45, 0, .25, 1) 3.2s infinite; }
  .js .fx-comet { animation: fx-comet 7s cubic-bezier(.5, 0, .3, 1) 1s infinite; }
  .js .fx-flash { animation: fx-flash 7s ease-out 2.1s infinite; }
  .js .fx-ring { animation: fx-ring 7s ease-out 2.1s infinite; }
  .js .fx-ring--2 { animation-delay: 2.5s; }
  .js .fx-ring--3 { animation-delay: 2.9s; }
  .js .fx-bloom { animation: fx-bloom 5s ease-in-out infinite alternate; }
  @keyframes fx-sweep { 0% { transform: translateX(0); } 26%, 100% { transform: translateX(760px); } }
  @keyframes fx-comet { 0% { stroke-dashoffset: 130; opacity: 1; } 18% { stroke-dashoffset: -1000; opacity: 1; } 19%, 100% { stroke-dashoffset: -1000; opacity: 0; } }
  @keyframes fx-flash { 0% { transform: scale(.6); opacity: 0; } 5% { opacity: 1; } 26%, 100% { transform: scale(2.6); opacity: 0; } }
  @keyframes fx-ring { 0% { transform: scale(.8); opacity: .85; } 24%, 100% { transform: scale(4.8); opacity: 0; } }
  @keyframes fx-bloom { from { opacity: .35; } to { opacity: 1; } }
}

/* ---------- Homepage v3 (draft, 22 Oct 2026): text-free plate + HTML headline, example card, discovery paths, page wireframes ---------- */
.hero--plate { --hero-h: clamp(540px, 33.3vw, 660px); --plate-w: max(100vw, calc(var(--hero-h) * 3)); --plate-h: calc(var(--plate-w) / 3); display: flex; align-items: center; min-height: var(--hero-h); padding: 0; isolation: isolate; background: radial-gradient(60% 75% at 88% 0%, rgba(10,110,234,.22), transparent 62%), linear-gradient(180deg, #041633 0%, var(--bg) 100%); }
.hero--plate::before { content: none; }
/* the soft blue glow drifts slowly across the hero, as in the approved motion background */
.hero.hero--plate::after { left: auto; right: -12%; top: -25%; bottom: auto; width: 72%; height: 100%; background: radial-gradient(closest-side, rgba(30,139,255,.22), transparent); background-size: auto; -webkit-mask-image: none; mask-image: none; mix-blend-mode: screen; }
@media (prefers-reduced-motion: no-preference) { .hero.hero--plate::after { animation: hero-drift 18s ease-in-out infinite alternate; } }
/* The plate is anchored left at a fixed 3:1 size, so the logo (and the animation drawn over it) keeps its place at every width.
   Magic numbers: 3 = the plate's aspect ratio (2000x667); .2875 = right edge of the baked wordmark (575 of 2000 px), which is where the copy column starts;
   .13 and .62 below crop the plate to a strip that still holds the whole logo (it spans about .225 to .675 of the plate height). */
.hero--plate .hero__plate { position: absolute; top: 0; left: 0; right: 0; height: var(--hero-h); margin: 0; overflow: hidden; z-index: -1; pointer-events: none; background: #041633; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.hero--plate .hero__plate-in { position: absolute; left: 0; top: calc((var(--hero-h) - var(--plate-h)) / 2); width: var(--plate-w); height: var(--plate-h); }
.hero--plate .hero__plate img { display: block; width: 100%; height: 100%; max-width: none; }
.hero--plate .hero__fx { opacity: 0; }
.hero--plate .hero__plate.is-ready .hero__fx { opacity: 1; transition: opacity .6s ease; }
.hero--plate .container { max-width: none; width: 100%; margin: 0; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(3.5rem, 5vw, 4.25rem) calc(var(--plate-w) * .2875 + clamp(2rem, 4vw, 3.5rem)); }
.hero--plate .hero__grid, .hero--plate.hero--split .hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem 2rem; }
.hero--plate .hero__copy { flex: 1 1 400px; max-width: 640px; min-width: 0; }
.hero--home.hero--plate .hero__title { font-size: clamp(2.2rem, 1rem + 2.4vw, 3.5rem); }
.hero--plate .hero__lead { max-width: 52ch; }
.hero.is-offscreen .hero__fx * { animation-play-state: paused !important; } /* nothing animates while the hero is scrolled out of view */
@media (max-width: 900px) {
  .hero--plate { --plate-w: max(150vw, min(240vw, 1344px)); --strip-h: calc(var(--plate-w) / 3 * .62); display: block; min-height: 0; padding-top: var(--strip-h); }
  .hero--plate .hero__plate { height: var(--strip-h); -webkit-mask-image: linear-gradient(#000 94%, transparent); mask-image: linear-gradient(#000 94%, transparent); }
  .hero--plate .hero__plate-in { top: calc(var(--plate-h) * -.13); }
  .hero--plate .container { padding: .75rem var(--gutter) 3.5rem; }
  .hero--plate .hero__copy { flex-basis: 100%; }
}
@media (max-width: 560px) { .hero--plate .eyebrow { font-size: .72rem; letter-spacing: .1em; } }
/* landscape phones: no logo strip, text first */
@media (max-width: 900px) and (max-height: 520px) { .hero--plate { --strip-h: 0px; padding-top: 0; } .hero--plate .hero__plate, .hero--plate .hero__motion { display: none; } .hero--plate .container { padding-top: 1.5rem; } }
/* short laptop and landscape tablet windows: keep Contact Us on the first screen */
@media (min-width: 901px) and (max-height: 620px) { .hero--plate { --hero-h: 400px; } .hero--plate .container { padding-block: 1.25rem 1.75rem; } .hero--home.hero--plate .hero__title { font-size: clamp(2rem, 7vh, 2.75rem); } .hero--plate .hero__lead { font-size: 1rem; margin-bottom: 1rem; } }

/* "How customers discover you" diagram */
.paths { margin: 0 auto; width: min(100%, 540px); }
.paths svg { width: 100%; height: auto; color: #6EB9FF; overflow: visible; }
.paths__node rect { fill: rgba(46,155,255,.10); stroke: rgba(79,179,255,.5); stroke-width: 1.5; }
.paths__goal { fill: #0A6EEA; }
.paths__line path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: .85; }
.paths__line--dash path { stroke-dasharray: 4 5; opacity: .6; }
.paths__text text { font: 600 19px var(--font-body); fill: var(--ink); }
.paths__text .paths__goal-text { fill: #fff; }
.paths__caption { margin: .8rem 0 0; text-align: center; font-size: var(--fs-small); color: var(--muted); }

/* Small page wireframes on the audience cards */
.card__art { display: block; margin-bottom: .5rem; }
.card__art svg { width: 100%; max-width: 280px; height: auto; }
.art-frame { fill: rgba(46,155,255,.06); stroke: rgba(79,179,255,.42); stroke-width: 1.5; }
.art-line { stroke: rgba(79,179,255,.28); stroke-width: 1; fill: none; }
.art-dot { fill: rgba(79,179,255,.5); }
.art-bar { fill: rgba(150,180,230,.30); }
.art-bar--strong { fill: rgba(200,220,250,.6); }
.art-btn { fill: #0A6EEA; }
.art-map, .art-tile rect { fill: rgba(46,155,255,.10); stroke: rgba(79,179,255,.3); stroke-width: 1; }
.art-route { fill: none; stroke: rgba(79,179,255,.75); stroke-width: 2; stroke-dasharray: 3 4; stroke-linecap: round; }
.art-pin { fill: #22C3FF; }
.art-pin-dot { fill: #03132D; }
.art-shape { fill: rgba(79,179,255,.45); }
.art-rows path { fill: none; stroke: rgba(79,179,255,.22); stroke-width: 1; }
.art-tick path { fill: none; stroke: #22C3FF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Homepage-only fixes to shared pieces (every other page keeps the previous look) */
.is-home :is(h1, h2, h3) { overflow-wrap: break-word; }
.is-home .btn { white-space: normal; text-align: center; max-width: 100%; }
.is-home .cta-band__inner { padding: clamp(min(2rem, 7vw), 5vw, 4rem); }
.is-home .cta-band__inner > div { min-width: 0; }
.is-home .btn--lg { padding-inline: min(1.7rem, 6vw); } /* a large label plus rem padding must still fit a phone at 200 percent text */ /* long labels wrap instead of running off a narrow screen or an enlarged text size */
.is-home .cta-band .eyebrow { color: #fff; }
.is-home .cta-band .eyebrow::before { background: #fff; }
.is-home .cta-band__text { color: #fff; text-wrap: pretty; }
@media (min-width: 1024px) { .is-home .site-footer__grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)) minmax(13.5rem, 1.25fr); } }
@media (max-width: 1023px) { .is-home .site-footer__col:last-child { grid-column: 1 / -1; } }
@media (max-width: 639px) { .is-home .site-footer__col:nth-child(4) { grid-column: 1 / -1; } .is-home .site-footer__col:nth-child(4) ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) and (max-width: 1023px) { #who-we-help .grid--3, #insights .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px), (max-height: 520px) { .is-home .consent { padding: .7rem .85rem; font-size: .84rem; line-height: 1.4; } .is-home .consent__actions { margin-top: .5rem; } .is-home .consent__actions .btn { padding-block: .4rem; } }

/* Our approach: steps joined by a short line at badge height */
#approach .step { background: rgba(46,155,255,.07); border-color: rgba(79,179,255,.24); }
#approach .steps--row .step { align-content: start; }
@media (min-width: 1024px) {
  #approach .steps--row .step { position: relative; }
  #approach .steps--row .step:not(:last-child)::after { content: ''; position: absolute; top: calc(clamp(1.25rem, 2.5vw, 1.75rem) + 28px); left: 100%; width: 1.25rem; height: 2px; background: rgba(79,179,255,.7); }
}

/* "What we do": the four pillars on the left, the film on the right */
.split-media { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: "head aside" "cards aside"; gap: clamp(1.25rem, 2.5vw, 2rem) clamp(2rem, 4vw, 3.5rem); align-items: start; }
.split-media__head { grid-area: head; }
.split-media__head .section__head { margin-bottom: 0; }
.split-media__cards { grid-area: cards; }
.split-media__aside { grid-area: aside; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: center; } /* centred beside the pillars, and it follows the page while the pillars scroll past */
.split-media .card { gap: .45rem; padding: clamp(1.1rem, 1.8vw, 1.4rem); }
.split-media .card__icon { width: 42px; height: 42px; margin-bottom: .2rem; }
.split-media .card__text { font-size: .95rem; line-height: 1.55; }
@media (max-width: 1023px) { .split-media { grid-template-columns: 1fr; grid-template-areas: "head" "aside" "cards"; } .split-media__aside { position: static; } }
.film { margin: 0; }
.film__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(79,179,255,.28); background: #041633; box-shadow: 0 30px 70px -35px rgba(10,110,234,.7), 0 0 0 1px rgba(0,0,0,.4); }
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #041633; }
.film__bar { display: none; position: absolute; left: .7rem; right: .7rem; bottom: .9rem; gap: .5rem; }
.film.has-controls .film__bar { display: flex; }
.film__btn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(160,200,255,.4); border-radius: 50%; background: rgba(3,13,31,.72); color: #fff; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background var(--dur), border-color var(--dur), transform var(--dur); }
.film__btn:hover { background: var(--brand); border-color: var(--brand); transform: scale(1.06); }
.film__btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.film__btn .film__ico { grid-area: 1 / 1; }
.film__btn[data-state="paused"] .film__ico--pause, .film__btn[data-state="playing"] .film__ico--play { display: none; }
.film__btn[data-state="muted"] .film__ico--on, .film__btn[data-state="sound"] .film__ico--off { display: none; }
.film__btn--end { margin-left: auto; }
.film__btn[data-state="closed"] .film__ico--close, .film__btn[data-state="open"] .film__ico--expand { display: none; }
/* enlarged view: the same player, big, over a dark backdrop (Esc, the close button or a click outside closes it) */
body.film-open { overflow: hidden; }
body.film-open .split-media__aside { z-index: 600; }
.film.is-enlarged { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: clamp(.75rem, 3vw, 2.5rem); background: rgba(2,8,23,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 1 !important; transform: none !important; }
.film.is-enlarged .film__frame { width: min(1500px, 100%, calc((100vh - 2 * clamp(.75rem, 3vw, 2.5rem)) * 16 / 9)); border-radius: var(--radius); }
.film:fullscreen { display: grid; place-items: center; background: #000; }
.film:fullscreen .film__frame { width: min(100%, calc(100vh * 16 / 9)); border-radius: 0; border: 0; }

/* Worked example of a finding */
.deliverable { margin: 0; max-width: 820px; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.deliverable__label { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-bottom: .75rem; }
.deliverable__badge { padding: .25rem .75rem; border-radius: 999px; background: var(--btn-grad); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.deliverable__sub { color: var(--muted); font-size: var(--fs-small); }
.deliverable__table { width: 100%; border-collapse: collapse; }
.deliverable__table th, .deliverable__table td { padding: .8rem 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; vertical-align: top; }
.deliverable__table th { width: 12rem; padding-right: 1.25rem; color: var(--blue-400); font-size: .9rem; font-weight: 600; }
.deliverable__table td { color: var(--ink); }
.deliverable__note { margin: 1rem 0 0; color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 639px) { .deliverable__table th, .deliverable__table td { display: block; width: auto; } .deliverable__table th { padding: .8rem 0 .1rem; } .deliverable__table td { padding: 0 0 .8rem; border-top: 0; } }

/* ---------- Print ---------- */
@media print { .hero__motion { display: none; } .site-header, .site-footer, .consent, .cta-band, .nav-toggle, .hero__visual { display: none !important; } body { color: #000; } a { color: #000; text-decoration: underline; } .section { padding-block: 1.5rem; } }
