/* ProseWealth landing page — implementation of design-reference/ProseWealth Website.dc.html
   Tokens mirror design-reference/prosewealth-design-system/tokens.css.
   Documented deviations from the comp (accessibility, WCAG AA):
   - --pw-ink-550 (#5c6160) replaces #6f7472 for small muted text on paper/wash (4.42:1 → 5.8:1).
   - #9ba09b replaces #6f7472 for definition labels on the ink section (3.71:1 → 6.6:1).
   - --pw-brand-750 (#46682f) replaces #527a3a for the eyebrow on the brand-wash CTA (4.20:1 → 5.4:1).
   - Decorative numerals/marks are aria-hidden in the markup and keep their original ghost colors.
   Design revisions 2-3 (dark hero + dark product showcase):
   - --pw-ink-400 (#8a908c) for tab/caption text on ink surfaces (5.4:1, checked).
   - Phone hero (<=720px): the 62% side image becomes a faint full-bleed backdrop (opacity .28,
     top-down fade) — the design defines no mobile treatment; text contrast stays AA.
   - Radek's overrides of the comp: all data-foundation flow dots ink; footer menu columns
     commented out; the product section's 520vh scroll-driven sticky mode removed (tabs
     switch directly). Photo assets ship as WebP + JPEG (real artwork from his exports). */

/* ---------- Fonts (self-hosted Instrument Sans variable, 400–700) ---------- */

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

/* ---------- Tokens ---------- */

:root {
  /* Ink (text) */
  --pw-ink-950: #17191a;
  --pw-ink-800: #2b2e2f;
  --pw-ink-650: #4b5050;
  --pw-ink-550: #5c6160;   /* a11y deviation: muted text on paper/white */
  --pw-ink-500: #6f7472;   /* original muted — decorative / large use only */
  --pw-ink-400: #8a908c;   /* design rev 2: labels/tabs on ink surfaces (5.4:1 on ink-950) */

  /* Paper (surfaces) */
  --pw-paper-50: #f7f7f2;
  --pw-paper-100: #f0f1ea;
  --pw-surface: #ffffff;
  --pw-line: #d8dbd2;
  --pw-line-strong: #b9beb3;
  --pw-ink-line: #2b2e2f;      /* hairlines on the ink section */
  --pw-ink-label: #9ba09b;     /* a11y deviation: labels on the ink section */

  /* Brand */
  --pw-brand-700: #527a3a;
  --pw-brand-750: #46682f;
  --pw-brand-300: #b8cf6b;
  --pw-brand-wash: #e8eed9;

  /* Semantic */
  --pw-positive: #16705a;
  --pw-negative: #ad4742;
  --pw-warning: #a66e24;
  --pw-info: #3f6474;

  /* Typography */
  --pw-font: 'Instrument Sans', Helvetica, Arial, sans-serif;
  --pw-display: clamp(2.75rem, 5.4vw, 4.9rem);
  --pw-h2-xl: clamp(2rem, 3.2vw, 3.4rem);
  --pw-h2: clamp(1.9rem, 2.8vw, 2.8rem);
  --pw-h3: 18px;
  --pw-body-lg: clamp(1.1rem, 1.35vw, 1.3rem);
  --pw-body: 15.5px;
  --pw-small: 13.5px;
  --pw-caption: 12.5px;
  --pw-label: 12px;

  /* Layout */
  --pw-max-width: 1280px;
  --pw-gutter: clamp(24px, 5vw, 64px);
  --pw-section-xl: clamp(80px, 9vw, 140px);
  --pw-section-lg: clamp(72px, 8vw, 120px);

  /* Shape & elevation */
  --pw-radius-btn: 7px;
  --pw-radius-card: 8px;
  --pw-radius-shot: 10px;
  --pw-shadow-shot: 0 16px 40px rgba(23, 25, 26, .08);

  /* Motion */
  --pw-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pw-t-micro: 180ms;
  --pw-t-component: 320ms;

  /* Header */
  --pw-header-h: 80px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* The palette is deliberate, including the ink sections. Opt out of Chrome's
   forced dark mode ("auto-dark"), whose recoloring turns the subtle hairline
   separators into harsh visible lines (Radek's report, 4 Aug 2026). */
html { color-scheme: only light; }

body {
  margin: 0;
  background: var(--pw-paper-50);
  color: var(--pw-ink-950);
  font-family: var(--pw-font);
  font-size: var(--pw-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--pw-ink-950); text-decoration: none; transition: color var(--pw-t-micro) var(--pw-ease); }
a:hover { color: var(--pw-brand-700); }

h1, h2, h3, p, dl, dd, figure { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }

[id] { scroll-margin-top: calc(var(--pw-header-h) + 24px); }

:focus-visible { outline: 2px solid var(--pw-brand-700); outline-offset: 2px; }
.pw-section--ink :focus-visible { outline-color: var(--pw-brand-300); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--pw-ink-950); color: var(--pw-paper-50);
  padding: 12px 20px; border-radius: 0 0 var(--pw-radius-btn) 0; font-size: 14px;
}
.skip-link:focus-visible { left: 0; color: var(--pw-paper-50); }

/* ---------- Primitives ---------- */

.pw-container {
  max-width: var(--pw-max-width);
  margin: 0 auto;
  padding-left: var(--pw-gutter);
  padding-right: var(--pw-gutter);
}

.pw-display { font-size: var(--pw-display); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; }
.pw-h2 { font-size: var(--pw-h2-xl); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; }
.pw-h2--md { font-size: var(--pw-h2); line-height: 1.1; letter-spacing: -0.032em; }
.pw-h3 { font-size: var(--pw-h3); font-weight: 600; }
.pw-body { font-size: var(--pw-body); line-height: 1.62; color: var(--pw-ink-650); }
.pw-body-lg { font-size: var(--pw-body-lg); line-height: 1.6; color: var(--pw-ink-650); }
.pw-num { font-feature-settings: 'tnum'; }

.pw-eyebrow {
  font-size: var(--pw-label); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pw-brand-700);
}
.pw-eyebrow--muted { color: var(--pw-ink-550); }

