/* ==========================================================================
   Location Guard — design system (light theme only)
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette taken from the logo: black and white, with neutral greys. */
  --black: #000000;
  --white: #ffffff;
  --accent: #000000;
  --accent-hover: #262626;
  --accent-soft: #3f3f46;
  --heading: #0a0a0a;
  --ink-strong: #18181b;
  --ink: #3a3a40;
  --muted: #5b5b63;
  --line: #e7e7ea;
  --line-strong: #d4d4d8;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --tint: #f2f2f3;
  --tint-strong: #e4e4e7;
  --focus: #000000;
  --footer-bg: #0a0a0a;
  /* Semantic status colours (feedback only, not brand accents). */
  --amber-50: #fff8e8;
  --amber-700: #8a5a00;
  --green-50: #ebfaf1;
  --green-700: #137a43;
  --red-50: #fdeeee;
  --red-700: #b42323;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05), 0 4px 14px rgba(0, 0, 0, .05);
  --shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 14px 34px rgba(0, 0, 0, .08);
  --shadow-lg: 0 6px 18px rgba(0, 0, 0, .06), 0 30px 60px rgba(0, 0, 0, .10);
  --grad-primary: linear-gradient(135deg, #000000 0%, #1f1f22 100%);
  --grad-soft: linear-gradient(180deg, #f6f6f7 0%, #ffffff 100%);
  --container: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-soft); text-decoration-thickness: 2px; }
