/* SocialZoom website - shared styles.
   A quiet, monochrome page on cool paper. The SocialZoom icon is the only
   saturated colour; everything else is ink, glass and depth.
   Glass here is a web approximation of Apple's Liquid Glass (backdrop-filter
   plus layered edges), not Apple's own material.
   Type: Onest, the app's own UI face. The colour is the app's: sunshine
   yellow on soft grey. Yellow is a FILL colour, never a text colour - at
   #FFC21A it sits near 1.7:1 on white, so anything that has to be read uses
   --accent (a deep amber) and anything yellow carries --on-brand ink.
   Shapes: buttons and chips are pills, panels 22px, inputs 14px. */

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/Onest-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F4F5F7;
  --paper-2: #FFFFFF;
  --paper-3: #EDEFF3;
  --ink: #1E2130;
  --ink-2: #5C6275;
  --ink-3: #8D94A6;
  --line: rgb(30 33 48 / .09);
  --line-2: rgb(30 33 48 / .17);
  /* The brand fill: the app's sunshine, and the ink that sits on it. */
  --brand: #FFC21A;
  --brand-soft: #FFE680;
  --on-brand: #1E2130;
  /* The readable half of the brand, for links, icons and small marks.
     5.4:1 on paper, so it passes AA where yellow never could. */
  --accent: #8A5A00;
  --accent-soft: rgb(255 194 26 / .16);
  --on-ink: #F7F7FA;
  --danger: #B42318;
  --danger-soft: rgb(180 35 24 / .1);
  --on-danger: #FFFFFF;
  --ok: #17754E;
  --todo-bg: #FFE38A;
  --todo-ink: #4A3600;
  --glass-fill: rgb(255 255 255 / .56);
  --glass-fill-strong: rgb(255 255 255 / .8);
  --glass-sheen: rgb(255 255 255 / .35);
  --glass-edge: rgb(255 255 255 / .95);
  --glass-rim: rgb(15 14 23 / .07);
  /* A shadow tinted toward the page's own warmth, not a leftover indigo. */
  --shadow-rgb: 40 34 20;
  --shadow-1: 0 1px 2px rgb(var(--shadow-rgb) / .06), 0 10px 28px -14px rgb(var(--shadow-rgb) / .22);
  --shadow-2: 0 2px 8px rgb(var(--shadow-rgb) / .06), 0 30px 70px -28px rgb(var(--shadow-rgb) / .38);
  --r-pill: 999px;
  --r-panel: 22px;
  --r-input: 14px;
  --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 60px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14161C; --paper-2: #1B1E26; --paper-3: #232732;
    --ink: #F2F3F7; --ink-2: #B9BECD; --ink-3: #949AAB;
    --line: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .16);
    --brand: #FFC21A; --brand-soft: #FFE680; --on-brand: #1E2130;
    --accent: #FFD666; --accent-soft: rgb(255 214 102 / .14); --on-ink: #14161C;
    --danger: #FF8A80; --danger-soft: rgb(255 138 128 / .14); --on-danger: #2A0603; --ok: #5FD3A1;
    --todo-bg: #5A4500; --todo-ink: #FFE69A;
    --glass-fill: rgb(28 30 40 / .56); --glass-fill-strong: rgb(24 26 34 / .84);
    --glass-sheen: rgb(255 255 255 / .06); --glass-edge: rgb(255 255 255 / .14); --glass-rim: rgb(0 0 0 / .35);
    --shadow-rgb: 0 0 0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #14161C; --paper-2: #1B1E26; --paper-3: #232732;
  --ink: #F2F3F7; --ink-2: #B9BECD; --ink-3: #949AAB;
  --line: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .16);
  --brand: #FFC21A; --brand-soft: #FFE680; --on-brand: #1E2130;
  --accent: #FFD666; --accent-soft: rgb(255 214 102 / .14); --on-ink: #14161C;
  --danger: #FF8A80; --danger-soft: rgb(255 138 128 / .14); --on-danger: #2A0603; --ok: #5FD3A1;
  --todo-bg: #5A4500; --todo-ink: #FFE69A;
  --glass-fill: rgb(28 30 40 / .56); --glass-fill-strong: rgb(24 26 34 / .84);
  --glass-sheen: rgb(255 255 255 / .06); --glass-edge: rgb(255 255 255 / .14); --glass-rim: rgb(0 0 0 / .35);
  --shadow-rgb: 0 0 0;
  color-scheme: dark;
}

