/* Cleanfox (independent site) — "Postmark Ledger" design system
   Seed CF-PL-1112-K7 · palette sampled from the owner's supplied artwork (sky blue, fox orange, maroon, white) */

@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(../fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 600; font-display: swap; src: url(../fonts/jetbrains-mono-latin-600-normal.woff2) format('woff2'); }

:root {
  --sky: #34A3EA; --blue: #1468A8; --blue-d: #0F578D; --tint: #EEF7FD; --tint-2: #DCEEFB;
  --orange: #EE7623; --orange-btn: #C2500E; --orange-btn-h: #A9440B; --orange-ink: #B14A0C; --cream: #FFF7F0; --blush: #FCE3D3;
  --maroon: #7E1C1F; --maroon-t: #FDF0EE;
  --ink: #0F2740; --ink-2: #1D3A57; --muted: #4A5B6E; --line: #D9E3EC; --line-2: #E9EFF5; --paper: #FFFFFF;
  /* status: methods */
  --oc: #1A7A49; --oc-bg: #E4F5EB; --web: #1468A8; --web-bg: #E6F2FC; --em: #5E3A9C; --em-bg: #F1EAFA; --bd: #855300; --bd-bg: #FFF3D3; --no: #556070; --no-bg: #EEF1F4;
  --f-head: Poppins, 'Segoe UI', system-ui, sans-serif; --f-body: Inter, 'Segoe UI', system-ui, sans-serif; --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r-s: 8px; --r-m: 14px; --r-l: 22px; --max: 1180px;
  --sh-1: 0 1px 2px rgba(15,39,64,.06), 0 6px 18px -8px rgba(15,39,64,.14);
  --sh-2: 0 2px 4px rgba(15,39,64,.05), 0 22px 48px -22px rgba(15,39,64,.28);
  --airmail: repeating-linear-gradient(-45deg, var(--orange) 0 12px, #fff 12px 20px, var(--sky) 20px 32px, #fff 32px 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--f-body); color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.05rem, 1.25rem + 3.2vw, 3.55rem); font-weight: 700; letter-spacing: -.028em; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
code, kbd, .mono { font-family: var(--f-mono); font-size: .92em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
.lede { font-size: 1.14rem; color: var(--ink-2); max-width: 62ch; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; font: 600 1rem/1 var(--f-body); padding: .92em 1.35em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn--primary { background: var(--orange-btn); color: #fff; }
.btn--primary:hover { background: var(--orange-btn-h); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--quiet { background: var(--tint); color: var(--blue-d); border-color: var(--tint-2); }
.btn--quiet:hover { background: var(--tint-2); color: var(--ink); }
.btn--sm { padding: .62em 1em; font-size: .92rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: .3em 0; font: 600 .98rem var(--f-body); color: var(--blue); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.link-btn:hover { color: var(--blue-d); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head::before { content: ''; display: block; height: 5px; background: var(--airmail); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 1.32rem var(--f-head); letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--orange-btn); font-weight: 600; }
.brand .wm { display: inline; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 8px; position: relative; }
.nav a:hover { background: var(--tint); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--orange); }
.menu-btn { display: none; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 600 .95rem var(--f-body); color: var(--ink); cursor: pointer; }
.menu-btn .bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-btn .bars::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 71px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); display: none; max-height: calc(100vh - 71px); overflow: auto; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 20px 18px; gap: 0; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { left: 0; right: auto; width: 4px; top: 12px; bottom: 12px; height: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 76px) 0 clamp(40px, 6vw, 72px); background:
  radial-gradient(ellipse 70% 60% at 85% 20%, rgba(52,163,234,.14), transparent 70%), radial-gradient(ellipse 50% 50% at 10% 90%, rgba(238,118,35,.08), transparent 70%), linear-gradient(180deg, #fff, var(--tint)); }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero h1 .accent { color: var(--orange-btn); }
.hero-desc { font-size: 1.15rem; color: var(--ink-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; font-family: var(--f-mono); font-size: .9rem; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 0; margin-right: 14px; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts .ic { color: var(--oc); }
.hero-figure { margin: 0; position: relative; }
.hero-figure img { border-radius: var(--r-l); box-shadow: var(--sh-2); width: 100%; }
.fig-label { position: absolute; top: 14px; left: 14px; font: 600 .74rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--muted); padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line); }
.dock { position: relative; margin: -64px 0 0 -36px; width: min(100%, 360px); background: #fff; border-radius: var(--r-m); box-shadow: var(--sh-2); padding: 16px; border: 1px solid var(--line); }
.dock .tray { padding: 16px 14px; }
.dock .tray-title { font-size: 1rem; }
.dock p.dock-note { margin: 10px 2px 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .dock { margin: -40px auto 0; } }

/* ---------- home layout: sticky section index ---------- */
.home-grid { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 48px; }
.sec-index { position: sticky; top: 96px; align-self: start; padding: 28px 0; }
.sec-index p { font: 600 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.sec-index ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.sec-index a { display: flex; gap: 10px; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.3; }
.sec-index a span { font: 600 .8rem var(--f-mono); color: var(--line); color: #9AAABB; }
.sec-index a:hover { color: var(--ink); }
.sec-index a[aria-current="true"] { color: var(--ink); font-weight: 600; border-left-color: var(--orange); }
.sec-index a[aria-current="true"] span { color: var(--orange-ink); }
@media (max-width: 1080px) { .home-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } .sec-index { display: none; } }

.sec { padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line-2); }
.sec:last-child { border-bottom: 0; }
.sec-head { margin-bottom: 28px; max-width: 70ch; }
.sec-head .kicker { display: inline-block; font: 600 .78rem var(--f-mono); letter-spacing: .08em; color: var(--orange-ink); margin-bottom: 10px; }
.sec-head p { color: var(--ink-2); margin: 0; }
.band { position: relative; }
.band::before { content: ''; position: absolute; inset: 0 -100vmax; z-index: -1; }
.band--tint::before { background: var(--tint); }
.band--cream::before { background: var(--cream); }
.band--grid::before { background: radial-gradient(circle, #D6E6F3 1.2px, transparent 1.4px) 0 0 / 22px 22px, #FBFDFF; }

/* ---------- notes / panels ---------- */
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-m); font-size: .98rem; margin: 0 0 18px; }
.note .ic { margin-top: 3px; width: 1.25em; height: 1.25em; }
.note--info { background: var(--tint); color: var(--ink-2); border: 1px solid var(--tint-2); }
.note--info .ic { color: var(--blue); }
.note--calm { background: var(--cream); color: var(--ink-2); border: 1px solid #F6DCC8; }
.note--calm .ic { color: var(--orange-ink); }
.note p:last-child { margin: 0; }
.privacy-line { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-weight: 600; color: var(--oc); font-size: .98rem; }

/* ---------- Unsubscribe Finder workbench ---------- */
.uf-bench { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1); overflow: hidden; }
.uf-bench-top { height: 6px; background: var(--airmail); }
.uf-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.uf-input { padding: clamp(18px, 3vw, 28px); }
.uf-help { padding: clamp(18px, 3vw, 28px); background: #FBFCFE; border-left: 1px solid var(--line-2); }
.uf-help h3 { font-size: 1rem; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
@media (max-width: 860px) { .uf-grid { grid-template-columns: 1fr; } .uf-help { border-left: 0; border-top: 1px solid var(--line-2); } }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--no-bg); border-radius: 12px; margin-bottom: 16px; }
.seg [role="tab"] { border: 0; background: transparent; padding: 9px 14px; border-radius: 9px; font: 600 .92rem var(--f-body); color: var(--muted); cursor: pointer; }
.seg [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15,39,64,.15); }
.seg [role="tab"]:hover { color: var(--ink); }
.tray { position: relative; border: 2.5px dashed #9CC6E8; border-radius: var(--r-l); padding: clamp(22px, 4vw, 38px) 18px; text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(52,163,234,.12), transparent 70%), #fff; transition: border-color .15s, background-color .15s; }
.tray::before { content: ''; position: absolute; inset: 8px; border-radius: 16px; border: 1px solid var(--line-2); pointer-events: none; }
.tray.is-over { border-style: solid; border-color: var(--orange); background: var(--cream); }
.tray-ic { width: 46px; height: 46px; margin: 0 auto 10px; color: var(--blue); }
.tray-title { font: 600 1.15rem var(--f-head); margin: 0 0 4px; }
.tray-hint { font-size: .92rem; color: var(--muted); margin: 0 auto 16px; max-width: 40ch; }
.tray.is-over .tray-title { color: var(--orange-ink); }
.tray.is-over .tray-title::before { content: '↓ '; }
.paste-label { display: block; font-weight: 600; margin-bottom: 6px; }
textarea, input[type="text"], input[type="search"], select { width: 100%; font: 400 .95rem var(--f-body); color: var(--ink); background: #fff; border: 1.5px solid #BFCCD9; border-radius: 10px; padding: 10px 12px; }
textarea { font-family: var(--f-mono); font-size: .84rem; min-height: 190px; resize: vertical; line-height: 1.5; }
textarea:focus, input:focus, select:focus { border-color: var(--blue); outline: 3px solid rgba(20,104,168,.18); outline-offset: 0; }
.uf-opts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 16px; font-size: .93rem; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.how-export details { border-top: 1px solid var(--line-2); }
.how-export details:last-child { border-bottom: 1px solid var(--line-2); }
.how-export summary { cursor: pointer; padding: 11px 2px; font-weight: 600; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.how-export summary::-webkit-details-marker { display: none; }
.how-export summary::after { content: '+'; font: 600 1.1rem var(--f-mono); color: var(--blue); }
.how-export details[open] summary::after { content: '−'; }
.how-export ol { margin: 0 0 12px; font-size: .9rem; color: var(--ink-2); padding-left: 1.2em; }
.how-export li { margin-bottom: 4px; }
.help-foot { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.how-export .tag { font: 600 .72rem var(--f-mono); color: var(--em); background: var(--em-bg); padding: 2px 7px; border-radius: 5px; }

.uf-progress { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-m); background: var(--tint); border: 1px solid var(--tint-2); }
.uf-progress-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.uf-progress progress { flex: 1 1 220px; height: 12px; appearance: none; border: 0; border-radius: 99px; background: #fff; overflow: hidden; }
.uf-progress progress::-webkit-progress-bar { background: #fff; border-radius: 99px; }
.uf-progress progress::-webkit-progress-value { background: linear-gradient(90deg, var(--blue), var(--sky)); border-radius: 99px; }
.uf-progress progress::-moz-progress-bar { background: var(--blue); border-radius: 99px; }
.uf-pct { font: 600 1rem var(--f-mono); min-width: 4ch; }
.uf-phase { margin: 0 0 8px; font-weight: 600; font-size: .95rem; }

.stat-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 22px 0 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff; }
.stat-strip div { padding: 12px 14px; border-right: 1px solid var(--line-2); }
.stat-strip div:last-child { border-right: 0; }
.stat-strip dt { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.stat-strip dd { margin: 2px 0 0; font: 600 1.45rem/1.1 var(--f-mono); color: var(--ink); }
.stat-strip .s-oc dd { color: var(--oc); } .stat-strip .s-none dd { color: var(--no); } .stat-strip .s-err dd { color: var(--maroon); }
@media (max-width: 880px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } .stat-strip div:nth-child(4) { border-right: 0; } .stat-strip div:nth-child(-n+4) { border-bottom: 1px solid var(--line-2); } }
@media (max-width: 480px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } .stat-strip div { border-bottom: 1px solid var(--line-2); } .stat-strip div:nth-child(2n) { border-right: 0; } }

.uf-errors { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-m); background: var(--maroon-t); border: 1px solid #F1CFCB; color: var(--maroon); }
.uf-errors h3 { font-size: 1rem; color: var(--maroon); display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.uf-errors ul { margin: 0; font-size: .93rem; }
.uf-empty { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; margin-top: 22px; padding: 22px; border-radius: var(--r-l); border: 1px dashed var(--line); }
.uf-empty h3 { margin-bottom: 6px; }
.uf-empty ol { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 600px) { .uf-empty { grid-template-columns: 1fr; } .uf-empty img { width: 150px; } }

.uf-results { margin-top: 22px; }
.uf-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; justify-content: space-between; padding: 14px; background: #FBFCFE; border: 1px solid var(--line); border-radius: var(--r-m) var(--r-m) 0 0; }
.uf-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; }
.uf-filters label.f { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.uf-filters input[type="search"] { width: 220px; }
.uf-filters select { width: 170px; }
.uf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.uf-filter-toggle { display: none; }
@media (max-width: 720px) {
  .uf-filter-toggle { display: inline-flex; }
  .uf-filters { display: none; width: 100%; }
  .uf-filters.is-open { display: grid; }
  .uf-filters input[type="search"], .uf-filters select { width: 100%; }
}
.uf-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-top: 0; font-size: .9rem; color: var(--muted); }
.ledger-wrap { border: 1px solid var(--line); border-top: 0; max-height: 640px; overflow: auto; }
.ledger { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.ledger thead th { position: sticky; top: 0; z-index: 2; background: var(--ink); color: #fff; text-align: left; font: 600 .8rem var(--f-body); letter-spacing: .03em; padding: 0; white-space: nowrap; }
.ledger th button { all: unset; display: flex; align-items: center; gap: 6px; padding: 11px 12px; cursor: pointer; width: 100%; box-sizing: border-box; }
.ledger th button:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.ledger th button::after { content: '↕'; opacity: .45; font-family: var(--f-mono); }
.ledger th[aria-sort="ascending"] button::after { content: '↑'; opacity: 1; color: #FFB27A; }
.ledger th[aria-sort="descending"] button::after { content: '↓'; opacity: 1; color: #FFB27A; }
.ledger th.plain { padding: 11px 12px; }
.ledger td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; background: #fff; }
.ledger tbody tr:nth-child(even) td { background: #FAFCFE; }
.ledger tbody tr:hover td { background: var(--tint); }
.c-sel { width: 36px; } .c-sel input { width: 18px; height: 18px; accent-color: var(--blue); }
.sender-name { display: block; font-weight: 600; overflow-wrap: anywhere; }
.sender-addr { display: block; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.c-num { text-align: right; } .c-date { white-space: nowrap; font-size: .85rem; }
.c-subj { max-width: 230px; color: var(--ink-2); overflow-wrap: anywhere; }
.chips, .flags { display: flex; flex-wrap: wrap; gap: 5px; }
.flags { margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; font: 600 .76rem/1.4 var(--f-body); white-space: nowrap; }
.chip .ic { width: 14px; height: 14px; }
.chip--one-click { background: var(--oc-bg); color: var(--oc); } .chip--web { background: var(--web-bg); color: var(--web); }
.chip--email { background: var(--em-bg); color: var(--em); } .chip--body { background: var(--bd-bg); color: var(--bd); } .chip--none { background: var(--no-bg); color: var(--no); }
.flag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 6px; border-radius: 4px; border: 1.5px solid currentColor; font: 600 .74rem/1.45 var(--f-body); background: #fff; }
.flag .ic { width: 13px; height: 13px; }
.flag--http, .flag--mismatch, .flag--spam, .flag--blocked { color: var(--maroon); }
.flag--esp { color: var(--muted); border-style: dashed; }
.blocked-uri { display: block; width: 100%; font-size: .74rem; color: var(--maroon); overflow-wrap: anywhere; }
.row-actions { display: grid; gap: 4px; justify-items: start; }
.act { font-weight: 600; font-size: .86rem; color: var(--blue); white-space: nowrap; }
.c-act { min-width: 190px; }
.c-sender { min-width: 190px; }
.act--btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; font-family: var(--f-body); }
.act .ext { text-decoration: none; }
.uf-pager { display: flex; gap: 10px; align-items: center; justify-content: flex-end; padding: 10px 14px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-m) var(--r-m); font: 600 .88rem var(--f-mono); }
@media (max-width: 720px) {
  .ledger-wrap { max-height: none; border: 0; }
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger tr { position: relative; margin: 12px 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff; box-shadow: var(--sh-1); }
  .ledger td, .ledger tbody tr:nth-child(even) td { border: 0; background: transparent; padding: 6px 14px; }
  .ledger td[data-label]::before { content: attr(data-label); display: block; font: 600 .7rem var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
  .ledger td.c-sender::before { display: none; }
  .ledger .c-sender { padding: 14px 52px 6px 14px; background: #FBFCFE; border-bottom: 1px solid var(--line-2); }
  .ledger .c-sel { position: absolute; top: 12px; right: 4px; width: auto; }
  .ledger .c-num, .ledger .c-date { display: inline-block; width: 50%; text-align: left; }
  .c-subj { max-width: none; }
  .ledger .c-act { padding-bottom: 14px; }
  .uf-pager { border-radius: var(--r-m); border: 1px solid var(--line); }
  .uf-meta { border: 0; padding: 8px 0; }
  .uf-toolbar { border-radius: var(--r-m); }
}

/* ---------- Get Cleanfox: official channel cards (perforated stamp edge) ---------- */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .channels { grid-template-columns: 1fr; } }
.channel { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 6px; padding: 22px 16px 18px 28px; border: 1px solid var(--line);
  -webkit-mask: radial-gradient(circle at 0 12px, transparent 6px, #000 6.5px) 0 0 / 100% 24px repeat-y; mask: radial-gradient(circle at 0 12px, transparent 6px, #000 6.5px) 0 0 / 100% 24px repeat-y; }
.channel::before { content: ''; position: absolute; left: 14px; top: 18px; bottom: 18px; border-left: 2px dashed var(--line); }
.channel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.channel h3 .ic { width: 26px; height: 26px; color: var(--blue); }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 12px; margin: 14px 0 18px; font-size: .84rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--f-mono); font-size: .78rem; overflow-wrap: anywhere; }
.kv dd.nv { color: var(--muted); font-style: italic; font-family: var(--f-body); }
.channel .btn { width: 100%; justify-content: center; margin-top: auto; padding: .8em 1em; font-size: .93rem; }
.src-label { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.indep { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .indep { grid-template-columns: 1fr; } }

/* ---------- What is: tinted info tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.tile { padding: 22px; border-radius: var(--r-m); }
.tile:nth-child(1) { background: var(--tint); } .tile:nth-child(2) { background: var(--cream); } .tile:nth-child(3) { background: #F2F7EF; }
.tile .num { font: 600 .78rem var(--f-mono); color: var(--muted); }
.tile h3 { margin: 6px 0 6px; font-size: 1.08rem; }
.tile p { margin: 0; font-size: .96rem; color: var(--ink-2); }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- How it works: three-path fork + comparison strip ---------- */
.fork { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 64px; margin-top: 10px; }
.fork-origin { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font: 600 .85rem var(--f-mono); padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.fork::before { content: ''; position: absolute; top: 36px; left: 16.66%; right: 16.66%; height: 14px; border: 2px dashed #9AAABB; border-bottom: 0; border-radius: 12px 12px 0 0; }
.fork::after { content: ''; position: absolute; top: 18px; left: 50%; height: 34px; border-left: 2px dashed #9AAABB; }
.path { border-top: 4px solid; padding: 18px 18px 6px; background: #fff; border-radius: 0 0 var(--r-m) var(--r-m); box-shadow: var(--sh-1); }
.path--block { border-color: var(--blue); } .path--delete { border-color: var(--orange); } .path--keep { border-color: var(--oc); }
.path h3 { display: flex; align-items: center; gap: 8px; }
.path p { font-size: .96rem; color: var(--ink-2); }
@media (max-width: 760px) { .fork { grid-template-columns: 1fr; padding-top: 52px; } .fork::before { display: none; } .fork::after { height: 100%; top: 30px; left: 22px; } .fork-origin { left: 0; transform: none; } .path { margin-left: 40px; } }
.strip { margin-top: 34px; display: grid; grid-template-columns: 170px repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; font-size: .93rem; }
.strip .r { display: contents; }
.strip .r > * { padding: 12px 14px; border-bottom: 1px solid var(--line-2); margin: 0; }
.strip .sh { background: var(--ink); color: #fff; font-weight: 600; font-family: var(--f-head); }
.strip .rh { background: #FBFCFE; font-weight: 600; color: var(--ink-2); }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr; } .strip .r:first-child { display: none; } .strip .rh { background: var(--tint); } .strip [data-h]::before { content: attr(data-h); display: block; font: 600 .72rem var(--f-mono); color: var(--orange-ink); text-transform: uppercase; letter-spacing: .05em; } }

/* ---------- Privacy split panel ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.split > div { padding: clamp(20px, 3.5vw, 34px); }
.split-side { background: var(--cream); }
.numlist { list-style: none; counter-reset: n; padding: 0; margin: 0; }
.numlist li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px dashed #EBCDB6; }
.numlist li:last-child { border-bottom: 0; }
.numlist li::before { content: counter(n, decimal-leading-zero); font: 600 1.25rem var(--f-mono); color: var(--orange-ink); }
.numlist strong { display: block; }
.numlist span { font-size: .93rem; color: var(--ink-2); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Search Builder ---------- */
.sb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 0; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); }
.sb-controls { padding: clamp(18px, 3vw, 28px); }
.sb-controls .row { display: grid; gap: 6px; margin-bottom: 14px; }
.sb-controls label.lab { font-weight: 600; font-size: .9rem; }
.sb-output { background: var(--ink); color: #E8F1F9; padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.term { background: #0A1C2F; border: 1px solid #23415F; border-radius: var(--r-m); overflow: hidden; }
.term-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid #23415F; font: 600 .76rem var(--f-mono); color: #9AB3CB; }
.term-bar .dots { display: inline-flex; gap: 6px; } .term-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #2C4A69; }
.term-bar .dots i:first-child { background: var(--orange); }
.term pre { margin: 0; padding: 18px 16px; font: 600 1.02rem/1.55 var(--f-mono); color: #FFFFFF; white-space: pre-wrap; word-break: break-word; min-height: 82px; }
.sb-output.is-na .term pre { color: #FFB27A; }
.sb-output .btn--copy { align-self: flex-start; background: var(--orange-btn); color: #fff; }
.sb-output .btn--copy:hover { background: var(--orange-btn-h); }
.sb-output p, .sb-output li { color: #D5E3F0; font-size: .94rem; }
.sb-output h3 { color: #fff; font-size: .95rem; margin: 4px 0 0; }
.sb-output ol { margin: 0; padding-left: 1.2em; }
.sb-notes p { color: #FFD6B8; font-size: .88rem; margin: 0 0 6px; }
.seg--dark { background: #E7EDF3; }
@media (max-width: 860px) { .sb { grid-template-columns: 1fr; } }

/* ---------- How to use: horizontal numbered track ---------- */
.track { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.track::before { content: ''; position: absolute; left: 24px; right: 24px; top: 24px; border-top: 3px dotted var(--sky); }
.track li { position: relative; }
.track .n { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); font: 600 1.05rem var(--f-mono); color: var(--blue); margin-bottom: 14px; }
.track li:last-child .n { background: var(--orange-btn); border-color: var(--orange-btn); color: #fff; }
.track h3 { font-size: 1.02rem; margin-bottom: 6px; }
.track p { font-size: .93rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .track { grid-template-columns: 1fr; gap: 0; } .track::before { left: 24px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 3px dotted var(--sky); } .track li { display: grid; grid-template-columns: 66px 1fr; padding-bottom: 20px; } .track li > div { padding-top: 10px; } }

/* ---------- Do / Don't ledger ---------- */
.dd { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.dd > div { padding: 0; }
.dd h3 { margin: 0; padding: 14px 18px; font-size: 1.02rem; display: flex; gap: 8px; align-items: center; }
.dd-do h3 { background: var(--oc-bg); color: var(--oc); } .dd-dont h3 { background: var(--maroon-t); color: var(--maroon); }
.dd-dont { border-left: 1px solid var(--line); }
.dd ul { list-style: none; margin: 0; padding: 0; }
.dd li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line-2); font-size: .95rem; background: repeating-linear-gradient(to bottom, transparent 0 100%); }
.dd-do .ic { color: var(--oc); margin-top: 3px; } .dd-dont .ic { color: var(--maroon); margin-top: 3px; }
@media (max-width: 760px) { .dd { grid-template-columns: 1fr; } .dd-dont { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- comparison table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.cmp { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 860px; font-size: .9rem; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.cmp thead th { background: var(--tint); font: 600 .9rem var(--f-head); color: var(--ink); }
.cmp th[scope="row"] { position: sticky; left: 0; z-index: 1; background: #fff; font-weight: 600; min-width: 160px; box-shadow: 1px 0 0 var(--line); }
.cmp thead th:first-child { position: sticky; left: 0; z-index: 2; }
.cmp .us { background: #FFF9F4; }
.cmp thead .us { background: var(--blush); }
.yn { display: grid; grid-template-columns: 15px minmax(0, 1fr); align-items: start; gap: 5px; font-weight: 600; }
.yn .ic { margin-top: 3px; }
.yn .ic { width: 15px; height: 15px; }
.yn--y { color: var(--oc); } .yn--n { color: var(--maroon); } .yn--m { color: var(--bd); }
.cmp-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* ---------- pros / cons ---------- */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pc > div { padding: clamp(20px, 3vw, 30px); }
.pc-pro { background: var(--oc-bg); border-radius: var(--r-l) 0 0 var(--r-l); }
.pc-con { background: var(--ink); color: #E8F1F9; border-radius: 0 var(--r-l) var(--r-l) 0; }
.pc-con h3 { color: #fff; }
.pc ul { list-style: none; padding: 0; margin: 0; }
.pc li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(15,39,64,.1); font-size: .96rem; }
.pc-con li { border-bottom-color: rgba(255,255,255,.12); }
.pc-pro .ic { color: var(--oc); margin-top: 4px; } .pc-con .ic { color: #FFB27A; margin-top: 4px; }
@media (max-width: 760px) { .pc { grid-template-columns: 1fr; } .pc-pro { border-radius: var(--r-l) var(--r-l) 0 0; } .pc-con { border-radius: 0 0 var(--r-l) var(--r-l); } }

/* ---------- FAQ ---------- */
.faq-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
@media (max-width: 860px) { .faq-groups { grid-template-columns: 1fr; } }
.faq-group h3 { font: 600 .8rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); margin: 18px 0 6px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; font: 600 1.02rem/1.35 var(--f-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--blue); background: linear-gradient(var(--blue), var(--blue)) center / 10px 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 10px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { background: linear-gradient(var(--blue), var(--blue)) center / 10px 2px no-repeat; transform: rotate(180deg); }
.faq .ans { padding: 0 0 16px; color: var(--ink-2); font-size: .98rem; }
.faq .ans p:last-child { margin: 0; }

/* ---------- final CTA band ---------- */
.cta-band { position: relative; background: var(--blue); color: #fff; padding: clamp(46px, 7vw, 80px) 0; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; left: 0; right: 0; height: 8px; background: var(--airmail); }
.cta-band::before { top: 0; } .cta-band::after { bottom: 0; }
.cta-inner { display: grid; grid-template-columns: 1.3fr auto; gap: 26px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #DCEEFB; margin: 0; }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--blue-d); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.postmark-deco { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); }
.postmark-deco::after { content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.2); }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(30px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); background: linear-gradient(180deg, var(--tint), #fff); border-bottom: 1px solid var(--line-2); }
.page-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); max-width: 22ch; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #9AAABB; }
.crumbs a { color: var(--muted); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.page-body { padding: clamp(32px, 5vw, 60px) 0; }
.page-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .page-cols { grid-template-columns: 1fr; } }
.side-card { position: sticky; top: 96px; padding: 20px; border-radius: var(--r-m); background: var(--cream); border: 1px solid #F6DCC8; font-size: .93rem; }
.side-card h2 { font-size: 1rem; }

/* guides archive */
.g-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.g-card { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.g-card:nth-child(-n+2), .g-card:nth-child(n+9) { grid-column: span 3; }
.g-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); color: var(--ink); }
.g-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line-2); }
.g-card .g-body { padding: 16px 18px 20px; }
.g-meta { font: 600 .76rem var(--f-mono); color: var(--orange-ink); letter-spacing: .03em; }
.g-card h2, .g-card h3 { font-size: 1.12rem; margin: 6px 0 6px; }
.g-card:nth-child(-n+2) h2 { font-size: 1.32rem; }
.g-card p { font-size: .93rem; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) { .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-card, .g-card:nth-child(-n+2), .g-card:nth-child(n+9) { grid-column: span 1; } }
@media (max-width: 620px) { .g-grid { grid-template-columns: 1fr; } }

/* guide page */
.g-summary { font-size: 1.13rem; color: var(--ink-2); max-width: 64ch; }
.g-metarow { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 .84rem var(--f-mono); color: var(--muted); margin-top: 14px; }
.g-metarow span { display: inline-flex; align-items: center; gap: 6px; }
.g-feature { margin: 28px 0 0; }
.g-feature img { border-radius: var(--r-l); border: 1px solid var(--line); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.g-feature figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.g-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; padding: 16px 0; font-size: .9rem; }
.toc p { font: 600 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding: 0 0 0 1.2em; color: var(--muted); }
.toc li { margin: 0 0 8px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 960px) { .g-layout { grid-template-columns: 1fr; gap: 10px; } .toc { position: static; background: #FBFCFE; border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; } }
.code { position: relative; margin: 1em 0 1.4em; background: var(--ink); border-radius: var(--r-m); overflow: hidden; }
.code pre { margin: 0; padding: 16px 18px; color: #fff; font: 600 .92rem/1.6 var(--f-mono); white-space: pre-wrap; word-break: break-word; }
.code .copy { position: absolute; top: 8px; right: 8px; background: #23415F; color: #fff; border: 0; border-radius: 7px; padding: 6px 10px; font: 600 .78rem var(--f-body); cursor: pointer; }
.code .copy:hover { background: var(--orange-btn); }
.caution { margin: 1.4em 0; padding: 16px 18px 16px 20px; border-radius: var(--r-m); background: var(--cream); border: 1px solid #F6DCC8; border-left: 5px solid var(--orange); }
.caution h3, .caution strong.t { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; font: 600 1rem var(--f-head); color: var(--orange-ink); }
.caution p:last-child, .caution ul:last-child { margin-bottom: 0; }
.src-list { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.2em; padding-top: 1em; }
.src-list ul { padding-left: 1.1em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.prose th { background: var(--tint); }
.prose .tbl { overflow-x: auto; }

/* sitemap page */
.sm-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.sm-cols ul { padding-left: 1.1em; }
@media (max-width: 760px) { .sm-cols { grid-template-columns: 1fr; } }

/* 404 */
.nf { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.nf .big { font: 700 clamp(4rem, 12vw, 8rem)/1 var(--f-mono); color: var(--tint-2); -webkit-text-stroke: 2px var(--blue); }

/* ---------- footer ---------- */
.site-foot { background: #0B1F33; color: #C4D3E2; margin-top: 0; }
.site-foot::before { content: ''; display: block; height: 6px; background: var(--airmail); }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.6fr; gap: 36px; padding: 54px 0 40px; }
.site-foot h2 { font: 600 .78rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; font-size: .93rem; }
.site-foot a { color: #C4D3E2; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-brand .brand { color: #fff; }
.foot-brand .brand b { color: #FFB27A; }
.foot-brand p { font-size: .93rem; margin-top: 14px; max-width: 34ch; }
.foot-guides ul { columns: 2; column-gap: 24px; }
.foot-guides li { break-inside: avoid; }
.foot-bottom { border-top: 1px solid #22405E; padding: 18px 0 26px; font-size: .88rem; text-align: center; }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: #fff; text-decoration: underline; }
.foot-bottom small { display: block; margin-top: 4px; font-size: .8rem; color: #93A9BF; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand, .foot-guides { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-guides ul { columns: 1; } }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.ledger tbody tr { animation: rowIn .35s ease both; }
@keyframes rowIn { from { opacity: 0; } to { opacity: 1; } }
.tray.is-over .tray-ic { animation: drop .6s ease infinite alternate; }
@keyframes drop { to { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- print: results only ---------- */
@media print {
  .site-head, .site-foot, .sec-index, .hero, .uf-input, .uf-help, .uf-toolbar, .uf-pager, .c-sel, .row-actions, .cta-band, .note, .uf-grid, .privacy-line, .sec:not(#finder), .sec-head p, .page-head p { display: none !important; }
  body { font-size: 10pt; }
  .ledger-wrap { max-height: none; overflow: visible; border: 0; }
  .ledger thead th { position: static; background: #fff; color: #000; border-bottom: 2px solid #000; }
  .ledger td { padding: 4px 6px; }
  .chip, .flag { border: 1px solid #000; background: #fff !important; color: #000 !important; clip-path: none; }
  .uf-bench { border: 0; box-shadow: none; }
}
main { overflow-x: clip; }

/* ---------- v1.1: centred single-column layout (no section index, no guide TOC) ---------- */
.home-main { max-width: 1080px; }
.sec { border-bottom: 0; }
.sec-head { margin: 0 auto 36px; text-align: center; max-width: 720px; }
.sec-head p { margin-inline: auto; }
.sec-head .kicker { background: var(--tint); color: var(--blue-d); padding: 5px 12px; border-radius: 999px; }
.band--cream .sec-head .kicker { background: #fff; }
.band--tint .sec-head .kicker { background: #fff; }
.sec + .sec:not(.band)::before { content: ''; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--airmail); margin: 0 auto clamp(40px, 6vw, 70px); opacity: .9; }
.band { padding-inline: 0; }
.uf, .sb, .split, .dd, .pc, .track, .tiles, .channels, .indep, .table-scroll, .fork, .strip, .faq-groups { margin-inline: auto; }
.track { max-width: 1000px; text-align: center; }
.track .n { margin-inline: auto; }
@media (max-width: 860px) { .track { text-align: left; } .track .n { margin-inline: 0; } }
.track::before { left: 10%; right: 10%; }
.tile { text-align: left; }
.faq-groups { max-width: 1000px; }
.cmp-note { text-align: center; }
.hero-grid { align-items: center; }
/* inner pages centred */
.page-head { text-align: center; }
.page-head h1, .page-head .lede, .page-head .g-summary { margin-inline: auto; }
.crumbs ol, .g-metarow { justify-content: center; }
.g-layout { display: block; max-width: 760px; margin-inline: auto; }
.g-feature { max-width: 1000px; margin-inline: auto; }
.page-body > .prose { margin-inline: auto; }
.page-cols { max-width: 1080px; margin-inline: auto; margin-top: 48px; }
.sm-cols { text-align: left; }

/* =================== v1.2 — distinct sections, colour, motion =================== */

/* ---------- HERO v2: night-sky sorting office ---------- */
.hero--v2 { background: radial-gradient(ellipse 60% 70% at 85% 30%, rgba(52,163,234,.35), transparent 65%), radial-gradient(ellipse 45% 55% at 5% 95%, rgba(238,118,35,.28), transparent 70%), linear-gradient(160deg, #0B1F33 0%, #12385C 55%, #1468A8 120%); color: #DCEBF7; padding: clamp(46px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero--v2::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--airmail); z-index: 2; }
.hero--v2 h1 { color: #fff; max-width: 14ch; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem); }
.hero--v2 h1 .accent { color: #FFB27A; }
.hero--v2 h1 .hl { background: linear-gradient(90deg, #fff, #9AD2F6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero--v2 .hero-desc { color: #C9DCEC; }
.hero--v2 .facts { color: #E6F1FA; }
.hero--v2 .facts li { border-color: rgba(255,255,255,.2); }
.hero--v2 .facts .ic { color: #5FD39B; }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--glow { position: relative; overflow: hidden; box-shadow: 0 10px 30px -10px rgba(238,118,35,.8); }
.btn--glow::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.hero-sky i { position: absolute; width: 34px; height: 23px; border: 2px solid rgba(255,255,255,.18); border-radius: 4px; animation: drift 14s linear infinite; }
.hero-sky i::after { content: ''; position: absolute; left: 3px; right: 3px; top: 2px; height: 11px; border-bottom: 2px solid rgba(255,178,122,.35); border-right: 2px solid rgba(255,178,122,.35); transform: skewY(0); clip-path: polygon(0 0, 100% 0, 50% 100%); background: rgba(255,178,122,.12); }
.hero-sky i:nth-child(1) { left: 6%; top: 18%; animation-duration: 16s; }
.hero-sky i:nth-child(2) { left: 42%; top: 8%; animation-duration: 19s; animation-delay: -6s; transform: scale(.7); }
.hero-sky i:nth-child(3) { left: 30%; top: 78%; animation-duration: 13s; animation-delay: -3s; }
.hero-sky i:nth-child(4) { left: 58%; top: 88%; animation-duration: 21s; animation-delay: -9s; }
.hero-sky i:nth-child(5) { left: 92%; top: 12%; animation-duration: 17s; animation-delay: -4s; }
.hero-sky i:nth-child(6) { left: 15%; top: 55%; animation-duration: 23s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) rotate(-8deg); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(60px, -90px) rotate(10deg); opacity: 0; } }
.hero-stage { position: relative; }
.stage-card { position: relative; margin: 0; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.18); border-radius: 26px; padding: 18px 14px 10px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.stage-card .fig-label { background: rgba(11,31,51,.7); color: #9AB3CB; border-color: rgba(255,255,255,.2); }
.sorter { width: 100%; height: auto; overflow: visible; }
.sorter .lane { fill: none; stroke: rgba(154,210,246,.45); stroke-width: 2.5; stroke-dasharray: 7 8; animation: dash 1.2s linear infinite; }
.sorter .lane--keep { stroke: rgba(95,211,155,.6); } .sorter .lane--out { stroke: rgba(255,178,122,.65); }
@keyframes dash { to { stroke-dashoffset: -30; } }
.sorter .tl { font: 700 13px var(--f-mono); letter-spacing: .08em; } .tl--k { fill: #5FD39B; } .tl--u { fill: #FFB27A; }
.sorter .pm-t { font: 700 10px var(--f-mono); fill: #FFB27A; } .sorter .pm-s { font: 600 8px var(--f-mono); fill: #FFD6B8; }
.sorter .pm { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(150px, 62px); } }
.sorter .scan { animation: scan 1.8s ease-in-out infinite alternate; }
@keyframes scan { to { transform: translateY(110px); } }
.sorter .mv { opacity: 0; animation: 6.4s ease-in-out infinite; }
.sorter .mv1, .sorter .mv3 { animation-name: toKeep; } .sorter .mv2, .sorter .mv4 { animation-name: toOut; }
.sorter .mv2 { animation-delay: 1.6s; } .sorter .mv3 { animation-delay: 3.2s; } .sorter .mv4 { animation-delay: 4.8s; }
@keyframes toKeep { 0% { transform: translate(70px, 200px) scale(.9); opacity: 0; } 8% { opacity: 1; } 35% { transform: translate(225px, 200px) scale(.9); } 45% { transform: translate(300px, 200px) scale(.6); opacity: 1; } 75% { transform: translate(455px, 112px) scale(.85) rotate(-6deg); opacity: 1; } 90%, 100% { transform: translate(455px, 125px) scale(.85) rotate(-6deg); opacity: 0; } }
@keyframes toOut { 0% { transform: translate(70px, 200px) scale(.9); opacity: 0; } 8% { opacity: 1; } 35% { transform: translate(225px, 200px) scale(.9); } 45% { transform: translate(300px, 200px) scale(.6); opacity: 1; } 75% { transform: translate(455px, 292px) scale(.85) rotate(6deg); opacity: 1; } 90%, 100% { transform: translate(455px, 305px) scale(.85) rotate(6deg); opacity: 0; } }
.float-card { position: absolute; z-index: 3; background: #fff; border-radius: 12px; padding: 8px 10px; box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); animation: floaty 6s ease-in-out infinite; }
.fc1 { top: -16px; right: 8%; } .fc2 { top: 46%; left: -26px; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.hero--v2 .dock { margin: -46px 0 0 auto; margin-right: 6%; position: relative; z-index: 4; }
.hero--v2 .dock-note { display: flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .fc2 { left: 6px; } .hero--v2 .dock { margin: -30px auto 0; } }

/* ---------- 01 Finder: glow stage ---------- */
#finder .uf-bench { box-shadow: 0 30px 60px -36px rgba(20,104,168,.55), 0 0 0 6px rgba(52,163,234,.08); }
#finder .sec-head .kicker { background: var(--orange-btn); color: #fff; }

/* ---------- 02 Get Cleanfox: colour-coded tickets ---------- */
.channel { -webkit-mask: none; mask: none; border: 0; border-radius: 18px; padding: 0 0 18px; box-shadow: var(--sh-1); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.channel::before { display: none; }
.channel:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--sh-2); }
.channel h3 { margin: 0; padding: 18px 20px; color: #fff; position: relative; }
.channel h3 .ic { color: #fff; }
.channel h3::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 14px; background: radial-gradient(circle at 7px 0, transparent 6px, #fff 6.5px) 0 0 / 14px 14px repeat-x; }
.channel--apple h3 { background: linear-gradient(120deg, #0F2740, #1468A8); }
.channel--play h3 { background: linear-gradient(120deg, #13603A, #1A7A49 60%, #2E9E64); }
.channel--web h3 { background: linear-gradient(120deg, #A9440B, #EE7623); }
.channel .kv, .channel .btn, .channel .src-label { margin-left: 20px; margin-right: 20px; width: auto; }
.channel .kv { margin-top: 20px; }

/* ---------- 03 What is: solid colour tiles ---------- */
.sec--what .tiles { gap: 18px; }
.sec--what .tile { position: relative; padding: 26px 24px 24px; border-radius: 22px; color: #fff; overflow: hidden; transition: transform .3s; }
.sec--what .tile:hover { transform: translateY(-6px); }
.sec--what .tile::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.3); }
.sec--what .tile:nth-child(1) { background: linear-gradient(150deg, #1468A8, #34A3EA); }
.sec--what .tile:nth-child(2) { background: linear-gradient(150deg, #C2500E, #EE7623); }
.sec--what .tile:nth-child(3) { background: linear-gradient(150deg, #5E1416, #7E1C1F 55%, #A8383B); }
.sec--what .tile h3, .sec--what .tile p { color: #fff; } .sec--what .tile .num { color: rgba(255,255,255,.75); }
.t-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); margin-bottom: 14px; }
.t-ic .ic { width: 24px; height: 24px; color: #fff; }

/* ---------- 04 How it works: sky band, badge paths ---------- */
.band--sky::before { background: linear-gradient(180deg, #EAF5FE, #F6FBFF); }
.path { border-top: 0; border-radius: 20px; text-align: center; padding: 26px 20px 12px; background: #fff; transition: transform .25s; }
.path:hover { transform: translateY(-4px); }
.path h3 { flex-direction: column; justify-content: center; }
.path h3 .ic { width: 54px; height: 54px; padding: 13px; border-radius: 50%; color: #fff; margin-bottom: 4px; }
.path--block h3 .ic { background: var(--blue); } .path--delete h3 .ic { background: var(--orange-btn); } .path--keep h3 .ic { background: var(--oc); }
.path--block { box-shadow: 0 12px 28px -18px var(--blue); } .path--delete { box-shadow: 0 12px 28px -18px var(--orange); } .path--keep { box-shadow: 0 12px 28px -18px var(--oc); }
.strip { border: 0; box-shadow: var(--sh-1); border-radius: 18px; background: #fff; }
.strip .r:first-child .sh:nth-child(2) { background: var(--blue); } .strip .r:first-child .sh:nth-child(3) { background: var(--oc); } .strip .r:first-child .sh:nth-child(4) { background: var(--maroon); }

/* ---------- 05 Privacy: open text + timeline card ---------- */
.sec--privacy .split { border: 0; background: transparent; gap: 34px; overflow: visible; }
.sec--privacy .split > div:first-child { padding: 0; }
.sec--privacy .split > div:first-child h3 { font-size: 1.4rem; }
.sec--privacy .split > div:first-child h3::after { content: ''; display: block; width: 54px; height: 4px; margin-top: 10px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--sky)); }
.sec--privacy .split-side { border-radius: 26px; background: linear-gradient(170deg, #FFF3E8, #FFE4D1); box-shadow: 0 24px 50px -32px rgba(194,80,14,.6); }
.numlist li::before { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange-btn); color: #fff; font-size: .9rem; }

/* ---------- 06 Search Builder: navy band ---------- */
.band--navy::before { background: radial-gradient(ellipse 50% 60% at 90% 10%, rgba(52,163,234,.35), transparent 70%), linear-gradient(160deg, #0B1F33, #12385C); }
.band--navy .sec-head h2 { color: #fff; } .band--navy .sec-head p { color: #C9DCEC; }
.band--navy .sec-head .kicker { background: rgba(255,178,122,.15); color: #FFB27A; }
.band--navy .sb { border: 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.band--navy .sb-output { background: linear-gradient(170deg, #12385C, #0F2740); }

/* ---------- 07 Track: gradient rail ---------- */
.sec--track .track::before { border: 0; height: 4px; top: 27px; background: linear-gradient(90deg, var(--sky), var(--orange)); background-size: 200% 100%; animation: rail 4s linear infinite; border-radius: 4px; }
@keyframes rail { to { background-position: -200% 0; } }
.sec--track .track .n { width: 58px; height: 58px; border: 0; color: #fff; background: linear-gradient(140deg, var(--blue), var(--sky)); box-shadow: 0 10px 22px -10px var(--blue); font-size: 1.1rem; }
.sec--track .track li:nth-child(2) .n { background: linear-gradient(140deg, #1A7A49, #2E9E64); }
.sec--track .track li:nth-child(3) .n { background: linear-gradient(140deg, #5E3A9C, #8A63C9); }
.sec--track .track li:nth-child(4) .n { background: linear-gradient(140deg, #7E1C1F, #B04447); }
.sec--track .track li:last-child .n { background: linear-gradient(140deg, var(--orange-btn), var(--orange)); }
@media (max-width: 860px) { .sec--track .track::before { width: 4px; height: auto; left: 27px; top: 10px; bottom: 10px; background: linear-gradient(180deg, var(--sky), var(--orange)); } }

/* ---------- 08 Do/Don't: two separate tilted cards on mint band ---------- */
.band--mint::before { background: linear-gradient(180deg, #F1FAF5, #FFF7F2); }
.dd { border: 0; gap: 26px; overflow: visible; }
.dd > div { border-radius: 22px; overflow: hidden; background: #fff; transition: transform .3s; }
.dd-do { transform: rotate(-.8deg); box-shadow: 0 22px 44px -28px rgba(26,122,73,.7); border: 2px solid #BFE6CF; }
.dd-dont { transform: rotate(.8deg); box-shadow: 0 22px 44px -28px rgba(126,28,31,.6); border: 2px solid #F1CFCB !important; }
.dd > div:hover { transform: rotate(0) translateY(-4px); }
.dd h3 { font-size: 1.15rem; padding: 18px 22px; }
.dd-do h3 { background: linear-gradient(90deg, #1A7A49, #2E9E64); color: #fff; } .dd-dont h3 { background: linear-gradient(90deg, #7E1C1F, #B04447); color: #fff; }
.dd h3 .ic { color: #fff !important; }
.dd li { border-top-style: dashed; }

/* ---------- 09 Comparison: highlighted column ---------- */
#compare .table-scroll { border: 0; border-radius: 18px; box-shadow: var(--sh-2); }
#compare .cmp thead th { background: var(--ink); color: #fff; }
#compare .cmp thead th:first-child { background: var(--ink); }
#compare .cmp thead .us { background: linear-gradient(140deg, var(--orange-btn), var(--orange)); color: #fff; }
#compare .cmp tbody tr:hover td, #compare .cmp tbody tr:hover th { background: #F3F9FE; }
#compare .cmp .us { background: #FFF4EA; font-weight: 600; }

/* ---------- 10 Pros/cons: VS split ---------- */
.sec--pc .pc { position: relative; gap: 0; }
.sec--pc .vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(140deg, var(--orange-btn), var(--orange)); color: #fff; font: 700 1.1rem var(--f-head); box-shadow: 0 0 0 8px #fff, 0 14px 30px -10px rgba(194,80,14,.7); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: translate(-50%, -50%) scale(1.08); } }
.sec--pc .pc-pro { background: linear-gradient(160deg, #E4F5EB, #CBEBD9); padding-right: 50px; }
.sec--pc .pc-con { background: linear-gradient(160deg, #0F2740, #12385C); padding-left: 50px; }
@media (max-width: 760px) { .sec--pc .vs { top: auto; bottom: auto; position: relative; left: auto; transform: none; margin: -32px auto; grid-row: 2; } .sec--pc .pc-pro, .sec--pc .pc-con { padding: 26px; } .sec--pc .pc-con { padding-top: 46px; } @keyframes pulse { 50% { transform: scale(1.08); } } }

/* ---------- 11 FAQ: floating pill cards on warm band ---------- */
.band--cream2::before { background: linear-gradient(180deg, #FFF8F2, #FFFFFF); }
.faq details { border: 0; background: #fff; border-radius: 16px; margin-bottom: 10px; padding: 0 18px; box-shadow: 0 6px 18px -12px rgba(15,39,64,.35); border-left: 4px solid var(--sky); transition: box-shadow .2s, transform .2s; }
.faq details:hover { transform: translateX(3px); }
.faq details[open] { border-left-color: var(--orange); box-shadow: 0 14px 30px -16px rgba(15,39,64,.4); }
.faq-group h3 { display: inline-block; background: var(--ink); color: #fff; padding: 5px 12px; border-radius: 999px; margin: 22px 0 12px; }

/* ---------- CTA: animated gradient ---------- */
.cta-band { background: linear-gradient(120deg, #0F578D, #1468A8, #34A3EA, #1468A8); background-size: 300% 100%; animation: sweep 12s ease-in-out infinite alternate; }
@keyframes sweep { to { background-position: 100% 0; } }
.postmark-deco { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* separators only between plain sections */
.sec + .sec:not(.band)::before { display: none; }
.sec:not(.band) + .sec:not(.band) { border-top: 1px solid var(--line-2); }

@media (prefers-reduced-motion: reduce) {
  .sorter .mv { opacity: 1; } .sorter .mv1 { transform: translate(455px, 112px) scale(.85); } .sorter .mv2 { transform: translate(455px, 292px) scale(.85); } .sorter .mv3, .sorter .mv4 { display: none; }
  .hero-sky { display: none; }
  .dd-do, .dd-dont { transform: none; }
}
.hero--v2 .dock { color: var(--ink); }
.hero--v2 .dock .tray-title { color: var(--ink); }
.hero--v2 .dock-note { color: var(--muted); }
.sorter .tl { font-size: 11px; }
.fc2 { top: auto; bottom: 120px; left: -30px; }
.hero-sky i { border-color: rgba(255,255,255,.12); }
.hero-sky i:nth-child(3) { left: 52%; top: 80%; }
.hero-sky i:nth-child(6) { left: 3%; top: 90%; }
.hero-sky i:nth-child(1) { left: 2%; top: 6%; }
@media (max-width: 900px) { .fc2 { left: 8px; bottom: 140px; } .fc1 { right: 8px; } }

/* =================== v1.3 footer + scroll-to-top =================== */
.site-foot--v2 { position: relative; overflow: hidden; background: radial-gradient(ellipse 50% 60% at 100% 0%, rgba(52,163,234,.28), transparent 70%), radial-gradient(ellipse 40% 50% at 0% 100%, rgba(238,118,35,.22), transparent 70%), linear-gradient(170deg, #0B1F33, #0F2D4A 60%, #12385C); color: #C4D3E2; padding-top: clamp(50px, 7vw, 80px); }
.site-foot--v2::before { position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.foot-mark { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); font: 700 clamp(5rem, 18vw, 15rem)/1 var(--f-head); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); white-space: nowrap; pointer-events: none; user-select: none; }
.foot-card { position: relative; display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.7fr; gap: 34px; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.8); }
.foot-card::before { content: ''; position: absolute; left: 30px; right: 30px; top: -1px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--orange), #FFB27A, var(--sky), var(--orange)); background-size: 200% 100%; animation: rail 6s linear infinite; }
.site-foot--v2 .brand { font-size: 1.5rem; color: #fff; }
.site-foot--v2 .brand img { width: 44px; height: 44px; }
.site-foot--v2 .brand b { color: #FFB27A; }
.site-foot--v2 .foot-brand p { margin: 16px 0 18px; font-size: .95rem; line-height: 1.7; max-width: 38ch; color: #C9DCEC; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.foot-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font: 600 .78rem var(--f-mono); color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.foot-badges li:nth-child(1) .ic { color: #5FD39B; } .foot-badges li:nth-child(2) .ic { color: #9AD2F6; } .foot-badges li:nth-child(3) .ic { color: #FFB27A; }
.site-foot--v2 h2 { position: relative; font: 600 .8rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 4px 0 18px; padding-bottom: 10px; }
.site-foot--v2 h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--orange); }
.site-foot--v2 ul { list-style: none; margin: 0; padding: 0; }
.site-foot--v2 li { margin-bottom: 9px; font-size: .92rem; }
.site-foot--v2 .foot-col a { position: relative; display: inline-block; color: #C4D3E2; text-decoration: none; transition: color .2s, transform .2s; }
.site-foot--v2 .foot-col a::before { content: '→'; position: absolute; left: -16px; opacity: 0; color: #FFB27A; transition: opacity .2s, left .2s; }
.site-foot--v2 .foot-col a:hover { color: #fff; transform: translateX(14px); }
.site-foot--v2 .foot-col a:hover::before { opacity: 1; left: -16px; }
.site-foot--v2 .foot-col a.foot-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 16px; border-radius: 999px; background: linear-gradient(120deg, var(--orange-btn), var(--orange)); color: #fff; font-weight: 600; font-size: .88rem; box-shadow: 0 10px 24px -12px rgba(238,118,35,.9); }
.site-foot--v2 .foot-col a.foot-cta::before { display: none; }
.site-foot--v2 .foot-col a.foot-cta:hover { transform: translateY(-2px); }
.site-foot--v2 .foot-guides ul { columns: 2; column-gap: 28px; }
.site-foot--v2 .foot-guides li { break-inside: avoid; font-size: .86rem; line-height: 1.4; }
.site-foot--v2 .foot-bottom { position: relative; border-top: 0; margin-top: clamp(40px, 6vw, 70px); padding: 20px 0 26px; background: rgba(0,0,0,.18); }
.site-foot--v2 .foot-bottom::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--airmail); opacity: .8; }
@media (max-width: 1000px) { .foot-card { grid-template-columns: 1fr 1fr; } .foot-brand, .foot-guides { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-card { grid-template-columns: 1fr; } .site-foot--v2 .foot-guides ul { columns: 1; } }

.to-top { --p: 0%; position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 60; width: 54px; height: 54px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: 0 12px 28px -10px rgba(15,39,64,.45); transition: transform .25s, background .25s, color .25s, box-shadow .25s; animation: popIn .35s ease both; }
.to-top-ring { position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(var(--orange) var(--p), rgba(20,104,168,.15) 0); -webkit-mask: radial-gradient(circle, transparent 28px, #000 29px); mask: radial-gradient(circle, transparent 28px, #000 29px); transition: inset .25s; }
.to-top .to-top-ic { width: 22px; height: 22px; transform: rotate(-90deg); transition: transform .3s; }
.to-top:hover { background: linear-gradient(140deg, var(--orange-btn), var(--orange) 50%, var(--sky)); color: #fff; transform: translateY(-4px); box-shadow: 0 18px 34px -10px rgba(238,118,35,.7); }
.to-top:hover .to-top-ic { transform: rotate(-90deg) translateX(3px); }
.to-top:hover .to-top-ring { inset: -6px; }
.to-top:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media print { .to-top { display: none; } }
@media (max-width: 700px) { .site-foot--v2 .foot-bottom { padding-bottom: 86px; } }
/* v1.4 footer: brand + Pages + Tools only */
.foot-card { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
@media (max-width: 1000px) { .foot-card { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-card { grid-template-columns: 1fr; } }

/* v1.5 owner-supplied guide images: always fully visible, responsive */
.g-feature img { object-fit: contain; background: #0F2740; height: auto; }
.g-card img { object-fit: cover; height: auto; }
.g-card picture { display: block; overflow: hidden; }
.g-card img { transition: transform .5s ease; }
.g-card:hover img { transform: scale(1.04); }
@media (max-width: 620px) { .g-feature img { border-radius: 14px; } .g-feature { margin-top: 20px; } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* v2.1 article typography */
.prose h2 { padding-top: .4em; border-top: 1px solid var(--line-2); }
.prose h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h3 { font-size: 1.15rem; color: var(--blue-d); margin-top: 1.5em; }
.prose ul li::marker { color: var(--orange); }
.prose ol li::marker { color: var(--blue); font-weight: 600; }
.takeaways { margin: 0 0 1.8em; padding: 18px 20px; border-radius: var(--r-m); background: linear-gradient(160deg, var(--tint), #fff); border: 1px solid var(--tint-2); border-left: 5px solid var(--blue); }
.takeaways .t { display: block; font: 600 1rem var(--f-head); color: var(--blue-d); margin-bottom: 6px; }
.takeaways ul { margin: 0; }

.channels--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
@media (max-width: 760px) { .channels--two { grid-template-columns: 1fr; } }
.how-get { margin: 0 20px; font-size: .9rem; color: var(--ink-2); }
.contact-mail { font-size: 1.2rem; }

.contact-card { margin: 1.4em 0 2em; padding: 24px 26px; border-radius: 20px; background: linear-gradient(150deg, #0F2740, #1468A8); color: #fff; box-shadow: 0 22px 44px -28px rgba(15,39,64,.7); }
.contact-card .contact-label { display: block; font: 600 .78rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #FFB27A; }
.contact-card .contact-mail { margin: 6px 0 4px; font: 600 clamp(1.2rem, 1rem + 1.4vw, 1.7rem) var(--f-mono); color: #fff; overflow-wrap: anywhere; }
.contact-card .contact-note { font-size: .9rem; color: #C9DCEC; }
