/* ==========================================================================
   Consent Mode Monitor · Homepage prototype
   Art direction: "Viridian & Nile", derived from Sanzo Wada,
   A Dictionary of Color Combinations (#306, #271, #86, #268, #94).
   Canonical spec: design.md (tokens, semantics, components, states, motion).
   v1 rationale and research: DESIGN-SYSTEM.md.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Wada source swatches (dataset hex of the book's CMYK) */
  --wada-deep-slate-green: #112F2C;   /* C80 M50 Y60 K70  · #84 #149 #166 #271 #318 #325 */
  --wada-dusky-green:      #004F46;   /* C100 M30 Y64 K50 · #94 #278 #284 #318 */
  --wada-dull-viridian:    #009465;   /* C90 M20 Y80 K0   · #136 #256 #306 #316 */
  --wada-benzol-green:     #00978D;   /* C100 M15 Y55 K0  · #306 */
  --wada-nile-blue:        #BCE4E5;   /* C25 M0 Y10 K0    · #306 #268 */
  --wada-lemon-yellow:     #F8ED43;   /* C5 M0 Y85 K0     · #306 #189 */
  --wada-raw-sienna:       #BB7125;   /* C18 M58 Y100 K12 · #86 #268 #293 */
  --wada-olive-ocher:      #D6B43E;   /* C18 M26 Y90 K0   · #278 (score scale midpoint only) */

  /* Brand roles */
  --viridian:      var(--wada-dull-viridian);  /* brand signal: marks, data, icons on light (non-text) */
  --viridian-700:  #007550;                    /* derived: same hue, deeper. Buttons, links, icons */
  --viridian-300:  #3CC08F;                    /* derived: green marks on dark grounds */
  --dusky:         var(--wada-dusky-green);    /* hover/pressed, eyebrows, brand panel */
  --benzol:        var(--wada-benzol-green);   /* secondary data series */
  --nile:          var(--wada-nile-blue);      /* cool tint, text on dark */
  --lemon:         var(--wada-lemon-yellow);   /* spark: dark-ground eyebrows, focus on dark */
  --sienna:        var(--wada-raw-sienna);     /* issue marks (non-text) */
  --sienna-700:    #8D551C;                    /* derived: issue text on light */
  --sienna-300:    #E7B57F;                    /* derived: issue text on dark */

  /* Semantic danger (V2): restrained, Ochre Red-inspired. Digital values chosen for CMM;
     not a verified Wada swatch. Confirmed errors / invalid configuration only. See design.md. */
  --danger:        #A7374B;                    /* accent marks, icons, chart end (non-text, 6.38:1 on white) */
  --danger-700:    #88283A;                    /* danger text on light (8.71:1 white, 7.64:1 on danger-50) */
  --danger-300:    #FFCED4;                    /* danger text on dark (10.25:1 ink, 6.81:1 dusky) */
  --danger-50:     #FBEDEC;                    /* soft danger ground for chips and messages */

  /* Neutrals: all derived from Deep Slate Green so greys carry the same undertone */
  --ink:        var(--wada-deep-slate-green);
  --text-2:     #324C4A;  /* body copy */
  --text-3:     #4F6563;  /* supporting copy */
  --line:       #DCE5E2;  /* decorative hairline */
  --line-strong:#7C8D8B;  /* meaningful control boundary (>= 3:1) */

  /* Surfaces */
  --paper:      #F3F7F5;  /* page ground: Nile Blue + Deep Slate Green tint */
  --white:      #FFFFFF;
  --nile-50:    #E8F6F6;
  --vir-50:     #E6F4F0;
  --sienna-50:  #F7EEE5;
  --dark:       var(--wada-deep-slate-green);
  --dark-raised:#1D3C39;
  --dark-line:  rgba(188, 228, 229, .16);
  --on-dark:    #FFFFFF;
  --on-dark-2:  #BCE4E5;
  --on-dark-3:  #9DC3C4;

  --focus: var(--viridian-700);
  --focus-on-dark: var(--lemon);

  /* Type */
  --font: "Source Sans Pro", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-display: clamp(2.625rem, 1.45rem + 3.6vw, 4.375rem);   /* 42 → 70 */
  --fs-display-s: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem);     /* 40 → 60 · product-page H1s (longer) */
  --fs-h2:      clamp(2rem, 1.35rem + 2.05vw, 3.25rem);       /* 32 → 52 */
  --fs-h3:      clamp(1.3125rem, 1.16rem + .45vw, 1.5rem);    /* 21 → 24 */
  --fs-h4:      1.1875rem;                                    /* 19 */
  --fs-lead:    clamp(1.125rem, 1.06rem + .3vw, 1.3125rem);   /* 18 → 21 */
  --fs-body:    1.125rem;                                     /* 18 */
  --fs-small:   1rem;                                         /* 16 */
  --fs-meta:    .9375rem;                                     /* 15 */
  --fs-micro:   .8125rem;                                     /* 13 */

  /* Space + layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --sp-section: clamp(76px, 9vw, 136px);
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(17,47,44,.06), 0 4px 12px -6px rgba(17,47,44,.12);
  --shadow-2: 0 1px 2px rgba(17,47,44,.05), 0 22px 44px -22px rgba(17,47,44,.30);
  --shadow-3: 0 2px 6px rgba(17,47,44,.06), 0 40px 80px -36px rgba(17,47,44,.45);
  /* Button elevation: re-declared on dark grounds (see .section--dark etc.) so the lift reads the same */
  --shadow-btn:       0 1px 2px rgba(17,47,44,.10), 0 4px 10px -6px rgba(17,47,44,.30);
  --shadow-btn-hover: 0 2px 4px rgba(17,47,44,.10), 0 12px 22px -10px rgba(17,47,44,.38);
  /* Card elevation (V2): primary cards only. Figures keep --shadow-2; nested mocks keep their own. */
  --shadow-card:       0 1px 2px rgba(17,47,44,.05), 0 12px 28px -18px rgba(17,47,44,.24);
  --shadow-card-hover: 0 2px 4px rgba(17,47,44,.06), 0 22px 40px -20px rgba(17,47,44,.34);
  --line-raised: #C9D5D2;  /* card border on hover: one step firmer than --line */
  --lift-card: -3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-hover: 200ms;
}
/* Dark grounds need deeper, more opaque shadows for the same perceived lift */
.section--dark, .pricing__panel, .final {
  --shadow-btn:        0 1px 2px rgba(0,0,0,.22), 0 6px 14px -8px rgba(0,0,0,.50);
  --shadow-btn-hover:  0 2px 4px rgba(0,0,0,.22), 0 14px 26px -12px rgba(0,0,0,.60);
  --shadow-card:       0 1px 2px rgba(0,0,0,.18), 0 18px 36px -24px rgba(0,0,0,.55);
  --shadow-card-hover: 0 2px 4px rgba(0,0,0,.20), 0 30px 50px -26px rgba(0,0,0,.70);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--nile); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .pricing__panel :focus-visible, .final :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-on-dark); }
