/* The Golden Blink website: the app's paper-and-ink palette in golden-hour light (docs/brand.md). Gold is the brand,
   terracotta is for actions, dusk is for the quiet sections. Fonts are served from /fonts. */
@font-face { font-family: 'Fraunces'; src: url(fonts/fraunces-400.ttf) format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(fonts/fraunces-400-italic.ttf) format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(fonts/fraunces-600.ttf) format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(fonts/fraunces-600-italic.ttf) format('truetype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url(fonts/jakarta-400.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url(fonts/jakarta-600.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url(fonts/jakarta-700.ttf) format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --paper: #fbf7f1;
  --sheet: #ffffff;
  --ink: #2a211c;
  --ink-soft: #6b5f57;
  --rule: #eadfd3;
  --tint: #f2eae0;
  --clay: #bd5037;
  --clay-hover: #a3402b;
  --clay-soft: #f8e3d9;
  --on-clay: #ffffff;
  --gold: #93600a;
  --gold-soft: #fbefd2;
  --g1: #f4cb6a;
  --g2: #d49a2a;
  --g3: #9a640e;
  --dusk: #24170f;
  --dusk-line: #3d2a1d;
  --on-dusk: #f5ede4;
  --on-dusk-soft: #cbbcaf;
  --dusk-gold: #e8b24a;
  --phone: #1d1612;
  --app-paper: #fbf7f1;
  --glow: rgba(232, 178, 74, 0.34);
  --shadow: 0 1px 2px rgba(42, 33, 28, 0.06), 0 18px 40px -18px rgba(42, 33, 28, 0.32);
  --display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max: 1160px;
  --measure: 66ch;
  --gutter: max(1rem, calc((100% - var(--max)) / 2));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15110e;
    --sheet: #211a16;
    --ink: #f5ede4;
    --ink-soft: #b3a69b;
    --rule: #3a2f29;
    --tint: #2c231e;
    --clay: #eb8463;
    --clay-hover: #f29b7f;
    --clay-soft: #3f2a21;
    --on-clay: #24120b;
    --gold: #e8b24a;
    --gold-soft: #3a2e16;
    --g1: #fce7ae;
    --g2: #e8b24a;
    --g3: #b4741a;
    --dusk: #0e0a07;
    --dusk-line: #2c2119;
    --glow: rgba(232, 178, 74, 0.22);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #15110e;
  --sheet: #211a16;
  --ink: #f5ede4;
  --ink-soft: #b3a69b;
  --rule: #3a2f29;
  --tint: #2c231e;
  --clay: #eb8463;
  --clay-hover: #f29b7f;
  --clay-soft: #3f2a21;
  --on-clay: #24120b;
  --gold: #e8b24a;
  --gold-soft: #3a2e16;
  --g1: #fce7ae;
  --g2: #e8b24a;
  --g3: #b4741a;
  --dusk: #0e0a07;
  --dusk-line: #2c2119;
  --glow: rgba(232, 178, 74, 0.22);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* --- Base ---------------------------------------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--clay); text-underline-offset: 0.18em; }
a:hover { color: var(--clay-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
p, ul, ol { margin: 0 0 1rem; }
strong { font-weight: 700; }
h1, h2, h3 { text-wrap: balance; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--sheet); padding: 0.5rem 1rem; border-radius: 0.5rem; z-index: 10; }
.skip:focus { left: 1rem; }

.eyebrow { font: 700 0.78rem/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin: 0 0 0.75rem; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); }