/* Buttons — rectangles, never pills */
.pw-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  padding: 15px 26px; border-radius: var(--pw-radius-btn); border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--pw-t-micro) var(--pw-ease), transform var(--pw-t-micro) var(--pw-ease);
}
.pw-btn:active { transform: translateY(1px); }
.pw-btn--primary { background: var(--pw-brand-700); border-color: var(--pw-brand-700); color: #fff; }
.pw-btn--primary:hover { background: var(--pw-brand-750); color: #fff; }
.pw-btn--ink { background: var(--pw-ink-950); border-color: var(--pw-ink-950); color: var(--pw-paper-50); }
.pw-btn--ink:hover { background: var(--pw-ink-800); color: var(--pw-paper-50); }
.pw-btn--nav { font-size: 14px; padding: 13px 22px; }

.pw-link {
  font-size: 14.5px; color: var(--pw-ink-800);
  border-bottom: 1px solid var(--pw-line-strong); padding-bottom: 2px;
  transition: color var(--pw-t-micro) var(--pw-ease), border-color var(--pw-t-micro) var(--pw-ease);
}
.pw-link:hover { color: var(--pw-brand-700); border-bottom-color: var(--pw-brand-700); }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.pw-logo-tile {
  width: 30px; height: 30px; border: 1px solid var(--pw-line-strong); border-radius: 8px;
  background: var(--pw-surface); display: inline-grid; place-items: center;
  font-weight: 800; font-size: 12.5px; letter-spacing: .02em; color: var(--pw-ink-950);
}
.pw-logo-tile--sm { width: 26px; height: 26px; border-radius: 7px; font-size: 11px; }
.pw-wordmark { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.pw-wordmark--sm { font-size: 15.5px; }
.pw-wordmark b { font-weight: 600; color: var(--pw-brand-700); }

/* Signature detail 1 — Source Trace */
.pw-source {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--pw-caption); letter-spacing: .015em; line-height: 1.5; color: var(--pw-ink-550);
}
.pw-source::before { content: ''; flex: none; width: 5px; height: 5px; background: var(--pw-brand-700); }
.pw-source--sm { font-size: 12px; gap: 8px; }
.pw-source--sm::before { width: 4px; height: 4px; }

/* Signature detail 2 — Reconciliation Mark */
.pw-recon { display: inline-block; flex: none; width: 14px; height: 14px; position: relative; top: 4px; }
.pw-recon::before {
  content: ''; position: absolute; left: 0; right: 4px; top: 3px; height: 1.5px;
  background: var(--pw-brand-700);
}
.pw-recon::after {
  content: ''; position: absolute; left: 4px; right: 0; top: 8px; height: 1.5px;
  background: var(--pw-ink-950);
}

/* Signature detail 3 — Wealth Ledger Grid */
.pw-ledger-grid {
  position: absolute; inset: 0; pointer-events: none;
  max-width: var(--pw-max-width); margin: 0 auto;
  background-image: repeating-linear-gradient(90deg, rgba(23, 25, 26, .045) 0 1px, transparent 1px 106px);
  background-position: center top;
}

/* Sections */
.pw-section { border-bottom: 1px solid var(--pw-line); }
.pw-section--white { background: var(--pw-surface); }
.pw-section--ink { background: var(--pw-ink-950); color: var(--pw-paper-100); border-bottom: 1px solid var(--pw-ink-line); }
.pw-section--ink .pw-eyebrow { color: var(--pw-brand-300); }

/* Screenshot frames */
.pw-shot {
  border: 1px solid var(--pw-line); border-radius: var(--pw-radius-shot);
  background: var(--pw-surface); overflow: hidden; box-shadow: var(--pw-shadow-shot);
}
.pw-shot-bar {
  height: 34px; border-bottom: 1px solid var(--pw-line);
  display: flex; align-items: center; padding: 0 14px; gap: 10px;
}
.pw-shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--pw-line); }
.pw-shot-bar span { font-size: 12px; color: var(--pw-ink-550); margin-left: 6px; }
.pw-shot__crop { aspect-ratio: 1690 / 1000; overflow: hidden; }
.pw-shot__crop img { width: 113.6%; max-width: none; margin-left: -13.6%; margin-top: -2.9%; }

