/* TextFormatter.ai — the one stylesheet.
   Layers, in order: 0 fonts · 1 tokens · 2 base · 3 voices · 4 shell · 5 sections · 6 pages · 7 cookie · 8 environment.
   Rendered values are the agreed design; the reasoning behind them lives in docs/DESIGN.md.
   Rule of thumb: a new page composes layers 3–5; it should rarely need new CSS. */

/* ─── 0 · Fonts (self-hosted; headings only, body is the system stack) ─── */
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-weight:500 800;font-display:swap;src:url(fonts/schibsted/schibsted-grotesk-latin-ext-500.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:'Schibsted Grotesk';font-style:normal;font-weight:500 800;font-display:swap;src:url(fonts/schibsted/schibsted-grotesk-latin-500.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}

/* ─── 1 · Tokens (HSL channel triplets, used as hsl(var(--x))) ─── */
:root {
  --bg: 240 33% 99%;
  --bg-soft: 225 22% 96%;
  --fg: 225 14% 11%;
  --card: 0 0% 100%;
  --card-fg: 225 14% 11%;
  --primary: 218 76% 48%;
  --primary-strong: 218 76% 40%;
  --primary-ink: 218 76% 43%;
  --primary-fg: 0 0% 100%;
  --primary-tint: 217 75% 95%;
  --primary-line: 216 81% 90%;
  --secondary: 225 22% 96%;
  --secondary-fg: 225 14% 11%;
  --muted: 227 21% 94%;
  --muted-fg: 224 11% 34%;
  --faint-fg: 222 7% 45%;
  --border: 227 21% 92%;
  --border-soft: 223 26% 95%;
  --ring: 218 76% 48%;
  /* Red is the brand mark and nothing else. */
  --brand-mark: #b8371f;
  --brand-mark-hover: #93291a;
  /* The drawn pilcrow (same object as <symbol id="pilA"> and the favicon), for CSS watermarks. */
  --mark-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='40 -1465 1162 1880'%3E%3Cpath d='M867 390L707 390L707-638L571-638Q316-638 190.50-743Q65-848 65-1039L65-1039Q65-1234 191-1337Q317-1440 568-1440L568-1440L867-1440L867 390ZM1177 390L1017 390L1017-1440L1177-1440L1177 390Z' fill='%23000' stroke='%23000' stroke-width='50' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");

  --shadow-sm: 0 1px 2px rgba(20,28,48,.06);
  --shadow-md: 0 6px 22px rgba(20,28,48,.08), 0 1px 3px rgba(20,28,48,.05);
  --shadow-lg: 0 30px 70px rgba(18,26,46,.12), 0 8px 24px rgba(18,26,46,.07);

  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
  --font-display: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, 'Liberation Mono', monospace;

  --text-hero:    clamp(2.6rem, 5.6vw, 5rem);     /* page H1 */
  --text-display: clamp(2.1rem, 4.6vw, 3.35rem);  /* section H2 */
  --text-title:   1.2rem;
  --text-lead:    clamp(1.15rem, 1.5vw, 1.3rem);  /* hero intro */
  --text-body:    1.0625rem;                      /* 17px floor */
  --text-label:   1rem;                           /* buttons, nav */
  --text-small:   0.875rem;                       /* captions */

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --radius: 0.95rem;
  --radius-sm: 0.7rem;
  --radius-xs: 0.6rem;
  --max-w: 1140px;
}
.dark {
  --bg: 223 14% 10%;
  --bg-soft: 222 16% 13%;
  --fg: 225 22% 96%;
  --card: 224 15% 14%;
  --card-fg: 225 22% 96%;
  --primary: 220 90% 50%;
  --primary-strong: 220 100% 68%;
  --primary-ink: 220 100% 75%;
  --primary-fg: 0 0% 100%;
  --primary-tint: 219 43% 16%;
  --primary-line: 219 39% 30%;
  --secondary: 224 13% 16%;
  --secondary-fg: 0 0% 95%;
  --muted: 226 13% 20%;
  --muted-fg: 223 13% 78%;
  --faint-fg: 220 9% 62%;
  --border: 226 13% 20%;
  --border-soft: 224 13% 16%;
  --ring: 220 100% 62%;
  --brand-mark: #e8654a;
  --brand-mark-hover: #f4907a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 6px 22px rgba(0,0,0,.4);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.55), 0 8px 24px rgba(0,0,0,.4);
}
/* Hairlines one notch deeper on 1x panels only (they carry every boundary). */
@media (max-resolution: 120dpi), (-webkit-max-device-pixel-ratio: 1) {
  :root { --border: 227 21% 86%; --border-soft: 223 26% 91%; }
  .dark { --border: 226 13% 25%; --border-soft: 224 13% 20%; }
}

/* ─── 2 · Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (min-width: 1800px) { html { font-size: 110%; } :root { --max-w: 1320px; } }
@media (min-width: 2400px) { html { font-size: 118%; } :root { --max-w: 1440px; } }
@media (min-resolution: 192dpi), (-webkit-min-device-pixel-ratio: 2) { body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } }
body {
  font-family: var(--font); font-size: var(--text-body); line-height: 1.6; letter-spacing: -0.006em;
  color: hsl(var(--fg)); background: hsl(var(--bg)); overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
input, textarea, select, button { font-family: var(--font); font-size: inherit; }
:focus-visible { outline: 3px solid hsl(var(--ring)); outline-offset: 2px; border-radius: 4px; }
::selection { background: hsl(var(--primary)); color: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.3; color: hsl(var(--fg)); text-wrap: balance; }
h1, h2 { letter-spacing: -0.02em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ─── 3 · Voices — the shared type devices every page composes ─── */
/* Links inside running copy: one treatment, everywhere. Add a selector here, never redeclare. */
.prose a, .mk-p a, .step p a, .crd p a, .lede-intro a, .faq-a p a,
.diag-fix p a, .qa-item p a, .contact-aside p a, .e404 p a {
  color: hsl(var(--primary-ink)); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; text-decoration-color: hsl(var(--primary-line));
  transition: color 0.15s, text-decoration-color 0.15s;
}
.prose a:hover, .mk-p a:hover, .step p a:hover, .crd p a:hover, .lede-intro a:hover,
.faq-a p a:hover, .diag-fix p a:hover, .qa-item p a:hover, .contact-aside p a:hover, .e404 p a:hover {
  color: hsl(var(--primary-strong)); text-decoration-color: hsl(var(--primary-ink));
}
/* Mono LABEL — uppercase, tracked. */
.sec-eyebrow .eyebrow-nm, .demo-label, .trust-label, .ftr-col-label,
.contact-form-label, .quote-who strong, .e404 .e404-code {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: hsl(var(--faint-fg));
}
/* Mono CAPTION — sentence case, quiet. */
.fineprint, .proof-label, .page-head .breadcrumb, .ftr-tagline,
.quote-who span, .faq-q h3::before {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.02em; color: hsl(var(--faint-fg));
}
/* The ITEM device — one heading + one line for every repeating item on the site. */
.crd h3, .step h3, .qa-item h3, .diag-fix h3, .faq-q h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: -0.022em; margin-bottom: 0.42rem; color: hsl(var(--fg));
}
.crd p, .step p, .qa-item p, .diag-fix p {
  color: hsl(var(--muted-fg)); font-size: var(--text-body); line-height: 1.55; max-width: 34ch; margin: 0;
}
/* Section eyebrow: faint-grey mark + mono label. */
.sec-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; font-family: var(--font-display); }
.sec-eyebrow .eyebrow-pil { display: inline-flex; align-items: center; font-size: 0.92rem; line-height: 1; color: hsl(var(--faint-fg)); }
/* The mark. */
.mark-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark-svg { display: block; height: 1em; width: auto; }
.mark-inline { display: inline-block; height: 0.92em; width: auto; vertical-align: -0.06em; color: var(--brand-mark); }
.logo-pilcrow { display: inline-flex; align-items: center; font-size: 1.15rem; color: var(--brand-mark); line-height: 1; transition: color 0.18s; }
.logo-tld { font-weight: 700; color: inherit; }
/* Fine print under a CTA. */
.fineprint { display: flex; align-items: center; justify-content: flex-start; gap: 0.5rem; margin-top: 0.85rem; }
.fineprint .pip { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: hsl(var(--primary)); flex-shrink: 0; }
/* The section boundary. */
.divider { height: 1px; background: linear-gradient(90deg, transparent, hsl(var(--border-soft)) 30%, hsl(var(--border-soft)) 70%, transparent); }