/* white product mocks inside dark grounds return to the light focus colour */
.section--dark .ext-popup :focus-visible { outline-color: var(--focus); }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- 3. Typography ---------- */
.hero__title, .h2, .h3, .h4 { color: var(--ink); text-wrap: balance; }
.hero__title { font-size: var(--fs-display); line-height: 1.02; font-weight: 700; letter-spacing: -.028em; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; font-weight: 700; letter-spacing: -.022em; }
.h3 { font-size: var(--fs-h3); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
.h4 { font-size: var(--fs-h4); line-height: 1.3; font-weight: 600; letter-spacing: -.005em; }
.body-lg { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.eyebrow {
  display: flex; align-items: center; gap: 9px;
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
  color: var(--dusky);
}
/* V2: a section icon replaces the decorative 18px rule. One size, one stroke, brand colour. */
.eyebrow__icon { width: 16px; height: 16px; stroke-width: 2; color: var(--viridian-700); }
.eyebrow--on-dark { color: var(--lemon); }
.eyebrow--on-dark .eyebrow__icon { color: var(--lemon); }
.caption { margin-top: 14px; font-size: .875rem; line-height: 1.45; color: var(--text-3); }
.caption--center { text-align: center; margin-top: 32px; }
.caption--on-dark { color: var(--on-dark-3); margin-top: 24px; }

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.25rem; border-radius: 10px; border: 1.5px solid transparent;
  font-size: 1.0625rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease), border-color var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: 1rem; border-radius: 9px; }
/* Run Free Scan: approved Viridian 700 + white, scanner icon before the label */
.btn--primary { background: var(--viridian-700); color: #fff; }
.btn--primary:hover { background: var(--dusky); }
.btn--primary:active { background: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--dusky); box-shadow: var(--shadow-btn); transform: translateY(-1px); }
.btn--ink:active { transform: none; box-shadow: none; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--nile); }
/* Product + pricing CTAs (approved): Lemon Yellow ground, ink label, product icon first, no arrow.
   Hover: Viridian 50 ground, ~2px lift, deeper shadow. */
.btn--product { background: var(--lemon); color: var(--ink); box-shadow: var(--shadow-btn); }
.btn--product:hover { background: var(--vir-50); box-shadow: var(--shadow-btn-hover); transform: translateY(-2px); }
.btn--product:active { transform: translateY(0); box-shadow: var(--shadow-btn); }
/* Login with Google (approved): neutral translucent "glass" surface with a hairline border */
.btn--glass {
  background: rgba(255, 255, 255, .55); color: var(--ink);
  border-color: rgba(17, 47, 44, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 1px 2px rgba(17, 47, 44, .06);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
}
.btn--glass:hover { background: rgba(255, 255, 255, .95); border-color: rgba(17, 47, 44, .30); box-shadow: inset 0 1px 0 #fff, var(--shadow-btn); transform: translateY(-1px); }
.btn--glass:active { transform: none; background: #fff; }
/* Glass on dark grounds (e.g. Login with Google in a dark final CTA): same idea, inverted */
.btn--glass-dark { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(188, 228, 229, .32); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10); }
.btn--glass-dark:hover { background: rgba(255, 255, 255, .15); border-color: rgba(188, 228, 229, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), var(--shadow-btn); transform: translateY(-1px); }
.btn--glass-dark:active { transform: none; background: rgba(255, 255, 255, .20); }
.btn[aria-busy="true"] { cursor: progress; }
/* Disabled (DESIGN-SYSTEM.md §9): flat neutral, 5.77:1 label. Never reduce opacity. */
.btn:disabled, .btn[aria-disabled="true"] { background: #D3DCDA; color: #3F5452; border-color: transparent; box-shadow: none; transform: none; cursor: not-allowed; }

/* Secondary action link (approved, design.md section 17): label first, then a small contextual icon that
   says what the destination holds. No underline, no arrow, no chip. Standalone secondary actions only;
   links inside running text keep their underline. */
.action-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none;
  border-radius: 6px; transition: color var(--dur-hover) var(--ease);
}
.action-link .icon { width: 18px; height: 18px; flex: none; stroke-width: 2; color: var(--viridian-700); transition: transform var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease); }
.action-link:hover { color: var(--dusky); }
.action-link:hover .icon { color: var(--dusky); transform: translateX(2px); }
.action-link--on-dark { color: #fff; }
.action-link--on-dark .icon, .action-link--on-dark:hover .icon { color: var(--lemon); }
.action-link--on-dark:hover { color: var(--nile); }

/* ---------- 5. Chips, dots, scores ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: var(--fs-micro); font-weight: 600; line-height: 1.4; white-space: nowrap; }
.chip--xs { font-size: .78rem; padding: 2px 8px; }
.chip--ok { background: var(--vir-50); color: var(--dusky); }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--viridian); flex: none; }
.chip--issue { background: var(--sienna-50); color: var(--sienna-700); }
.chip--danger { background: var(--danger-50); color: var(--danger-700); }
.chip--signal { background: var(--nile-50); color: var(--ink); font-weight: 500; font-size: .78rem; box-shadow: inset 0 0 0 1px #CBE6E6; }
.chip--neutral { background: var(--paper); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--viridian); }
.dot--warn { background: var(--sienna); }
.dot--danger { background: var(--danger); }
.score { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 24px; padding: 0 7px; border-radius: 6px; font-size: var(--fs-micro); font-weight: 600; background: var(--sienna-50); color: var(--sienna-700); }
.score--zero { background: var(--vir-50); color: var(--dusky); }
.score--deep { background: #EFDFCD; color: #6E4216; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 247, 245, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 28px -24px rgba(17,47,44,.5); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1875rem; letter-spacing: -.012em; flex: none; }
.brand__mark { height: 40px; width: auto; margin-block: -4px; }
.brand__name span { color: var(--viridian-700); }
.primary-nav { margin-inline: auto; }
.primary-nav__list { display: flex; align-items: center; gap: 2px; }
.primary-nav__link { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 1rem; font-weight: 600; color: var(--text-2); text-decoration: none; transition: color .15s, background-color .15s; }
.primary-nav__link:hover { color: var(--ink); background: rgba(17,47,44,.05); }
/* Current section (Solutions pages): ink label with a short Viridian bar, never an underline */
.primary-nav__link[aria-current] { position: relative; color: var(--ink); }
.primary-nav__link[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--viridian); }
.has-menu .primary-nav__link[aria-current]::after { right: 2px; }
.solutions-menu__item[aria-current] { background: var(--paper); }
.mobile-nav__list a[aria-current] { color: var(--viridian-700); }
.has-menu { position: relative; display: flex; align-items: center; }
.has-menu .primary-nav__link { padding-right: 2px; }
.menu-toggle { display: grid; place-items: center; width: 30px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--text-2); cursor: pointer; }
.menu-toggle:hover { color: var(--ink); background: rgba(17,47,44,.05); }
.menu-toggle .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.menu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.solutions-menu { position: absolute; top: calc(100% + 10px); left: -14px; width: 360px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); }
.solutions-menu::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; } /* hover bridge */
.solutions-menu__item { display: flex; gap: 14px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--text-3); font-size: var(--fs-meta); line-height: 1.35; }
.solutions-menu__item strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1rem; font-weight: 600; }
.solutions-menu__item:hover { background: var(--paper); }
.solutions-menu__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--vir-50); color: var(--viridian-700); flex: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.g-mark { width: 18px; height: 18px; }