/* ---- 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(--nav-h) + 40px);
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  transition: background-color .4s ease, color .4s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.btn, .store, .nav-toggle, .theme-toggle, summary { touch-action: manipulation; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 128px); }

/* ---- Type ---------------------------------------------------------------- */
.display {
  margin: 0;
  font-size: clamp(3.1rem, 1.5rem + 5.4vw, 6.3rem);
  line-height: .97;
  letter-spacing: -.05em;
  font-weight: 650;
  text-wrap: balance;
}
.h1 {
  margin: 0;
  font-size: clamp(2.3rem, 1.45rem + 3.1vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -.04em;
  font-weight: 640;
  text-wrap: balance;
}
.h2 {
  margin: 0;
  font-size: clamp(1.7rem, 1.25rem + 1.7vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.032em;
  font-weight: 630;
  text-wrap: balance;
}
.h3 { margin: 0; font-size: 1.28rem; line-height: 1.25; letter-spacing: -.016em; font-weight: 620; }
.lede {
  font-size: clamp(1.125rem, 1.04rem + .38vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}
.label { margin: 0; font-size: .875rem; font-weight: 620; letter-spacing: .005em; color: var(--ink-3); }
.meta { font-size: .9375rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
mark.todo {
  background: var(--todo-bg); color: var(--todo-ink);
  border-radius: 6px; padding: .06em .42em;
  font-weight: 620; font-size: .9em; white-space: nowrap;
}

/* ---- Glass --------------------------------------------------------------- */
.glass {
  background: linear-gradient(180deg, var(--glass-sheen), transparent 65%), var(--glass-fill);
  -webkit-backdrop-filter: blur(24px) saturate(175%);
  backdrop-filter: blur(24px) saturate(175%);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px var(--glass-rim), var(--shadow-1);
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--paper-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .glass { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--ink); }
}

/* ---- Header -------------------------------------------------------------- */
.site-header { position: fixed; inset: 12px 0 auto; z-index: 50; padding-inline: 12px; pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: 1100px; height: var(--nav-h); margin-inline: auto;
  display: flex; align-items: center; gap: 6px;
  padding: 0 8px 0 16px;
  border-radius: var(--r-pill);
  transition: box-shadow .5s var(--ease), background .5s var(--ease);
}
.site-header.is-scrolled .nav {
  --glass-fill: var(--glass-fill-strong);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px var(--glass-rim), var(--shadow-2);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; border-radius: 12px; }
.brand-icon { width: 30px; height: 30px; border-radius: 22.4%; box-shadow: 0 3px 10px -3px rgb(52 18 170 / .55); }
.wordmark {
  display: block; height: 19px; aspect-ratio: 5.797;
  background: currentColor;
  -webkit-mask: url("/assets/brand/wordmark.png") center / contain no-repeat;
  mask: url("/assets/brand/wordmark.png") center / contain no-repeat;
}
.brand--lg .brand-icon { width: 42px; height: 42px; }
.brand--lg .wordmark { height: 25px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: var(--r-pill);
  font-size: .95rem; font-weight: 540; color: var(--ink-2); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); background: var(--line); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none; place-items: center; width: 44px; height: 44px; margin-left: auto;
  border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer;
}
.nav-toggle .i { width: 24px; height: 24px; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.menu {
  pointer-events: auto; max-width: 1100px; margin: 8px auto 0; padding: 10px;
  border-radius: var(--r-panel); transform-origin: top right;
}
.menu ul { list-style: none; margin: 0 0 10px; padding: 0; }
.menu li a {
  display: block; padding: 13px 14px; border-radius: 14px;
  font-size: 1.125rem; font-weight: 560; text-decoration: none;
}
.menu li a:hover { background: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) { animation: menu-in .38s var(--ease-out); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; margin-left: 4px; }
  .nav .nav-cta { margin-left: auto; }
}
@media (max-width: 400px) {
  .nav .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
}

/* ---- Buttons and links ---------------------------------------------------- */
.btn {
  --b-bg: var(--paper-2); --b-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: var(--r-pill);
  background: var(--b-bg); color: var(--b-fg);
  font-size: 1rem; font-weight: 590; letter-spacing: -.005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform .14s var(--ease), background-color .2s, box-shadow .25s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn--ink { --b-bg: var(--ink); --b-fg: var(--on-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), var(--shadow-1); }
.btn--ink:hover { --b-bg: color-mix(in srgb, var(--ink) 86%, var(--accent)); }
.btn--danger { --b-bg: var(--danger); --b-fg: var(--on-danger); box-shadow: var(--shadow-1); }
.btn--ghost { --b-bg: transparent; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .94rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .42; cursor: not-allowed; transform: none; }
.btn .i { width: 1.1em; height: 1.1em; }
.arrow-link {
  display: inline-flex; align-items: center; gap: .35em;
  font-weight: 590; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: border-color .2s;
}
.arrow-link .i { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.arrow-link:hover { border-color: currentColor; }
.arrow-link:hover .i, .btn:hover .i-arrow { transform: translate(2px, -2px); }

/* Store buttons: shaped like the official badges until the apps are live. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 58px; padding: 0 24px 0 18px;
  border-radius: var(--r-pill);
  background: var(--ink); color: var(--on-ink); text-decoration: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), var(--shadow-1);
  transition: transform .14s var(--ease), box-shadow .3s var(--ease);
}
.store .i { width: 27px; height: 27px; }
.store span { display: flex; flex-direction: column; gap: 3px; font-size: 1.15rem; font-weight: 630; letter-spacing: -.012em; line-height: 1; }
.store small { font-size: .72rem; font-weight: 500; letter-spacing: .01em; opacity: .74; }
.store:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), var(--shadow-2); }
.store:active { transform: scale(.97); }

/* ---- Inner page heading -------------------------------------------------- */
.page-head {
  display: grid; gap: 18px; justify-items: start;
  padding-top: calc(var(--nav-h) + clamp(64px, 10vw, 120px));
  padding-bottom: clamp(36px, 5vw, 60px);
}
.page-head .lede { max-width: 38em; }
.crumbs a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border-radius: var(--r-pill); background: var(--line);
  font-size: .875rem; font-weight: 580; color: var(--ink-2); text-decoration: none;
}
.crumbs a:hover { color: var(--ink); }

/* ---- Policies ------------------------------------------------------------ */
.legal-grid {
  display: grid; grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
  padding-bottom: 72px;
}
.toc { position: sticky; top: calc(var(--nav-h) + 36px); }
.toc-box { border-radius: var(--r-panel); padding: 8px; }
.toc-box summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 14px; cursor: pointer;
  font-size: .9375rem; font-weight: 620;
}
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box summary .i { transition: transform .3s var(--ease); }
.toc-box[open] summary .i { transform: rotate(180deg); }
.toc ol { list-style: none; margin: 2px 0 4px; padding: 0; max-height: calc(100dvh - 240px); overflow: auto; }
.toc a {
  display: block; padding: 7px 12px; border-radius: 12px;
  font-size: .9rem; line-height: 1.35; color: var(--ink-2); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.toc a:hover { background: var(--line); color: var(--ink); }
.toc a.is-current { background: var(--accent-soft); color: var(--ink); font-weight: 580; }
@media (min-width: 961px) {
  .toc-box summary { pointer-events: none; }
  .toc-box summary .i { display: none; }
}
@media (max-width: 960px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; }
  .toc ol { max-height: none; }
}

.prose { max-width: 70ch; font-size: 1.0625rem; line-height: 1.72; }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  margin: 2.6em 0 .7em; padding-top: 1.3em; border-top: 1px solid var(--line);
  font-size: 1.6rem; line-height: 1.2; letter-spacing: -.024em; font-weight: 630;
  text-wrap: balance; scroll-margin-top: calc(var(--nav-h) + 40px);
}
.prose h2:first-child { border-top: 0; padding-top: 0; }
.prose h3 { margin: 1.9em 0 .45em; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.014em; font-weight: 620; }
.prose h4 { margin: 1.5em 0 .35em; font-size: 1.05rem; font-weight: 620; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .38em 0; padding-left: .15em; }
.prose li > ul, .prose li > ol { margin: .4em 0 .2em; }
.prose li::marker { color: var(--ink-3); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { font-weight: 640; }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-radius: 16px; background: var(--accent-soft); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { font-size: .9em; padding: .1em .35em; border-radius: 6px; background: var(--line); }
.table-wrap { overflow-x: auto; margin: 1.5em 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2); }
.prose table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper-3); font-weight: 620; }
.prose tr:last-child td { border-bottom: 0; }
.ask {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 3em; padding: 20px 22px;
  border-radius: var(--r-panel); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
}
.ask .i { width: 24px; height: 24px; margin-top: 3px; color: var(--accent); }
.more-legal { display: grid; gap: 16px; padding-block: 44px 104px; border-top: 1px solid var(--line); }
.more-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more-legal a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .95rem; font-weight: 560; text-decoration: none;
}
.more-legal a:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.more-legal a[aria-current] { background: var(--ink); color: var(--on-ink); box-shadow: none; }

