/* selanx.com: the product site. Static, no scripts. Dark, with Selanx blue: the same palette as the web app and the
   sign-in pages (cloud/branding.jq), so the three read as one product.
   Layout: a page that opens on the Mac's own menu bar, then reads top to bottom in one column of sections,
   wide grids collapsing to one column on a phone. Pro's violet marks what only Selanx Pro does; the shield's
   three states are the menu-bar app's. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #0a0f1c; --surface: #111a2e; --surface-2: #16213a; --ink: #e8eef8; --muted: #93a2bb; --line: #22304d;
  --accent: #60a5fa; --accent-deep: #93c5fd; --accent-wash: #13244a;
  --btn: #2563eb; --btn-deep: #1d4ed8; --on-btn: #ffffff;
  --pro: #a78bfa; --pro-wash: #241b45; --pro-btn: #7c3aed;
  --ok: #4ade80; --warn: #fbbf24; --crit: #f87171;
  --night: #0c1324; --night-2: #121c33; --night-ink: #e8eef8; --night-muted: #93a2bb;
  --focus: #93c5fd;
  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.6rem; --step-3: clamp(2.2rem, 4.2vw, 3.4rem);
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--step-0)/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 20; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.005em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--mono); font-size: 0.86em; }
.eyebrow { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }

/* Buttons: one primary (filled), one quiet (outline); 48px tall, the label set in the body face. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn); color: var(--on-btn); box-shadow: 0 8px 24px -10px rgba(37, 99, 235, .7); }
.btn-primary:hover { background: var(--btn-deep); }
.btn-quiet { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-quiet:hover { border-color: var(--accent); color: var(--accent); }
.btn-pro { background: var(--pro-btn); color: #ffffff; }
.btn-pro:hover { filter: brightness(1.1); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.94rem; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1.04rem; }
.btn-ghost { color: var(--night-ink); border-color: rgba(255, 255, 255, .28); background: transparent; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); }
.soon { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px dashed var(--line); color: var(--muted); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Top bar: brand, the page's sections, then the account links (Sign in as text, the trial as the one button).
   Under 900px the sections fold into a menu (a <details>: no script), and under 520px Sign in moves into it. */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--paper); }
.top .wrap { display: flex; align-items: center; gap: 12px 30px; min-height: 68px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.3rem/1 var(--display); letter-spacing: -0.01em; flex: none; }
.brand img { width: 30px; height: 30px; }
.top .primary { display: flex; gap: 26px; flex: 1; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.top nav a:hover { color: var(--ink); }
.account { display: flex; align-items: center; gap: 22px; margin-left: auto; flex: none; }
.signin { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.signin:hover { color: var(--accent); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu .bars, .menu .bars::before, .menu .bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .15s, opacity .15s; }
.menu .bars::before, .menu .bars::after { content: ""; position: absolute; left: 0; }
.menu .bars::before { top: -6px; } .menu .bars::after { top: 6px; }
.menu[open] .bars { background: transparent; }
.menu[open] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(10, 20, 30, .35); display: grid; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px; }
.menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.02rem; }
.menu nav a:last-child { border-bottom: 0; }
.menu .menu-signin { display: none; }
@media (max-width: 900px) { .top .primary { display: none; } .menu { display: block; } .account { gap: 16px; } }
@media (max-width: 520px) { .signin { display: none; } .menu .menu-signin { display: block; font-weight: 600; color: var(--accent); } .top .wrap { gap: 12px; } }

/* Hero: the headline beside a Mac's menu bar with Selanx in it */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(48px, 7vw, 88px);
  background: radial-gradient(55% 60% at 78% 35%, rgba(37, 99, 235, .22), transparent 70%), radial-gradient(40% 50% at 10% 0%, rgba(96, 165, 250, .08), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1.0; }
.hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(90deg, #60a5fa, #a5b4fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lede { margin-top: 22px; }
.hero .actions { margin-top: 32px; }
.assure { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: 0.94rem; }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--accent-wash) no-repeat center / 10px 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2 4 7.6 8.6 2.6' fill='none' stroke='%2360a5fa' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.desk { background: linear-gradient(160deg, var(--night-2), var(--night)); border: 1px solid rgba(148, 163, 184, .16); border-radius: 22px; margin: 0; padding: 0 0 26px; color: var(--night-ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(96, 165, 250, .05); overflow: hidden; }
.menubar { display: flex; align-items: center; justify-content: flex-end; gap: 16px; height: 34px; padding: 0 16px; background: rgba(255, 255, 255, .07); font: 500 0.82rem/1 var(--body); color: var(--night-ink); }
.menubar .left { margin-right: auto; display: flex; gap: 16px; opacity: .85; }
.menubar .apple { width: 12px; height: 14px; }
.shield-ico { display: inline-flex; flex: none; width: 18px; height: 18px; }
@media (max-width: 520px) { .menubar .left span, .menubar .wifi { display: none; } .status { grid-template-columns: minmax(0, 1fr); } }
.shield-ico path { fill: #3fbf72; }
.menubar .on { outline: 1.5px solid rgba(255, 255, 255, .35); outline-offset: 4px; border-radius: 4px; }
.note { margin: 22px 22px 0; background: rgba(36, 44, 62, .94); color: #eef2f8; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 16px 18px; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55); }
.note .head { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: #a3afc4; }
.note .head img { width: 22px; height: 22px; }
.note .head .when { margin-left: auto; }
.note h4 { margin: 10px 0 4px; font: 650 1.02rem/1.3 var(--body); }
.note p { font-size: 0.95rem; color: #c9d3e3; }
.note pre { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #0b1222; color: #c7d6f0; font: 0.8rem/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.note .choices { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.note .choices span { flex: 1; min-width: 120px; text-align: center; padding: 8px 10px; border-radius: 9px; font-weight: 600; font-size: 0.9rem; background: rgba(255, 255, 255, .09); }
.note .choices span.pick { background: #2563eb; color: #ffffff; }
.status { margin: 14px 22px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 0.86rem; color: var(--night-muted); }
.status span { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .05); padding: 8px 10px; border-radius: 9px; }
.status span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fbf72; flex: none; }
.caption { margin: 14px 22px 0; font-size: 0.78rem; color: var(--night-muted); }

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
section + section { border-top: 1px solid var(--line); }

/* The figures strip under the hero */
section.proof { padding-block: 0; background: var(--surface); }
.figures { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figures div { padding: 28px 24px; display: grid; gap: 6px; align-content: start; }
.figures div + div { border-left: 1px solid var(--line); }
.figures dt { font: 750 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--display); letter-spacing: -0.02em; color: var(--accent); }
.figures dd { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figures div:nth-child(3) { border-left: 0; } .figures div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .figures { grid-template-columns: minmax(0, 1fr); } .figures div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* macOS's own protections against what Selanx adds, row by row */
.vs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.vs-head, .vs-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.vs-head span { padding: 14px 24px; font: 600 0.8rem/1 var(--mono); letter-spacing: 0.02em; color: var(--muted); background: color-mix(in srgb, var(--paper) 60%, var(--surface)); }
.vs-head span + span { color: var(--accent); }
.vs-row { border-top: 1px solid var(--line); }
.vs-row > div { padding: 20px 24px; }
.vs .mac p { color: var(--muted); }
.vs .mac strong { color: var(--ink); }
.vs .sx { border-left: 1px solid var(--line); position: relative; }
.vs .sx p { color: var(--ink); }
.vs .who { display: none; }
@media (max-width: 720px) {
  .vs-head { display: none; }
  .vs-row, .vs-row:first-of-type { grid-template-columns: minmax(0, 1fr); }
  .vs-row:first-of-type { border-top: 0; }
  .vs .sx { border-left: 0; border-top: 1px dashed var(--line); }
  .vs .who { display: block; font: 600 0.78rem/1 var(--mono); letter-spacing: 0.02em; color: var(--muted); margin-bottom: 8px; }
  .vs .sx .who { color: var(--accent); }
}
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 44px; }

/* The shield's three states */
.states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.state { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.state .dot { width: 34px; height: 34px; }
.state.green .dot path { fill: var(--ok); } .state.yellow .dot path { fill: var(--warn); } .state.red .dot path { fill: var(--crit); }
@media (max-width: 800px) { .states { grid-template-columns: minmax(0, 1fr); } }

/* What it stops */
.threats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.threat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.threat .rule { font: 500 0.78rem/1.3 var(--mono); color: var(--accent); overflow-wrap: anywhere; }
.threat p { color: var(--muted); font-size: 0.98rem; }
.tag { justify-self: start; font: 600 0.72rem/1 var(--body); letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.tag.both { background: var(--accent-wash); color: var(--accent); }
.tag.pro { background: var(--pro-wash); color: var(--pro); }
@media (max-width: 960px) { .threats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .threats { grid-template-columns: minmax(0, 1fr); } }

/* Sizes */
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.size { padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.size + .size { border-left: 1px solid var(--line); }
.size .letter { font: 700 2.6rem/1 var(--display); color: var(--accent); }
.size p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 800px) { .sizes { grid-template-columns: minmax(0, 1fr); } .size + .size { border-left: 0; border-top: 1px solid var(--line); } }

/* Lite and Pro */
.editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 36px; }
.edition { border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; border: 1px solid var(--line); background: var(--surface); }
.edition.lite { box-shadow: inset 0 4px 0 var(--accent); }
.edition.pro { box-shadow: inset 0 4px 0 var(--pro); }
.edition h3 { font-size: var(--step-2); }
.edition.lite h3 span { color: var(--accent); } .edition.pro h3 span { color: var(--pro); }
.edition p { color: var(--muted); }
@media (max-width: 760px) { .editions { grid-template-columns: minmax(0, 1fr); } }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.97rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare thead th { font: 650 1rem/1.2 var(--display); background: color-mix(in srgb, var(--paper) 60%, var(--surface)); }
.compare thead th.lite { color: var(--accent); } .compare thead th.pro { color: var(--pro); }
.compare tbody th { font-weight: 500; width: 40%; }
.compare td { color: var(--muted); width: 30%; }
.yes { color: var(--ink); font-weight: 600; }
.yes::before { content: "✓ "; color: var(--ok); }
.no { color: var(--muted); }
.no::before { content: "— "; }
@media (max-width: 620px) {
  table.compare { min-width: 0; font-size: 0.9rem; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare tbody th { width: 46%; }
  .compare td { width: 27%; }
}

/* Privacy */
.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.consent { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.consent .kind { font: 500 0.78rem/1 var(--mono); color: var(--muted); }
.consent p { color: var(--muted); font-size: 0.98rem; }
.consent .req { justify-self: start; font: 600 0.72rem/1 var(--body); text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 8px; border-radius: 999px; background: var(--line); color: var(--ink); }
.consent .req.opt { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.promises { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promise { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; display: grid; gap: 6px; }
.promise p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 820px) { .privacy, .promises { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(step); font: 700 1.1rem/1 var(--display); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent); }
.steps p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; align-content: start; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .price { font: 700 2rem/1 var(--display); }
.plan .price small { font: 500 0.95rem/1 var(--body); color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 0.97rem; }
.plan li::before { content: "✓"; color: var(--ok); margin-right: 8px; font-weight: 700; }
.plans-note { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; gap: 12px; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 600 1.3rem/1 var(--body); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* Closing band */
.band { background: radial-gradient(70% 120% at 100% 0%, rgba(37, 99, 235, .35), transparent 60%), linear-gradient(135deg, #12224a, #0c1324); border: 1px solid rgba(96, 165, 250, .18); color: var(--night-ink); border-radius: 24px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.band p { color: var(--night-muted); margin-top: 12px; }
.band .btn-quiet { background: transparent; color: var(--night-ink); border-color: rgba(255, 255, 255, .25); }
@media (max-width: 760px) { .band { grid-template-columns: minmax(0, 1fr); } }

/* Footer: the brand, then Product, Account, Help and legal; a base line under it */
.foot { padding-block: 56px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand { display: grid; gap: 14px; align-content: start; max-width: 34ch; }
.foot-brand .brand { font-size: 1.15rem; }
.foot-brand .brand img { width: 26px; height: 26px; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot h2 { font: 600 0.78rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--accent); text-decoration: underline; }
.foot .base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.88rem; }
@media (max-width: 860px) { .foot .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The policy pages (the web app's own, in the site's frame) */
.legal { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal article { max-width: 760px; }
.legal h1 { font: 750 clamp(2.1rem, 4.4vw, 3rem)/1.05 var(--display); letter-spacing: -0.02em; margin: 0 0 8px; }
.legal h2 { font-size: var(--step-2); font-weight: 680; margin: 40px 0 10px; }
.legal h3 { margin: 24px 0 8px; }
.legal p, .legal li { color: color-mix(in srgb, var(--ink) 86%, var(--muted)); overflow-wrap: anywhere; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 6px; margin: 12px 0; }
.legal .meta { color: var(--muted); margin-bottom: 24px; }
.legal .summary { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.legal .summary h2 { margin-top: 0; font-size: var(--step-1); }
.legal table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal .tablewrap { margin: 14px 0; }
.legal code { font-family: var(--mono); font-size: 0.88em; overflow-wrap: anywhere; }
.legal pre { font: 0.88rem/1.5 var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound > div { display: grid; gap: 16px; justify-items: center; }
.notfound .actions { justify-content: center; margin-top: 24px; }