/* The mark: a gold gradient that's deeper on paper and brighter on dark. */
.mark { display: block; overflow: visible; }
.mark .s1 { stop-color: var(--g1); }
.mark .s2 { stop-color: var(--g2); }
.mark .s3 { stop-color: var(--g3); }
.mark.bright .s1 { stop-color: #fce7ae; }
.mark.bright .s2 { stop-color: #e8b24a; }
.mark.bright .s3 { stop-color: #b4741a; }
.mark .m-hi { fill: #fff6dd; opacity: 0.7; }
.mark .m-lash { fill: none; stroke-width: 28; stroke-linecap: round; }
.mark .m-lid, .mark .m-lash, .mark .m-tw { transform-box: fill-box; }
.twinkle { width: 1em; height: 1em; flex: none; }
.twinkle path { fill: var(--gold); }

/* --- Header and footer -------------------------------------------------------------------------------------------- */
.site-header {
  padding: 1.1rem var(--gutter) 0.9rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 2.3rem; height: 2.3rem; margin: -0.2rem 0 -0.3rem; }
.wordmark { font: 600 1.28rem/1 var(--display); letter-spacing: -0.015em; white-space: nowrap; }
.wordmark b { font-weight: 600; color: var(--gold); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; font-size: 0.95rem; }
.nav a { color: var(--ink-soft); text-decoration: none; padding-block: 0.35rem; }
.nav a:hover { color: var(--clay); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--clay); }

.site-footer {
  margin-top: 2rem;
  padding: 2.25rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule);
  display: grid; gap: 1.25rem 2rem; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
  color: var(--ink-soft); font-size: 0.92rem;
}
.site-footer .brand .mark { width: 2rem; height: 2rem; }
.site-footer .tagline { margin: 0.6rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--clay); }
.copyright { grid-column: 1 / -1; margin: 0; font-size: 0.85rem; }
@media (max-width: 640px) {
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* --- Phones -------------------------------------------------------------------------------------------------------- */
.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 390 / 844;
  padding: 9px;
  border-radius: 48px;
  background: var(--phone);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 2px 4px rgba(42, 33, 28, 0.12), 0 30px 60px -24px rgba(42, 33, 28, 0.55);
}
.phone-small { width: min(250px, 62vw); border-radius: 40px; padding: 8px; }
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 39px; background: var(--app-paper); }
.phone-small .screen { border-radius: 32px; }
.screen::before {
  content: ''; position: absolute; z-index: 2; top: 2.1%; left: 50%; width: 31%; height: 3.3%;
  transform: translateX(-50%); border-radius: 999px; background: #0c0907;
}
.screen video, .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen-app { display: flex; flex-direction: column; }
.screen-app img { flex: 1; min-height: 0; }
.statusbar {
  flex: none; height: 6.2%; padding: 0 11% 0 12%; display: flex; align-items: center;
  font: 600 0.72rem/1 var(--body); color: #2a211c; background: var(--app-paper);
}
.phone-small .statusbar { font-size: 0.62rem; }