/* Ruled definition rows (ink section) */
.pw-ruled-row {
  display: flex; gap: 8px 24px; flex-wrap: wrap; padding: 17px 0;
  border-top: 1px solid var(--pw-ink-line); font-size: 14.5px; line-height: 1.55;
}
.pw-ruled-row:last-child { border-bottom: 1px solid var(--pw-ink-line); }
.pw-ruled-row > dt { flex: none; width: min(200px, 100%); color: var(--pw-ink-label); }
.pw-ruled-row > dd { flex: 1; min-width: 260px; color: var(--pw-paper-100); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 242, .96);
  border-bottom: 1px solid var(--pw-line);
}
@supports (backdrop-filter: blur(6px)) {
  .site-header { backdrop-filter: blur(6px); }
}
.site-header__inner {
  height: var(--pw-header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.site-nav { display: flex; gap: clamp(18px, 3vw, 36px); font-size: 14.5px; }
.site-nav a { color: var(--pw-ink-800); white-space: nowrap; }
.site-nav a:hover { color: var(--pw-brand-700); }

/* ---------- Hero (dark, image-backed — design revision 2) ---------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--pw-ink-950); color: var(--pw-paper-100);
  border-bottom: 1px solid var(--pw-line);
}
.hero__bg {
  position: absolute; top: 0; right: 0; bottom: 0; width: 62%;
  background-image: url(../assets/img/hero-watch.jpg);
  background-image: image-set(url(../assets/img/hero-watch.webp) type('image/webp'), url(../assets/img/hero-watch.jpg) type('image/jpeg'));
  background-size: cover; background-position: center right;
  filter: grayscale(1) contrast(1.02) brightness(.92); opacity: .85;
  -webkit-mask-image: linear-gradient(100deg, transparent 6%, rgba(0, 0, 0, .7) 42%, #000 78%);
  mask-image: linear-gradient(100deg, transparent 6%, rgba(0, 0, 0, .7) 42%, #000 78%);
  pointer-events: none;
}
/* Radek (4 Aug 2026): the watch comes alive. The video layer fills the same
   box with the same cover/center-right geometry as the background image and,
   as a child of .hero__bg, inherits its filter, mask, opacity and responsive
   variants — so still and moving watch align exactly. JS fades it in. */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  opacity: 0; transition: opacity .7s var(--pw-ease);
}
.hero__bg.is-live .hero__video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero .pw-ledger-grid { background-image: repeating-linear-gradient(90deg, rgba(247, 247, 242, .04) 0 1px, transparent 1px 106px); }
.hero__inner {
  position: relative;
  padding-top: clamp(88px, 10vw, 150px);
  padding-bottom: clamp(56px, 6vw, 88px);
}
.hero__content { max-width: 640px; }
.hero__eyebrow { color: var(--pw-brand-300); margin-bottom: 26px; }
.hero h1 { max-width: 13ch; line-height: 1.06; color: var(--pw-paper-50); }
.hero__lede { color: var(--pw-line-strong); max-width: 46ch; margin: clamp(28px, 3vw, 40px) 0 36px; }
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero .pw-link { color: var(--pw-paper-100); border-bottom-color: var(--pw-ink-500); }
.hero .pw-link:hover { color: var(--pw-brand-300); border-bottom-color: var(--pw-brand-300); }
.hero__source { margin-top: 30px; color: var(--pw-ink-label); }
.hero__source::before { background: var(--pw-brand-300); }
.hero :focus-visible { outline-color: var(--pw-brand-300); }

@media (max-width: 720px) {
  /* Full-bleed soft backdrop on phones: the 62% side panel would be a sliver.
     The 16:9 loop frame crops to a narrow band here — 60% centers that band
     on the balance wheel instead of the bezel engraving (advisor, 4 Aug). */
  .hero__bg {
    width: 100%; opacity: .28;
    background-position: 60% center;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 55%, transparent 90%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 55%, transparent 90%);
  }
  .hero__video { object-position: 60% center; }
}

/* ---------- Proof strip ---------- */

.proof { border-bottom: 1px solid var(--pw-line); background: var(--pw-surface); }
.proof__grid {
  padding-top: clamp(36px, 4vw, 52px); padding-bottom: clamp(36px, 4vw, 52px);
  display: grid; grid-template-columns: 180px repeat(4, minmax(180px, 1fr));
  gap: 24px 0; align-items: start;
}
.proof__intro { padding-right: 24px; }
.proof__label { padding-top: 2px; }
.proof__note { font-size: var(--pw-caption); color: var(--pw-ink-550); margin-top: 8px; line-height: 1.55; max-width: 18ch; }
.proof__item { padding: 0 clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--pw-line); }
.proof__num { display: block; font-size: 11.5px; color: var(--pw-line-strong); font-feature-settings: 'tnum'; margin-bottom: 8px; }
.proof__name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.proof__sub { font-size: var(--pw-caption); color: var(--pw-ink-550); margin-top: 5px; }

/* ---------- Value proposition ---------- */

.value__grid {
  padding-top: var(--pw-section-xl); padding-bottom: var(--pw-section-xl);
  display: grid; grid-template-columns: 180px 1fr; gap: 32px;
}
.value__label { padding-top: 10px; }
.value__title { margin-bottom: clamp(48px, 5vw, 72px); max-width: 22ch; }
.value__col h3 { margin-bottom: 12px; }
.value__col .pw-body { font-size: 15px; line-height: 1.6; }
.value__col .pw-source--sm { margin-top: 18px; }

.pw-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.pw-cols > * { padding: 0 36px; border-left: 1px solid var(--pw-line); min-width: 0; }
.pw-cols > :first-child { padding-left: 0; border-left: none; }
.pw-cols > :last-child { padding-right: 0; }