/* ─── 4 · Shell — header, buttons, footer, skip link ─── */
.skip-link {
  position: absolute; top: -100%; left: 0.5rem; z-index: 9999;
  background: hsl(var(--primary)); color: hsl(var(--primary-fg));
  display: inline-flex; align-items: center; min-height: 44px;
  padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-xs);
  font-weight: 600; font-size: var(--text-small); transition: top 0.15s;
}
.skip-link:focus { top: 0.5rem; }

.site-header { position: sticky; top: 0; z-index: 50; background: hsl(var(--bg)); border-bottom: 1px solid transparent; transition: border-color 0.3s; padding: 0 var(--gutter); }
@media (min-width: 900px) and (hover: hover) { .site-header { background: hsl(var(--bg) / 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.site-header.scrolled { border-color: hsl(var(--border-soft)); box-shadow: 0 1px 0 hsl(var(--border-soft)), 0 6px 20px rgba(20, 28, 48, 0.05); }
.dark .site-header.scrolled { box-shadow: 0 1px 0 hsl(var(--border-soft)), 0 8px 24px rgba(0, 0, 0, 0.45); }
.hdr { display: flex; align-items: center; justify-content: space-between; min-width: 0; max-width: var(--max-w); margin: 0 auto; width: 100%; height: 4.5rem; gap: var(--space-sm); }
.hdr-logo, .ftr-logo { display: inline-flex; align-items: baseline; gap: 0.5rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; color: hsl(var(--fg)); text-decoration: none; white-space: nowrap; transition: color 0.18s; }
.hdr-logo:hover, .ftr-logo:hover { color: hsl(var(--fg)); opacity: 1; }
.hdr-logo:hover .logo-pilcrow, .ftr-logo:hover .logo-pilcrow { color: var(--brand-mark-hover); }
.hdr-logo .logo-pilcrow, .ftr-logo .logo-pilcrow { font-size: 1.04em; transform: translateY(.13em); }  /* the designer's lockup: mark a little taller than the caps, overshooting evenly above and below */
.hdr-actions { display: flex; align-items: center; gap: 0.8rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  border: 1px solid transparent; cursor: pointer; font-family: var(--font-display);
  font-weight: 600; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  background: hsl(var(--primary)); color: hsl(var(--primary-fg)); line-height: 1.4;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { background: hsl(var(--primary-strong)); }
.btn:active { transform: scale(0.98); }
.btn-arrow { width: 1.05rem; height: 1.05rem; flex-shrink: 0; transition: transform 0.15s; }
.btn:hover .btn-arrow { transform: translateX(2px); }
.btn-sm { border-radius: 0.6rem; font-size: 0.95rem; padding: 0.7rem 1.05rem; min-height: 2.75rem; }
.btn-lg { border-radius: var(--radius-sm); font-size: var(--text-label); padding: 0.85rem 1.45rem; min-height: 3rem; }

.theme-btn { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 0.65rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); color: hsl(var(--muted-fg)); cursor: pointer; transition: color 0.18s, border-color 0.18s; padding: 0; }
.theme-btn:hover { color: hsl(var(--fg)); border-color: hsl(var(--faint-fg)); }
.theme-btn svg { width: 1.1rem; height: 1.1rem; display: block; }
.theme-btn .icon { display: none; }
.theme-btn .icon.active { display: block; }

.site-footer { background: hsl(var(--bg)); border-top: 1px solid hsl(var(--border-soft)); padding: 3.75rem var(--gutter) 2.75rem; }
.ftr { max-width: var(--max-w); margin: 0 auto; font-size: var(--text-small); color: hsl(var(--muted-fg)); }
.ftr-top { display: flex; flex-direction: column; gap: 2.5rem 3rem; padding-bottom: 2.5rem; }
.ftr-brand { display: flex; flex-direction: column; gap: 0.7rem; max-width: 22rem; }
.ftr-tagline { margin: 0; text-wrap: balance; }
.ftr-cols { display: flex; flex-wrap: wrap; gap: 2.25rem 3.5rem; }
.ftr-col { display: flex; flex-direction: column; gap: 0.62rem; min-width: 130px; }
.ftr-col-label { margin-bottom: 0.2rem; }
.ftr-col a, .ftr-col .ftr-link { font-size: 0.95rem; color: hsl(var(--muted-fg)); transition: color 0.15s; }
.ftr-col .ftr-link { background: none; border: 0; padding: 0; text-align: left; font-family: inherit; cursor: pointer; }
.ftr-col a:hover, .ftr-col .ftr-link:hover { color: hsl(var(--primary-ink)); }
@media (min-width: 720px) { .ftr-cols { display: grid; grid-template-columns: repeat(3, minmax(8.5rem, 1fr)); gap: 2rem 2.5rem; } .ftr-col a, .ftr-col .ftr-link { text-wrap: nowrap; } }
@media (min-width: 768px) { .ftr-top { display: grid; grid-template-columns: minmax(11rem, 20rem) 1fr; gap: 2.5rem 3rem; align-items: start; } }

/* ─── 5 · Sections — the patterns a page is composed from ─── */
/* 5.1 Hero (single column) */
.hero { position: relative; overflow: hidden; padding: 3.5rem var(--gutter) 1.5rem; text-align: left; background: none; }
.hero-watermark { position: absolute; top: -12%; right: 3%; left: auto; transform: none; line-height: 0.7; font-size: min(58vw, 46rem); color: var(--brand-mark); opacity: 0.05; pointer-events: none; user-select: none; z-index: 0; }
.hero-watermark .mark-wm { display: block; height: 1em; width: auto; }
.dark .hero-watermark { opacity: 0.075; }
.hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; }
.hero h1 { font-size: var(--text-hero); font-weight: 800; margin: 0 0 1.2rem; letter-spacing: -0.045em; line-height: 0.98; max-width: 15ch; text-wrap: balance; }
.hero h1 .hero-light { display: block; font-weight: 500; letter-spacing: -0.022em; line-height: 1.08; color: hsl(var(--muted-fg)); font-size: 0.46em; margin-top: 0.16em; }
.hero-sub { font-size: var(--text-lead); color: hsl(var(--muted-fg)); font-weight: 400; line-height: 1.55; margin: 0 0 2rem; max-width: 56ch; letter-spacing: -0.008em; text-wrap: pretty; }
@media (min-width: 640px) { .hero { padding: 6rem var(--gutter) 2.5rem; } }

/* 5.2 Hero split — headline left, the privacy promise right, under the big mark. Conversion pages only.
   The promise is three lines and nothing else: a mono label (voice LABEL) and three display lines between hairlines. */
.hero-split .hero-inner { display: grid; gap: 3rem; align-items: center; }
.hero-split h1 { max-width: none; font-size: clamp(2.6rem, 4.7vw, 4.5rem); }
.hero-split .hero-sub { max-width: 46ch; }
@media (min-width: 900px) { .hero-split { padding-top: 5rem; padding-bottom: 5rem; } .hero-split .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; } }
.trust { max-width: 30rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 1.55rem 1.9rem 1.3rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px -18px rgba(16, 24, 40, .18); }
.dark .trust { box-shadow: none; }
.trust-label, .trust-rows li { position: relative; font-family: var(--font-display); color: hsl(var(--fg)); text-wrap: balance; }
.trust-label { margin: 0 0 .8rem; padding: 0 0 1.05rem 2.25rem; border-bottom: 1px solid hsl(var(--border)); font-size: clamp(1.2rem, 1.5vw, 1.36rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; text-transform: none; }
.trust-rows { list-style: none; margin: 0; padding: 0; }
.trust-rows li { font-size: clamp(1.1rem, 1.35vw, 1.22rem); font-weight: 500; letter-spacing: -0.018em; line-height: 1.25; padding: .5rem 0 .5rem 2.25rem; }
.trust-label::before { content: ''; position: absolute; left: 0; top: .05em; width: 1.1em; height: 1.1em; background: hsl(var(--fg)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") no-repeat center / contain; }
.trust-rows li::before { content: ''; position: absolute; left: .08rem; top: 50%; width: 1.3rem; height: 1.3rem; margin-top: -.65rem; border-radius: 50%; background: hsl(var(--primary)); }
.trust-rows li::after { content: ''; position: absolute; left: .36rem; top: 50%; width: .74rem; height: .74rem; margin-top: -.37rem; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain; }
@media (min-width: 900px) { .trust { justify-self: end; width: 100%; } .hero-split .hero-watermark { font-size: min(36vw, 30rem); top: 50%; right: calc((100% - min(100% - 2 * var(--gutter), var(--max-w))) / 2 + 1.5rem); transform: translateY(-50%); opacity: .1; } .dark .hero-split .hero-watermark { opacity: .14; } }
@media (max-width: 479px) { .trust { padding: 1.25rem 1.25rem 1.05rem; } }

/* 5.3 Marketing section: .mk > .mk-head (eyebrow, .mk-h, .mk-p) + one content block. Boundaries are .divider, never padding tricks. */
.mk { padding: 6rem var(--gutter); text-align: left; }
.mk-head, .faq > div { max-width: var(--max-w); margin: 0 auto; }
.mk-head { margin-bottom: 0.5rem; }
.mk .steps, .mk .cards, .mk .quotes, .mk > div:not([class]) { max-width: var(--max-w); margin: 0 auto; }  /* one left axis */
.mk-h { font-size: var(--text-display); font-weight: 700; margin-bottom: 0.95rem; letter-spacing: -0.03em; line-height: 1.06; max-width: 30ch; }
.mk-p { color: hsl(var(--muted-fg)); font-size: 1.125rem; max-width: 52ch; line-height: 1.55; margin-bottom: 3rem; letter-spacing: -0.012em; text-wrap: pretty; }
.mk > div:not(.mk-head) > .mk-p:last-child { margin-bottom: 0; }
.mk-lede { padding-top: 3rem; padding-bottom: 3.5rem; }  /* one-paragraph summary band */
.lede-intro { max-width: 62ch; margin-left: 0; margin-right: 0; text-align: left; }
.lede-intro strong { color: hsl(var(--fg)); }

/* 5.4 Item grids — all the same .crd device; grids differ only in column count. */
.crd { display: grid; grid-template-columns: 1fr; align-items: start; padding: 1.4rem 0 0; background: none; border: none; border-top: 1px solid hsl(var(--border)); border-radius: 0; text-align: left; }
.step { text-align: left; padding: 1.4rem 0 0; border-top: 1px solid hsl(var(--border)); }
.qa-item { padding: 1.4rem 0 0; border-top: 1px solid hsl(var(--border)); }
.steps { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: var(--max-w); margin: 0 auto; position: relative; }
.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: var(--max-w); margin: 0 auto; }
.feature-list { display: grid; grid-template-columns: 1fr; gap: 1.6rem; max-width: var(--max-w); margin: 0 auto; text-align: left; }
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1rem; max-width: var(--max-w); margin: 0 auto; }
.tile-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem 1.25rem; max-width: var(--max-w); margin: 0 auto; }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 60rem; margin: 0 auto; }
.qa { display: grid; grid-template-columns: 1fr; gap: 2.25rem 2.25rem; max-width: var(--max-w); margin: 0 auto; text-align: left; }
.audience .crd p, .tile-grid .crd p, .trust-grid .crd p { max-width: 28ch; }
@media (min-width: 640px) { .tile-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.9rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); gap: 2.6rem 3.5rem; }
  .audience { grid-template-columns: repeat(4, 1fr); gap: 2.6rem 2.25rem; }
  .tile-grid, .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 2.6rem 2rem; }
  .qa { grid-template-columns: 1fr 1fr; gap: 2.6rem 2.25rem; }
}

