/* Life. Documented: the Family world. Black ground, portraits fading into black, one green action. */

@font-face {
  font-family: "Homemade Apple";
  src: url("fonts/homemade-apple.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #0A0A0A;
  --card: #141414;
  --control: #1F1F1F;
  --ink: #F4F4F2;
  --ink-soft: #CFCFCB;
  --ink-2: #9A9A96;
  --sep: rgba(244, 244, 242, 0.12);
  --green: #45B866;
  --red: #E0362C;
  --focus: #FFD60A;
  --flash: #FFF6DA;
  --paper: #F1E8D2;
  --print: #EEE7D6;
  --pen: #24366A;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --hand: "Homemade Apple", "Bradley Hand", "Segoe Print", cursive;
  --r-card: 16px;
  --r-tile: 14px;
  --r-big: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; scrollbar-color: #3A3A3A var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(244, 244, 242, 0.24); color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: #2C2C2C; border-radius: 8px; border: 3px solid var(--ground); }
::-webkit-scrollbar-thumb:hover { background: #3A3A3A; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--ink); text-decoration-color: rgba(244, 244, 242, 0.4); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color 200ms; }
a:hover { text-decoration-color: var(--ink); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.tnum { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--ground); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- wordmark ---------- */
.mark { display: inline-flex; align-items: center; min-height: 48px; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.mark .o { display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--green); margin: 0 0.04em; transform: translateY(0.1em); }

/* ---------- nav: solid, no blur, so scrolling stays light ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: box-shadow 240ms; }
.nav.scrolled { box-shadow: 0 0.5px 0 var(--sep); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--ink-2); text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; transition: color 200ms; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } .nav-in { justify-content: space-between; } }

/* ---------- actions ---------- */
.ghost { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 9999px; background: var(--control); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 200ms; }
.ghost:hover { background: #2A2A2A; }
.ghost .long { display: inline; }
@media (max-width: 420px) { .ghost .long { display: none; } }
.watch { display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 26px 0 10px; border-radius: 9999px; background: var(--green); color: var(--ground); text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1.2; transition: filter 200ms, transform 200ms var(--ease); }
.watch:hover { filter: brightness(1.06); }
.watch:active { transform: scale(0.98); }
.watch .play { width: 40px; height: 40px; border-radius: 50%; background: var(--ground); color: var(--green); display: grid; place-items: center; flex: none; }
.watch .lbl { display: grid; }
.watch .lbl small { font-weight: 500; font-size: 13px; opacity: 0.78; }
.soonlbl { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.soonlbl svg { flex: none; }
.acts { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ---------- section rhythm ---------- */
.band { padding: clamp(96px, 12vw, 160px) 0 0; }
.h-sec { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.02em; max-width: 18ch; }
.h-sec.wide { max-width: none; }
.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-soft); max-width: 36em; margin-top: 20px; }

/* ---------- hero: the wall's first viewport ---------- */
.hero { padding-top: 12px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 88px); line-height: 1.02; letter-spacing: -0.03em; max-width: 12.5ch; }
.hero .lede { margin-top: 24px; max-width: 30em; }
.hero .acts { margin-top: 34px; }

.moment { position: relative; border-radius: var(--r-big); overflow: hidden; background: var(--ground); aspect-ratio: 4 / 5; height: min(580px, calc(100vh - 340px)); min-height: 500px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms var(--ease); }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.on img { animation: push 8s ease-out forwards; }
.moment.held .slide img { animation-play-state: paused; }
@keyframes push { from { transform: scale(1.04); } to { transform: scale(1); } }
.slide .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 32%, rgba(10, 10, 10, 0.6) 58%, rgba(10, 10, 10, 0.94) 84%, var(--ground) 100%); }
.slide-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 36px); padding-bottom: 76px; display: grid; gap: 12px; }
.slide-q { font-size: 15px; color: rgba(244, 244, 242, 0.72); }
.slide-quote { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.22; letter-spacing: -0.01em; max-width: 20em; }
.slide-who { font-size: 15px; color: rgba(244, 244, 242, 0.78); }
.slide-who b { color: var(--ink); font-weight: 600; }
/* delight: the question comes first, then the answer, as in the interview */
.slide .slide-q, .slide .slide-quote, .slide .slide-who { opacity: 0; }
.slide.on .slide-q { animation: rise 700ms var(--ease) 250ms both; }
.slide.on .slide-quote { animation: rise 800ms var(--ease) 1100ms both; }
.slide.on .slide-who { animation: rise 700ms var(--ease) 1500ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .slide { transition: opacity 200ms ease; }
  .slide.on .slide-q, .slide.on .slide-quote, .slide.on .slide-who { animation: none; opacity: 1; }
  .slide.on img { animation: none; }
}
.moment-ctrl { position: absolute; left: clamp(8px, 2vw, 24px); right: clamp(12px, 2vw, 24px); bottom: 14px; display: flex; align-items: center; z-index: 2; }
.moment-ctrl .dots { display: flex; }
.moment-ctrl .dots button { width: 48px; height: 48px; display: grid; place-items: center; }
.moment-ctrl .dots i { width: 22px; height: 7px; border-radius: 9999px; background: rgba(244, 244, 242, 0.32); transform: scaleX(0.32); transition: transform 300ms var(--ease), background 300ms; }
.moment-ctrl .dots button[aria-current="true"] i { transform: none; background: var(--ink); }
.moment-ctrl .pause { margin-left: auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: rgba(244, 244, 242, 0.85); }
.moment-ctrl .pause:hover { color: var(--ink); }
.example { margin-top: 14px; font-size: 13px; color: var(--ink-2); text-align: right; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 12ch; } .moment { height: auto; min-height: 0; width: 100%; } .example { text-align: left; } }