/* ---------- Data foundation ---------- */

.foundation { border-bottom: 1px solid var(--pw-line); }
.foundation__grid {
  padding-top: var(--pw-section-lg); padding-bottom: var(--pw-section-lg);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.foundation__grid .pw-eyebrow { margin-bottom: 18px; }
.foundation__grid h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.03em; }
.flow { font-feature-settings: 'tnum'; }
.flow__row { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--pw-line); }
.flow__row:last-child { border-bottom: 1px solid var(--pw-line); }
.flow__dot { width: 9px; height: 9px; background: var(--pw-ink-950); flex: none; position: relative; top: 1px; }
.flow__name { font-size: 15.5px; font-weight: 600; }
.flow__sub { font-size: var(--pw-small); color: var(--pw-ink-550); margin-top: 4px; }

/* ---------- Product evidence (tabbed showcase; the active screen's title
   leads its panel directly under the eyebrow) ---------- */

.evidence {
  position: relative;
  background: var(--pw-ink-950); color: var(--pw-paper-100);
  border-bottom: 1px solid var(--pw-ink-line);
}
.evidence :focus-visible { outline-color: var(--pw-brand-300); }
.evidence .pw-ledger-grid { background-image: repeating-linear-gradient(90deg, rgba(247, 247, 242, .03) 0 1px, transparent 1px 106px); }
.evidence__stage { position: relative; }
.evidence__inner {
  position: relative;
  padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px);
  display: flex; flex-direction: column; gap: clamp(16px, 2.6vh, 28px);
}

/* The comp's 520vh scroll-driven sticky mode was removed per Radek's review
   (4 Aug 2026): tabs switch screens directly, no scroll hijack. */