/* ---- Forms --------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > label { font-size: .95rem; font-weight: 600; }
.input {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 0; border-radius: var(--r-input);
  background: var(--paper-2); color: var(--ink); font: inherit;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .2s;
}
.input::placeholder { color: var(--ink-3); opacity: 1; }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.input:disabled { opacity: .6; cursor: not-allowed; }
.hint { font-size: .875rem; color: var(--ink-3); }
.error { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; font-weight: 520; color: var(--danger); }
.error .i { width: 18px; height: 18px; margin-top: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--danger); }
.note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 14px;
  background: var(--accent-soft); font-size: .92rem; color: var(--ink-2);
}
.note .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
/* A note that is a problem, not an aside: the deletion form being unavailable. */
.note--alert { background: var(--danger-soft); color: var(--ink); }
.note--alert .i { color: var(--danger); }
.note--alert b { font-weight: 640; }
.spin { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand > p { margin: 18px 0 24px; max-width: 24em; color: var(--ink-2); }
.footer-col ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: .96rem; color: var(--ink-2); text-decoration: none; }
.footer-col a:hover, .footer-col a[aria-current] { color: var(--ink); }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 64px; padding-block: 26px 34px; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-3);
}
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: .9rem;
}
.theme-toggle .i { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
[data-page="home"] .footer-brand .stores { display: none; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---- Help page ------------------------------------------------------------- */
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.help-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-panel);
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
}
.help-card > .i { width: 28px; height: 28px; margin-bottom: 6px; color: var(--accent); }
.help-card p { color: var(--ink-2); }
.help-mail { margin-top: auto; padding-top: 10px; font-size: 1.05rem; font-weight: 630; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.help-mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.help-card .arrow-link { align-self: flex-start; margin-top: 4px; font-size: .95rem; }
.grievance {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px); align-items: start;
  padding-block: clamp(64px, 8vw, 104px);
}
.grievance > div { display: grid; gap: 16px; }
.grievance p { color: var(--ink-2); max-width: 34em; }
.facts { margin: 0; border-radius: var(--r-panel); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 20px; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt { font-size: .92rem; color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 560; overflow-wrap: anywhere; }
.facts a { color: var(--accent); text-underline-offset: 3px; }
.quick { display: grid; gap: 24px; padding-bottom: clamp(80px, 10vw, 128px); }
.quick-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quick-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start;
  height: 100%; padding: 18px 20px; border-radius: 18px;
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
  color: inherit; text-decoration: none;
}
.quick-item .i { grid-row: span 2; width: 24px; height: 24px; margin-top: 1px; color: var(--accent); }
.quick-item b { font-weight: 620; }
.quick-item span { font-size: .92rem; color: var(--ink-3); }
a.quick-item { transition: box-shadow .25s; }
a.quick-item:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-1); }
@media (max-width: 900px) { .quick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .help-grid, .grievance { grid-template-columns: minmax(0, 1fr); }
  .quick-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Policies index -------------------------------------------------------- */
.policy-grid { list-style: none; margin: 0; padding: 0 0 clamp(80px, 10vw, 128px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.policy-grid li:first-child { grid-column: 1 / -1; }
.policy {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 18px; align-items: start;
  height: 100%; padding: 24px; border-radius: var(--r-panel);
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
  color: inherit; text-decoration: none;
  transition: box-shadow .25s, transform .35s var(--ease);
}
.policy:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-1); transform: translateY(-2px); }
.policy > .i:first-child { grid-row: span 2; width: 28px; height: 28px; color: var(--accent); }
.policy b { font-size: 1.2rem; font-weight: 630; letter-spacing: -.015em; }
.policy span { grid-column: 2; font-size: .98rem; color: var(--ink-2); }
.policy .go { grid-column: 3; grid-row: 1; width: 20px; height: 20px; color: var(--ink-3); transition: transform .3s var(--ease), color .2s; }
.policy:hover .go { transform: translate(2px, -2px); color: var(--ink); }
@media (max-width: 760px) { .policy-grid { grid-template-columns: minmax(0, 1fr); } }
.notfound { min-height: 64vh; align-content: center; padding-bottom: 96px; }

/* ---- Delete your account --------------------------------------------------- */
.delete-top {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 5vw, 72px); align-items: start;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.delete-panel { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-panel); }
.step { display: grid; gap: 18px; }
.step-intro { color: var(--ink-2); }
.whoami { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: .95rem; overflow-wrap: anywhere; }
.whoami .i { width: 22px; height: 22px; color: var(--ink-3); }
.whoami b { font-weight: 640; }
.step--done { justify-items: start; }
.step--done > .i { width: 40px; height: 40px; color: var(--ok); }
[data-confirm-title]:focus, [data-done-title]:focus { outline: none; }
.aside-list { list-style: none; margin: 0; padding: 6px 0 0; display: grid; gap: 24px; }
.aside-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.aside-list .i { width: 24px; height: 24px; margin-top: 2px; color: var(--accent); }
.aside-list b { display: block; font-weight: 630; }
.aside-list span { color: var(--ink-2); }
.aside-list a { color: var(--accent); text-underline-offset: 3px; }
.delete-details { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); }
@media (max-width: 900px) { .delete-top { grid-template-columns: minmax(0, 1fr); } }

/* ---- Entrances: movement only, never hidden, so the page reads at rest ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transition: transform 1s var(--ease-out); }
  .js .reveal:not(.in) { transform: translateY(26px); }
}