::selection { background: var(--black); color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.55rem); letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.32rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li + li { margin-top: .35em; }
code, kbd { font-family: var(--font-mono); font-size: .88em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: .08em .38em; color: var(--ink-strong); overflow-wrap: anywhere; }
kbd { box-shadow: inset 0 -1px 0 var(--line-strong); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
strong { color: var(--heading); font-weight: 650; }
table { border-collapse: collapse; width: 100%; }

[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--heading); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.container--narrow { max-width: 820px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.6em; height: 1.6em; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--heading); font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand:hover { color: var(--heading); }
.brand__mark { width: 26px; height: 35px; color: var(--black); }
.brand--footer .brand__mark { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.site-nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list li + li { margin: 0; }
.site-nav__list a { display: block; padding: .5rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; transition: background-color .2s, color .2s; }
.site-nav__list a:hover { background: var(--bg-soft); color: var(--heading); }
.site-nav__list a[aria-current="page"] { color: var(--accent); background: var(--tint); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--heading); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 1rem clamp(18px, 4vw, 32px) 1.5rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; }
  .site-nav__list a { padding: .8rem 1rem; border-radius: 12px; font-size: 1.02rem; }
  .site-nav__cta { justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: .82rem; --btn-pad-x: 1.35rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px; border: 1px solid transparent;
  font: 650 1rem/1.2 var(--font-body); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
  min-height: 44px;
}
.btn-sm { --btn-pad-y: .55rem; --btn-pad-x: 1rem; font-size: .92rem; min-height: 40px; }
.btn-lg { --btn-pad-y: 1rem; --btn-pad-x: 1.7rem; font-size: 1.06rem; }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 8px 22px rgba(0, 0, 0, .22); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0, 0, 0, .14), 0 12px 28px rgba(0, 0, 0, .28); background: #1f1f22; }
.btn-secondary { background: #fff; color: var(--heading); border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { color: var(--heading); border-color: var(--focus); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--accent); padding-left: .4rem; padding-right: .4rem; }
.btn-ghost:hover { color: var(--accent); background: var(--tint); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Generic elements ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 700 .78rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent-soft); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mono { font-family: var(--font-mono); }
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; background: var(--tint); color: var(--accent); font-size: .78rem; font-weight: 650; letter-spacing: .01em; }
.tag--teal { background: var(--black); color: #fff; }
.tag--amber { background: var(--amber-50); color: var(--amber-700); }
.tag--neutral { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }

.status { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .65rem; border-radius: 999px; font-size: .82rem; font-weight: 650; white-space: nowrap; }
.status .icon { width: 1em; height: 1em; }
.status--ok { background: var(--green-50); color: var(--green-700); }
.status--warn { background: var(--amber-50); color: var(--amber-700); }
.status--no { background: var(--red-50); color: var(--red-700); }
.status--info { background: var(--tint); color: var(--accent); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card--hover { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tint-strong); }
.icon-badge { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--tint); color: var(--accent); margin-bottom: 1rem; }
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--teal { background: var(--tint); color: var(--accent-soft); }
.icon-badge--coral { background: #fff; color: var(--accent); border: 1px solid var(--line-strong); }
.icon-badge--navy { background: var(--heading); color: #fff; }

.callout { display: flex; gap: .9rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--tint-strong); background: var(--tint); color: var(--ink-strong); margin: 0 0 1.5rem; }
.callout > .icon { margin-top: .2rem; color: var(--accent); }
.callout p:last-child { margin-bottom: 0; }
.callout--warn { background: var(--amber-50); border-color: #f4dfae; }
.callout--warn > .icon { color: var(--amber-700); }
.callout--success { background: var(--green-50); border-color: #bfe9d0; }
.callout--success > .icon { color: var(--green-700); }
.callout--teal { background: var(--tint); border-color: var(--tint-strong); }
.callout--teal > .icon { color: var(--accent-soft); }

.check-list, .cross-list { list-style: none; padding: 0; }
.check-list li, .cross-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before, .cross-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--tint) no-repeat center / .8rem; }
.check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.cross-list li::before { background-color: var(--tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352525b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E"); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-bottom: 0; }
.section-foot { margin-top: 2rem; display: flex; justify-content: center; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(42rem 26rem at 88% 8%, rgba(0, 0, 0, .05), transparent 70%),
    radial-gradient(36rem 26rem at 8% 0%, rgba(0, 0, 0, .035), transparent 70%),
    linear-gradient(180deg, #f6f6f7 0%, #ffffff 85%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 30%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { max-width: 17ch; font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.35rem); }
.hero h1 .accent { color: var(--black); background: linear-gradient(transparent 62%, var(--tint-strong) 62%, var(--tint-strong) 92%, transparent 92%); padding: 0 .08em; }
.hero .lead { max-width: 36rem; margin-bottom: 1.8rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.hero__meta li { display: inline-flex; align-items: center; gap: .45rem; margin: 0; }
.hero__meta .icon { color: var(--accent-soft); width: 1.05em; height: 1.05em; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .12)); }
@media (max-width: 940px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero h1 { max-width: 18ch; } .hero__art { max-width: 560px; } }

.float-a { animation: float 7s ease-in-out infinite; transform-origin: center; }
.pulse-ring { animation: pulse 3.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulse { 0% { opacity: .55; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(1.6); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2.5rem, 5vw, 3.75rem); background: var(--grad-soft); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%; z-index: -1; border: 2px dashed rgba(0, 0, 0, .12); box-shadow: 0 0 0 60px rgba(0, 0, 0, .02), 0 0 0 120px rgba(0, 0, 0, .015); }
.page-hero h1 { max-width: 22ch; margin-bottom: .45em; }
.page-hero .lead { max-width: 46rem; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 1.75rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1.25rem; font-size: .9rem; color: var(--muted); align-items: center; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.crumbs-wrap { padding-top: 1.1rem; }
.page-hero + .crumbs-wrap { display: none; }
.has-hero .crumbs-wrap { position: relative; z-index: 2; margin-bottom: -2.6rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; padding: 0; margin: 0; font-size: .87rem; color: var(--muted); }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: .25rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); margin-right: .25rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink-strong); font-weight: 550; }
.has-hero .page-hero { padding-top: 3.6rem; }

/* ---------- Trust strip ---------- */
.trust { padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.trust__list li { display: flex; gap: .75rem; align-items: flex-start; margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.45; }
.trust__list strong { display: block; color: var(--heading); font-size: .98rem; }
.trust__list .icon { color: var(--accent); width: 22px; height: 22px; margin-top: .1rem; }
@media (max-width: 900px) { .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Flow (how it works) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: flow; list-style: none; padding: 0; margin: 0; }
.flow li { position: relative; margin: 0; padding: 1.4rem 1.25rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.flow li::before { counter-increment: flow; content: "0" counter(flow); display: block; font: 700 .8rem/1 var(--font-mono); color: var(--accent-soft); letter-spacing: .1em; margin-bottom: .9rem; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -.78rem; width: .55rem; height: .55rem; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: translateY(-50%) rotate(45deg); }
.flow h3 { font-size: 1.07rem; margin-bottom: .35em; }
.flow p { font-size: .94rem; color: var(--muted); margin: 0; }
.flow .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: .6rem; }
.flow li.is-key { background: linear-gradient(180deg, var(--tint), #fff); border-color: var(--tint-strong); }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow li::after { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.4rem); }
.bento > * { grid-column: span 2; }
.bento .bento__wide { grid-column: span 4; }
.bento .bento__half { grid-column: span 3; }
.bento__feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: center; background: linear-gradient(135deg, #000000 0%, #232326 100%); color: #c8c8cc; border: 0; }
.bento__feature h3 { color: #fff; }
.bento__feature .icon-badge { background: rgba(255, 255, 255, .12); color: #fff; }
.bento__feature a { color: #fff; }
.bento__feature svg.art { width: 100%; height: auto; }
@media (max-width: 1000px) { .bento > *, .bento .bento__half { grid-column: span 3; } .bento .bento__wide { grid-column: span 6; } }
@media (max-width: 680px) { .bento > *, .bento .bento__half, .bento .bento__wide { grid-column: span 6; } .bento__feature { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Privacy levels ---------- */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.level { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.level__viz { height: 150px; display: grid; place-items: center; margin: -.25rem 0 1rem; background: radial-gradient(circle at center, var(--tint), #fff 70%); border-radius: 12px; }
.level__viz svg { width: 150px; height: 150px; }
.level dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .45rem 1rem; margin: 1rem 0 0; font-size: .93rem; }
.level dt { color: var(--muted); }
.level dd { margin: 0; text-align: right; font-weight: 650; color: var(--heading); font-variant-numeric: tabular-nums; }
.level--featured { border-color: var(--tint-strong); box-shadow: var(--shadow); }
.level--featured::before { content: "Default"; position: absolute; top: 1rem; right: 1rem; font: 700 .7rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--tint); padding: .35rem .55rem; border-radius: 999px; }
.legend { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; font-size: .9rem; color: var(--muted); margin-top: 1.25rem; }
.legend span { display: inline-flex; align-items: center; gap: .5rem; }
.legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.legend .l-protect { border: 2px dashed var(--accent); }
.legend .l-accuracy { border: 2px solid #8a8a92; background: rgba(0, 0, 0, .06); }
.legend .l-real { background: #fff; border: 3px solid var(--accent); }
.legend .l-fake { background: var(--heading); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
@media (max-width: 900px) { .levels { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

/* ---------- Tables ---------- */
.table-wrap { position: relative; width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-xs); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 3px; }
.table { min-width: 620px; font-size: .95rem; }
.table th, .table td { padding: .95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--bg-soft); color: var(--heading); font-family: var(--font-head); font-weight: 750; font-size: .88rem; letter-spacing: .01em; white-space: nowrap; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 650; color: var(--heading); }
.table td .small { display: block; margin-top: .25rem; color: var(--muted); }
.table--compact { min-width: 0; }
.table--kv th { width: 38%; color: var(--muted); font-weight: 550; }
.table--kv td { font-weight: 600; color: var(--heading); }

/* ---------- Download panels ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.dl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.dl-card__head { display: flex; gap: 1rem; align-items: center; padding: 1.5rem 1.6rem 1.2rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fafafa, #fff); }
.dl-card__head h3 { margin: 0 0 .15rem; font-size: 1.25rem; }
.dl-card__head p { margin: 0; font-size: .9rem; color: var(--muted); }
.dl-card__logo { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; flex: none; color: #fff; }
.dl-card__logo .icon { width: 28px; height: 28px; }
.dl-card__logo--ff { background: var(--black); }
.dl-card__logo--cr { background: #3f3f46; }
.dl-card__logo--src { background: var(--heading); }
.dl-card__body { padding: 1.3rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; flex: 1; }
.dl-card__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .45rem 1rem; margin: 0; font-size: .92rem; }
.dl-card__facts dt { color: var(--muted); }
.dl-card__facts dd { margin: 0; color: var(--heading); font-weight: 600; text-align: right; }
.dl-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; }
.dl-card__note { font-size: .86rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .dl-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps > li { counter-increment: step; position: relative; padding: 1.15rem 1.25rem 1.15rem 4.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 1.15rem; top: 1.05rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--grad-primary); color: #fff; font: 700 .92rem/1 var(--font-head); }
.steps h3 { font-size: 1.04rem; margin: .15rem 0 .3rem; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }
.steps--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--grid > li { padding: 4rem 1.25rem 1.3rem; }
.steps--grid > li::before { top: 1.25rem; }
@media (max-width: 1000px) { .steps--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps--grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pros / cons ---------- */
.proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.proscons .card h3 { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 760px) { .proscons { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tools preview & hub ---------- */
.tool-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: linear-gradient(135deg, #f6f6f7 0%, #ececee 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.tool-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.tool-mock__row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.tool-mock__row:last-of-type { border-bottom: 0; }
.tool-mock__row span:first-child { color: var(--muted); }
.tool-mock__row span:last-child { font-family: var(--font-mono); color: var(--heading); font-weight: 600; }
.tool-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .6rem; }
.tool-list li { margin: 0; }
.tool-list a { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); text-decoration: none; color: var(--heading); font-weight: 600; transition: border-color .2s, transform .2s var(--ease); }
.tool-list a:hover { border-color: var(--focus); transform: translateX(3px); }
.tool-list .icon { color: var(--accent); }
.tool-list .icon:last-child { margin-left: auto; color: var(--muted); }
@media (max-width: 860px) { .tool-preview { grid-template-columns: minmax(0, 1fr); } }

.tool-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tool-card h2, .tool-card h3 { font-size: 1.2rem; }
.tool-card .card__more { margin-top: auto; padding-top: .8rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 650; }
.tool-card:hover { color: inherit; }

/* ---------- Tool UI ---------- */
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.tool__head { padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: linear-gradient(180deg, #fafafa, #fff); }
.tool__head h2 { font-size: 1.25rem; margin: 0; display: flex; align-items: center; gap: .6rem; }
.tool__head h2 .icon { color: var(--accent); }
.tool__body { padding: 1.6rem; }
.tool__controls { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-bottom: 1.25rem; }
.tool__options { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 1.25rem; font-size: .94rem; }
.tool__options label { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; }
.tool__options select { font: inherit; padding: .4rem .6rem; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; color: var(--heading); }
.tool__options input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.tool__disclosure { font-size: .9rem; color: var(--muted); margin: 0 0 1.25rem; }
.tool__status { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 1.25rem; font-size: .96rem; }
.tool__status .icon { margin-top: .15rem; }
.tool__status p { margin: 0; }
.tool__status p + p { margin-top: .4rem; }
.tool__status[data-state="loading"] { background: var(--tint); border-color: var(--tint-strong); color: var(--ink-strong); }
.tool__status[data-state="success"] { background: var(--green-50); border-color: #bfe9d0; color: #0f5132; }
.tool__status[data-state="error"] { background: var(--red-50); border-color: #f3c4c4; color: #7a1d1d; }
.tool__status[data-state="warn"] { background: var(--amber-50); border-color: #f4dfae; color: #5c3d00; }
.spinner { width: 1.15rem; height: 1.15rem; border: 2.5px solid var(--tint-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; flex: none; margin-top: .2rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.result { padding: 1rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; min-width: 0; }
.result__label { display: block; font-size: .8rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.result__value { display: block; font-family: var(--font-mono); font-size: 1.12rem; font-weight: 650; color: var(--heading); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.result__hint { display: block; font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.result--wide { grid-column: span 2; }
.result--accent { background: var(--tint); border-color: var(--tint-strong); }
@media (max-width: 760px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .results { grid-template-columns: minmax(0, 1fr); } .result--wide { grid-column: auto; } }
.tool__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.tool [hidden] { display: none !important; }
.samples { max-height: 260px; overflow: auto; margin-top: 1rem; }
.meter { height: 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; margin: .4rem 0 .2rem; }
.meter__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--focus)); border-radius: inherit; transition: width .4s var(--ease); }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.check-item { display: flex; gap: .8rem; align-items: flex-start; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.check-item__icon { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--bg-soft); color: var(--muted); }
.check-item__icon .icon { width: 1.05rem; height: 1.05rem; }
.check-item[data-result="ok"] .check-item__icon { background: var(--green-50); color: var(--green-700); }
.check-item[data-result="warn"] .check-item__icon { background: var(--amber-50); color: var(--amber-700); }
.check-item[data-result="no"] .check-item__icon { background: var(--red-50); color: var(--red-700); }
.check-item strong { display: block; font-size: .96rem; }
.check-item span { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .check-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Article layout ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: #fff; }
.toc__title { font: 750 .8rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; font-size: .9rem; }
.toc li { margin: 0; }
.toc a { display: block; padding: .38rem .6rem; border-radius: 8px; color: var(--ink); text-decoration: none; border-left: 2px solid transparent; line-height: 1.4; }
.toc a:hover { background: var(--bg-soft); color: var(--heading); }
.toc a.is-active { color: var(--accent); background: var(--tint); border-left-color: var(--accent); }
.aside-cta { border-radius: var(--radius); padding: 1.25rem; background: linear-gradient(135deg, #000000, #27272a); color: #c8c8cc; font-size: .93rem; }
.aside-cta h2 { color: #fff; font-size: 1.05rem; margin-bottom: .4rem; }
.aside-cta p { margin-bottom: 1rem; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; order: -1; } .aside-cta { display: none; } }

.article-header { padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 2.75rem); background: var(--grad-soft); border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3rem); max-width: 24ch; }
.article-header .lead { max-width: 46rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; font-size: .9rem; color: var(--muted); margin-top: 1.25rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta .icon { width: 1.05em; height: 1.05em; }

.prose { max-width: 72ch; font-size: 1.07rem; }
.prose > * + h2 { margin-top: 2.6rem; }
.prose > * + h3 { margin-top: 1.9rem; }
.prose h2 { padding-top: .2rem; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); }
.prose h3 { font-size: 1.22rem; }
.prose img, .prose figure { margin: 1.75rem 0; }
.prose figure svg { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; }
.prose .table-wrap { margin: 1.5rem 0; }
.prose .steps { margin: 1.25rem 0 1.75rem; }
.prose blockquote { margin: 1.5rem 0; padding: .4rem 0 .4rem 1.25rem; border-left: 3px solid var(--accent); color: var(--ink-strong); }
.prose .callout { margin: 1.5rem 0; }
.prose ol > li, .prose ul > li { padding-left: .2rem; }
.prose .faq-list { margin-top: 1rem; }
.prose .key-takeaways { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin: 0 0 2rem; }
.prose .key-takeaways h2 { font-size: 1.05rem; margin: 0 0 .7rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-soft); }
.prose .key-takeaways ul { margin: 0; }

.related { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--bg-soft); border-top: 1px solid var(--line); }

/* ---------- Article cards ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.article-card { position: relative; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tint-strong); }
.article-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent); margin-bottom: 1rem; }
.article-card:nth-child(3n+2) .article-card__icon { background: var(--tint); color: var(--accent-soft); }
.article-card:nth-child(3n+3) .article-card__icon { background: var(--black); color: #fff; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: .7rem; }
.article-card__title { font-size: 1.16rem; margin-bottom: .5rem; }
.article-card__title a { color: var(--heading); text-decoration: none; }
.article-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.article-card__title a:focus-visible { outline: none; }
.article-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.article-card__excerpt { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.article-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; color: var(--accent); font-size: .93rem; }
.article-card--featured { grid-column: span 2; background: linear-gradient(135deg, var(--tint) 0%, #fff 60%); }
.article-card--featured .article-card__title { font-size: 1.5rem; }
@media (max-width: 1000px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .article-card--featured { grid-column: auto; } }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter-bar button { font: 600 .9rem/1 var(--font-body); padding: .62rem 1rem; min-height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.filter-bar button:hover { border-color: var(--focus); color: var(--accent); }
.filter-bar button[aria-pressed="true"] { background: var(--heading); border-color: var(--heading); color: #fff; }
.article-card[hidden] { display: none; }

.cat-block + .cat-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.cat-block__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.cat-block__head h2 { margin: 0; font-size: 1.45rem; }
.cat-block__head .icon-badge { margin: 0; }
.cat-block__head p { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--tint-strong); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; cursor: pointer; padding: 1.05rem 1.2rem; font-family: var(--font-head); font-weight: 700; color: var(--heading); list-style: none; font-size: 1.03rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-chevron { transition: transform .25s var(--ease); color: var(--muted); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.2rem 1.1rem; color: var(--ink); font-size: .98rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-wrap { max-width: 860px; margin: 0 auto; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(2.25rem, 5vw, 3.75rem); background: linear-gradient(130deg, #000000 0%, #18181b 55%, #2a2a2e 100%); color: #d4d4d8; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -110px; width: 360px; height: 360px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .22); box-shadow: 0 0 0 50px rgba(255, 255, 255, .03), 0 0 0 100px rgba(255, 255, 255, .02); z-index: -1; }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { margin: 0; max-width: 40rem; }
.cta-band .btn-secondary { background: #fff; border-color: #fff; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.cta-band .btn-outline:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } .btn-lg { --btn-pad-x: 1.3rem; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-left: 2rem; margin: 0 0 1.25rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--focus); }
.timeline time { display: block; font: 700 .82rem/1.3 var(--font-mono); color: var(--accent-soft); letter-spacing: .03em; }
.timeline strong { display: block; margin: .1rem 0 .2rem; }
.timeline p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #a1a1aa; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #e4e4e7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 2rem; }
.footer-brand p { margin: 1rem 0 1.25rem; max-width: 30ch; }
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; text-decoration: none !important; }
.footer-title { font: 700 .78rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #8b8b93; margin: .5rem 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col li { margin: 0; }
.footer-legal { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; color: #a1a1aa; }
.footer-legal strong { color: #f4f4f5; }
.footer-legal p { max-width: 95ch; }
.footer-legal__meta { margin: 0; color: #8b8b93; }
.footer-legal a { text-decoration: underline; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.notfound__code { font: 800 clamp(4rem, 10vw, 7rem)/1 var(--font-head); color: var(--black); margin-bottom: .5rem; letter-spacing: -.05em; }
.notfound .btn-row { justify-content: center; margin-top: 1.5rem; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .float-a, .pulse-ring { animation: none !important; }
}

@media print {
  .site-header, .site-footer, .article-aside, .related, .cta-band { display: none !important; }
  body { font-size: 12pt; }
}

/* Primary buttons on dark surfaces invert to white */
.site-footer .btn-primary, .aside-cta .btn-primary { background: #fff; color: #000; box-shadow: none; }
.site-footer .btn-primary:hover, .aside-cta .btn-primary:hover { background: #e4e4e7; color: #000; }

/* ---------- Footer legal links ---------- */
.footer-legal-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; padding: 0; margin: 0 0 1.25rem; }
.footer-legal-nav li { margin: 0; }
.footer-legal-nav a { color: #e4e4e7; font-weight: 550; font-size: .92rem; text-decoration: none; }
.footer-legal-nav a:hover, .footer-legal-nav a[aria-current="page"] { color: #fff; text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal-meta { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem; font-size: .9rem; color: var(--muted); }
.prose .legal-summary { background: var(--tint); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin: 0 0 2rem; }
.prose .legal-summary h2 { font: 700 .82rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .8rem; color: var(--accent-soft); }
.prose .legal-summary ul { margin: 0; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 2rem; }
.values .card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .55rem; }
@media (max-width: 640px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .field .label { font-weight: 650; color: var(--heading); font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--heading); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 12px; padding: .75rem .9rem; min-height: 46px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(0, 0, 0, .15); }
.field [aria-invalid="true"] { border-color: var(--red-700); }
.field .error { font-size: .86rem; color: var(--red-700); font-weight: 550; }
.check-field { display: flex; gap: .65rem; align-items: flex-start; font-size: .94rem; }
.check-field input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--black); flex: none; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside .card + .card { margin-top: 1rem; }
.contact-aside h2 { font-size: 1.1rem; }
.field label.check-field { font-weight: 400; color: var(--ink); }