/* Segmented tab control */
.evidence__tabbar {
  flex: none; overflow: hidden;
  display: flex; align-items: stretch;
  background: #0d0f10; border: 1px solid rgba(247, 247, 242, .1); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
/* Phone pager arrows: hairline-separated chevrons in the bar's own idiom.
   They appear only once the tab enhancer is live (they need JS) and only on
   phones, where the strip shows two tabs at a time. */
.evidence__tabarrow {
  display: none; flex: none; width: 44px;
  align-items: center; justify-content: center;
  background: none; border: none; padding: 0; cursor: pointer;
  color: #9aa09c; transition: color var(--pw-t-micro) var(--pw-ease);
}
.evidence__tabarrow:hover { color: var(--pw-paper-50); }
.evidence__tabarrow[disabled] { color: rgba(247, 247, 242, .22); cursor: default; }
.evidence__tabarrow--prev { border-right: 1px solid rgba(247, 247, 242, .1); }
.evidence__tabarrow--next { border-left: 1px solid rgba(247, 247, 242, .1); }
/* The strip (tabs + trackbar) scrolls as one unit on narrow screens, so the
   underline always rides with the tab it belongs to. */
.evidence__tabscroll { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.evidence__tabscroll::-webkit-scrollbar { display: none; }
.evidence__tabinner { position: relative; width: max-content; min-width: 100%; }
.pw-tabs { display: flex; flex-wrap: nowrap; }
.pw-tab {
  flex: 1 0 auto; text-align: center;
  font-size: clamp(12px, 1vw, 14px); color: #9aa09c; background: none; border: none;
  padding: 15px 12px; cursor: pointer; white-space: nowrap;
  transition: color var(--pw-t-micro) var(--pw-ease);
}
.pw-tab:hover { color: var(--pw-paper-50); }
.pw-tab[aria-selected="true"] { color: var(--pw-paper-50); font-weight: 600; }
.evidence__trackbar { position: relative; height: 3px; background: rgba(247, 247, 242, .08); }
.evidence__indicator {
  position: absolute; top: 0; left: 0; width: 20%; height: 3px; border-radius: 2px;
  background: var(--pw-brand-300);
  transition: left .18s var(--pw-ease), width .18s var(--pw-ease);
}
@media (max-width: 900px) {
  /* Tablet: tabs take their natural width and the strip scrolls. */
  .pw-tab { flex: 0 0 auto; padding: 13px 18px; font-size: 13px; }
}
/* Stacked product layout (the grid wraps below ~931px): the advisor photo
   becomes a full-width row. Match the box to the photo's own aspect ratio so
   the whole picture is always visible — never a cropped horizontal band
   (Radek, 4 Aug 2026). In the side-by-side layout the column remains a
   full-height portrait crop, which is intended. */
@media (max-width: 930px) {
  .evidence__photo { aspect-ratio: 1448 / 1086; min-height: 0; height: auto; align-self: start; }
}
@media (max-width: 720px) {
  /* Phone: two tabs visible, arrows page between them (JS sets the exact
     half-strip tab width; ellipsis is a last resort on very narrow screens). */
  .evidence.tabs-ready .evidence__tabarrow { display: flex; }
  .pw-tab {
    padding: 13px 6px; font-size: 12px;
    min-width: 0; overflow: hidden; text-overflow: ellipsis;
  }
  .evidence.tabs-ready .evidence__dots { display: flex; }
}

/* Phone page dots under the slideshow: squared ledger dots, the active one
   stretches into a short brand bar (echoes the tab underline). Transparent
   borders keep ~22px touch targets around the 6px marks. */
.evidence__dots { display: none; justify-content: center; gap: 4px; }
.evidence__dot {
  box-sizing: content-box; width: 6px; height: 6px; padding: 0;
  border: 8px solid transparent; border-radius: 5px;
  background: rgba(247, 247, 242, .25); background-clip: padding-box;
  cursor: pointer;
  transition: width .18s var(--pw-ease), background-color .18s var(--pw-ease);
}
.evidence__dot.is-active { width: 18px; background-color: var(--pw-brand-300); background-clip: padding-box; }

/* Until the tab enhancer adds .tabs-ready, hide the controller and stack all panels.
   If js/main.js never runs, every panel stays visible. */
.evidence:not(.tabs-ready) .evidence__tabbar { display: none; }
.evidence:not(.tabs-ready) .evidence__panel + .evidence__panel { margin-top: clamp(40px, 5vw, 64px); }

/* Photo + content grid */
.evidence__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(24px, 4vw, 64px); align-items: stretch;
  flex: 1; min-height: 0;
  /* Horizontal swipes drive the slideshow; vertical stays with the page. */
  touch-action: pan-y;
}
/* While a finger drags the slideshow, clip the panels sliding past the edge. */
.evidence__main.is-swiping { overflow: hidden; }
.evidence__photo {
  position: relative; overflow: hidden; border-radius: 12px;
  border: 1px solid rgba(247, 247, 242, .1); min-height: min(240px, 30vh);
}
.evidence__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evidence__main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.evidence__main .pw-eyebrow { color: var(--pw-brand-300); }
.evidence__h2 {
  font-size: clamp(1.6rem, 3.4vh, 3rem); line-height: 1.06; letter-spacing: -0.038em;
  font-weight: 600; color: var(--pw-paper-50); max-width: 20ch;
}

/* Panels */
.evidence__panel { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.evidence__panel[hidden] { display: none; }
/* Radek (4 Aug 2026): the showcase must not resize while iterating tabs.
   Once tabs are live, all panels share one grid cell so the section sizes to
   the tallest panel; inactive panels stay laid out but invisible, and the
   source line + screenshot anchor to the bottom so they never move. */
.evidence.tabs-ready .evidence__main { display: grid; grid-template-columns: minmax(0, 1fr); }
.evidence.tabs-ready .evidence__main > .pw-eyebrow { grid-row: 1; }
.evidence.tabs-ready .evidence__panel { grid-row: 2; grid-column: 1; }
.evidence.tabs-ready .evidence__panel[hidden] { display: flex; visibility: hidden; }
.evidence.tabs-ready .evidence__src { margin-top: auto; }
.evidence__zoom {
  display: block; width: 100%; padding: 0; text-align: left;
  background: var(--pw-surface); border: 1px solid rgba(247, 247, 242, .16);
  border-radius: var(--pw-radius-shot); overflow: hidden; cursor: zoom-in;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .55), 0 4px 16px rgba(0, 0, 0, .4);
}
.evidence__zoom img { width: 113.6%; max-width: none; margin-left: -13.6%; margin-top: -2.9%; }
.evidence__src { color: var(--pw-ink-400); }
.evidence .pw-source::before { background: var(--pw-brand-300); }
.evidence__minigrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 14px 28px;
}
.evidence__body { font-size: 13.5px; line-height: 1.6; color: var(--pw-line-strong); }
.evidence__points { display: flex; flex-direction: column; gap: 10px; }
.evidence__points li { display: flex; gap: 12px; font-size: 13.5px; line-height: 1.5; color: var(--pw-line); }
/* Radek (4 Aug 2026): a single white dash here, not the two-stroke mark. */
.evidence__points .pw-recon::before { content: none; }
.evidence__points .pw-recon::after { background: var(--pw-paper-100); left: 0; right: 4px; top: 6px; }