.nav-toggle { display: none; place-items: center; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; padding: 12px 0 28px; }
.mobile-nav__actions .g-mark { width: 18px; height: 18px; }
.mobile-nav__label { margin: 10px 0 2px; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.mobile-nav__list a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); font-size: 1.125rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.mobile-nav__list a .icon { width: 20px; height: 20px; color: var(--viridian-700); }
.mobile-nav__list--sub { margin-bottom: 14px; }
.mobile-nav__actions { display: grid; gap: 10px; margin-top: 22px; }
body.nav-open { overflow: hidden; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding-top: clamp(36px, 5.5vw, 80px); overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; pointer-events: none;
  top: -180px; right: -12%; width: min(980px, 78vw); height: 980px;
  background: radial-gradient(closest-side, rgba(188, 228, 229, .62), rgba(188, 228, 229, 0));
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 76px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(17,47,44,.05); font-size: var(--fs-meta); font-weight: 600; color: var(--dusky); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--viridian); box-shadow: 0 0 0 4px rgba(0, 148, 101, .16); }
.hero__title { margin-top: 22px; max-width: 12.5em; }
.hero__lead { margin-top: 22px; max-width: 35em; font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }

/* Scanner (shared by hero + final CTA) */
.scanner { margin-top: 32px; max-width: 600px; }
.scanner__field {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 52px; border-radius: 16px; background: #fff;
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 1px 2px rgba(17,47,44,.05), 0 18px 36px -26px rgba(17,47,44,.45);
  transition: border-color .2s, box-shadow .2s;
}
.scanner__field:focus-within { border-color: var(--viridian-700); box-shadow: 0 0 0 4px rgba(0, 117, 80, .2), 0 18px 36px -26px rgba(17,47,44,.45); }
/* Keyboard/text focus on the input draws the same 3px ring used everywhere else, around the whole field */
.scanner__field:has(.scanner__input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.scanner--on-dark .scanner__field:has(.scanner__input:focus-visible) { outline-color: var(--focus-on-dark); }
.scanner__icon { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--text-3); }
.scanner__input { flex: 1; min-width: 0; height: 52px; padding: 0; border: 0; background: transparent; font-size: 1.125rem; color: var(--ink); }
.scanner__input:focus { outline: none; } /* focus shown on the whole field via :focus-within */
.scanner__input::placeholder { color: var(--text-3); opacity: 1; }
.scanner__button { min-height: 52px; border-radius: 11px; padding: 0 1.3rem; }
.scanner__hints { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: var(--fs-meta); color: var(--text-3); }
.scanner__hints li { display: inline-flex; align-items: center; gap: 7px; }
.scanner__hints .icon { width: 16px; height: 16px; color: var(--viridian-700); }
.scanner__msg:empty { display: none; }
.scanner__msg { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: var(--fs-meta); line-height: 1.45; }
.scanner__msg .icon { width: 18px; height: 18px; margin-top: 1px; }
.scanner__msg.is-error { background: var(--sienna-50); color: var(--sienna-700); }
.scanner__msg.is-info { background: var(--nile-50); color: var(--ink); box-shadow: inset 0 0 0 1px #CBE6E6; }
.scanner__msg.is-info .icon { color: var(--viridian-700); }
.scanner__msg strong { font-weight: 700; word-break: break-all; }
.scanner.is-invalid .scanner__field { border-color: var(--sienna-700); box-shadow: 0 0 0 4px rgba(141, 85, 28, .16); }
.scanner.is-invalid .scanner__field:has(.scanner__input:focus-visible) { outline-color: var(--sienna-700); }

.hero__aside { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 30px; font-size: 1rem; }
.hero__aside-note { display: inline-flex; align-items: center; gap: 18px; color: var(--text-3); }
.hero__aside-note::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

/* Hero visual */
.hero-visual { position: relative; display: grid; padding: 26px 0 8px; }
.hero-visual::before {
  content: ""; position: absolute; inset: -40px -60px -20px -40px; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(17,47,44,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(17,47,44,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 55% 45%, #000 20%, transparent 72%);
          mask-image: radial-gradient(ellipse 60% 60% at 55% 45%, #000 20%, transparent 72%);
}
.browser { position: relative; z-index: 1; justify-self: end; width: 88%; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); }
.browser__bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: #D3DDDA; }
.browser__url { display: flex; align-items: center; gap: 6px; flex: 1; max-width: 250px; height: 24px; padding: 0 10px; border-radius: 7px; background: var(--paper); font-size: var(--fs-micro); color: var(--text-3); overflow: hidden; white-space: nowrap; }
.browser__url .icon { width: 12px; height: 12px; }
.browser__page { position: relative; height: 252px; padding: 18px 18px 22px; border-radius: 0 0 16px 16px; background: linear-gradient(#fff, #F8FBFA); }
.browser__page .cookie { bottom: 44px; }
.sk i { display: block; height: 8px; border-radius: 4px; background: #E3EAE8; }
.sk--nav { display: flex; align-items: center; gap: 10px; }
.sk--nav i { width: 36px; }
.sk--nav i:first-child { width: 64px; height: 12px; margin-right: auto; background: #D6DFDC; }
.sk--hero { display: grid; gap: 10px; margin-top: 28px; }
.sk--hero i:nth-child(1) { width: 68%; height: 16px; }
.sk--hero i:nth-child(2) { width: 48%; height: 16px; }
.sk--hero i:nth-child(3) { width: 78%; }
.cookie { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid #D6DFDC; border-radius: 12px; box-shadow: 0 14px 30px -18px rgba(17,47,44,.5); }
.cookie__text { flex: 1; font-size: var(--fs-micro); line-height: 1.35; color: var(--text-2); }
.cookie__btns { display: flex; gap: 8px; flex: none; }
.cookie__btns span { padding: 6px 10px; border-radius: 7px; border: 1px solid #C5D0CD; font-size: .78rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.cookie__btns span:last-child { background: #2E3B39; border-color: #2E3B39; color: #fff; }
.layer-tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: var(--fs-micro); font-weight: 600; line-height: 1.3; white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(17,47,44,.6); }
.layer-tag .icon { width: 14px; height: 14px; color: var(--lemon); }
.layer-tag--top { top: -13px; right: 22px; }
.layer-tag--side { top: -13px; left: 22px; background: var(--viridian-700); }
.layer-tag--side .icon { color: #fff; }

.analysis { position: relative; z-index: 2; width: 86%; margin-top: -30px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-3); }
.analysis__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.analysis__head img { width: 20px; height: auto; }
.analysis__head .chip { margin-left: auto; }
.analysis__title { font-size: 1rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.analysis__id { font-size: var(--fs-micro); color: var(--text-3); }
.analysis__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.tile { padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; }
.tile__label { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.tile__label .icon { width: 16px; height: 16px; color: var(--viridian-700); }
.tile__value { margin-top: 8px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.tile__meta { margin-top: 2px; font-size: .78rem; line-height: 1.4; color: var(--text-3); }
.surface-list { margin-top: 10px; padding: 12px 14px 4px; border: 1px solid var(--line); border-radius: 12px; }
.surface-list__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: var(--fs-meta); font-weight: 700; color: var(--ink); }
.surface-list__head .mono { font-size: .78rem; font-weight: 400; color: var(--text-3); }
.surface-list ul { margin-top: 6px; }
.surface-list li { display: flex; align-items: center; gap: 10px; padding: 9px 6px; margin-inline: -6px; border-top: 1px solid var(--line); border-radius: 6px; font-size: var(--fs-meta); color: var(--text-2); transition: background-color .3s; }
.surface-list li.is-lit { background: var(--nile-50); }
.surface-list__status { margin-left: auto; font-size: .875rem; font-weight: 600; color: var(--ink); }
.surface-list__status--warn { color: var(--sienna-700); }
.analysis__foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--nile-50); font-size: .875rem; font-weight: 600; color: var(--ink); }
.analysis__foot .icon { width: 16px; height: 16px; color: var(--viridian-700); }
.analysis::after { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--viridian), transparent); opacity: 0; pointer-events: none; }
.analysis.is-scanning::after { animation: sweep 1.3s var(--ease); }
@keyframes sweep { 0% { top: 8px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }

/* ---------- 8. Proof bar (supporting benefits) ---------- */
.proofbar { padding-top: clamp(56px, 7vw, 96px); }
.proofbar__list { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.proofbar__item { display: flex; gap: 14px; padding: 26px 28px 26px 0; }
.proofbar__item + .proofbar__item { padding-left: 28px; border-left: 1px solid var(--line); }
.proofbar__icon { width: 24px; height: 24px; margin-top: 1px; color: var(--viridian-700); }
.proofbar__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.proofbar__item p { margin-top: 4px; font-size: var(--fs-small); line-height: 1.45; color: var(--text-3); }

/* ---------- 9. Sections ---------- */
.section { padding-block: var(--sp-section); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--dark { background: var(--dark); color: var(--on-dark-2); }
.section--dark .h2, .section--dark .h3 { color: var(--on-dark); }
.section--dark .body-lg { color: var(--on-dark-2); }
.section-head { max-width: 780px; }
.section-head .h2 { margin-top: 16px; }
.section-head .body-lg { margin-top: 18px; max-width: 40em; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .body-lg { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px 72px; align-items: end; }
.section-head--split .body-lg { margin-top: 0; }

/* ---------- 10. The gap ---------- */
.gap__head .h2 { margin-top: 16px; max-width: 21em; }
.gap__head .body-lg { margin-top: 20px; max-width: 40em; }
.gap__grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); gap: clamp(40px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 6vw, 72px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.15fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.split__pane { padding: 20px; min-width: 0; }
.split__pane--page { background: #F7FAF9; }
.split__label { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.split__label .icon { width: 16px; height: 16px; color: var(--viridian-700); }
.split__site { position: relative; height: 196px; margin-top: 16px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.split__site .sk--hero { margin-top: 20px; }
.cookie--sm { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: stretch; gap: 10px; padding: 11px 12px; }
.cookie--sm .cookie__btns span { flex: 1; text-align: center; }
.split__verdict { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--fs-meta); font-weight: 600; color: var(--dusky); }
.split__verdict .icon { width: 18px; height: 18px; color: var(--viridian-700); }
.split__verdict--issue { color: var(--sienna-700); }
.split__verdict--issue .icon { color: var(--sienna-700); }
.split__seam { position: relative; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 6px, transparent 6px 12px); }
.split__seam span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 42px; height: 42px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); color: var(--lemon); box-shadow: 0 0 0 6px #fff; }
.split__seam .icon { width: 20px; height: 20px; }
.taglist { margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; }
.taglist li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; font-size: var(--fs-meta); font-weight: 600; color: var(--ink); }
.taglist li + li { border-top: 1px solid var(--line); }
.taglist__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.split .caption { grid-column: 1 / -1; margin: 0; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--paper); }

.gap__points li { display: flex; gap: 16px; padding: 20px 0 22px; border-top: 1px solid var(--line); }
.gap__points li:last-child { border-bottom: 1px solid var(--line); }
.gap__points .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--viridian-700); }
.gap__points p { margin-top: 5px; font-size: var(--fs-small); line-height: 1.5; color: var(--text-3); }

/* ---------- 11. How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(48px, 6vw, 72px); }
/* V2: each step is a primary card. Content, number and vignette are unchanged. */
.step {
  display: grid; grid-template-rows: auto auto 1fr auto;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
/* Rows line up across the three cards: headings, copy and vignettes share tops; vignettes share height */
@supports (grid-template-rows: subgrid) {
  .step { grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
}
.step__rail { display: flex; align-items: center; gap: 14px; }
.step__rail::after { content: ""; order: 2; flex: 1; border-top: 1.5px dashed #B9C6C3; }
.step__rail .icon { order: 3; width: 24px; height: 24px; color: var(--viridian-700); }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--lemon); font-size: .875rem; font-weight: 600; }
.step .h3 { margin-top: 26px; }
.step > p { margin-top: 10px; font-size: 1.0625rem; color: var(--text-2); }
.vignette { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 172px; margin-top: 26px; padding: 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.mini-input { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 9px; background: #fff; border: 1.5px solid var(--line-strong); font-size: var(--fs-meta); color: var(--ink); }
.mini-input .icon { width: 16px; height: 16px; color: var(--text-3); }
.mini-arrow { align-self: center; color: var(--text-3); line-height: 0; }
.mini-arrow .icon { width: 18px; height: 18px; transform: rotate(90deg); }
.mini-found { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--ink); }
.mini-found .mono { margin-left: auto; font-size: .78rem; font-weight: 500; color: var(--dusky); }
.mini-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: var(--fs-meta); font-weight: 600; color: var(--ink); }
.mini-list li + li { margin-top: 8px; }
.mini-history li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; font-size: var(--fs-micro); color: var(--text-3); }
.mini-history li + li { margin-top: 14px; }
.mini-bar { position: relative; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.mini-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: var(--viridian); }
.mini-bar--warn::after { background: var(--sienna); }

/* ---------- 12. Surfaces (dark) ---------- */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.surface { display: flex; flex-direction: column; gap: 28px; min-width: 0; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--dark-raised); border: 1px solid var(--dark-line); box-shadow: var(--shadow-card); color: var(--on-dark-2); overflow: hidden; }
.surface--webapp { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.surface--ext .ext-stage, .surface--sheets .sheet { margin-top: auto; }
.ext-stage { position: relative; overflow: hidden; padding-bottom: 22px; border-radius: 14px; background: rgba(188, 228, 229, .05); box-shadow: inset 0 0 0 1px var(--dark-line); }
.ext-stage__bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--dark-line); }
.ext-stage .browser__dots i { background: rgba(188, 228, 229, .28); }
.ext-stage__url { display: flex; align-items: center; gap: 6px; flex: 1; max-width: 220px; height: 26px; padding: 0 10px; border-radius: 7px; background: rgba(188, 228, 229, .08); font-size: var(--fs-micro); color: var(--on-dark-2); }
.ext-stage__url .icon { width: 12px; height: 12px; }
.ext-stage__icons { display: flex; align-items: center; gap: 14px; margin-left: auto; color: var(--on-dark-3); }
.ext-stage__icons .icon { width: 18px; height: 18px; }
.ext-stage__icons img { width: 24px; height: auto; padding: 3px 5px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 2px var(--lemon); }
.ext-stage__page { position: absolute; left: 20px; top: 66px; width: 30%; display: grid; gap: 12px; }
.ext-stage__page i { display: block; height: 8px; border-radius: 4px; background: rgba(188, 228, 229, .1); }
.ext-stage__page i:nth-child(1) { width: 85%; height: 14px; }
.ext-stage__page i:nth-child(2) { width: 60%; height: 14px; }
.ext-stage__page i:nth-child(4) { width: 70%; }
.ext-stage .ext-popup { position: relative; display: block; width: min(100% - 28px, 340px); margin: 12px 14px 0 auto; }
.ext-stage .ext-popup::before { content: ""; position: absolute; top: -6px; right: 16px; width: 12px; height: 12px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.surface__label { display: flex; align-items: center; gap: 12px; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nile); }
.surface__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(188, 228, 229, .1); box-shadow: inset 0 0 0 1px var(--dark-line); color: var(--lemon); }
.surface__icon .icon { width: 20px; height: 20px; }
.surface .h3 { margin-top: 18px; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.surface__copy p { margin-top: 10px; max-width: 34em; font-size: 1.0625rem; line-height: 1.55; }
.surface__copy .btn { margin-top: 24px; }

.app-window { overflow: hidden; border-radius: 14px; background: #fff; color: var(--text-2); box-shadow: 0 34px 60px -34px rgba(0,0,0,.65); }
.app-window__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #F6F9F8; }
.app-window__title { font-size: var(--fs-micro); font-weight: 600; color: var(--text-3); }
.app-window__body { display: grid; grid-template-columns: 158px minmax(0, 1fr); min-height: 320px; }
.app-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--line); background: #FAFCFB; }
.app-nav span { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 7px; font-size: .875rem; font-weight: 600; color: var(--text-3); }
.app-nav .icon { width: 16px; height: 16px; }
.app-nav .is-active { background: var(--vir-50); color: var(--dusky); }
.app-main { min-width: 0; padding: 18px; }
.app-main__title { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.app-main__sub { font-size: var(--fs-micro); color: var(--text-3); }
.ctable { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: var(--fs-meta); }
.ctable th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.ctable td { padding: 11px 6px; border-bottom: 1px solid var(--line); color: var(--ink); }
.ctable td.mono { font-size: .84rem; }
.ctable th:last-child, .ctable td:last-child { text-align: right; }
.app-finding { display: flex; align-items: flex-start; gap: 9px; margin-top: 16px; padding: 11px 12px; border-radius: 10px; background: var(--sienna-50); color: var(--sienna-700); font-size: .875rem; line-height: 1.4; }
.app-finding .icon { width: 17px; height: 17px; margin-top: 1px; }

.ext-popup { align-self: flex-start; width: min(100%, 360px); padding: 14px; border-radius: 14px; background: #fff; color: var(--text-2); box-shadow: 0 34px 60px -34px rgba(0,0,0,.65); }
.ext-popup__head { display: flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.ext-popup__head img { width: 16px; height: auto; }
.ext-popup__head .chip { margin-left: auto; }
.seg { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; padding: 3px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 36px; padding: 0; border: 0; border-radius: 7px; background: transparent; font-size: var(--fs-meta); font-weight: 600; color: var(--text-3); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(17,47,44,.14), 0 0 0 1px var(--line-strong); }
.ext-signals dl > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.ext-signals dt { font-size: .84rem; color: var(--ink); }
.ext-signals dd { padding: 2px 10px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-micro); font-weight: 600; color: var(--text-2); transition: background-color .25s, color .25s; }
.ext-signals dd.is-granted { background: var(--vir-50); color: var(--dusky); box-shadow: inset 0 0 0 1px #9BD3BD; }
.ext-popup__foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .875rem; font-weight: 600; color: var(--sienna-700); }
.ext-popup__foot .icon { width: 17px; height: 17px; }

.sheet { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 34px 60px -34px rgba(0,0,0,.65); }
.sheet__fx { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-bottom: 1px solid #E2E8E6; font-size: .84rem; color: var(--ink); }
.sheet__fx-label { font-style: italic; font-weight: 600; color: var(--text-3); padding-right: 12px; border-right: 1px solid #E2E8E6; }
.sheet__grid { display: grid; grid-template-columns: 30px repeat(3, minmax(0, 1fr)); font-size: .84rem; color: var(--ink); }
.sheet__grid > span { min-width: 0; padding: 8px 10px; border-right: 1px solid #E2E8E6; border-bottom: 1px solid #E2E8E6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet__grid > span.mono { font-size: .78rem; }
.sheet__grid > .sheet__corner, .sheet__grid > .sheet__col, .sheet__grid > .sheet__row { padding: 5px 4px; background: #F1F5F4; color: var(--text-3); text-align: center; font-size: .78rem; }
.sheet__h { font-weight: 700; }
.sheet__ok { font-weight: 600; color: var(--dusky); }
.sheet__warn { font-weight: 600; color: var(--sienna-700); }
.sheet__grid > .sheet__sel { box-shadow: inset 0 0 0 2px var(--viridian-700); }

/* ---------- 13. What CMM checks ---------- */
.checks__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(40px, 6vw, 96px); align-items: center; }
.checks__intro .h2 { margin-top: 16px; }
.checks__intro .body-lg { margin-top: 20px; }
.finding { overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.finding__head { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.finding__head .chip { margin-left: auto; }
.finding__badge { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--sienna-50); color: var(--sienna-700); flex: none; }
.finding__badge .icon { width: 22px; height: 22px; }
.finding__kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.finding__title { font-size: 1.1875rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.finding__fields { display: grid; grid-template-columns: 1fr 1fr; }
.finding__fields > div { min-width: 0; padding: 16px 22px 18px; border-bottom: 1px solid var(--line); }
.finding__fields > div:nth-child(odd) { border-right: 1px solid var(--line); }
.finding__fields dt { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.finding__fields dt .icon { width: 16px; height: 16px; color: var(--viridian-700); }
.finding__fields dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.finding .caption { margin: 0; padding: 12px 22px; background: var(--paper); }
.checklist { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: clamp(48px, 5.5vw, 76px); }
.checklist li { display: flex; gap: 14px; padding: 20px 0 22px; border-top: 1px solid var(--line); }
.checklist .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--viridian-700); }
.checklist p { margin-top: 4px; font-size: var(--fs-small); line-height: 1.5; color: var(--text-3); }

/* ---------- 14. Scoring ---------- */
.scale { margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.scale__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.scale__title { margin-top: 12px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: var(--ink); }
.scale__icon { width: 34px; height: 34px; color: var(--viridian-700); }
.scale__instrument { position: relative; margin-top: clamp(124px, 11vw, 148px); }
.scale__pins { position: relative; height: 0; }
.pin { --stem: 18px; position: absolute; left: var(--x); bottom: 10px; transform: translateX(-50%); }
.pin--zero { transform: translateX(calc(-100% + 22px)); }
.pin__card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; margin-bottom: var(--stem); padding: 8px 14px 9px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: var(--fs-micro); color: var(--text-3); white-space: nowrap; }
.pin__card::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: var(--stem); background: var(--line-strong); }
.pin--zero .pin__card { align-items: flex-end; }
.pin--zero .pin__card::after { left: auto; right: 21px; }
.pin__card strong { font-size: 1.25rem; line-height: 1.2; color: var(--ink); }
.pin--zero .pin__card strong { color: var(--dusky); }
.pin--far .pin__card strong { color: var(--danger-700); } /* restrained accent tying −20 to the red end */
.pin__card em { font-style: normal; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sienna-700); }
/* V2: only the far-left end changed. Muted danger blends into the original gradient by 16%.
   The 16% stop is the original gradient's own colour at that point (Raw Sienna mixed 30.77% toward
   Olive Ocher, i.e. 16/52), so everything from 16% to 100% renders exactly as before. */
.scale__track { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--danger) 0%, #C3862D 16%, var(--wada-olive-ocher) 52%, var(--viridian) 100%); }
@supports (background: linear-gradient(in oklab 90deg, red, blue)) {
  .scale__track { background: linear-gradient(in oklab 90deg, var(--danger) 0%, color-mix(in oklab, var(--sienna), var(--wada-olive-ocher) 30.77%) 16%, var(--wada-olive-ocher) 52%, var(--viridian) 100%); }
}
.scale__zero { position: absolute; right: -6px; top: 50%; width: 28px; height: 28px; transform: translateY(-50%); border-radius: 50%; background: #fff; border: 5px solid var(--viridian); box-shadow: 0 0 0 5px rgba(0, 148, 101, .18); }
.scale__ticks { height: 12px; margin-top: 10px; background-image: linear-gradient(90deg, #A9B7B4 1.5px, transparent 1.5px); background-size: 5% 100%; }
.scale__legend { display: flex; justify-content: space-between; gap: 24px; margin-top: 14px; }
.scale__end { display: flex; align-items: center; gap: 10px; }
.scale__end strong { display: block; font-size: 1.0625rem; color: var(--ink); }
.scale__end span > span { display: block; font-size: var(--fs-meta); color: var(--text-3); }
.scale__end--neg .icon { width: 22px; height: 22px; transform: rotate(180deg); color: var(--sienna-700); }
.scale__end--zero { text-align: right; }
.scale__end--zero strong { font-size: 1.75rem; line-height: 1; color: var(--dusky); }

/* ---------- 15. Monitoring ---------- */
.monitoring__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.monitoring__copy .h2 { margin-top: 16px; }
.monitoring__copy .body-lg { margin-top: 18px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 36px; }
.features li { padding-top: 20px; border-top: 1px solid var(--line); }
.features .icon { width: 22px; height: 22px; color: var(--viridian-700); }
.features .h4 { margin-top: 12px; }
.features p { margin-top: 6px; font-size: var(--fs-small); line-height: 1.5; color: var(--text-3); }
.history { overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.history__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.history__title { font-weight: 700; color: var(--ink); }
.history__sub { font-size: var(--fs-micro); color: var(--text-3); }
.history__chart { padding: 26px 22px 8px 22px; }
.history__plot { position: relative; padding-left: 34px; }
.history__plot svg { width: 100%; height: auto; overflow: visible; }
.history__ylab { position: absolute; left: 0; transform: translateY(-50%); font-family: var(--mono); font-size: .78rem; color: var(--text-3); }
.history__grid line { stroke: var(--line); stroke-width: 1; }
.history__base { stroke: #A9B7B4; stroke-width: 1; stroke-dasharray: 4 4; }
.history__band { fill: var(--sienna-50); }
.history__line { fill: none; stroke: var(--viridian); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.history__pts circle { fill: #fff; stroke: var(--viridian); stroke-width: 3; }
.history__pts circle.is-warn { stroke: var(--sienna); }
.history__xlab { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 8px; padding-left: 34px; font-family: var(--mono); font-size: .78rem; color: var(--text-3); text-align: center; }
.monitoring__grid .history { order: -1; }
.history__flag { position: absolute; left: calc(34px + (100% - 34px) * var(--fx)); top: var(--fy); display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: var(--fs-micro); font-weight: 600; white-space: nowrap; }
.history__flag .icon { width: 14px; height: 14px; color: var(--lemon); }
.history__log li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 12px 22px; border-top: 1px solid var(--line); font-size: var(--fs-meta); color: var(--text-2); }
.history__log .mono { font-size: var(--fs-micro); color: var(--text-3); }
.history .caption { margin: 0; padding: 12px 22px; border-top: 1px solid var(--line); background: var(--paper); }

/* ---------- 16. Pricing preview ---------- */
.pricing { padding-block: 0; }
.pricing__panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(188, 228, 229, .16), rgba(188, 228, 229, 0) 55%),
    var(--dusky);
  color: #D6EEEE;
}
.pricing__panel .h2 { margin-top: 16px; color: #fff; }
.pricing__panel .body-lg { margin-top: 18px; color: #D6EEEE; }
.pricing__panel .btn { margin-top: 30px; }
.ledger { position: relative; overflow: hidden; border-radius: 18px; background: rgba(17, 47, 44, .38); box-shadow: inset 0 0 0 1px rgba(188, 228, 229, .2); }
.ledger__row:first-child::after { content: ""; position: absolute; left: 35px; top: 50px; bottom: -22px; border-left: 1.5px dashed rgba(188, 228, 229, .32); }
.ledger__row { position: relative; padding: 24px 26px; }
.ledger__row + .ledger__row { border-top: 1px solid rgba(188, 228, 229, .2); }
.ledger__head { display: flex; align-items: center; gap: 12px; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nile); }
.ledger__step { position: relative; z-index: 1; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #0B3F38; box-shadow: 0 0 0 1.5px var(--lemon); color: var(--lemon); font-size: .8125rem; letter-spacing: 0; }
.ledger ul { display: grid; gap: 11px; margin-top: 14px; padding-left: 32px; }
.ledger li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: #fff; }
.ledger li .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--viridian-300); stroke-width: 2.25; }
.ledger li small { display: block; margin-top: 3px; font-size: var(--fs-meta); font-weight: 400; color: var(--nile); }

/* ---------- 17. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro .h2 { margin-top: 16px; }
.faq__intro .body-lg { margin-top: 18px; }
.accordion { border-bottom: 1px solid var(--line); }
.accordion__item { border-top: 1px solid var(--line); }
.accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 22px 0; border: 0; background: none; text-align: left; font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; color: var(--ink); cursor: pointer; }
.accordion__trigger:hover { color: var(--dusky); }
.accordion__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--ink); flex: none; transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s; }
.accordion__icon .icon { width: 18px; height: 18px; }
.accordion__trigger:hover .accordion__icon { border-color: var(--ink); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.accordion__panel p { max-width: 62ch; padding: 0 60px 26px 0; font-size: 1.0625rem; line-height: 1.6; color: var(--text-2); }
.accordion__panel a { color: var(--viridian-700); font-weight: 600; text-underline-offset: .2em; }
.accordion__panel a:hover { color: var(--dusky); }
.js .accordion__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .32s var(--ease), visibility 0s .32s; }
.js .accordion__panel > div { overflow: hidden; }
.js .accordion__panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .32s var(--ease), visibility 0s 0s; }

/* ---------- 18. Final CTA + footer ---------- */
.final { position: relative; overflow: hidden; padding: clamp(88px, 10vw, 148px) 0 clamp(84px, 9vw, 132px); background: var(--dark); color: var(--on-dark-2); text-align: center; }
.final__art { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 70% at 50% 118%, rgba(0, 148, 101, .38), rgba(0, 148, 101, 0) 70%),
    linear-gradient(rgba(188, 228, 229, .07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(188, 228, 229, .07) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 45%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 70% 75% at 50% 45%, #000 25%, transparent 78%);
}
.final__inner { position: relative; max-width: 780px; }
.final .eyebrow { justify-content: center; }
.final__title { margin-top: 18px; color: #fff; }
.final .body-lg { max-width: 36em; margin: 20px auto 0; color: var(--on-dark-2); }
/* Secondary action under the final scanner (design.md section 17): Lemon "Try Our Extension" on generic pages */
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.final__actions .btn { min-height: 52px; }
.scanner--on-dark { margin: 38px auto 0; max-width: 620px; text-align: left; }
.scanner--on-dark .scanner__field { border-color: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.scanner--on-dark .scanner__field:focus-within { border-color: #fff; box-shadow: 0 0 0 4px var(--lemon), 0 30px 60px -30px rgba(0,0,0,.6); }
.scanner--on-dark .scanner__hints { justify-content: center; color: var(--on-dark-2); }
.scanner--on-dark .scanner__hints .icon { color: var(--viridian-300); }
.scanner--on-dark .scanner__msg.is-error { background: rgba(231, 181, 127, .12); color: var(--sienna-300); box-shadow: inset 0 0 0 1px rgba(231, 181, 127, .35); }
.scanner--on-dark .scanner__msg.is-info { background: rgba(188, 228, 229, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(188, 228, 229, .25); }
.scanner--on-dark .scanner__msg.is-info .icon { color: var(--lemon); }
.scanner--on-dark.is-invalid .scanner__field { border-color: var(--sienna-300); box-shadow: 0 0 0 4px rgba(231, 181, 127, .35); }
.scanner--on-dark.is-invalid .scanner__field:has(.scanner__input:focus-visible) { outline-color: var(--sienna-300); }

.site-footer { padding: 30px 0 34px; background: var(--dark); border-top: 1px solid var(--dark-line); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.brand--on-dark { color: #fff; font-size: 1.0625rem; font-weight: 600; }
.brand--on-dark .brand__mark { height: 34px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__links a { display: inline-block; padding-block: 6px; font-size: 1rem; color: var(--on-dark-2); text-decoration: none; text-underline-offset: .22em; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; }

/* ---------- 19. Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Primary card hover (V2). The lift uses `translate`, independent of the reveal's `transform`,
   so the two never fight. Pointer devices only; cards are not links, so no pointer cursor. */
.step, .surface { transition: translate var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease), border-color var(--dur-hover) var(--ease); }
.js .step[data-reveal], .js .surface[data-reveal] {
  transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s),
              translate var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease), border-color var(--dur-hover) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .step:hover { translate: 0 var(--lift-card); box-shadow: var(--shadow-card-hover); border-color: var(--line-raised); }
  .surface:hover { translate: 0 var(--lift-card); box-shadow: var(--shadow-card-hover); border-color: rgba(188, 228, 229, .28); }
}
/* Hero entrance (V2): one-time, CSS only. Copy settles first in a short stagger, then the product
   visual follows. Usable throughout: nothing waits on it and nothing moves more than 12px. */
.js .hero__copy > * { animation: enter .48s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .05s; }
.js .hero__copy > :nth-child(3) { animation-delay: .1s; }
.js .hero__copy > :nth-child(4) { animation-delay: .15s; }
.js .hero__copy > :nth-child(5) { animation-delay: .2s; }
.js .hero-visual .browser { animation: rise .55s var(--ease) .16s both; }
.js .hero-visual .analysis { animation: rise .55s var(--ease) .28s both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero-visual .browser, .js .hero-visual .analysis, .js .hero__copy > * { animation: none; }
  .btn:hover, .btn:active { transform: none; } /* colour + shadow still change; no movement */
  .step:hover, .surface:hover { translate: none; }
  .action-link:hover .icon { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1099px) {
  .primary-nav, .site-header__actions { display: none; }
  .nav-toggle { display: grid; }
}
@media (min-width: 1100px) {
  .mobile-nav { display: none !important; }
}
/* Where the full header first appears it is tight (v1 already overran its box here); trim spacing only */
@media (min-width: 1100px) and (max-width: 1199px) {
  .site-header__inner { gap: 16px; }
  .primary-nav__link { padding: 0 9px; }
  .primary-nav__link[aria-current]::after { left: 9px; right: 9px; }
  .site-header__actions { gap: 10px; }
  .site-header__actions .btn--sm { padding: 0 .875rem; }
}

/* Scoring callouts below 1100px: two tiers so four callouts never collide (same idea the v1 mobile
   layout used for −3). −20 and −3 ride the upper tier; −11 and 0 keep the original lower tier. */
@media (max-width: 1099px) {
  .scale__instrument { margin-top: 202px; }
  .pin--far, .pin--mid { --stem: 112px; }
  .pin--far .pin__card { transform: translateX(calc(50% - 16px)); }
  .pin--far .pin__card::after { left: 16px; }
}

@media (max-width: 1199px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile__label { letter-spacing: .06em; }
  .gap__grid { grid-template-columns: 1fr; }
  .split { max-width: 760px; }
  .gap__points { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .gap__points li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 14em; }
  .hero-visual { width: min(100%, 640px); justify-self: center; }
  .checks__grid, .monitoring__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .finding { margin-top: 40px; }
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .monitoring__grid .history { order: 0; }
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split .body-lg { margin-top: 0; }
  .surface--webapp { grid-template-columns: 1fr; }
  .pricing__panel { grid-template-columns: 1fr; }
  /* V2: three padded cards side by side leave the vignettes too narrow, so they stack here */
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .vignette { min-height: 0; }
}

@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .ext-popup { width: min(100%, 380px); }
}

@media (max-width: 767px) {
  .proofbar__list { grid-template-columns: 1fr; border-bottom: 0; }
  .proofbar__item, .proofbar__item + .proofbar__item { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .checklist { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; gap: 0; }
  .features li { padding: 20px 0 22px; }
  .gap__points { grid-template-columns: 1fr; }
  .gap__points li:nth-last-child(2) { border-bottom: 0; }
  .split { grid-template-columns: 1fr; }
  .split__seam { height: 1px; background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px); }
  .finding__fields { grid-template-columns: 1fr; }
  .finding__fields > div:nth-child(odd) { border-right: 0; }
  .ledger__row { padding: 20px; }
  .ledger__row:first-child::after { left: 29px; top: 46px; bottom: -18px; }
  .ext-stage__page { display: none; }
  .accordion__panel p { padding-right: 0; }
  .accordion__trigger { font-size: 1.125rem; padding: 20px 0; }
  .scale__legend { flex-direction: column; gap: 12px; }
  .scale__end--zero { justify-content: flex-end; }
  .scale__instrument { margin-top: 184px; }
  .pin--far, .pin--mid { --stem: 104px; }
  .pin__card { padding: 6px 10px 7px; }
  .pin__card strong { font-size: 1.0625rem; }
  .pin--deep .pin__card { transform: translateX(calc(50% - 24px)); }
  .pin--deep .pin__card::after { left: 24px; }
}

@media (max-width: 599px) {
  .final__actions .btn { width: 100%; }
  .site-header__inner { height: 64px; }
  .brand { font-size: 1.0625rem; }
  .brand__mark { height: 36px; }
  .mobile-nav { height: calc(100dvh - 64px); }
  .scanner__field { flex-direction: column; align-items: stretch; padding: 6px; }
  .scanner__icon { top: 32px; left: 16px; }
  .scanner__input { flex: none; height: 52px; padding-left: 40px; }
  .scanner__button { width: 100%; }
  .hero__aside { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__aside-note::before { display: none; }
  .hero-visual { padding-top: 22px; }
  .browser { width: 94%; }
  .browser__page { height: 226px; }
  .browser__page .cookie { bottom: 34px; }
  .cookie { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .cookie__btns span { flex: 1; text-align: center; }
  .analysis { width: 100%; margin-top: -22px; padding: 14px; }
  .analysis__tiles { grid-template-columns: 1fr; }
  .app-window__body { grid-template-columns: 1fr; min-height: 0; }
  .app-nav { display: none; }
  .ctable th:nth-child(2), .ctable td:nth-child(2) { display: none; }
  .sheet__grid { grid-template-columns: 26px 1.15fr 1fr 0.9fr; font-size: .8rem; }
  .sheet__grid > span { padding: 7px 6px; }
  .history__head, .history__log li, .history .caption { padding-inline: 16px; }
  .history__chart { padding-inline: 14px; }
  .history__log li { grid-template-columns: 54px 1fr auto; gap: 10px; }
  .history__xlab span:nth-child(even) { visibility: hidden; }
  .history__flag { padding: 6px; }
  .history__flag-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pricing__panel { border-radius: 22px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}