/* --- Home ---------------------------------------------------------------------------------------------------------- */
.page-home main > section { padding-inline: var(--gutter); overflow-x: clip; }
.page-home h2 { font: 600 clamp(2rem, 4.4vw, 3.1rem)/1.06 var(--display); letter-spacing: -0.022em; margin: 0 0 1rem; }
.page-home h3 { font: 700 1.05rem/1.35 var(--body); margin: 0 0 0.3rem; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.8rem 1.45rem; border-radius: 999px;
  background: var(--clay); color: var(--on-clay); text-decoration: none;
  font: 700 1rem/1.1 var(--body); box-shadow: 0 10px 24px -12px rgba(189, 80, 55, 0.7);
  transition: background-color 0.15s, transform 0.15s;
}
.button:hover { background: var(--clay-hover); color: var(--on-clay); }
.button:active { transform: scale(0.97); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 2rem 3rem; align-items: center;
  padding-block: clamp(1.5rem, 5vw, 4rem) 0;
}
.hero h1 {
  font: 600 clamp(2.7rem, 6.6vw, 5.1rem)/1 var(--display); letter-spacing: -0.03em; margin: 0 0 1.4rem;
}
.hero h1 em { display: block; margin-top: 0.12em; font-style: italic; font-weight: 600; color: var(--gold); letter-spacing: -0.02em; }
.hero .lede { max-width: 34rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; margin-bottom: 1.4rem; }
.soon { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-weight: 600; color: var(--ink); }
.soon .twinkle { width: 1.05rem; height: 1.05rem; }
.promise { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.hero-phone { position: relative; z-index: 2; display: flex; justify-content: center; margin-bottom: -10rem; }
.hero-phone::before {
  content: ''; position: absolute; z-index: -1; inset: -6% -30% 10%;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
.film-sound {
  position: absolute; right: 22px; bottom: 26px; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  border: 0; border-radius: 999px; background: rgba(42, 33, 28, 0.78); color: #fbf7f1;
  font: 600 0.82rem/1 var(--body); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.film-sound:hover { background: rgba(42, 33, 28, 0.92); }
.film-sound svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.film-sound .i-speaker { fill: currentColor; }
.film-sound .i-waves { display: none; }
.film-sound[aria-pressed="true"] .i-waves { display: inline; }
.film-sound[aria-pressed="true"] .i-mute { display: none; }

.panorama { position: relative; z-index: 1; margin-top: -4rem; }
.panorama img {
  width: 100%; height: clamp(17rem, 42vw, 40rem); object-fit: cover; object-position: 40% 62%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 34%, #000 82%, transparent 100%);
}

@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-phone { margin-bottom: -4rem; margin-top: 0.5rem; }
  .hero-phone .phone { width: min(270px, 68vw); }
  .panorama { margin-top: -2rem; }
  .panorama img { object-position: 38% 60%; }
}

/* In a blink: one frame, four ages, and a blink between each */
.story { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.story-head { max-width: 40rem; margin-bottom: 2.5rem; }
.story-body { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 2rem clamp(2rem, 7vw, 6rem); }
.story-stage { position: sticky; top: 4vh; align-self: start; }
.frame {
  position: relative; overflow: hidden; aspect-ratio: 956 / 1280; border-radius: 28px;
  background: #fbf7f1; box-shadow: var(--shadow);
}
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.frame img.is-current { opacity: 1; }
.frame.is-blinking img { transition: none; }
.lid { position: absolute; left: -12%; right: -12%; height: 64%; z-index: 2; background: #24170f; transform: scaleY(0); transition: transform 0.36s cubic-bezier(0.2, 0.7, 0.3, 1); }
.lid-top { top: 0; transform-origin: 50% 0; border-radius: 0 0 50% 50% / 0 0 34% 34%; }
.lid-bottom { bottom: 0; transform-origin: 50% 100%; border-radius: 50% 50% 0 0 / 34% 34% 0 0; }
.frame.is-shut .lid { transform: scaleY(1); transition: transform 0.2s cubic-bezier(0.55, 0, 0.85, 0.35); }
.frame-mark { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; opacity: 0; transition: opacity 0.14s ease; pointer-events: none; }
.frame.is-shut .frame-mark { opacity: 1; transition-delay: 0.12s; }
.frame-mark .mark { width: 44%; }
.entries { list-style: none; margin: 0; padding: 0; }
.entry { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding-block: 2rem; }
.entry:first-child { min-height: 50vh; justify-content: flex-start; padding-top: 3rem; }
.entry-when { font: 700 0.8rem/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.9rem; }
.entry-text {
  font: 400 clamp(1.55rem, 2.7vw, 2.25rem)/1.32 var(--display); letter-spacing: -0.012em; margin: 0; max-width: 30rem;
  padding-bottom: 1.1rem; background: linear-gradient(var(--rule), var(--rule)) left bottom / 4.5rem 2px no-repeat;
}
.entry-text::before { content: '\201C'; }
.entry-text::after { content: '\201D'; }
.story-close { margin: 3rem 0 0; font: 600 clamp(1.6rem, 3.4vw, 2.4rem)/1.2 var(--display); letter-spacing: -0.02em; text-align: center; text-wrap: balance; }
.story-close span { display: block; margin: 0.6rem auto 0; max-width: 32rem; font: 400 1.1rem/1.6 var(--body); letter-spacing: 0; color: var(--ink-soft); }

@media (max-width: 899px) {
  .story-body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-stage { top: 0.75rem; z-index: 2; padding-bottom: 0.5rem; background: linear-gradient(var(--paper) 85%, transparent); }
  .frame { aspect-ratio: 4 / 3; max-width: 34rem; margin-inline: auto; }
  .frame img { object-position: 50% 42%; }
  .frame-mark .mark { width: 30%; }
  .entry, .entry:first-child { min-height: 58vh; justify-content: center; padding-top: 2rem; }
}

/* Catch a moment */
.how { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.how-phone { display: flex; justify-content: center; position: relative; }
.how-phone::before { content: ''; position: absolute; z-index: -1; inset: 8% -10%; background: radial-gradient(closest-side, var(--glow), transparent); }
.how .lede { max-width: 32rem; }
.features { list-style: none; padding: 0; margin: 2rem 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; }
.features li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.features p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.icon { width: 2.6rem; height: 2.6rem; padding: 0.6rem; border-radius: 0.9rem; background: var(--gold-soft); color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.note { font-size: 0.95rem; color: var(--ink-soft); border-left: 3px solid var(--gold); padding: 0.15rem 0 0.15rem 0.9rem; margin: 0; }
@media (max-width: 899px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .how-phone { order: 2; }
}
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Albums */
.kids { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(2rem, 5vw, 4rem); }
.kids-text { max-width: 30rem; }
.kids-text p:last-child { color: var(--ink-soft); }
.kids-shots { display: flex; justify-content: center; gap: 1.25rem; }
.kids-shots .phone:last-child { margin-top: 3.5rem; }
@media (max-width: 899px) { .kids { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .kids-shots { gap: 0.75rem; }
  .kids-shots .phone { width: 46vw; border-radius: 30px; padding: 6px; }
  .kids-shots .screen { border-radius: 25px; }
  .kids-shots .statusbar { font-size: 0.5rem; }
}

/* Year in review */
.seasons { padding-block: clamp(3rem, 7vw, 6rem); }
.seasons-head { max-width: 38rem; margin: 0 auto 2.5rem; text-align: center; }
.seasons-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.season-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.season { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 5; background: #fbf7f1; box-shadow: var(--shadow); }
.season video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transform-origin: 50% 44%; }
.season span {
  position: absolute; left: 0.7rem; bottom: 0.7rem; padding: 0.3rem 0.7rem; border-radius: 999px;
  background: rgba(251, 247, 241, 0.92); color: #2a211c; font: 700 0.8rem/1.2 var(--body);
}
.seasons-note { max-width: 36rem; margin: 2rem auto 0; text-align: center; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 1100px) { .season-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .seasons-body { grid-template-columns: minmax(0, 1fr); }
  .seasons-phone { display: none; }
}

/* Letters */
.letters { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem); }
.letters-shot { display: flex; justify-content: center; }
.letters-text { max-width: 32rem; }
.letters-text > p:not(.eyebrow) { color: var(--ink-soft); }
.chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips li { padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font: 700 0.9rem/1.2 var(--body); }
@media (max-width: 899px) {
  .letters { grid-template-columns: minmax(0, 1fr); }
  .letters-shot { order: 2; }
}

/* Daily nudge: the night painting */
.nudge { position: relative; overflow: hidden; color: var(--on-dusk); background: #1c1230; }
.page-home main > .nudge { padding-inline: 0; }
.nudge-art { position: absolute; inset: 0; }
.nudge-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.nudge::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 12, 30, 0.72), rgba(20, 12, 30, 0.2) 70%); }
.nudge-inner {
  position: relative; z-index: 1; padding: clamp(4rem, 9vw, 7.5rem) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: 2.5rem; align-items: center;
}
.nudge .eyebrow { color: var(--dusk-gold); }
.nudge-text { max-width: 30rem; }
.nudge-text p:last-child { color: var(--on-dusk-soft); margin: 0; }
.notification {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.8rem; align-items: start;
  padding: 0.95rem 1.1rem; border-radius: 22px; background: rgba(251, 247, 241, 0.94); color: #2a211c;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
}
.notification img { width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; }
.notification p { margin: 0; }
.n-app { font: 600 0.78rem/1.3 var(--body); color: #6b5f57; display: flex; justify-content: space-between; gap: 1rem; }
.n-title { font: 700 1rem/1.35 var(--body); margin-top: 0.15rem !important; }
.n-body { font-size: 0.95rem; line-height: 1.4; color: #4a3f38; }
@media (max-width: 760px) {
  .nudge-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 10rem; }
  .nudge::after { background: linear-gradient(180deg, rgba(20, 12, 30, 0.7), rgba(20, 12, 30, 0.25) 75%); }
}

/* Private by default: dusk */
.private { background: var(--dusk); color: var(--on-dusk); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.private .eyebrow { color: var(--dusk-gold); }
.private-head { max-width: 40rem; margin-bottom: 2.5rem; }
.private-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.private-grid li { padding: 1.4rem 1.3rem 1.2rem; border: 1px solid var(--dusk-line); border-radius: 20px; background: rgba(255, 255, 255, 0.025); }
.private-grid h3 { color: var(--on-dusk); display: flex; gap: 0.5rem; align-items: center; }
.private-grid h3::before { content: ''; width: 0.9rem; height: 0.9rem; flex: none; background: var(--dusk-gold); clip-path: path('M7.2 0C7.5 5.5 8.5 6.6 14.4 7.2 8.5 7.8 7.5 8.9 7.2 14.4 6.9 8.9 5.9 7.8 0 7.2 5.9 6.6 6.9 5.5 7.2 0Z'); }
.private-grid p { margin: 0; color: var(--on-dusk-soft); font-size: 0.97rem; }
.private-more { margin: 2rem 0 0; }
.private a { color: var(--dusk-gold); }
.private a:hover { color: #fce7ae; }
@media (max-width: 1000px) { .private-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .private-grid { grid-template-columns: minmax(0, 1fr); } }

/* Questions */
.faq-home { padding-block: clamp(3rem, 7vw, 5.5rem) 1rem; }
.page-home .faq-home > * { max-width: 44rem; margin-inline: auto; }
.faq-more { margin-top: 1.25rem; color: var(--ink-soft); }

/* The end: the mark draws itself */
.closing { text-align: center; padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 5vw, 3rem); }
.closing .mark { width: clamp(7rem, 16vw, 10rem); margin: 0 auto 0.5rem; }
.closing h2 { margin-bottom: 0.4rem; }
.closing p { color: var(--ink-soft); margin: 0; }

/* The mark drawing itself (as in the app): the lid sweeps closed, the lashes settle, the twinkle pops in. */
.js .mark.draw .m-lid { clip-path: inset(-20% 100% -20% -20%); transition: clip-path 0.72s cubic-bezier(0.45, 0, 0.2, 1); }
.js .mark.draw .m-lash { opacity: 0; transform: translateY(-14px); transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.2, 0.8, 0.3, 1); }
.js .mark.draw .m-tw { opacity: 0; transform: scale(0.2) rotate(-70deg); transform-origin: 50% 50%; transition: opacity 0.25s ease 0.86s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.86s; }
.js .mark.draw.is-in .m-lid { clip-path: inset(-20% -20% -20% -20%); }
.js .mark.draw.is-in .m-lash { opacity: 1; transform: none; }
.js .mark.draw.is-in .m-lash:nth-of-type(1) { transition-delay: 0.52s; }
.js .mark.draw.is-in .m-lash:nth-of-type(2) { transition-delay: 0.57s; }
.js .mark.draw.is-in .m-lash:nth-of-type(3) { transition-delay: 0.62s; }
.js .mark.draw.is-in .m-lash:nth-of-type(4) { transition-delay: 0.67s; }
.js .mark.draw.is-in .m-lash:nth-of-type(5) { transition-delay: 0.72s; }
.js .mark.draw.is-in .m-tw { opacity: 1; transform: none; }
.js .mark.draw.is-in .m-glint { animation: glint 4.5s ease-in-out 2.2s infinite; transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes glint { 0%, 80%, 100% { transform: scale(1) rotate(0); } 88% { transform: scale(1.45) rotate(45deg); } }

/* --- Help and policy pages ----------------------------------------------------------------------------------------- */
.page-doc main { width: min(100% - 2rem, var(--measure)); margin: 0 auto; padding-block: 2rem 3rem; }
.page-doc .site-header { border-bottom: 1px solid var(--rule); }
.page-doc h1 { font: 600 clamp(2rem, 6vw, 2.75rem)/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.page-doc h2 { font: 600 1.45rem/1.25 var(--display); letter-spacing: -0.01em; margin: 2.5rem 0 0.6rem; }
.page-doc h3 { font: 700 1.02rem/1.35 var(--body); margin: 1.6rem 0 0.35rem; }
.page-doc ul, .page-doc ol { padding-left: 1.25rem; }
.page-doc li { margin-bottom: 0.4rem; }
.page-doc li::marker { color: var(--clay); }
.page-doc .lede { margin-bottom: 1.5rem; }
.meta { color: var(--ink-soft); font-size: 0.9rem; }

.summary { background: var(--sheet); border: 1px solid var(--rule); border-radius: 1rem; padding: 1.1rem 1.25rem 0.4rem; margin: 1.5rem 0 0.5rem; }
.summary h2 { margin-top: 0.2rem; font-size: 1.2rem; }

.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 2.25rem; margin-bottom: 0.7rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.1rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--clay-soft); color: var(--clay); font: 700 0.8rem/1.5rem var(--body); text-align: center;
}
.path { font-weight: 600; white-space: nowrap; }

.faq details { border-top: 1px solid var(--rule); padding-block: 0.25rem; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; padding-block: 0.85rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 0.6rem; height: 0.6rem; margin-right: 0.3rem; border-right: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: translateY(-25%) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.faq details[open] summary { color: var(--clay); }
.faq details p { color: var(--ink-soft); }
.faq details > :not(summary) { margin-left: 0.1rem; }

.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; background: var(--tint); border-radius: 1rem; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.contact .address { font-weight: 700; word-break: break-all; }

mark.fill {
  background: var(--gold-soft); color: var(--gold); font-weight: 700; padding: 0.05em 0.3em; border-radius: 0.3em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

.not-found { text-align: center; padding-block: 4rem 2rem; }
.not-found .mark { width: 7rem; margin: 0 auto 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .lid, .frame-mark { display: none; }
  .frame img { transition: opacity 0.01ms; }
}