/* Screenshot modal (native dialog) */
.shot-modal { border: none; padding: 0; background: transparent; max-width: none; }
.shot-modal::backdrop { background: rgba(13, 15, 16, .88); }
.shot-modal[open] { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shot-modal__img {
  max-width: min(1400px, 94vw); max-height: 82vh; width: auto; height: auto;
  border-radius: 10px; border: 1px solid rgba(247, 247, 242, .2);
  box-shadow: 0 48px 120px rgba(0, 0, 0, .7); background: #fff;
}
.shot-modal__close {
  align-self: flex-end; width: 36px; height: 36px; border-radius: 50%;
  border: none; background: var(--pw-paper-50); color: var(--pw-ink-950);
  font-size: 18px; line-height: 1; cursor: pointer;
}
.shot-modal__source { color: var(--pw-line-strong); }
.shot-modal__source::before { background: var(--pw-brand-300); }

/* Until the tab enhancer adds .tabs-ready, hide the controller and stack all panels.
   If js/main.js never runs, every panel stays visible. */
.evidence:not(.tabs-ready) .pw-tabs { display: none; }
.evidence:not(.tabs-ready) .evidence__panel + .evidence__panel { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Supervised AI ---------- */

.ai { border-bottom: 1px solid var(--pw-line); }
.ai__grid {
  padding-top: var(--pw-section-xl); padding-bottom: var(--pw-section-xl);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.ai__grid .pw-eyebrow { margin-bottom: 18px; }
.ai__grid h2 { margin-bottom: 20px; }
.ai__lede { font-size: 15.5px; margin-bottom: 28px; }
.ai__facts li {
  padding: 14px 0; border-top: 1px solid var(--pw-line);
  font-size: 14.5px; color: var(--pw-ink-800); line-height: 1.55;
}
.ai__facts li:last-child { border-bottom: 1px solid var(--pw-line); }
.ai__facts b { font-weight: 600; }
.ai__facts span { color: var(--pw-ink-650); }

.workflow {
  border: 1px solid var(--pw-line); border-radius: var(--pw-radius-shot);
  background: var(--pw-paper-50); padding: clamp(24px, 3vw, 40px);
}
.workflow__label {
  font-size: var(--pw-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pw-ink-550); margin-bottom: 16px;
}
.workflow__q { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 20px; }
.workflow__answer {
  background: var(--pw-surface); border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius-card); padding: 22px 24px;
}
.workflow__answer > p { font-size: 14.5px; line-height: 1.6; color: var(--pw-ink-800); margin-bottom: 18px; }
.workflow__answer b { font-weight: 600; }
.workflow__sources { border-top: 1px solid var(--pw-line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.workflow__review {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 16px; margin-top: 16px; padding: 12px 18px;
  border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card); background: var(--pw-surface);
}
.workflow__review > p { font-size: var(--pw-small); line-height: 1.5; color: var(--pw-ink-800); }
.workflow__buttons { display: flex; gap: 8px; flex: none; }
.workflow__btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 16px; font-size: 13px; font-weight: 500; line-height: 1;
  border-radius: 6px; background: var(--pw-surface); border: 1px solid var(--pw-line-strong);
  color: var(--pw-ink-650); white-space: nowrap;
}
.workflow__btn--ink { background: var(--pw-ink-950); border-color: var(--pw-ink-950); color: var(--pw-paper-50); }
.workflow__disclaimer { margin-top: 14px; font-size: 12px; color: var(--pw-ink-550); }

/* ---------- Operations ---------- */

.ops { border-bottom: 1px solid var(--pw-line); padding-top: var(--pw-section-lg); padding-bottom: var(--pw-section-lg); }
.ops__head { display: grid; grid-template-columns: 180px 1fr; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.ops__label { padding-top: 8px; }
.ops__head h2 { max-width: 24ch; }
.ops__grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--pw-line); }
.ops__step { padding: 22px 18px; border-left: 1px solid var(--pw-line); border-bottom: 1px solid var(--pw-line); min-width: 0; }
.ops__step:first-child { padding-left: 0; border-left: none; }
.ops__step:last-child { padding-right: 0; }
.ops__kicker { font-size: var(--pw-label); color: var(--pw-ink-550); }
.ops__name { font-size: 15px; font-weight: 600; margin: 8px 0 6px; }
.ops__sub { font-size: 13px; line-height: 1.5; color: var(--pw-ink-650); }

/* ---------- Audiences ---------- */

.aud { padding-top: var(--pw-section-xl); padding-bottom: var(--pw-section-xl); }
.aud .pw-eyebrow { margin-bottom: 18px; }
.aud__title { margin-bottom: clamp(40px, 5vw, 64px); max-width: 20ch; }
.aud__list { border-bottom: 1px solid var(--pw-line); }
.aud__item { border-top: 1px solid var(--pw-line); }
.aud__heading { margin: 0; }
.aud__head {
  display: flex; align-items: center; gap: 20px; width: 100%;
  background: none; border: none; padding: 24px 0; cursor: pointer;
  color: var(--pw-ink-950); text-align: left;
}
.aud__num { font-size: 14px; color: var(--pw-ink-550); width: 44px; flex: none; }
.aud__name { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; flex: 1; }
.aud__sign { font-size: 20px; color: var(--pw-ink-550); font-weight: 400; }
.aud__head:not(:disabled):hover .aud__name { color: var(--pw-brand-700); }

.aud__panel {
  display: grid; grid-template-rows: 1fr;
  transition: grid-template-rows var(--pw-t-component) var(--pw-ease), visibility var(--pw-t-component);
}
.aud__panel-inner { overflow: hidden; min-height: 0; }
.aud__body { max-width: 640px; padding: 0 0 30px 44px; }
.aud__body .pw-body { margin-bottom: 12px; }
.aud__outcome { font-size: var(--pw-small); color: var(--pw-brand-700); font-weight: 500; }

/* Only the enhancer sets [data-closed]; without it every panel stays open
   and the (disabled) buttons show no +/− sign */
.aud__panel[data-closed] { grid-template-rows: 0fr; visibility: hidden; }
.aud:not(.accordion-ready) .aud__sign { display: none; }
.aud__head:disabled { cursor: default; }

/* ---------- Security ---------- */

.security { padding-top: clamp(88px, 10vw, 152px); padding-bottom: clamp(88px, 10vw, 152px); }
.security__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(40px, 6vw, 96px);
}
.security .pw-eyebrow { margin-bottom: 18px; }
.security h2 { margin-bottom: 20px; color: var(--pw-paper-50); }
.security__lede { color: var(--pw-line-strong); }

/* ---------- How to start ---------- */

