/* Lovedo — app site (/lovedo). Static, dependency 0, no external requests.
   Standards: ~/dev/_shared-services/WEB-SUBPATH.md §9·§9-A, WEB-CRAFT §4-2,
   MOTION-EFFECTS 16 (line draw — the heart on the lock screen) + 19 (grainy gradient — hero glow + grain).
   Colours = docs/DESIGN.md §2. One change for the web: text-size accent uses #C2305F in light mode, because the app
   accent #D63A70 measures 4.26:1 on #FFF8F5 (WCAG AA needs 4.5 for body text). #D63A70 stays for large display text
   and decoration. Peach = decoration only, never text.
   Contrast (WCAG, computed): --accent #C2305F on --bg 5.15:1 · white on #C2305F 5.41:1 · --ink 15.6:1 · --ink-2 6.05:1 ·
   --ink-3 #76626B 5.36:1 · dark --accent #FF7AA2 on #140E12 7.77:1 · #3A0F20 on #FF7AA2 6.74:1 · dark --ink-2 8.29:1. */

:root {
  --bg: #FFF8F5;
  --surface: #FFFFFF;
  --surface-2: #F8EDEF;
  --soft: #FCE4EC;
  --line: rgba(42, 27, 34, .10);
  --line-2: rgba(42, 27, 34, .18);
  --ink: #2A1B22;
  --ink-2: #6E5A63;
  --ink-3: #76626B;
  --accent: #C2305F;
  --accent-ink: #FFFFFF;
  --brand: #D63A70;
  --brand-2: #F06A8F;
  --peach: #F7A27A;
  --past: #9C8A92;
  --shadow-1: 0 1px 2px rgba(60, 20, 40, .06), 0 4px 14px rgba(60, 20, 40, .06);
  --shadow-2: 0 2px 6px rgba(60, 20, 40, .08), 0 18px 48px rgba(60, 20, 40, .12);
  --glow-1: rgba(240, 106, 143, .30);
  --glow-2: rgba(247, 162, 122, .24);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.65, 0, .35, 1);
  --r-card: 20px;
  --r-in: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(80px, 11vw, 150px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --rm: 1;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #140E12;
  --surface: #211820;
  --surface-2: #2A1F27;
  --soft: #3A1F2B;
  --line: rgba(246, 236, 240, .10);
  --line-2: rgba(246, 236, 240, .18);
  --ink: #F6ECF0;
  --ink-2: #B9A6AE;
  --ink-3: #A08F97;
  --accent: #FF7AA2;
  --accent-ink: #3A0F20;
  --brand: #FF7AA2;
  --brand-2: #FF9BBA;
  --peach: #FFB892;
  --past: #7D6D74;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .35);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, .4), 0 24px 60px rgba(0, 0, 0, .5);
  --glow-1: rgba(255, 122, 162, .06);
  --glow-2: rgba(255, 184, 146, .04);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #140E12;
    --surface: #211820;
    --surface-2: #2A1F27;
    --soft: #3A1F2B;
    --line: rgba(246, 236, 240, .10);
    --line-2: rgba(246, 236, 240, .18);
    --ink: #F6ECF0;
    --ink-2: #B9A6AE;
    --ink-3: #A08F97;
    --accent: #FF7AA2;
    --accent-ink: #3A0F20;
    --brand: #FF7AA2;
    --brand-2: #FF9BBA;
    --peach: #FFB892;
    --past: #7D6D74;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .35);
    --shadow-2: 0 2px 8px rgba(0, 0, 0, .4), 0 24px 60px rgba(0, 0, 0, .5);
    --glow-1: rgba(255, 122, 162, .06);
    --glow-2: rgba(255, 184, 146, .04);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* grain (MOTION 19) */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
:root[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: .035; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .grain { mix-blend-mode: screen; opacity: .035; } }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--peach)); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand__mark svg { width: 34px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__text strong { font: 700 17px/1.1 var(--font-display); letter-spacing: -.01em; }
.brand__text small { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.theme-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .i-sun, .theme-btn .i-moon, .theme-btn .i-auto { display: none; }
:root[data-theme="auto"] .theme-btn .i-auto, :root[data-theme="light"] .theme-btn .i-sun, :root[data-theme="dark"] .theme-btn .i-moon { display: block; }
@media (max-width: 900px) { .nav__links { display: none; } .nav__actions { margin-left: auto; } }
@media (max-width: 420px) { .brand__text small { display: none; } .nav .btn--sm { padding: 0 14px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease-out), background-color .3s, box-shadow .3s, border-color .3s; white-space: nowrap; }
.btn:active { transform: scale(1.01, .97); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-1); }
.btn--primary:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { transform: translateY(-1px); border-color: var(--accent); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); isolation: isolate; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; pointer-events: none; will-change: transform; }
.blob--1 { width: 520px; height: 520px; right: -120px; top: -80px; background: var(--glow-1); animation: drift1 calc(28s * var(--rm)) var(--ease-soft) infinite alternate; }
.blob--2 { width: 380px; height: 380px; left: -140px; bottom: -60px; background: var(--glow-2); animation: drift2 calc(34s * var(--rm)) var(--ease-soft) infinite alternate; }
.blob--3 { width: 300px; height: 300px; right: 30%; bottom: 10%; background: var(--glow-1); opacity: .55; animation: drift1 calc(40s * var(--rm)) var(--ease-soft) infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(-60px, 50px, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(70px, -40px, 0) scale(1.1); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 0; font-size: clamp(40px, 4.6vw, 62px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
.hero h1 .ln { display: block; overflow: hidden; padding-block: .06em .12em; margin-block: -.06em -.12em; }
.hero h1 .ln > span { display: block; }
.hero h1 .hl { color: var(--brand); }
.lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.badges li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; }
.badges svg { width: 15px; height: 15px; color: var(--accent); }

/* lock-screen mock (signature) — iOS lock screen widgets are drawn as tinted glass, like the system does */
.lock { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 9 / 17.5; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2a1c26, #120b10); box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255,255,255,.08); color: #fff; }
.lock__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; padding: 52px 18px 20px; display: flex; flex-direction: column; align-items: center; isolation: isolate;
  background: linear-gradient(180deg, #9E4673 0%, #5E2756 50%, #2A1733 100%); }
.lock__island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 999px; background: #000; }
.lock__heart { position: absolute; left: 50%; bottom: 7%; width: 78%; transform: translateX(-50%); z-index: -1; opacity: .5; }
.lock__heart path { fill: none; stroke: rgba(255, 220, 232, .75); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.lock__inline { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1.2 var(--font); opacity: .92; white-space: nowrap; }
.lock__inline svg { width: 12px; height: 12px; }
.lock__time { font: 700 clamp(64px, 9.5vw, 84px)/1 var(--font-display); letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.lw { display: flex; gap: 10px; margin-top: 16px; width: 100%; justify-content: center; }
.lw__circ { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 1px; background: rgba(40, 12, 34, .38); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.lw__circ svg { width: 15px; height: 15px; }
.lw__circ b { font: 700 22px/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.lw__rect { flex: 1; max-width: 190px; min-width: 0; border-radius: 20px; padding: 12px 16px; background: rgba(40, 12, 34, .38); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); display: flex; flex-direction: column; justify-content: center; }
.lw__rect b { font: 700 19px/1.15 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.lw__rect span { font: 500 13px/1.3 var(--font); opacity: .85; margin-top: 3px; }
.lock__names { margin-top: auto; font: 600 15px/1.2 var(--font-display); opacity: .9; display: inline-flex; gap: 8px; align-items: center; }
.lock__names svg { width: 13px; height: 13px; }
.lock__hint { margin-top: 10px; font-size: 12.5px; opacity: .7; text-align: center; }
.lock__caption { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--ink-3); max-width: 380px; margin-inline: auto; }

/* facts strip */
.facts { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); position: relative; z-index: 2; }
.facts ul { list-style: none; margin: 0 auto; padding: 22px var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.facts li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.facts .ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--soft); color: var(--accent); }
.facts .ic svg { width: 20px; height: 20px; }
.facts small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13.5px; }
@media (max-width: 900px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .facts ul { grid-template-columns: minmax(0, 1fr); } }

/* sections */
section.sec { padding: var(--sec) 0 0; position: relative; z-index: 2; }
.sec__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec__no { display: flex; align-items: center; gap: 12px; font: 600 13px/1 var(--font); letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.sec__no .rule { flex: none; width: 48px; height: 1px; background: var(--line-2); transform-origin: 0 50%; }
.sec__no b { color: var(--accent); font-weight: 600; }
.sec h2 { margin-top: 16px; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; font-weight: 700; }
.sec__head p { margin-top: 16px; color: var(--ink-2); font-size: clamp(16.5px, 1.4vw, 19px); }

/* cards · steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow-1); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.step__no { font: 700 40px/1 var(--font-display); color: var(--brand); display: block; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.step__no + h3 { margin-top: 10px; }
.step h3, .feat h3 { margin-top: 18px; font-size: 21px; line-height: 1.25; font-weight: 700; }
.step p, .feat p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* demo */
.demo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.demo__form { display: grid; gap: 20px; align-content: start; }
.field > label, .field > .label { display: block; font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.input { display: flex; align-items: center; margin-top: 8px; border: 1px solid var(--line-2); border-radius: var(--r-in); background: var(--bg); padding: 0 14px; min-height: 54px; transition: border-color .3s, box-shadow .3s; }
.input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 600 18px/1 var(--font); padding: 14px 4px; font-variant-numeric: tabular-nums; }
.input input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }
:root[data-theme="dark"] .input input::-webkit-calendar-picker-indicator { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .input input::-webkit-calendar-picker-indicator { filter: invert(1); } }
.field > label.switch, .switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line-2); position: relative; transition: background-color .25s; margin-top: 1px; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease-out); }
.switch input:checked + .switch__track { background: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch__text { font-weight: 600; font-size: 15px; line-height: 1.35; }
.switch__text small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13.5px; margin-top: 4px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.presets button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: 600 14px/1 var(--font); cursor: pointer; transition: border-color .25s, color .25s; }
.presets button:hover { border-color: var(--accent); color: var(--ink); }
.demo__out { display: flex; flex-direction: column; }
.out__big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.out__big strong { font: 700 clamp(56px, 7vw, 88px)/.95 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--brand); }
.out__big span { font: 600 clamp(20px, 2vw, 24px)/1.2 var(--font-display); color: var(--ink); }
.out__big.is-start strong { display: none; }
.out__big.is-start span { font-size: clamp(26px, 3vw, 34px); color: var(--brand); }
.rows { margin: 22px 0 0; display: grid; gap: 0; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rows dt { color: var(--ink-2); white-space: nowrap; }
.rows dd { margin: 0; font-weight: 600; text-align: right; }
.next { margin-top: 18px; border-radius: 16px; background: var(--soft); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.next__label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.next__item { font: 700 20px/1.25 var(--font-display); margin-top: 2px; }
.next__date { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.next__dday { font: 700 26px/1 var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.upcoming { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.upcoming li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.upcoming li span:first-child { font-weight: 600; }
.upcoming li span:last-child { color: var(--ink-2); text-align: right; white-space: nowrap; }
.out__note { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) { .demo { grid-template-columns: minmax(0, 1fr); } }

/* features */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat__ic { float: left; margin: 1px 10px 0 0; color: var(--accent); line-height: 0; }
.feat__ic svg { width: 24px; height: 24px; }
.feat__ic + h3 { margin-top: 0; overflow: hidden; }
.feat p, .feat ul { clear: left; }
.feat--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.feat ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; }
.feat li + li { margin-top: 4px; }
.mini { border-radius: 18px; background: var(--surface-2); padding: 16px 20px; font-size: 14px; font-variant-numeric: tabular-nums; }
.mini__row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini__row:last-child { border-bottom: 0; }
.mini__row b { font-weight: 600; white-space: nowrap; color: var(--accent); }
.mini__row.is-past span, .mini__row.is-past b { color: var(--ink-3); font-weight: 400; }
@media (max-width: 960px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feat--wide { grid-column: span 2; } }
@media (max-width: 640px) { .feats { grid-template-columns: minmax(0, 1fr); } .feat--wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); } }

/* privacy */
.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.privacy .card h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.privacy .card h3 svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.privacy ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.privacy li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.privacy li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; margin-top: 10px; background: var(--brand); }
.privacy .card--muted li::before { background: var(--ink-3); }
.privacy .more { margin-top: 18px; font-size: 15px; }
@media (max-width: 860px) { .privacy { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 24px; transition: border-color .3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-weight: 600; font-size: 17px; padding: 10px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); font-size: 16px; }
.faq details > div p + p { margin-top: 10px; }
.faq details > div ol, .faq details > div ul { margin: 10px 0 0; padding-left: 22px; }
.faq details > div li + li { margin-top: 6px; }

/* download band */
.band { margin-top: var(--sec); position: relative; z-index: 2; }
.band__inner { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 5vw, 64px); background: linear-gradient(135deg, #C2305F, #9E2550 55%, #5E1A43); color: #fff; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px; align-items: center; }
.band__inner::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: rgba(247, 162, 122, .16); filter: blur(80px); pointer-events: none; }
.band h2 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; }
.band p { margin-top: 12px; color: rgba(255,255,255,.88); }
.band .cta { margin-top: 0; position: relative; z-index: 1; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 22px 12px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.5); color: #fff; text-decoration: none; background: rgba(255,255,255,.06); }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 12px; opacity: .85; }
.store strong { font: 600 17px/1.2 var(--font); }
a.store { background: #fff; color: #5E1A43; border-color: #fff; }
a.store:hover { background: #FFF1F5; }
@media (max-width: 860px) { .band__inner { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.foot { margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); padding: 36px 0 44px; position: relative; z-index: 2; }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 28px; align-items: center; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot__links a:hover { color: var(--ink); text-decoration: underline; }
.foot small { color: var(--ink-3); font-size: 13.5px; }
.foot__note { margin-top: 18px; color: var(--ink-3); font-size: 13px; max-width: 760px; }

/* hero responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .lock { width: min(100%, 340px); }
}
@media (max-width: 600px) { .lock { aspect-ratio: 9 / 16.5; } }
@media (max-width: 360px) { .lw__circ { width: 68px; height: 68px; } .lw__rect b { font-size: 17px; } }

/* reveal (WEB-CRAFT §4-2) — only hidden when JS runs */
.js [data-reveal] { opacity: 0; transform: translateY(12px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .hero h1 .ln > span { transform: translateY(110%); }
.js .hero.in h1 .ln > span { transform: none; transition: transform 1.05s var(--ease-out); }
.js .hero.in h1 .ln:nth-child(2) > span { transition-delay: .1s; }
.js .hero.in h1 .ln:nth-child(3) > span { transition-delay: .2s; }
.js .sec__no .rule { transform: scaleX(0); }
.js .in .sec__no .rule, .js .sec__head.in .rule { transform: scaleX(1); transition: transform .9s var(--ease-out); }
/* line draw (MOTION 16): the heart on the lock screen draws itself once, then rests */
.js .lock__heart path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero.in .lock__heart path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease-soft) .5s; }

/* document pages (privacy / terms / support) */
.doc { padding: clamp(40px, 6vw, 80px) 0 0; position: relative; z-index: 2; }
.doc__wrap { max-width: 780px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; font-weight: 700; margin-top: 14px; }
.doc__meta { margin-top: 12px; color: var(--ink-3); font-size: 14.5px; }
.doc__lead { margin-top: 18px; font-size: 18.5px; color: var(--ink-2); }
.doc__toc { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.doc__toc strong { font-size: 14px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.doc__toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 15.5px; }
.doc__toc li { break-inside: avoid; padding: 2px 0; }
@media (max-width: 600px) { .doc__toc ol { columns: 1; } }
.doc section { margin-top: 40px; scroll-margin-top: 86px; }
.doc h2 { font-size: clamp(23px, 2.6vw, 28px); line-height: 1.2; font-weight: 700; }
.doc h3 { font-size: 18.5px; margin-top: 22px; font-weight: 700; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; }
.doc p { margin-top: 12px; }
.doc ul, .doc ol.list { margin: 12px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc strong { color: var(--ink); }
.doc .card { margin-top: 18px; }
.doc .card > :first-child { margin-top: 0; }
.doc .callout { margin-top: 18px; background: var(--soft); border-radius: 14px; padding: 16px 20px; color: var(--ink); font-size: 16px; }
.doc .faq { margin-top: 18px; }
.doc .faq details > div p, .doc .faq details > div li { font-size: 16px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; background: var(--surface-2); }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; text-decoration: none; }
.back svg { width: 16px; height: 16px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  :root { --rm: 5; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero h1 .ln > span { transform: none; }
  .js .sec__no .rule { transform: none; }
  .js .lock__heart path { stroke-dashoffset: 0; }
  .blob { animation: none; }
}