/* 5.5 Diagnosis rows — before snippet → arrow → fix (keyword pages). */
.diag { border-top: 1px solid hsl(var(--border)); max-width: 56rem; margin: 0 0 0 max(0px, calc((100% - var(--max-w)) / 2)); }
.diag-row { display: grid; grid-template-columns: minmax(0, 14rem) 1.75rem 1fr; gap: 1.4rem; align-items: center; padding: 1.55rem 0; border-bottom: 1px solid hsl(var(--border)); }
.diag-before { font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.55; color: hsl(var(--faint-fg)); background: none; border: none; border-left: 2px solid hsl(var(--border)); border-radius: 0; padding: 0.15rem 0 0.15rem 0.9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.diag-arrow { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; background: none; color: hsl(var(--faint-fg)); border: none; flex-shrink: 0; }
.diag-arrow svg { width: 1rem; height: 1rem; }
.diag-fix { text-align: left; }
.diag-fix p { max-width: 46ch; }
@media (max-width: 720px) { .diag-row { grid-template-columns: 1fr; gap: 0.85rem; justify-items: start; } .diag-arrow { transform: rotate(90deg); } .diag-before { width: 100%; } }

/* 5.6 Proof — stat + quotes. */
.proof { text-align: left; }
.proof .mk-h { margin-bottom: 1.05rem; }
.proof-num { font-family: var(--font-display); font-size: clamp(3.25rem, 7vw, 5rem); font-weight: 700; color: hsl(var(--primary-ink)); letter-spacing: -0.045em; line-height: 1; margin-top: 1.15rem; font-variant-numeric: tabular-nums; }
.proof-label { margin-top: 0.55rem; margin-bottom: 1rem; }
.proof .mk-head .mk-p { max-width: 46ch; margin-bottom: 3.25rem; }
.quotes { display: grid; grid-template-columns: 1fr; gap: 2.25rem 2.5rem; max-width: var(--max-w); margin: 0 auto; }
.quote { display: flex; flex-direction: column; padding: 1.4rem 0 0; background: none; border: none; border-top: 1px solid hsl(var(--border)); border-radius: 0; text-align: left; }
.quote-text { flex: 1; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; font-style: normal; color: hsl(var(--fg)); line-height: 1.38; letter-spacing: -0.024em; margin-bottom: 1.15rem; text-wrap: pretty; }
.quote-who { display: flex; flex-direction: row; align-items: baseline; gap: 0.55rem; flex-wrap: wrap; }
.quote-who span { color: hsl(var(--fg)); font-variant-numeric: tabular-nums; padding-left: 0.6rem; border-left: 1px solid hsl(var(--border)); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* 5.7 Before / after demo pane. Cropped + faded on screen; whole in print. */
.demo-pane { display: flex; flex-direction: column; background: none; border: none; border-top: 1px solid hsl(var(--border)); border-radius: 0; overflow: visible; text-align: left; margin: 3.5rem auto 0; max-width: 60rem; position: relative; }
.demo-pane-wide { max-width: var(--max-w); width: 100%; }
.demo-side { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.demo-before { border-bottom: 1px solid hsl(var(--border-soft)); background: none; }
.demo-bar { padding: 1.15rem 1.85rem 0.95rem 0; border-bottom: none; background: none; display: flex; align-items: center; flex-shrink: 0; }
.demo-body { padding: 0 1.85rem 1.85rem 0; font-size: 0.86rem; line-height: 1.75; max-height: 17rem; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); }
@media (max-width: 639px) { .demo-before .demo-body { max-height: 10.5rem; } .demo-after .demo-body { max-height: 31rem; } }  /* phones: less of the mess, more of the result */
.demo-after .demo-label { color: hsl(var(--fg)); }
.demo-raw { font-family: var(--font-mono); color: hsl(var(--faint-fg)); white-space: pre-wrap; word-break: break-word; }
.demo-formatted { color: hsl(var(--fg)); font-size: 1.02rem; line-height: 1.62; }
.demo-doc-title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 0.6rem; color: hsl(var(--fg)); }
.demo-doc-sh { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; letter-spacing: -0.015em; margin-top: 0.95rem; margin-bottom: 0.35rem; color: hsl(var(--fg)); }
.demo-formatted p { margin-bottom: 0.7rem; color: hsl(var(--muted-fg)); }
.demo-formatted p:last-child { margin-bottom: 0; }
.demo-formatted ul { list-style: none; margin: 0.15rem 0 0.7rem; padding: 0; }
.demo-formatted li { position: relative; padding-left: 1.15rem; margin-bottom: 0.32rem; color: hsl(var(--muted-fg)); }
.demo-formatted ul li::before { content: '\2022'; position: absolute; left: 0; top: 0; width: auto; height: auto; background: none; border-radius: 0; opacity: 0.6; font-family: var(--font-display); font-size: 0.85em; color: hsl(var(--muted-fg)); line-height: 1.62; }
.demo-formatted blockquote { margin: 0.6rem 0 0.6rem 0.9rem; padding-left: 0.9rem; border-left: 2px solid hsl(var(--border-soft)); }
.demo-formatted blockquote p { margin: 0; }
.demo-formatted ol { margin: 0.2rem 0; padding-left: 1.4rem; }
.demo-formatted ol li { margin-bottom: 0.35rem; color: hsl(var(--muted-fg)); padding-left: 0; }
@media (min-width: 640px) {
  .demo-body { max-height: 27rem; }
  .demo-pane { flex-direction: row; }
  .demo-before { border-bottom: none; border-right: 1px solid hsl(var(--border)); }
  .demo-after .demo-bar, .demo-after .demo-body { padding-left: 1.85rem; }
}

/* 5.8 CTA banner — the one tinted band and the one centred moment. */
.cta-banner { padding: 4.5rem var(--gutter); text-align: center; background: hsl(var(--bg-soft)); border-top: 1px solid hsl(var(--border-soft)); border-bottom: 1px solid hsl(var(--border-soft)); position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: 50%; left: auto; right: 5%; transform: translateY(-50%); font-size: min(26vw, 15rem); width: 0.62em; height: 1em; background-color: var(--brand-mark); -webkit-mask: var(--mark-mask) no-repeat center / contain; mask: var(--mark-mask) no-repeat center / contain; opacity: 0.05; pointer-events: none; z-index: 0; }
.dark .cta-banner::before { opacity: 0.075; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .mk-h { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.04em; margin-bottom: 1rem; line-height: 1.02; max-width: none; }
.cta-banner .mk-p { font-size: 1.2rem; margin-bottom: 2rem; max-width: none; }
.cta-banner .fineprint { justify-content: center; }

/* 5.9 FAQ — native <details name="faq">; script only reports opens. Never animate ::details-content. */
.faq { padding: 6.5rem var(--gutter); max-width: calc(var(--max-w) + 2 * var(--gutter)); margin: 0 auto; }
.faq > div > h2 { font-size: var(--text-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; margin-bottom: 0.95rem; max-width: 30ch; }
.faq > div > .sec-eyebrow { display: flex; justify-content: flex-start; }
.faq-list { max-width: 52rem; margin: 0; counter-reset: faqnum; border-top: 1px solid hsl(var(--border)); }
.faq-item { display: block; border: none; border-bottom: 1px solid hsl(var(--border)); border-radius: 0; margin-bottom: 0; counter-increment: faqnum; }
.faq-q { display: flex; justify-content: flex-start; align-items: center; padding: 1.4rem 0.25rem; cursor: pointer; gap: 1.1rem; transition: color 0.15s; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
.faq-q:hover { color: hsl(var(--primary-ink)); }
.faq-q h3 { margin: 0; line-height: 1.4; display: flex; align-items: baseline; gap: 1.1rem; }
.faq-q h3::before { content: counter(faqnum, decimal); flex: none; }
.faq-item[open] .faq-q h3::before, .faq-q:hover h3::before { color: hsl(var(--primary-ink)); }
.faq-chevron { flex-shrink: 0; width: 1.35rem; height: 1.35rem; margin-left: auto; color: hsl(var(--faint-fg)); transition: transform 0.3s ease, color 0.3s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: hsl(var(--primary)); }
.dark .faq-item[open] .faq-chevron { color: hsl(var(--primary-ink)); }
.faq-a-inner { padding: 0 0.25rem 1.5rem 2.85rem; max-width: 60ch; }
.faq-a p { color: hsl(var(--muted-fg)); font-size: var(--text-body); line-height: 1.62; margin: 0; }

/* ─── 6 · Pages — inner-page shell, prose, contact, 404 ─── */
.page-head { padding: 3.25rem var(--gutter) 0; }
.page-head .breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.page-head .breadcrumb a { color: hsl(var(--muted-fg)); text-decoration: none; }
.page-head .breadcrumb a:hover { color: hsl(var(--primary-ink)); }
.page-head .breadcrumb .sep { color: hsl(var(--faint-fg)); }
.page-head .breadcrumb [aria-current="page"] { color: hsl(var(--fg)); }
.page-head h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -0.038em; line-height: 1.02; color: hsl(var(--fg)); margin-bottom: 0.9rem; max-width: 26ch; }
.page-head .lede { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 500; line-height: 1.45; letter-spacing: -0.018em; color: hsl(var(--muted-fg)); max-width: 52ch; text-wrap: pretty; }
.sec { padding: 0 var(--gutter) var(--space-2xl); }
.page-head + .sec { padding-top: 3rem; }
.wrap { max-width: var(--max-w); margin: 0 auto; }

.prose { max-width: var(--max-w); margin: 0 auto; }
.prose > * { max-width: 70ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.75rem; margin-bottom: 0.1rem; padding-top: 0; border-top: none; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; color: hsl(var(--fg)); }
.prose h3 { margin-top: 1.9rem; margin-bottom: var(--space-xs); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.022em; color: hsl(var(--fg)); }
.prose p { margin-bottom: 0; color: hsl(var(--muted-fg)); font-size: var(--text-body); line-height: 1.65; }
.prose ul, .prose ol { margin: 0.2rem 0; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.5rem; color: hsl(var(--muted-fg)); }
.prose ul li::before { content: '\2022'; position: absolute; left: 0; top: 0; font-family: var(--font-display); font-size: 0.9em; color: hsl(var(--muted-fg)); opacity: 0.55; }
.prose ol { padding-left: var(--space-md); }
.prose li { margin-bottom: var(--space-xs); color: hsl(var(--muted-fg)); font-size: var(--text-body); line-height: 1.65; }
.prose strong { color: hsl(var(--fg)); font-weight: 600; }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: hsl(var(--bg-soft)); border: 1px solid hsl(var(--border-soft)); padding: 0.1em 0.4em; border-radius: 0.35rem; color: hsl(var(--primary-ink)); word-break: break-word; }
.prose blockquote { border-left: 2px solid hsl(var(--primary-line)); padding-left: 1.25rem; margin: 1.7rem 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; color: hsl(var(--fg)); }

/* Contact: HubSpot form panel + CTA aside. The embed only renders light, so the panel stays light in dark mode. */
.contact-wrap { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: start; }
.contact-form { max-width: 38rem; margin: 0; text-align: left; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.contact-form-label { display: block; padding-bottom: 1.05rem; margin-bottom: 1.7rem; border-bottom: 1px solid hsl(var(--border)); }
.dark .contact-form { background: #ffffff; border-color: hsl(226 13% 26%); }
.dark .contact-form-label { color: hsl(225 9% 42%); border-bottom-color: hsl(225 15% 88%); }
.contact-aside { position: relative; overflow: hidden; background: hsl(var(--bg-soft)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: clamp(1.6rem, 3.5vw, 2.25rem); }
.contact-aside::before { content: ''; position: absolute; top: 50%; right: 6%; transform: translateY(-50%); font-size: 8.5rem; width: 0.62em; height: 1em; background-color: var(--brand-mark); -webkit-mask: var(--mark-mask) no-repeat center / contain; mask: var(--mark-mask) no-repeat center / contain; opacity: 0.06; pointer-events: none; }
.dark .contact-aside::before { opacity: 0.085; }
.contact-aside > * { position: relative; z-index: 1; }
.contact-aside h2 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: -0.032em; line-height: 1.1; margin: 0 0 0.7rem; text-wrap: pretty; }
.contact-aside p { color: hsl(var(--muted-fg)); font-size: var(--text-body); line-height: 1.55; margin: 0 0 1.55rem; max-width: 32ch; }
.contact-aside .fineprint { justify-content: flex-start; margin-top: 0.95rem; white-space: nowrap; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 1fr); gap: 2.25rem; } .contact-form { max-width: none; } }
@keyframes hs-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.hs-skeleton { transition: opacity 0.35s ease; }
.hs-sk-field { margin-bottom: 1.4rem; }
.hs-sk-label, .hs-sk-input, .hs-sk-textarea, .hs-sk-btn { border-radius: var(--radius-xs); background: hsl(var(--border)); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hs-sk-label, .hs-sk-input, .hs-sk-textarea, .hs-sk-btn { background: linear-gradient(90deg, hsl(var(--border)) 25%, hsl(var(--border-soft)) 50%, hsl(var(--border)) 75%); background-size: 200% 100%; animation: hs-shimmer 1.6s ease-in-out infinite; }
}
.hs-sk-label { height: 0.7rem; width: 5rem; margin-bottom: 0.55rem; }
.hs-sk-input { height: 2.6rem; width: 100%; }
.hs-sk-textarea { height: 7.5rem; width: 100%; }
.hs-sk-btn { height: 2.75rem; width: 9rem; border-radius: var(--radius-sm); margin-top: 0.5rem; }

.e404 { padding: 6rem var(--gutter) 7.5rem; text-align: left; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.e404 > * { width: 100%; max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.e404 h1 { margin-left: max(0px, calc((100% - var(--max-w)) / 2)); margin-right: 0; }
.e404::before { content: ''; position: absolute; top: auto; left: auto; right: 3%; bottom: -14%; transform: none; font-size: min(40vw, 21rem); width: 0.62em; height: 1em; background-color: var(--brand-mark); -webkit-mask: var(--mark-mask) no-repeat center / contain; mask: var(--mark-mask) no-repeat center / contain; opacity: 0.05; pointer-events: none; z-index: 0; }
.dark .e404::before { opacity: 0.075; }
.e404 > * { position: relative; z-index: 1; }
.e404 .e404-code { display: block; margin-bottom: 1rem; }
.e404 h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -0.038em; line-height: 1.02; color: hsl(var(--fg)); margin-bottom: 2rem; max-width: 26ch; }
.e404 p { color: hsl(var(--muted-fg)); font-size: var(--text-body); margin-bottom: var(--space-lg); }
.e404 .hero-cta { display: flex; justify-content: flex-start; }

/* ─── 7 · Cookie consent — banner + preferences dialog ─── */
.ck-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9000; max-width: 46rem; margin: 0 auto; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; opacity: 0; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s; }
.ck-banner.cb-on { opacity: 1; transform: none; }
.ck-banner[hidden] { display: none; }
@media (min-width: 900px) { .ck-banner { left: auto; right: 1.25rem; bottom: 1.25rem; max-width: 23rem; margin: 0; } .ck-banner .ck-b-inner { flex-direction: column; align-items: flex-start; gap: 0.9rem; } .ck-banner .ck-b-right { width: 100%; justify-content: flex-end; } }
@media (prefers-reduced-motion: reduce) { .ck-banner { transition: none; } }
.ck-b-inner { display: flex; align-items: center; gap: 1rem 1.25rem; flex-wrap: wrap; width: 100%; padding: 1.1rem 1.3rem; }
.ck-b-left { flex: 1; min-width: 14rem; }
.ck-b-title { font-size: 0.95rem; font-weight: 500; line-height: 1.4; color: hsl(var(--fg)); margin: 0 0 0.3rem; font-family: var(--font-display); text-wrap: pretty; }
.ck-for-you { display: none; }
@media (min-width: 1280px) { .ck-for-you { display: inline; } }
.ck-b-links { display: flex; gap: 1rem; }
.ck-b-link { font-size: 0.88rem; font-weight: 500; line-height: 1.35; color: hsl(var(--primary-ink)); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-family: var(--font); background: none; border: 0; padding: 0; text-align: left; }
.ck-b-link:hover { color: hsl(var(--primary-strong)); }
.ck-b-link:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; border-radius: 2px; }
.ck-b-right { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.ck-btn-decline { height: 36px; padding: 0 12px; border-radius: 6px; background: transparent; border: none; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1.35; color: hsl(var(--muted-fg)); white-space: nowrap; font-family: var(--font); transition: color 150ms; }
.ck-btn-decline:hover { color: hsl(var(--fg)); }
.ck-btn-accept { height: 36px; padding: 0 16px; border-radius: 6px; background: transparent; border: 1px solid hsl(var(--primary)); cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.35; color: hsl(var(--primary)); white-space: nowrap; font-family: var(--font); transition: color 150ms, background 150ms; }
.ck-btn-accept:hover { background: hsl(var(--primary)); color: #fff; }
.ck-btn-accept:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
.dark .ck-btn-accept { color: hsl(var(--primary-ink)); border-color: hsl(var(--primary-line)); }
.dark .ck-btn-accept:hover { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: #fff; }
.ck-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(18,26,46,.5); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
@media (pointer: fine) { .ck-overlay { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); } }
.ck-overlay[hidden] { display: none; }
.ck-modal { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 1.1rem; box-shadow: var(--shadow-lg); width: 100%; max-width: 34rem; padding: 1.85rem; max-height: 86vh; overflow: auto; display: flex; flex-direction: column; }
.ck-modal:focus { outline: none; }
.ck-modal-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.025em; color: hsl(var(--fg)); margin: 0 0 0.45rem; }
.ck-modal-desc { font-size: 0.92rem; color: hsl(var(--muted-fg)); margin: 0; line-height: 1.55; }
.ck-prefs { display: flex; flex-direction: column; margin-top: 1.25rem; border-top: 1px solid hsl(var(--border-soft)); }
.ck-pref { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; padding: 1.05rem 0; border-bottom: 1px solid hsl(var(--border-soft)); }
.ck-pref-text { flex: 1; }
.ck-pref-text strong { display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: hsl(var(--fg)); margin-bottom: 0.2rem; }
.ck-pref-text span { font-size: 0.875rem; color: hsl(var(--muted-fg)); line-height: 1.45; }
.ck-toggle { position: relative; display: inline-flex; align-items: center; width: 2.7rem; height: 1.55rem; background: hsl(var(--primary)); border-radius: 999px; flex-shrink: 0; margin-top: 0.15rem; cursor: pointer; transition: background 0.15s; padding: 0 0.18rem; justify-content: flex-end; }
.ck-toggle[aria-checked="false"] { background: hsl(var(--border)); justify-content: flex-start; }
.ck-toggle--locked { background: hsl(var(--primary-line)); cursor: default; pointer-events: none; }
.ck-toggle:focus-visible { outline: 3px solid hsl(var(--primary)); outline-offset: 2px; }
.ck-thumb { width: 1.19rem; height: 1.19rem; background: #fff; border-radius: 50%; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ck-toggle[aria-checked="false"] .ck-thumb svg { display: none; }
.ck-modal-footer { display: flex; align-items: center; gap: 0.6rem; padding-top: 1.5rem; flex-wrap: wrap; }
.ck-f-decline { font-size: var(--text-small); color: hsl(var(--muted-fg)); background: none; border: none; cursor: pointer; padding: 11px 4px; white-space: nowrap; flex-shrink: 0; font-family: var(--font); }
.ck-f-decline:hover { color: hsl(var(--fg)); }
.ck-f-save { flex: 1; font-size: var(--text-small); font-weight: 600; color: hsl(var(--fg)); background: none; border: 1.5px solid hsl(var(--border)); cursor: pointer; padding: 11px 16px; border-radius: var(--radius-xs); font-family: var(--font); }
.ck-f-save:hover { border-color: hsl(var(--faint-fg)); }
.ck-f-accept { flex: 1; font-size: var(--text-small); font-weight: 700; color: hsl(var(--primary)); background: none; border: 1.5px solid hsl(var(--primary)); cursor: pointer; padding: 11px 16px; border-radius: var(--radius-xs); font-family: var(--font); }
.ck-f-accept:hover { background: hsl(var(--primary) / 0.08); }
.dark .ck-f-accept { color: hsl(var(--primary-ink)); border-color: hsl(var(--primary-line)); }
@media (max-width: 560px) {
  .ck-b-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .ck-b-left { width: 100%; text-align: center; }
  .ck-b-links { justify-content: center; }
  .ck-b-right { justify-content: center; gap: 12px; }
  .ck-modal-footer .ck-f-save, .ck-modal-footer .ck-f-accept { flex: 1 1 100%; }
}

/* ─── 8 · Environment — small screens, touch, off-screen skipping, forced colours, print ─── */
@media (max-width: 560px), (pointer: coarse) {
  .ftr-col a, .ftr-col .ftr-link { min-height: 44px; display: flex; align-items: center; }
  .hdr-logo, .ftr-logo { min-height: 44px; line-height: 44px; }
  .ck-b-link, .ck-f-link { min-height: 44px; display: inline-flex; align-items: center; }
  .ck-btn, .ck-f-save, .ck-f-accept, .ck-btn-accept, .ck-btn-decline { min-height: 44px; }
  .theme-btn { min-width: 44px; min-height: 44px; }
}
@media (max-width: 560px) {
  .mk, .faq { padding: 4.5rem var(--gutter); }
  .hdr { gap: 0.5rem; }
  .hdr-logo { font-size: 1.05rem; }
  .hdr-actions { gap: 0.5rem; }
  .hdr .btn-sm { padding: 0 0.9rem; font-size: 0.9rem; }
}
@media (max-width: 380px) {
  .hdr-logo { font-size: 1rem; min-width: 0; }
  @media (max-width: 340px) { .hdr-logo { font-size: 0.9rem; } }
  .hdr-logo span { white-space: nowrap; }
  .hdr .btn-sm { padding: 0 0.75rem; font-size: 0.875rem; flex: none; }
  .hdr .btn-sm .btn-arrow { display: none; }
  .hdr-actions { gap: 0.35rem; }
}
/* Off-screen skipping (content-visibility) was removed 2026-11-12: its guessed section heights made the page change length while scrolling (up to about 215px). These pages are short and text-only; do not reintroduce it. */
/* Windows High Contrast discards backgrounds and border colours; restore the structure they carry. */
@media (forced-colors: active) {
  .divider { background: none; border-top: 1px solid CanvasText; }
  .btn, .theme-btn { border: 1px solid ButtonText; }
  .ck-toggle { forced-color-adjust: none; border: 1px solid ButtonText; }
  .ck-modal, .ck-banner { border: 1px solid CanvasText; }
  .faq-item[open] .faq-chevron { color: Highlight; }
  .hero-watermark, .cta-banner::before, .contact-aside::before, .e404::before { display: none; }
}
@media print {
  .site-header, .site-footer, .theme-btn, .btn, .cta-banner, .ck-banner, .ck-overlay, .skip-link, .hero-watermark, .hs-skeleton, .faq-chevron { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .mk, .faq { content-visibility: visible !important; }
  .faq-item .faq-a { display: block !important; }
  .faq-item::details-content { content-visibility: visible !important; block-size: auto !important; }
  .demo-body { max-height: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; word-break: break-all; }
}

/* Contact page without the promo aside: the form keeps the reading column. */
.contact-solo { display: block; }
.contact-solo .contact-form { max-width: 38rem; }

/* ─── Header nav link + pricing page (added 17 Nov 2026) ─── */
.hdr-nav { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.5rem; font-family: var(--font-display); font-size: var(--text-label); font-weight: 600; letter-spacing: -0.01em; color: hsl(var(--fg)); text-decoration: none; }
.hdr-nav:hover, .hdr-nav[aria-current="page"] { color: hsl(var(--primary-ink)); }
@media (max-width: 639px) { .hdr-nav { display: none; } }

.pricing-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; margin-top: 2.1rem; }
.seg-group { display: inline-flex; gap: 0.25rem; padding: 0.25rem; border-radius: 0.75rem; background: hsl(var(--bg-soft)); border: 1px solid hsl(var(--border)); }
.seg { min-height: 2.75rem; padding: 0 1.1rem; border-radius: 0.55rem; border: 1px solid transparent; background: transparent; color: hsl(var(--muted-fg)); font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; }
.seg[aria-pressed="true"] { background: hsl(var(--card)); border-color: hsl(var(--border)); color: hsl(var(--fg)); }
.seg-note { margin: 0; color: hsl(var(--muted-fg)); font-size: 1rem; }
@media (max-width: 479px) { .seg-group { display: flex; width: 100%; } .seg { flex: 1 1 auto; padding: 0 0.6rem; } }

.plans-section { padding: 3.25rem var(--gutter) 0; }
.plans { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2.75rem; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.25rem; } }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(4, 1fr); gap: 2.25rem; } }
.plan { display: flex; flex-direction: column; border-top: 1px solid hsl(var(--border)); padding-top: 1.1rem; }
.plan-hot { border-top: 2px solid hsl(var(--primary)); padding-top: calc(1.1rem - 1px); }
.plan-badge { display: block; min-height: 1.5rem; font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: hsl(var(--primary-ink)); }
@media (max-width: 639px) { .plan-badge:empty { display: none; } }
.plan h2 { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.plan-audience { margin: 0.35rem 0 1.35rem; color: hsl(var(--muted-fg)); font-size: 1rem; line-height: 1.45; }
@media (min-width: 640px) { .plan-audience { min-height: 2.9em; } }
.plan-price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; min-height: 3.6rem; }
.plan-amount { font-family: var(--font-display); font-size: 2.9rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: hsl(var(--fg)); }
.plan-price-talk .plan-amount { font-size: 2.25rem; }
.plan-unit { color: hsl(var(--muted-fg)); font-size: 1rem; }
.plan-sub { margin: 0.5rem 0 1.35rem; min-height: 1.5em; color: hsl(var(--faint-fg)); font-size: 0.95rem; }
.plan-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; padding: 0.8rem 0; border-top: 1px solid hsl(var(--border)); color: hsl(var(--muted-fg)); font-size: 1rem; }
.plan-row + .plan-row { border-bottom: 1px solid hsl(var(--border)); margin-bottom: 1.35rem; }
.plan-row strong { font-family: var(--font-display); font-weight: 600; color: hsl(var(--fg)); text-align: right; }
.plan-button { margin-top: auto; width: 100%; min-height: 3rem; border-radius: var(--radius-sm); font-size: var(--text-label); }
.plan-button[disabled], .plan-button[disabled]:hover { background: hsl(var(--bg-soft)); color: hsl(var(--muted-fg)); border-color: hsl(var(--border)); cursor: default; transform: none; }
.plan-button-line, .plan-button-line:hover { background: hsl(var(--card)); color: hsl(var(--fg)); border-color: hsl(var(--border)); }
.plan-button-line:hover { background: hsl(var(--bg-soft)); }
.plans-notes { max-width: var(--max-w); margin: 2.1rem auto 0; }
.plans-notes p { max-width: 70ch; margin: 0; color: hsl(var(--muted-fg)); font-size: 0.97rem; line-height: 1.6; }
.plans-notes p + p { margin-top: 0.75rem; }

/* Plan rows line up across plans whatever the text above them (subgrid), and two lines are kept for the price note so the monthly/yearly switch moves nothing. */
@media (min-width: 640px) { .plan-sub { min-height: 3.2em; } }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 640px) {
    .plans { row-gap: 0; }
    .plan { display: grid; grid-template-rows: subgrid; grid-row: span 8; row-gap: 0; padding-bottom: 3rem; }
    .plan-audience { min-height: 0; }
    .plan-button { margin-top: 0; align-self: end; }
  }
  @media (min-width: 900px) { .plan { padding-bottom: 0; } }
}