.start { padding-top: var(--pw-section-xl); padding-bottom: clamp(80px, 9vw, 132px); }
.start__head { display: grid; grid-template-columns: 180px 1fr; gap: 32px; margin-bottom: clamp(40px, 5vw, 60px); }
.start__label { padding-top: 8px; }
.start__head h2 { max-width: 22ch; }
.start__steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.start__step { padding: 0 40px; border-left: 1px solid var(--pw-line); min-width: 0; }
.start__step:first-child { padding-left: 0; border-left: none; }
.start__step:last-child { padding-right: 0; }
.start__num {
  display: block; font-size: clamp(2.6rem, 4vw, 4rem); font-weight: 600;
  letter-spacing: -0.04em; color: var(--pw-line); line-height: 1;
}
.start__name { font-size: 17px; font-weight: 600; margin: 16px 0 8px; }
.start__sub { font-size: 14.5px; line-height: 1.6; color: var(--pw-ink-650); }

/* ---------- Final CTA + demo form ---------- */

.cta { background: var(--pw-brand-wash); border-bottom: 1px solid var(--pw-line); }
.cta__grid {
  padding-top: clamp(88px, 10vw, 148px); padding-bottom: clamp(88px, 10vw, 148px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(48px, 6vw, 96px); align-items: start;
}
.cta__eyebrow { color: var(--pw-brand-750); margin-bottom: 18px; }
.cta__title {
  font-size: clamp(2.1rem, 3.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.038em;
  font-weight: 600; margin-bottom: 18px; max-width: 18ch;
}
.cta__lede { font-size: 16px; max-width: 52ch; }
.cta__note { margin-top: 26px; }

.demo-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form__field { margin-bottom: 16px; }
.demo-form__field label { display: block; font-size: var(--pw-small); font-weight: 600; margin-bottom: 6px; }
.demo-form__field input {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--pw-line-strong); border-radius: var(--pw-radius-btn);
  background: var(--pw-surface); font-size: 15px; color: var(--pw-ink-950);
  transition: border-color var(--pw-t-micro) var(--pw-ease);
}
.demo-form__field input:hover { border-color: var(--pw-ink-500); }
.demo-form__field input:focus-visible { outline-offset: 0; border-color: var(--pw-brand-700); }
.demo-form__field input[aria-invalid="true"] { border-color: var(--pw-negative); }
.demo-form__error { font-size: 13px; color: var(--pw-negative); margin-top: 6px; }
.demo-form__hp {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.demo-form__submit { width: 100%; margin-top: 8px; }
.demo-form__submit[disabled] { opacity: .7; cursor: default; }
.demo-form__privacy { font-size: var(--pw-caption); color: var(--pw-ink-550); margin-top: 14px; line-height: 1.55; }
.demo-form__status { font-size: var(--pw-small); color: var(--pw-negative); margin-top: 10px; line-height: 1.55; }
.demo-form__status:empty { display: none; }

.demo-form__success h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.demo-form__success .pw-body { margin-bottom: 18px; }

/* ---------- Footer ---------- */

.footer { background: var(--pw-paper-50); padding: clamp(56px, 6vw, 80px) 0 40px; }
.footer__grid {
  /* single column while the menu columns are commented out in the markup;
     restore 2fr 1fr 1fr 1fr with them */
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--pw-line);
}
.footer__brand .brand { margin-bottom: 16px; }
.footer__tagline { font-size: var(--pw-small); line-height: 1.6; color: var(--pw-ink-550); max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: var(--pw-small); }
.footer__head {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pw-ink-550); margin-bottom: 4px;
}
.footer__col a { color: var(--pw-ink-800); }
.footer__col a:hover { color: var(--pw-brand-700); }
.footer__legal {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 24px; font-size: var(--pw-caption); color: var(--pw-ink-550);
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .ops__grid { grid-template-columns: repeat(3, 1fr); }
  .ops__step:nth-child(3n + 1) { border-left: none; padding-left: 0; }
  .ops__step { padding-right: 18px; }
  .ops__step:last-child { padding-right: 18px; }
}

@media (max-width: 1000px) {
  .value__grid, .ops__head, .start__head { grid-template-columns: 1fr; gap: 16px; }
  .value__label, .ops__label, .start__label { padding-top: 0; }
  .value__title { margin-bottom: clamp(32px, 6vw, 48px); }
  .pw-cols { grid-template-columns: 1fr; }
  .pw-cols > * { padding: 24px 0; border-left: none; border-top: 1px solid var(--pw-line); }
  .pw-cols > :first-child { padding-top: 0; border-top: none; }
  .pw-cols > :last-child { padding-bottom: 0; }
}

