/* Recollect · 拾旧 — website styles.
   Read: premium consumer app site, Jiangnan "white wall, black tile" language, scroll-told with GSAP.
   The page is deliberately light (the wall is white); the ink section switches to night once, by the visitor's hand,
   and the closing download band sits under a night sky.
   Shape system: interactive controls are full pills; content cells are 28px; devices use their own hardware radius. */

@font-face { font-family: "Shijiu Serif"; src: url("serif.woff") format("woff"); font-display: swap; }

:root {
  --wall: #F1F1EF;
  --paper: #FAFAF8;
  --white: #FFFFFF;
  --ink: #111113;
  --ink-2: #4A4A50;
  --ink-3: #8E8E94;
  --line: rgba(17, 17, 19, 0.1);
  --night: #0E0E10;
  --night-2: #1A1A1D;
  --moon: #F4F4F6;
  --serif: "Shijiu Serif", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --cell: 28px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wall); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[data-icon] { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
[data-icon] svg { width: 100%; height: 100%; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.h2 { margin: 0; font-family: var(--serif); font-weight: normal; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.22; letter-spacing: 0.02em; text-wrap: balance; }
.lede { margin: 22px 0 0; font-size: 17px; line-height: 1.85; color: var(--ink-2); max-width: 30em; }

/* ---------- buttons ---------- */
.pill { height: 48px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s var(--ease); }
.pill:active { transform: scale(0.97); }
.pill-ink { background: var(--ink); color: var(--white); }
.pill-ink:hover { background: #2A2A2E; }
.pill-line { border: 1px solid rgba(17, 17, 19, 0.22); color: var(--ink); background: rgba(255, 255, 255, 0.35); }
.pill-line:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.pill-paper { background: var(--moon); color: var(--ink); }
.pill-paper:hover { background: var(--white); }
.pill-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.text-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.text-btn:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; transition: background 0.35s, box-shadow 0.35s; }
.top.solid { background: rgba(241, 241, 239, 0.96); box-shadow: 0 0.5px 0 var(--line); }
.top.night { background: rgba(14, 14, 16, 0.94); box-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.08); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 68px; padding-top: env(safe-area-inset-top); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22); }
.brand span { font-family: var(--serif); font-size: 19px; color: var(--white); transition: color 0.35s; }
.top.solid .brand span { color: var(--ink); }
.top.night .brand span { color: var(--moon); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav a:not(.pill) { text-decoration: none; color: rgba(255, 255, 255, 0.84); transition: color 0.35s; }
.top.solid .nav a:not(.pill) { color: var(--ink-2); }
.top.night .nav a:not(.pill) { color: #B8B8BE; }
.pill-nav { height: 38px; padding: 0 18px; font-size: 14px; background: var(--white); color: var(--ink); }
.top.solid .pill-nav { background: var(--ink); color: var(--white); }
.top.night .pill-nav { background: var(--moon); color: var(--ink); }
@media (max-width: 720px) { .nav a:not(.pill) { display: none; } }

/* ---------- 1 · hero / moon gate ---------- */
.hero { position: relative; height: 100vh; height: 100svh; }
.stage { position: relative; height: 100%; overflow: hidden; background: var(--wall); contain: layout paint; }
.layer { position: absolute; inset: 0; will-change: transform; }
.depth { position: absolute; inset: 0; }
.layer img { position: absolute; max-width: none; user-select: none; }
.tiles { position: absolute; left: -2%; right: -2%; top: 0; height: clamp(86px, 13.5vh, 150px); background: url("tiles-strip.png") repeat-x 0 0 / auto 100%; }
.plaque { position: absolute; display: flex; gap: 0.5em; transform: translateX(-50%); font-family: var(--serif); color: #8A8A90; white-space: nowrap; }
.plaque span { display: inline-block; }
.veil { position: absolute; inset: 0; background: var(--wall); pointer-events: none; }
.hero-copy { position: absolute; z-index: 3; left: max(6vw, 24px); top: 50%; transform: translateY(-46%); max-width: 560px; }
.hero-zh { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 22px); letter-spacing: 0.5em; color: var(--ink-2); }
.hero-title { margin: 14px 0 0; font-family: var(--serif); font-weight: normal; font-size: clamp(58px, 7vw, 104px); line-height: 1.02; letter-spacing: -0.01em; display: flex; width: max-content; max-width: 100%; overflow: hidden; padding: 0 0.04em 0.08em 0; }
.hero-title .ch { display: inline-block; }
.hero-sub { margin: 22px 0 0; font-size: 16.5px; line-height: 1.85; color: var(--ink-2); max-width: 22em; }
.hero-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.inside { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 22vh; text-align: center; pointer-events: none; visibility: hidden; }
.inside h2 { margin: 0; font-family: var(--serif); font-weight: normal; font-size: clamp(38px, 5.2vw, 76px); letter-spacing: 0.16em; padding-left: 0.16em; }
.inside p { margin: 20px 0 0; font-size: 17px; line-height: 1.9; color: var(--ink-2); padding: 0 24px; }
@media (max-width: 720px), (max-aspect-ratio: 1/1) {
  .hero-copy { left: 0; right: 0; top: auto; bottom: max(7vh, 40px); transform: none; max-width: none; text-align: center; padding: 0 24px; }
  .hero-title { justify-content: center; font-size: clamp(50px, 14vw, 72px); }
  .hero-zh { display: none; }
  .hero-title { margin-top: 0; }
  .hero-sub { margin-left: auto; margin-right: auto; font-size: 15.5px; }
  .hero-cta { justify-content: center; }
  .inside { padding-top: 16vh; }
}

/* ---------- devices ---------- */
.device { --w: 320px; width: var(--w); max-width: 100%; aspect-ratio: 390 / 844; border-radius: calc(var(--w) * 0.15); padding: calc(var(--w) * 0.032); background: #0D0D0E; box-shadow: 0 50px 90px -40px rgba(17, 17, 19, 0.5), inset 0 0 0 1.5px #2E2E31; flex: none; position: relative; }
.device-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * 0.12); background: var(--white); contain: layout paint; }
.device-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-lg { --w: 350px; }
.device-md { --w: 330px; }
.device-sm { --w: 250px; }
.scaled { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform-origin: 0 0; }
@media (max-width: 720px) { .device-lg { --w: 300px; } .device-md { --w: 270px; } .device-sm { --w: 180px; } }

/* ---------- 2 · live demo ---------- */
.demo { background: var(--paper); padding: 150px 0 140px; }
.demo-grid { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.hints { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
.hints li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--ink); }
.hints [data-icon] { width: 40px; height: 40px; padding: 10px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
.demo-text .text-btn { margin-top: 34px; }
.demo-device { display: flex; justify-content: center; }
.demo-device iframe { position: absolute; left: 0; top: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; background: var(--white); opacity: 0; transition: opacity 0.5s; }
.demo-device iframe.ready { opacity: 1; }
.device-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-loading { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(17, 17, 19, 0.72); color: #FFFFFF; font-size: 12px; letter-spacing: 0.15em; }
.device-loading[hidden] { display: none; }
.demo-start { position: absolute; left: 50%; bottom: 16%; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 15px; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(17, 17, 19, 0.5); transition: transform 0.2s var(--ease), background 0.2s; }
.demo-start:hover { background: #2A2A2E; }
.demo-start:active { transform: translateX(-50%) scale(0.96); }
.demo-start[hidden] { display: none; }
@media (max-width: 860px) { .demo { padding: 110px 0; } .demo-grid { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- 3 · how a page is written ---------- */
.write { background: var(--wall); }
.write-pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 100px 0; }
.write-grid { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.write-text { position: relative; }
.steps { list-style: none; margin: 48px 0 0; padding: 0 0 0 28px; display: grid; gap: 26px; }
.steps li { display: grid; gap: 6px; color: var(--ink-3); transition: color 0.4s; }
.steps li b { font-family: var(--serif); font-weight: normal; font-size: clamp(20px, 1.9vw, 25px); letter-spacing: 0.04em; }
.steps li span { font-size: 15px; line-height: 1.7; }
.steps li.on { color: var(--ink); }
.steps li.on span { color: var(--ink-2); }
.steps-rail { position: absolute; left: 0; bottom: 6px; width: 1.5px; height: calc(100% - 168px); background: var(--line); overflow: hidden; }
.steps-rail i { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(0); }
.write-device { display: flex; justify-content: center; }
@media (max-width: 860px) {
  .write-pin { padding: 84px 0 40px; align-items: flex-start; }
  .write-grid { grid-template-columns: 1fr; gap: 28px; }
  .write-text .h2 { font-size: 30px; }
  .steps { margin-top: 18px; gap: 0; padding: 0; min-height: 64px; }
  .steps li { display: none; }
  .steps li.on { display: grid; }
  .steps-rail { display: none; }
}

/* the composer, drawn to the app's own measurements at 390pt wide */
.composer { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform-origin: 0 0; background: var(--white); font-family: var(--sans); color: var(--ink); }
.c-head { display: flex; align-items: center; justify-content: space-between; padding: 54px 16px 8px; font-size: 17px; }
.c-x { width: 34px; height: 34px; border-radius: 17px; background: rgba(118, 118, 128, 0.12); display: grid; place-items: center; }
.c-x [data-icon] { width: 14px; height: 14px; }
.c-save { height: 34px; padding: 0 16px; border-radius: 17px; display: grid; place-items: center; font-size: 15px; font-weight: 600; background: rgba(118, 118, 128, 0.12); color: #A2A2A8; transition: background 0.3s, color 0.3s; }
.c-save.on { background: var(--ink); color: var(--white); }
.c-date { display: flex; align-items: baseline; gap: 10px; padding: 14px 20px 0; }
.c-big { font-family: Inter, var(--sans); font-weight: 200; font-size: 32px; letter-spacing: -0.02em; }
.c-big small { font-size: 15px; color: var(--ink-2); font-weight: 400; }
.c-sub { font-size: 13px; color: var(--ink-2); }
.c-photos { display: flex; gap: 8px; padding: 20px 20px 0; height: 156px; }
.c-add, .c-photo { flex: none; width: 104px; height: 136px; border-radius: 14px; }
.c-add { background: rgba(118, 118, 128, 0.12); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.c-add [data-icon] { width: 22px; height: 22px; }
.c-photo { object-fit: cover; }
.c-title { position: relative; padding: 22px 20px 0; font-family: var(--serif); font-size: 24px; letter-spacing: 0.02em; min-height: 58px; display: flex; align-items: center; }
.c-title .c-ph { position: absolute; left: 20px; top: 22px; }
.c-ph { color: #A2A2A8; }
.caret { display: inline-block; width: 2px; height: 26px; margin-left: 2px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 0; min-height: 44px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; background: rgba(118, 118, 128, 0.12); font-size: 13px; font-weight: 500; }
.chip [data-icon] { width: 15px; height: 15px; color: var(--ink-2); }
.c-body { position: relative; padding: 14px 20px 0; font-size: 17px; line-height: 31px; color: #2A2A2E; }
.c-body .c-ph { position: absolute; left: 20px; top: 14px; }
.c-line { margin: 0; }
.c-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 4px; padding: 10px 12px 34px; border-top: 0.5px solid var(--line); background: var(--white); }
.c-bar [data-icon] { width: 44px; height: 44px; padding: 11px; }
.c-bar span { margin-left: auto; padding-right: 8px; font-size: 13px; color: #A2A2A8; }
.c-toast { position: absolute; left: 50%; top: 58px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 0 14px; border-radius: 20px; background: var(--white); box-shadow: 0 10px 28px rgba(17, 17, 19, 0.16), 0 0 0 0.5px var(--line); font-size: 14px; font-weight: 600; transform: translate(-50%, -20px); opacity: 0; }

/* ---------- 4 · day and night ---------- */
.ink { position: relative; overflow: hidden; }
.ink-layer { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0; background: var(--white); }
.ink-night { position: absolute; inset: 0; background: var(--night); color: var(--moon); clip-path: circle(0px at var(--x, 20%) var(--y, 60%)); }
.ink-night .lede { color: #A6A6AC; }
.ink-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ink-switch { margin-top: 40px; position: relative; display: inline-flex; align-items: center; width: 220px; height: 60px; border-radius: 999px; background: var(--wall); box-shadow: inset 0 0 0 1px var(--line); }
.ink-switch .lbl { flex: 1; text-align: center; font-family: var(--serif); font-size: 17px; letter-spacing: 0.2em; color: var(--ink-3); position: relative; z-index: 1; transition: color 0.4s; }
.ink-switch .l-day { color: var(--ink); }
.ink-switch .knob { position: absolute; left: 5px; top: 5px; width: 105px; height: 50px; border-radius: 999px; background: var(--white); box-shadow: 0 4px 14px rgba(17, 17, 19, 0.14); display: flex; align-items: center; padding-left: 16px; transition: transform 0.6s var(--ease), background 0.4s; }
.ink-switch .knob [data-icon] { width: 18px; height: 18px; opacity: 0.55; }
.ink-switch.on { background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ink-switch.on .knob { transform: translateX(105px); background: #2B2B2F; color: var(--moon); }
.ink-switch.on .l-day { color: #6A6A70; }
.ink-switch.on .l-night { color: var(--moon); }
.ink-switch:not(.on) .knob { animation: nudge 2.4s 1.2s ease-in-out 2; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateX(10px); } 90% { transform: translateX(-2px); } }
.ink-phones { position: relative; display: flex; justify-content: center; gap: 0; height: 600px; }
.ink-phones .device { position: absolute; top: 40px; }
.ink-phones .tilt-l { left: calc(50% - 250px); transform: rotate(-5deg); }
.ink-phones .tilt-r { left: calc(50% - 10px); top: 0; transform: rotate(4deg); }
@media (max-width: 860px) {
  .ink-layer { padding: 100px 0 80px; }
  .ink-grid { grid-template-columns: 1fr; gap: 40px; }
  .ink-phones { height: 420px; }
  .ink-phones .tilt-l { left: calc(50% - 175px); }
  .ink-phones .tilt-r { left: calc(50% - 5px); }
}

/* ---------- 5 · bento ---------- */
.features { background: var(--paper); padding: 150px 0 160px; }
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.cell { position: relative; border-radius: var(--cell); padding: 34px; overflow: hidden; min-height: 360px; }
.cell h3 { margin: 0; font-family: var(--serif); font-weight: normal; font-size: 26px; letter-spacing: 0.04em; }
.cell p { margin: 10px 0 0; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.cell-sync { grid-column: span 7; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.cell-gps { grid-column: span 5; background: var(--wall); padding: 0; display: flex; flex-direction: column; }
.cell-quiet { grid-column: span 5; background: var(--ink); color: var(--moon); display: flex; flex-direction: column; justify-content: space-between; }
.cell-leave { grid-column: span 7; background: var(--wall); padding-top: 96px; }
@media (max-width: 960px) { .cell-sync, .cell-gps, .cell-quiet, .cell-leave { grid-column: span 12; } }

.cell-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); padding: 6px 4px; }
.switch-track { width: 46px; height: 28px; border-radius: 999px; background: rgba(118, 118, 128, 0.2); position: relative; transition: background 0.3s; }
.switch-knob { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(17, 17, 19, 0.2); transition: transform 0.35s var(--ease); }
.switch[aria-pressed="true"] .switch-track { background: var(--ink); }
.switch[aria-pressed="true"] .switch-knob { transform: translateX(18px); }
.switch-label { display: inline-flex; align-items: center; gap: 6px; min-width: 88px; }
.sync-list { list-style: none; margin: 26px 0 22px; padding: 0; display: grid; gap: 10px; }
.sync-list li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 10px; border-radius: 18px; background: var(--paper); }
.sync-list img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.sync-list b { display: block; font-family: var(--serif); font-weight: normal; font-size: 17px; }
.sync-list span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.sync-list em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); padding-right: 8px; }
.sync-list li[data-state="pending"] em { color: var(--ink-3); }
.sync-list li[data-state="syncing"] em [data-icon] { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cell-sync .pill { align-self: flex-start; margin-top: auto; }

.gps-photo { height: 210px; overflow: hidden; }
.gps-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cell-gps:hover .gps-photo img { transform: scale(1.04); }
.gps-body { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.exif { margin: 0; display: grid; gap: 8px; font-size: 14px; }
.exif div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); }
.exif dt { color: var(--ink-3); }
.exif dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.exif dd.gone { color: var(--ink-3); }
.exif dd s { color: var(--ink-3); margin-right: 8px; }
.cell-gps .pill { align-self: flex-start; margin-top: auto; }

.quiet { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.45; letter-spacing: 0.08em; color: var(--moon) !important; }
.cell-quiet > span { font-size: 15px; color: #8E8E94; }

.cell-leave .tiles-band { position: absolute; left: 0; right: 0; top: 0; height: 64px; background: url("tiles-strip.png") repeat-x 0 0 / auto 100%; }
.leave-row { display: flex; gap: 10px; margin-top: 26px; min-height: 72px; }
.leave-row img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; box-shadow: 0 6px 16px -8px rgba(17, 17, 19, 0.35); }
.leave-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.leave-actions .ask { font-size: 14px; color: var(--ink-2); margin-right: 6px; }
.leave-done { min-height: 1.8em; margin: 14px 0 0 !important; font-family: var(--serif); font-size: 18px !important; color: var(--ink) !important; }

/* ---------- 6 · story ---------- */
.story { position: relative; background: var(--wall); padding: 220px 0 180px; overflow: hidden; }
.story-tiles { position: absolute; left: 0; right: 0; top: 0; height: 110px; background: url("tiles-strip.png") repeat-x 0 0 / auto 100%; }
.story-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.manifesto { margin: 0; font-family: var(--serif); font-size: clamp(38px, 6vw, 86px); line-height: 1.42; letter-spacing: 0.08em; }
.manifesto .line { display: block; }
.manifesto .c { display: inline-block; }
.seal { margin-top: 64px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; height: 104px; border-radius: 6px; background: var(--ink); color: var(--white); font-family: var(--serif); font-size: 28px; line-height: 1.28; box-shadow: 0 10px 24px -10px rgba(17, 17, 19, 0.5); }
.story-body { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 900px; text-align: left; }
.story-body p { margin: 0; font-size: 16px; line-height: 2; color: var(--ink-2); }
@media (max-width: 860px) { .story { padding: 170px 0 120px; } .story-body { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 600px) { .manifesto { font-size: 8vw; letter-spacing: 0.04em; } }

/* ---------- 7 · download ---------- */
.download { position: relative; background: var(--night); color: var(--moon); padding: 160px 0; overflow: hidden; }
.moon { position: absolute; width: 760px; height: 760px; left: 0; top: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(244, 244, 246, 0.14), rgba(244, 244, 246, 0.04) 40%, rgba(244, 244, 246, 0) 70%); transform: translate(55vw, -10%); will-change: transform; }
.dl-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.dl-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.7); }
.dl-title { margin: 30px 0 0; font-family: var(--serif); font-weight: normal; font-size: clamp(48px, 6vw, 84px); line-height: 1; }
.dl-meta { margin: 14px 0 0; font-size: 15px; letter-spacing: 0.08em; color: #9A9AA0; }
.dl-note { margin: 26px 0 0; font-size: 15px; line-height: 1.9; color: #B4B4BA; max-width: 30em; }
.download .pill { margin-top: 34px; }
.qr { justify-self: center; width: 268px; padding: 24px; border-radius: var(--cell); background: var(--white); color: var(--ink); text-align: center; }
.qr img { width: 220px; height: 220px; margin: 0 auto; image-rendering: pixelated; }
.qr span { display: block; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
@media (max-width: 860px) { .download { padding: 120px 0; } .dl-grid { grid-template-columns: 1fr; } .qr { justify-self: start; } }

.foot { background: var(--night); color: #77777D; border-top: 0.5px solid rgba(255, 255, 255, 0.07); }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: max(28px, env(safe-area-inset-bottom)); font-size: 13px; }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; transition: color 0.2s; }
.foot a:hover { color: var(--moon); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