/* ---------- faces ---------- */
.faces-band { padding-top: clamp(32px, 3vw, 44px); }
.faces-head { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 48px; }
.faces-head h2 { flex: 0 1 auto; min-width: 0; }
.faces-head .lede { flex: 1 1 320px; max-width: 32em; margin-top: 0; }
.faces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.face { display: grid; gap: 10px; align-content: start; text-align: left; border-radius: var(--r-tile); }
.face .ph { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-tile); overflow: hidden; background: var(--control); }
.face .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.face .ph::after { content: ""; position: absolute; inset: 0; background: var(--ground); opacity: 0.22; transition: opacity 300ms ease; pointer-events: none; }
.face:hover .ph img { transform: scale(1.03); }
.face:hover .ph::after { opacity: 0.08; }
.face[aria-selected="true"] .ph::after { opacity: 0; }
.face[aria-selected="true"] .ph { box-shadow: 0 0 0 3px var(--ground), 0 0 0 5px var(--ink); }
.face .nm { font-size: 19px; line-height: 1.2; }
.face .st { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.face .you { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ink-2); background: var(--card); box-shadow: inset 0 0 0 1px var(--sep); border-radius: var(--r-tile); }
.face:focus-visible { outline-offset: 6px; border-radius: 18px; }
@media (max-width: 900px) {
  .faces { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 12px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 6px var(--gutter) 8px; scrollbar-width: none; }
  .faces::-webkit-scrollbar { display: none; }
  .face { flex: 0 0 136px; scroll-snap-align: start; }
  .faces-band { padding-top: 72px; }
}

.way { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 40px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-big); background: var(--card); }
.way h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.015em; max-width: 20ch; }
.way p { margin-top: 14px; font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 34em; }
.way-copy { transition: opacity 260ms ease; }
.way-copy.fading { opacity: 0; }