@media (max-width: 900px) {
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__intro { grid-column: 1 / -1; padding-right: 0; }
  .proof__item { border-left: none; border-top: 1px solid var(--pw-line); padding: 16px 0 0; }
  .cta__grid { grid-template-columns: 1fr; }
  .demo-form { max-width: 520px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .site-nav { display: none; }
}

@media (max-width: 700px) {
  .ops__grid { grid-template-columns: 1fr; }
  .ops__step { border-left: none; padding-left: 0; padding-right: 0; }
  .start__steps { grid-template-columns: 1fr; }
  .start__step { padding: 24px 0; border-left: none; border-top: 1px solid var(--pw-line); }
  .start__step:first-child { padding-top: 0; border-top: none; }
  .start__step:last-child { padding-bottom: 0; }
  .aud__body { padding-left: 0; }
}

@media (max-width: 520px) {
  .demo-form__row { grid-template-columns: 1fr; gap: 0; }
  /* Stack label above value: dt at full width forces dd onto its own line
     (dd has flex-basis 0, so lowering its min-width alone would squeeze it
     beside the label instead of wrapping). */
  .pw-ruled-row > dt { width: 100%; }
  .pw-ruled-row > dd { min-width: 0; }
  .workflow__review { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .site-header .pw-wordmark { display: none; }
  .proof__grid { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Cookie consent (banner + preferences dialog) ----------
   Same idiom as the dark instrument surfaces (tab bar, security section):
   #0d0f10 panel, hairline borders, brand-green source square, Instrument
   Sans. Accept and Reject are visually equal by design — no dark patterns.
   Fixed positioning: the banner never shifts page layout. */

.pw-cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 560px; margin-right: auto;
  background: #0d0f10; color: var(--pw-paper-100);
  border: 1px solid rgba(247, 247, 242, .12); border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}
.pw-cookies__inner { padding: 20px 22px 18px; }
.pw-cookies__title {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pw-brand-300); display: flex; align-items: center; gap: 8px;
}
.pw-cookies__title::before {
  content: ''; width: 6px; height: 6px; background: var(--pw-brand-300); flex: none;
}
.pw-cookies__text {
  margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--pw-line);
  max-width: 60ch;
}
.pw-cookies__text a { color: var(--pw-paper-50); text-decoration: underline; text-underline-offset: 2px; }
.pw-cookies__text a:hover { color: var(--pw-brand-300); }
.pw-cookies__actions { margin-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pw-cookies__btn {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  padding: 9px 16px; border-radius: 8px;
  background: var(--pw-paper-50); color: var(--pw-ink-950);
  border: 1px solid var(--pw-paper-50);
  transition: background-color var(--pw-t-micro) var(--pw-ease);
}
.pw-cookies__btn:hover { background: var(--pw-brand-300); border-color: var(--pw-brand-300); }
.pw-cookies__manage {
  font: inherit; font-size: 13px; cursor: pointer; padding: 9px 4px;
  background: none; border: none; color: var(--pw-line);
  text-decoration: underline; text-underline-offset: 3px;
}
.pw-cookies__manage:hover { color: var(--pw-paper-50); }
.pw-cookies :focus-visible { outline-color: var(--pw-brand-300); }

.pw-prefs {
  border: 1px solid rgba(247, 247, 242, .12); border-radius: 12px; padding: 0;
  background: #0d0f10; color: var(--pw-paper-100);
  width: min(520px, calc(100vw - 32px));
  box-shadow: 0 48px 120px rgba(0, 0, 0, .7);
}
.pw-prefs::backdrop { background: rgba(13, 15, 16, .82); }
.pw-prefs__body { padding: 24px 26px; }
.pw-prefs__eyebrow {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pw-brand-300); display: flex; align-items: center; gap: 8px;
}
.pw-prefs__eyebrow::before {
  content: ''; width: 6px; height: 6px; background: var(--pw-brand-300); flex: none;
}
.pw-prefs__title { margin-top: 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--pw-paper-50); }
.pw-prefs__row { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(247, 247, 242, .1); }
.pw-prefs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pw-prefs__name { font-size: 14px; font-weight: 600; color: var(--pw-paper-50); }
.pw-prefs__state { font-size: 12px; color: var(--pw-ink-400); }
.pw-prefs__desc { margin-top: 6px; font-size: 12.5px; line-height: 1.55; color: var(--pw-line); max-width: 56ch; }
.pw-prefs__check {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 20px; height: 20px; border-radius: 5px; cursor: pointer;
  border: 1px solid rgba(247, 247, 242, .35); background: transparent; position: relative;
}
.pw-prefs__check:checked { background: var(--pw-brand-300); border-color: var(--pw-brand-300); }
.pw-prefs__check:checked::after {
  content: ''; position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px; border: solid #0d0f10; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pw-prefs__actions { margin-top: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pw-prefs :focus-visible { outline-color: var(--pw-brand-300); }

/* Footer cookie-settings trigger inherits the footer link look. */
.footer__cookie-btn {
  font: inherit; background: none; border: none; padding: 0; cursor: pointer;
  color: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.footer__cookie-btn:hover { color: var(--pw-brand-700); }

/* ---------- Legal pages (privacy.html, cookies.html) ---------- */

.legal { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); }
.legal__body { max-width: 76ch; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; }
.legal .pw-source { margin-top: 14px; }
.legal h2 { font-size: 1.05rem; font-weight: 600; margin-top: 36px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 14px; line-height: 1.65; color: var(--pw-ink-800); margin-top: 10px; }
.legal ul { padding-left: 18px; margin-top: 6px; }
.legal ul li { list-style: square; margin-top: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--pw-brand-700); }
.legal .pw-placeholder { background: var(--pw-wash, #f1f2ee); border: 1px dashed var(--pw-ink-400); border-radius: 4px; padding: 0 6px; font-size: 13px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 12.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--pw-line); vertical-align: top; line-height: 1.5; }
.legal th { font-weight: 600; white-space: nowrap; }
.legal .legal__tablewrap { overflow-x: auto; }
.legal__meta { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--pw-line); font-size: 12.5px; color: var(--pw-ink-550); }