/* an excerpt of the app: the Record button that names who you're with, over the three tabs */
.appbar { display: grid; gap: 10px; }
.appbar figcaption { font-size: 13px; color: var(--ink-2); padding: 0 4px 4px; }
.accessory { min-height: 60px; border-radius: 30px; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 10px; background: var(--control); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18); }
.recdot { width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none; transition: transform 420ms var(--ease); }
.recdot i { width: 13px; height: 13px; border-radius: 50%; background: var(--ground); }
.accessory.pulse .recdot { transform: scale(1.14); }
.accessory .lbl { flex: 1; min-width: 0; display: grid; transition: opacity 240ms ease, transform 420ms var(--ease); }
.accessory .lbl.rewriting { opacity: 0; transform: translateY(8px); }
.accessory .lbl b { font-weight: 600; font-size: 17px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.accessory .lbl span { font-size: 13px; line-height: 1.3; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.accessory svg { color: var(--ink-2); flex: none; }
.tabs { height: 64px; border-radius: 9999px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; background: var(--control); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16); }
.tabs span { border-radius: 9999px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.tabs span.on { color: var(--ink); background: rgba(244, 244, 242, 0.12); }
@media (prefers-reduced-motion: reduce) { .way-copy, .accessory .lbl, .recdot { transition: none; } }
@media (max-width: 900px) { .way { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.reasons { list-style: none; margin: 48px 0 0; padding: 0; max-width: 36em; }
.reasons li { padding: 22px 0; box-shadow: 0 -0.5px 0 var(--sep); }
.reasons li:last-child { box-shadow: 0 -0.5px 0 var(--sep), 0 0.5px 0 var(--sep); }
.reasons b { display: block; font-weight: 400; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.reasons p { margin-top: 8px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.reasons cite { font-style: normal; color: var(--ink-soft); }
.album { position: sticky; top: 112px; display: grid; padding-top: 24px; }
.print { position: relative; background: var(--print); padding: 12px 12px 0; border-radius: 3px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5); transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.print img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; }
.print figcaption { font-family: var(--hand); color: var(--pen); font-size: 15px; line-height: 1.4; padding: 14px 4px 16px; }
.print.a { --tilt: -2.2deg; justify-self: start; width: 64%; z-index: 1; }
.print.b { --tilt: 1.6deg; justify-self: end; width: 56%; margin-top: -30%; z-index: 2; }
.print.b figcaption { text-align: right; }
.print.c { --tilt: -1deg; justify-self: start; width: 52%; margin-left: 5%; margin-top: -9%; z-index: 3; }
.print { transform: rotate(var(--tilt)); }
/* hover: a print straightens in place; it doesn't lift, grow or come forward (owner, 2026-11-12) */
.print:hover { transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) { .print { transition: none; } .print:hover { transform: rotate(0deg); } }
/* overdrive: the prints develop like instant film. Until site.js starts the chemistry, the image
   area is the film's dark opacifier and the date isn't written yet. A WebGL canvas does the
   developing over the photo, then hands back to the real image. */
.print figcaption { transition: opacity 1100ms var(--ease); }
.print.undeveloped::after { content: ""; position: absolute; left: 12px; right: 12px; top: 12px; aspect-ratio: 9 / 7; background: #334042; }
.print.undeveloped figcaption { opacity: 0; }
.print .developing { position: absolute; z-index: 1; left: 12px; top: 12px; width: calc(100% - 24px); aspect-ratio: 9 / 7; transition: opacity 500ms var(--ease); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .album { position: relative; top: 0; max-width: 520px; } }

/* ---------- how ---------- */
.how-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: 56px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; counter-increment: step; }
.steps li::before { content: counter(step); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px var(--sep); color: var(--ink-soft); }
.steps b { font-weight: 400; font-size: 22px; line-height: 1.3; padding-top: 6px; display: flex; align-items: center; gap: 12px; }
.steps p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
/* delight: the light blinks twice, the way it tells the speaker "your turn" */
.led { width: 12px; height: 12px; border-radius: 50%; background: #3A3A3C; flex: none; }
.inview .led { animation: blink 2.4s ease-in-out 400ms 1 both; }
@keyframes blink {
  0%, 8% { background: #3A3A3C; box-shadow: none; }
  12%, 26% { background: var(--flash); box-shadow: 0 0 10px 2px rgba(255, 246, 218, 0.7); }
  32%, 46% { background: #3A3A3C; box-shadow: none; }
  50%, 64% { background: var(--flash); box-shadow: 0 0 10px 2px rgba(255, 246, 218, 0.7); }
  70%, 100% { background: #3A3A3C; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .inview .led { animation: none; } }

.rec { position: relative; aspect-ratio: 16 / 9.4; border-radius: 36px; background: #000; box-shadow: inset 0 0 0 1.5px #2A2A2C, 0 0 0 10px #161617, 0 0 0 11.5px #2E2E30; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 clamp(20px, 3.5vw, 44px); overflow: hidden; margin: 12px; }
.rec-q { display: grid; gap: 14px; justify-items: center; text-align: center; padding-right: clamp(12px, 2vw, 28px); }
.rec-q small { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rec-q p { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.25; max-width: 15em; }
.rec-side { display: grid; justify-items: center; gap: 12px; }
.recbtn { width: 72px; height: 72px; border-radius: 50%; background: var(--control); box-shadow: inset 0 0 0 3px var(--green); display: grid; place-items: center; }
.recbtn i { width: 26px; height: 26px; border-radius: 50%; background: var(--red); }
.rec-side span { font-size: 13px; color: var(--ink-2); }
.rec-cap { margin: 22px 12px 0; font-size: 15px; color: var(--ink-2); max-width: 40em; }
.types { margin-top: 48px; font-size: 16px; color: var(--ink-2); max-width: 46em; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }

/* ---------- keep ---------- */
.keep-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.group { background: var(--card); border-radius: var(--r-card); overflow: hidden; }
.row { position: relative; display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 20px; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 84px; right: 0; height: 0.5px; background: var(--sep); }
.row .thumb { width: 48px; height: 48px; border-radius: 11px; overflow: hidden; background: var(--control); display: grid; place-items: center; flex: none; color: var(--ink-soft); }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row .thumb.paper { background: var(--paper); color: var(--pen); font-family: var(--hand); font-size: 9px; line-height: 1.3; padding: 6px; place-items: start; }
.row .main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.row .main b { font-weight: 400; font-size: 18px; }
.row .main span { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.note { margin-top: 16px; font-size: 15px; color: var(--ink-2); line-height: 1.5; max-width: 34em; }
@media (max-width: 900px) { .keep-grid { grid-template-columns: 1fr; } }

/* ---------- private ---------- */
.private { margin-top: clamp(96px, 12vw, 160px); padding: clamp(80px, 10vw, 128px) 0; background: var(--card); }
.private-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.private .h-sec { max-width: 14ch; }
.private .lede + .lede { margin-top: 16px; }
.private .group { background: var(--ground); }
.group-title { font-size: 20px; line-height: 1.35; margin: 8px 0 20px; }
.private .more { display: inline-flex; align-items: center; min-height: 48px; margin-top: 28px; font-size: 17px; }
@media (max-width: 900px) { .private-grid { grid-template-columns: 1fr; } }

/* ---------- close: one more question ---------- */
.close { padding: clamp(120px, 16vw, 200px) 0 clamp(96px, 12vw, 144px); text-align: center; }
.close .card-q { font-size: clamp(34px, 5vw, 64px); line-height: 1.12; letter-spacing: -0.02em; max-width: 15ch; margin: 0 auto; min-height: 2.24em; transition: opacity 320ms ease; }
.close .card-q.fading { opacity: 0; }
.another { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 20px; padding: 0 18px; border-radius: 9999px; color: var(--ink-soft); font-size: 15px; box-shadow: inset 0 0 0 1px var(--sep); transition: color 200ms, box-shadow 200ms; }
.another:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(244, 244, 242, 0.3); }
.another svg { transition: transform 500ms var(--ease); }
.another:active svg { transform: rotate(-180deg); }
.close .card-sub { margin: 28px auto 0; font-size: 19px; color: var(--ink-2); max-width: 30em; }
.close .acts { align-items: center; margin-top: 40px; }
@media (prefers-reduced-motion: reduce) { .close .card-q, .another svg { transition: none; } }

@media (prefers-reduced-motion: reduce) { .face .ph img, .face .ph::after, .moment-ctrl .dots i, .watch, .ghost, details.qa summary svg { transition: none; } .face:hover .ph img, .watch:active { transform: none; } }

/* ---------- footer ---------- */
.foot { padding: 40px 0 56px; box-shadow: 0 -0.5px 0 var(--sep); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-left: auto; }
.foot nav a { font-size: 15px; color: var(--ink-2); text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: var(--ink); }
.foot small { display: block; width: 100%; font-size: 13px; color: var(--ink-2); }

/* ---------- reading pages: privacy, support ---------- */
.doc { padding: clamp(40px, 6vw, 88px) 0 clamp(80px, 10vw, 128px); }
.doc-in { max-width: 44rem; }
.doc h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; }
.doc .meta { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.doc .short { margin-top: 40px; padding: 28px clamp(20px, 3vw, 32px); border-radius: var(--r-card); background: var(--card); }
.doc .short h2 { font-size: 22px; letter-spacing: -0.01em; margin-top: 0; }
.doc .short ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.doc .short li { color: var(--ink-soft); }
.doc h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.015em; margin-top: 64px; }
.doc h3 { font-size: 21px; font-weight: 600; margin-top: 36px; }
.doc p, .doc li { font-size: 17px; line-height: 1.62; color: var(--ink-soft); }
.doc p { margin-top: 14px; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.doc strong { color: var(--ink); font-weight: 600; }
.toc { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 9999px; background: var(--card); color: var(--ink-soft); font-size: 15px; text-decoration: none; }
.toc a:hover { background: var(--control); color: var(--ink); }
.perm { margin-top: 20px; border-radius: var(--r-card); background: var(--card); overflow: hidden; }
.perm div { position: relative; display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 4px 24px; padding: 16px 20px; }
.perm div + div::before { content: ""; position: absolute; top: 0; left: 20px; right: 0; height: 0.5px; background: var(--sep); }
.perm dt { color: var(--ink); font-size: 17px; }
.perm dd { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
@media (max-width: 640px) { .perm div { grid-template-columns: 1fr; } }
details.qa { border-radius: var(--r-card); background: var(--card); margin-top: 12px; }
details.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 20px; font-size: 18px; border-radius: var(--r-card); }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary svg { flex: none; color: var(--ink-2); transition: transform 300ms var(--ease); }
details.qa[open] summary svg { transform: rotate(90deg); }
details.qa .ans { padding: 0 20px 20px; }
details.qa .ans p:first-child { margin-top: 0; }
.credits { list-style: none; padding: 0 !important; }
.credits li { font-size: 15px; color: var(--ink-2); }
