/* Lặng — concept by Doris Studio. Direction: a weather-station almanac kept as a private notebook. */
:root {
  --paper: #EEEAE1;      /* fog paper */
  --paper-2: #E4DFD4;    /* deeper paper (layer) */
  --paper-3: #F6F3EC;    /* lifted card */
  --ink: #1F2629;        /* slate ink */
  --ink-2: #4A5357;      /* secondary ink */
  --mist: #7F9398;       /* lake mist */
  --tea: #9C5A26;        /* tea amber — the one action colour */
  --tea-ink: #FBF5EC;
  --dawn: #E8D3B4;       /* sunrise tint */
  --line: rgba(31, 38, 41, .1);
  --ok: #4F6B55;
  --danger: #9B3B2C;
  --ff-d: 'Fraunces', Georgia, serif;
  --ff: 'Be Vietnam Pro', system-ui, sans-serif;
  --ff-m: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-s: cubic-bezier(.33, 1.2, .5, 1);
  --r: 14px;
  --r-s: 10px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.14 0 0 0 0 0.15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #111517;
  --paper-2: #192023;
  --paper-3: #1E2629;
  --ink: #E9E5DC;
  --ink-2: #AEB3B0;
  --mist: #8DA1A6;
  --tea: #D9A36D;
  --tea-ink: #1A1410;
  --dawn: #3A3126;
  --line: rgba(233, 229, 220, .1);
  --ok: #8DB096;
  --danger: #E08B78;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--ff); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; background: var(--grain); pointer-events: none; z-index: 90; opacity: .9; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tea); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--ff-m); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
svg.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--paper-2); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; cursor: pointer; transition: transform .2s var(--ease), background .25s, color .25s, opacity .25s; white-space: nowrap; }
.btn:hover { background: color-mix(in srgb, var(--paper-2) 80%, var(--ink) 8%); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-acc { background: var(--tea); color: var(--tea-ink); }
.btn-acc:hover { background: color-mix(in srgb, var(--tea) 88%, var(--ink)); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-xl { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-danger { background: var(--danger); color: #fff; }
[data-theme="dark"] .btn-danger { color: #1a0f0c; }
.btn .i { width: 18px; height: 18px; }
.ib { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 12px; background: transparent; cursor: pointer; color: var(--ink-2); transition: background .2s, color .2s, transform .18s var(--ease); }
.ib:hover { background: var(--paper-2); color: var(--ink); }
.ib:active { transform: scale(.94); }
.ib.on { color: var(--tea); }
.lnk { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.lnk:hover { text-decoration-color: var(--tea); }

/* =====================================================================
   LANDING
   ===================================================================== */
.ln-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 18px clamp(20px, 4vw, 56px); color: #F6F2EA; transition: background .4s var(--ease), color .4s, padding .4s var(--ease); }
.ln-nav.solid { background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink); padding-top: 10px; padding-bottom: 10px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--ff-d); font-size: 26px; font-weight: 400; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; }
.ln-links { display: flex; gap: 26px; margin-left: auto; }
.ln-links a { text-decoration: none; font-size: 15px; opacity: .82; transition: opacity .2s; }
.ln-links a:hover { opacity: 1; }
.ln-tools { display: flex; gap: 2px; align-items: center; }
.ln-nav .ib { color: inherit; }
.ln-nav .ib:hover { background: rgba(255, 255, 255, .12); }
.ln-nav.solid .ib:hover { background: var(--paper-2); }
.ln-nav .btn-acc { min-height: 44px; }
.lang-btn { font-family: var(--ff-m); font-size: 13px; letter-spacing: .04em; width: auto; padding: 0 10px; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #F7F3EB; overflow: hidden; isolation: isolate; }
.hero-sky, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-poster { object-fit: cover; background: linear-gradient(180deg, #5d7079, #c9c3b6); }
.hero-sky { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-sky.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 20, 22, .38) 0%, rgba(16, 20, 22, 0) 30%, rgba(16, 20, 22, 0) 48%, rgba(16, 20, 22, .52) 100%); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: clamp(28px, 5vw, 80px); align-items: end; padding: 0 clamp(20px, 4vw, 56px) clamp(32px, 6vh, 64px); }
.hero-k { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; opacity: .9; }
.hero h1 { font-family: var(--ff-d); font-weight: 300; font-size: clamp(52px, 8.4vw, 136px); line-height: .94; letter-spacing: -.035em; margin: 0; font-variation-settings: "opsz" 144, "SOFT" 100; text-wrap: balance; }
.hero h1 em { font-style: italic; font-weight: 300; }
.hero-sub { max-width: 520px; font-size: 18px; line-height: 1.55; margin: 26px 0 0; opacity: .92; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.hero-cta .lnk { color: inherit; text-decoration-color: rgba(255, 255, 255, .4); font-size: 15px; }
.dial { background: rgba(17, 21, 23, .34); border-radius: var(--r); padding: 22px 22px 18px; backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); }
.dial-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dial-read { font-family: var(--ff-d); font-size: 34px; line-height: 1.1; margin: 10px 0 4px; font-weight: 300; }
.dial-line { font-size: 15px; opacity: .85; min-height: 24px; margin: 0 0 16px; }
.dial-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.dial-row button { min-height: 64px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: inherit; display: grid; place-items: center; gap: 4px; padding: 8px 0 6px; cursor: pointer; font-size: 13px; transition: background .3s, transform .2s var(--ease); }
.dial-row button:hover { background: rgba(255, 255, 255, .16); }
.dial-row button:active { transform: scale(.96); }
.dial-row button[aria-pressed="true"] { background: rgba(247, 243, 235, .92); color: #1F2629; }
.dial-row .i { width: 26px; height: 26px; }
.dial-e { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 14px; }
.dial-e input { flex: 1; accent-color: #E8D3B4; min-height: 44px; }
.hero-scroll { position: absolute; right: clamp(20px, 4vw, 56px); top: 120px; writing-mode: vertical-rl; opacity: .7; }

.sec { padding: clamp(80px, 12vw, 168px) clamp(20px, 4vw, 56px); position: relative; }
.wrap { max-width: 1320px; margin: 0 auto; }
.kick { display: flex; gap: 14px; align-items: center; color: var(--ink-2); margin-bottom: 26px; }
.kick b { font-weight: 500; color: var(--tea); }
.h2 { font-family: var(--ff-d); font-weight: 300; font-size: clamp(40px, 5.4vw, 84px); line-height: 1; letter-spacing: -.03em; margin: 0; font-variation-settings: "opsz" 144, "SOFT" 60; text-wrap: balance; }
.h2 em { font-style: italic; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 560px; }

/* manifesto */
.mani { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.mani .h2 { grid-column: 1 / 9; }
.mani .lead { grid-column: 9 / 13; margin: 0; }
.mani-img { grid-column: 1 / 8; margin-top: clamp(40px, 6vw, 88px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; position: relative; }
.mani-img2 { grid-column: 9 / 13; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; align-self: start; margin-top: clamp(120px, 14vw, 220px); }
.mani-img img, .mani-img2 img { width: 100%; height: 118%; object-fit: cover; }
.cap { margin: 14px 0 0; color: var(--ink-2); font-size: 14px; }
.mani-note { grid-column: 9 / 13; margin: 0; }

/* image reveal */
.clip { clip-path: inset(18% 8% 18% 8% round 4px); transition: clip-path 1.3s var(--ease); }
.clip.in { clip-path: inset(0 0 0 0 round 4px); }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }

/* steps (pinned phone) */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); }
.steps-phone { position: sticky; top: 9vh; height: 82vh; display: grid; place-items: center; }
.steps-list { padding: 10vh 0 20vh; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .6s var(--ease); }
.step.act { opacity: 1; }
.step .num { font-family: var(--ff-m); color: var(--tea); font-size: 14px; letter-spacing: .08em; }
.step h3 { font-family: var(--ff-d); font-weight: 300; font-size: clamp(34px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -.02em; margin: 12px 0 18px; }
.step p { color: var(--ink-2); font-size: 18px; max-width: 460px; margin: 0; }
.device { width: min(340px, 78vw); aspect-ratio: 390 / 800; border-radius: 46px; background: #0d1011; padding: 10px; position: relative; box-shadow: 0 40px 80px -40px rgba(20, 24, 26, .55); }
.device-scr { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; position: relative; background: var(--paper); }
.mock { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .7s var(--ease), transform .9s var(--ease); display: flex; flex-direction: column; }
.mock.on { opacity: 1; transform: none; }
.mock-sky { height: 52%; position: relative; color: #fff; padding: 46px 20px 18px; display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; background-position: center; }
.mock-sky b { font-family: var(--ff-d); font-weight: 300; font-size: 32px; line-height: 1; }
.mock-sky span { font-size: 13px; opacity: .9; margin-top: 6px; }
.mock-body { padding: 18px 18px; display: grid; gap: 12px; }
.mock-q { font-family: var(--ff-d); font-size: 20px; line-height: 1.2; }
.mock-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mock-row i { height: 48px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; color: var(--ink-2); }
.mock-row i.on { background: var(--ink); color: var(--paper); }
.mock-row .i { width: 20px; height: 20px; }
.mock-bar { height: 44px; border-radius: 999px; background: var(--tea); color: var(--tea-ink); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.mock-seg { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--paper-2); border-radius: 10px; padding: 3px; font-size: 13px; text-align: center; color: var(--ink-2); }
.mock-seg span { padding: 7px 0; border-radius: 8px; white-space: nowrap; }
.mock-seg span.on { background: var(--paper-3); color: var(--ink); }
.mock-txt { background: var(--paper-2); border-radius: 10px; padding: 12px; font-size: 13px; min-height: 64px; color: var(--ink); }
.mock-breath { flex: 1; display: grid; place-items: center; background: #2a3236 center / cover; color: #fff; position: relative; }
.mock-breath::before { content: ""; position: absolute; inset: 0; background: rgba(15, 19, 21, .4); }
.mock-ring { width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 240, 228, .55), rgba(247, 240, 228, .1) 70%); position: relative; display: grid; place-items: center; font-family: var(--ff-d); font-size: 24px; animation: mb 9s var(--ease) infinite; }
@keyframes mb { 0%, 100% { transform: scale(.78); } 45%, 55% { transform: scale(1.06); } }
.mock-week { padding: 50px 18px 18px; display: grid; gap: 14px; }
.mock-week h4 { font-family: var(--ff-d); font-weight: 300; font-size: 26px; line-height: 1.1; margin: 0; }
.mock-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mock-tiles img { width: 100%; aspect-ratio: 1; image-rendering: pixelated; border-radius: 4px; }
.mock-chart { background: var(--paper-3); border-radius: 12px; padding: 14px; }

/* print section */
.print { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.print-wall { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.print-wall > img { width: 100%; height: 112%; object-fit: cover; }
.frame { position: absolute; left: 50%; top: 47%; width: 44%; transform: translate(-50%, -50%); background: #EFE9DE; padding: 6%; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6), 0 0 0 7px #2b2520; }
.frame canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 40px; }
.stat b { display: block; font-family: var(--ff-d); font-weight: 300; font-size: clamp(44px, 4.6vw, 64px); line-height: 1; letter-spacing: -.02em; }
.stat span { color: var(--ink-2); font-size: 15px; }

/* privacy */
.priv { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.priv .h2 { grid-column: 1 / 8; }
.priv-img { grid-column: 8 / 13; grid-row: 1 / 3; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.priv-img img { width: 100%; height: 115%; object-fit: cover; }
.facts { grid-column: 1 / 7; list-style: none; padding: 0; margin: 40px 0 0; }
.facts li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .mono { color: var(--tea); padding-top: 3px; }
.facts b { display: block; font-weight: 500; font-size: 18px; margin-bottom: 4px; }
.facts p { margin: 0; color: var(--ink-2); }

/* reflection demo */
.refl-sec { background: var(--paper-2); }
.refl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.note { background: var(--paper-3); border-radius: var(--r); padding: 32px; position: relative; }
.note-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--paper-2); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--ink-2); }
.note blockquote { margin: 18px 0 0; font-family: var(--ff-d); font-size: 24px; line-height: 1.42; font-weight: 300; }
.note small { display: block; margin-top: 20px; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.rules { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.rules li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.rules .i { color: var(--tea); margin-top: 2px; }

/* quotes */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; margin-top: 56px; }
.q { padding: 32px 0 0; border-top: 1px solid var(--ink); }
.q p { font-family: var(--ff-d); font-size: 23px; line-height: 1.35; margin: 0 0 22px; font-weight: 300; }
.q:first-child p { font-size: 30px; }
.q footer { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 14px; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); font-weight: 500; font-size: 14px; flex: none; }
.fict { margin-top: 26px; color: var(--ink-2); font-size: 13px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.plan { background: var(--paper-3); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.plan.main { background: var(--ink); color: var(--paper); }
.plan.main .plan-li li { color: color-mix(in srgb, var(--paper) 80%, transparent); }
.plan h3 { margin: 0; font-weight: 500; font-size: 18px; }
.price { font-family: var(--ff-d); font-weight: 300; font-size: 48px; line-height: 1; letter-spacing: -.02em; }
.price small { font-family: var(--ff); font-size: 15px; letter-spacing: 0; opacity: .7; }
.plan-li { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 10px; flex: 1; }
.plan-li li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.plan-li .i { width: 18px; height: 18px; color: var(--tea); margin-top: 3px; }
.plan.main .btn-acc { background: var(--dawn); color: #1F2629; }
[data-theme="dark"] .plan.main { background: var(--paper-3); color: var(--ink); }
[data-theme="dark"] .plan.main .plan-li li { color: var(--ink-2); }

/* safety + final */
.safe { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; background: var(--paper-2); border-radius: var(--r); padding: 28px 32px; margin-top: 24px; }
.safe .i { width: 32px; height: 32px; color: var(--tea); }
.safe p { margin: 0; color: var(--ink-2); }
.safe b { color: var(--ink); font-weight: 500; display: block; font-size: 18px; margin-bottom: 4px; }
.final { position: relative; min-height: 92vh; display: grid; align-items: end; color: #F6F2EA; overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 96px) clamp(20px, 4vw, 56px); }
.final > img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; z-index: -2; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 18, 20, .1), rgba(14, 18, 20, .66)); }
.final .h2 { max-width: 900px; color: inherit; }
.final p { max-width: 520px; font-size: 18px; opacity: .9; }
.ln-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding: 56px clamp(20px, 4vw, 56px) 40px; color: var(--ink-2); font-size: 15px; }
.ln-foot p { margin: 0 0 10px; }
.ln-foot .brand { color: var(--ink); margin-bottom: 12px; }
.sm { font-size: 13px; }

/* =====================================================================
   APP (phone frame on desktop, full screen on phones)
   ===================================================================== */
.app-stage { min-height: 100svh; display: grid; grid-template-columns: minmax(280px, 380px) auto; justify-content: center; gap: clamp(32px, 5vw, 88px); align-items: center; padding: 24px clamp(20px, 4vw, 56px); position: relative; isolation: isolate; }
.app-stage > .stage-bg { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: saturate(.6) blur(2px); }
[data-theme="dark"] .app-stage > .stage-bg { opacity: .12; }
.side { display: grid; gap: 22px; align-content: center; }
.side h1 { font-family: var(--ff-d); font-weight: 300; font-size: 44px; line-height: 1.02; letter-spacing: -.02em; margin: 0; }
.side p { margin: 0; color: var(--ink-2); }
.side-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.side-facts li { display: flex; gap: 12px; color: var(--ink-2); font-size: 15px; align-items: flex-start; }
.side-facts .i { color: var(--tea); width: 20px; height: 20px; margin-top: 2px; }
.side-tools { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.side .kbd { font-family: var(--ff-m); font-size: 13px; background: var(--paper-2); border-radius: 6px; padding: 2px 7px; }

.phone { width: 390px; height: min(844px, calc(100svh - 48px)); border-radius: 54px; background: #0c0f10; padding: 11px; position: relative; box-shadow: 0 50px 90px -50px rgba(20, 24, 26, .6); }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 108px; height: 30px; margin-left: -54px; border-radius: 20px; background: #0c0f10; z-index: 30; }
.scr { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; isolation: isolate; }
.scr::before { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; z-index: 1; opacity: .8; }
.view { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain; position: relative; z-index: 2; padding-bottom: 28px; }
.view::-webkit-scrollbar { display: none; }
.vin > * { animation: vin .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes vin { from { opacity: 0; transform: translateY(14px); } }

.tabbar { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--paper); padding: 6px 8px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line); }
.tabbar a { display: grid; justify-items: center; gap: 2px; min-height: 54px; padding-top: 7px; text-decoration: none; color: var(--ink-2); font-size: 13px; border-radius: 12px; transition: color .2s; position: relative; }
.tabbar a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 20px; height: 2px; border-radius: 2px; background: var(--tea); }
.tabbar .i { width: 24px; height: 24px; }

.top { display: flex; align-items: center; gap: 6px; padding: 54px 18px 6px 22px; }
.top .date { flex: 1; color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--paper-2); font-size: 13px; color: var(--ink-2); text-decoration: none; border: 0; cursor: pointer; }
.pill .i { width: 15px; height: 15px; color: var(--ok); }
.pad { padding: 0 22px; }
.ttl { font-family: var(--ff-d); font-weight: 300; font-size: 34px; line-height: 1.08; letter-spacing: -.02em; margin: 22px 0 0; text-wrap: balance; }
.sub { color: var(--ink-2); margin: 8px 0 0; font-size: 15px; }
.blk { margin-top: 28px; }
.lbl { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-weight: 500; font-size: 15px; }
.lbl span { color: var(--ink-2); font-weight: 400; font-size: 13px; }

.skycard { position: relative; margin: 14px 14px 0; height: 300px; border-radius: 22px; overflow: hidden; color: #fff; isolation: isolate; background: linear-gradient(180deg, #7b8e96, #d9d3c6); }
.skycard canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.2s var(--ease); }
.skycard canvas.on { opacity: 1; }
.skycard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 18, 20, 0) 40%, rgba(14, 18, 20, .45)); }
.skycard .sc-in { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.skycard .sc-k { opacity: .9; }
.skycard .sc-t { font-family: var(--ff-d); font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -.02em; margin: 6px 0 6px; }
.skycard .sc-s { font-size: 15px; opacity: .92; }
.skycard.sm { height: 220px; }

.moods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.moods button { min-height: 76px; border: 0; border-radius: 14px; background: var(--paper-2); display: grid; justify-items: center; align-content: center; gap: 6px; cursor: pointer; font-size: 13px; color: var(--ink-2); line-height: 1.15; padding: 8px 2px; transition: background .25s, color .25s, transform .2s var(--ease-s); }
.moods button:hover { color: var(--ink); }
.moods button:active { transform: scale(.95); }
.moods button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.moods .i { width: 28px; height: 28px; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--paper-2); border-radius: 14px; padding: 4px; gap: 2px; }
.seg button { white-space: nowrap; padding: 0; min-height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; font-size: 13px; color: var(--ink-2); transition: background .25s, color .25s; }
.seg button[aria-checked="true"] { background: var(--paper-3); color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.field { width: 100%; border: 0; border-radius: 14px; background: var(--paper-2); padding: 14px 16px; font-size: 16px; line-height: 1.5; resize: none; min-height: 96px; transition: background .2s, box-shadow .2s; }
.field:focus { outline: none; background: var(--paper-3); box-shadow: 0 0 0 2px var(--tea); }
input.field { min-height: 48px; }
.count { text-align: right; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--paper-2); color: var(--ink-2); cursor: pointer; font-size: 14px; transition: background .2s, color .2s, transform .15s var(--ease); display: inline-flex; align-items: center; gap: 6px; }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.save { width: 100%; margin-top: 24px; }
.hint { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 13px; margin-top: 14px; }
.hint .i { width: 16px; height: 16px; color: var(--ok); margin-top: 2px; }

.rcard { background: var(--paper-3); border-radius: 18px; padding: 24px; margin-top: 18px; }
.rcard .note-tag { font-size: 13px; }
.rcard p { font-family: var(--ff-d); font-size: 20px; line-height: 1.45; font-weight: 300; margin: 14px 0 0; }
.rcard small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 14px; line-height: 1.5; }
.rcard.warn { background: color-mix(in srgb, var(--danger) 10%, var(--paper-3)); }
.rcard.warn p { font-family: var(--ff); font-size: 16px; }

.tip { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; background: var(--paper-2); border-radius: 18px; padding: 10px 14px 10px 10px; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.tip:hover { background: color-mix(in srgb, var(--paper-2) 85%, var(--ink) 6%); }
.tip:active { transform: scale(.98); }
.tip img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: var(--mist); }
.tip b { display: block; font-weight: 500; }
.tip span { font-size: 13px; color: var(--ink-2); }
.done-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.day30 { margin-top: 18px; border-radius: 18px; background: var(--ink); color: var(--paper); padding: 22px; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; text-decoration: none; }
.day30 img { width: 72px; height: 96px; image-rendering: pixelated; border-radius: 4px; object-fit: cover; }
.day30 b { font-family: var(--ff-d); font-weight: 300; font-size: 22px; line-height: 1.2; display: block; }
.day30 span { font-size: 13px; opacity: .8; }
.crisis-link { display: flex; align-items: center; gap: 10px; margin: 28px 22px 0; padding: 14px 16px; border-radius: 14px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-size: 14px; color: var(--ink-2); }
.crisis-link .i { color: var(--tea); width: 20px; height: 20px; }

/* breathe */
.breathe { position: relative; min-height: 100%; display: flex; flex-direction: column; color: #F6F2EA; isolation: isolate; }
.breathe > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.breathe::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 18, 20, .5), rgba(14, 18, 20, .3) 40%, rgba(14, 18, 20, .72)); }
.breathe .top .date { color: rgba(246, 242, 234, .8); }
.breathe .ttl { color: inherit; }
.orb-wrap { flex: 1; display: grid; place-items: center; min-height: 330px; position: relative; }
.orb { width: 230px; height: 230px; border-radius: 50%; position: relative; display: grid; place-items: center; transform: scale(.62); will-change: transform; }
.orb::before, .orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.orb::before { background: radial-gradient(circle at 50% 45%, rgba(248, 240, 226, .62), rgba(232, 211, 180, .24) 55%, rgba(232, 211, 180, 0) 72%); }
.orb::after { box-shadow: inset 0 0 0 1px rgba(248, 240, 226, .4); }
.orb-txt { position: absolute; text-align: center; font-family: var(--ff-d); font-weight: 300; font-size: 30px; line-height: 1.1; pointer-events: none; }
.orb-txt small { display: block; font-family: var(--ff-m); font-size: 14px; letter-spacing: .08em; margin-top: 8px; opacity: .85; }
.b-ctl { padding: 0 22px 8px; display: grid; gap: 14px; }
.b-pats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.b-pats button, .b-mins button { min-height: 52px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: inherit; cursor: pointer; font-size: 13px; line-height: 1.25; padding: 6px; transition: background .25s; }
.b-pats button[aria-checked="true"], .b-mins button[aria-checked="true"] { background: rgba(246, 242, 234, .92); color: #1F2629; }
.b-mins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.b-mins button { min-height: 44px; }
.b-row { display: flex; gap: 10px; align-items: center; }
.b-row .btn { flex: 1; }
.b-row .ib { color: inherit; background: rgba(255, 255, 255, .1); }
.b-prog { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.b-prog i { display: block; height: 100%; width: 0; background: var(--dawn); transition: width .9s linear; }

/* journal */
.strip { margin: 14px 14px 0; height: 132px; border-radius: 22px; overflow: hidden; position: relative; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 18, 20, .45), transparent); }
.strip span { position: absolute; left: 20px; bottom: 16px; color: #fff; z-index: 1; font-family: var(--ff-d); font-size: 22px; font-weight: 300; }
.tools { display: flex; gap: 8px; margin-top: 20px; align-items: center; }
.search { flex: 1; position: relative; }
.search .i { position: absolute; left: 14px; top: 50%; margin-top: -10px; width: 20px; height: 20px; color: var(--ink-2); pointer-events: none; }
.search input { width: 100%; min-height: 48px; border-radius: 14px; border: 0; background: var(--paper-2); padding: 0 14px 0 44px; font-size: 16px; }
.search input:focus { outline: none; box-shadow: 0 0 0 2px var(--tea); background: var(--paper-3); }
.toggle { display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); padding: 4px; border-radius: 14px; }
.toggle button { width: 44px; height: 40px; border: 0; background: transparent; border-radius: 10px; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.toggle button[aria-pressed="true"] { background: var(--paper-3); color: var(--ink); }
.toggle .i { width: 20px; height: 20px; }
.fchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px -22px 0; padding: 0 22px; }
.fchips::-webkit-scrollbar { display: none; }
.fchips .chip { flex: none; min-height: 38px; font-size: 13px; }
.fchips .chip .i { width: 16px; height: 16px; }
.list { list-style: none; margin: 18px 0 0; padding: 0; }
.list a { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 10px 8px; margin: 0 -8px; border-radius: 14px; text-decoration: none; min-height: 76px; transition: background .2s; }
.list a:hover { background: var(--paper-2); }
.list img { width: 60px; height: 60px; border-radius: 10px; image-rendering: pixelated; }
.list b { font-weight: 500; display: block; font-size: 15px; }
.list .ex { color: var(--ink-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.list .d { font-family: var(--ff-m); font-size: 13px; color: var(--ink-2); text-align: right; }
.mhead { color: var(--ink-2); margin: 22px 0 4px; }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.cal-h b { font-family: var(--ff-d); font-size: 24px; font-weight: 300; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 12px; }
.cal .dw { text-align: center; font-size: 13px; color: var(--ink-2); padding-bottom: 4px; }
.cal a, .cal span.e { aspect-ratio: 1 / 1.18; border-radius: 9px; position: relative; overflow: hidden; display: block; text-decoration: none; background: var(--paper-2); }
.cal span.e { background: transparent; }
.cal a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.cal a i { position: absolute; left: 5px; top: 3px; font-style: normal; font-size: 13px; font-weight: 500; color: #1F2629; text-shadow: 0 0 6px rgba(239, 233, 222, .9); z-index: 1; }
.cal a.no i { color: var(--ink-2); text-shadow: none; }
.cal a.today { box-shadow: inset 0 0 0 2px var(--tea); }
.cal a:hover { filter: brightness(1.04); }
.cal a.fut { pointer-events: none; opacity: .45; }
.empty { text-align: center; padding: 18px 8px; }
.empty img { width: 100%; height: 200px; object-fit: cover; border-radius: 18px; margin-bottom: 20px; }
.empty h3 { font-family: var(--ff-d); font-weight: 300; font-size: 26px; margin: 0 0 8px; line-height: 1.2; }
.empty p { color: var(--ink-2); margin: 0 0 20px; }

/* entry detail */
.back { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--ink-2); min-height: 44px; padding-right: 10px; font-size: 15px; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.meta div { background: var(--paper-2); border-radius: 14px; padding: 14px 16px; }
.meta span { display: block; font-size: 13px; color: var(--ink-2); }
.meta b { font-weight: 500; font-size: 17px; }
.words { font-family: var(--ff-d); font-weight: 300; font-size: 24px; line-height: 1.4; margin: 24px 0 0; }
.acts { display: flex; gap: 10px; margin-top: 24px; }
.acts .btn { flex: 1; }

/* week */
.wk-h { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.wk-h .mono { flex: 1; color: var(--ink-2); }
.focus { margin-top: 18px; background: var(--paper-3); border-radius: 20px; padding: 24px; }
.focus .big { font-family: var(--ff-d); font-weight: 300; font-size: 48px; line-height: 1; letter-spacing: -.02em; margin: 8px 0 6px; }
.focus p { margin: 0; color: var(--ink-2); font-size: 15px; }
.wtiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 20px; }
.wtiles div { text-align: center; font-size: 13px; color: var(--ink-2); }
.wtiles img, .wtiles .blank { width: 100%; aspect-ratio: 1 / 1.3; border-radius: 8px; image-rendering: pixelated; object-fit: cover; margin-bottom: 6px; }
.wtiles .blank { background: repeating-linear-gradient(45deg, var(--paper-2) 0 4px, transparent 4px 8px); }
.chart { margin-top: 18px; background: var(--paper-3); border-radius: 20px; padding: 22px 20px 16px; }
.chart h3 { margin: 0 0 4px; font-weight: 500; font-size: 16px; }
.chart p { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart svg text { font-family: var(--ff); font-size: 13px; fill: var(--ink-2); }
.chart svg text.v { fill: var(--ink); font-weight: 500; }
.wordlist { list-style: none; margin: 0; padding: 0; }
.wordlist li { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.wordlist li span { color: var(--ink-2); font-family: var(--ff-m); font-size: 13px; }

/* art */
.art-frame { margin: 18px 22px 0; background: #EFE9DE; padding: 14px; border-radius: 4px; box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .45), 0 0 0 6px #2b2520; position: relative; }
.art-frame canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.art-frame.loading canvas { opacity: 0; }
.art-frame:not(.loading) .sk { display: none; }
.art-frame canvas { transition: opacity .6s var(--ease); }
.art-frame .sk { position: absolute; inset: 14px; }
.prog { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.prog-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.prog-bar i { display: block; height: 100%; background: var(--tea); border-radius: 6px; transition: width 1s var(--ease); }
.prog b { font-family: var(--ff-m); font-size: 14px; font-weight: 500; }

/* settings */
.sgroup { margin-top: 26px; }
.sgroup h3 { margin: 0 0 8px; font-size: 13px; font-family: var(--ff-m); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.srow { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 0; border-top: 1px solid var(--line); }
.srow:last-child { border-bottom: 1px solid var(--line); }
.srow > div { flex: 1; }
.srow b { display: block; font-weight: 500; font-size: 15px; }
.srow span { font-size: 13px; color: var(--ink-2); }
.srow input[type="time"], .srow input[type="text"] { border: 0; background: var(--paper-2); border-radius: 10px; min-height: 44px; padding: 0 12px; font-size: 15px; max-width: 140px; }
.sw { width: 52px; height: 32px; border-radius: 999px; border: 0; background: var(--paper-2); position: relative; cursor: pointer; flex: none; transition: background .25s; box-shadow: inset 0 0 0 1px var(--line); }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-3); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--ease-s); }
.sw[aria-checked="true"] { background: var(--ok); }
.sw[aria-checked="true"]::after { transform: translateX(20px); }
.vault { margin-top: 18px; background: var(--ink); color: var(--paper); border-radius: 20px; padding: 24px; }
.vault .mono { opacity: .7; }
.vault b { display: block; font-family: var(--ff-d); font-weight: 300; font-size: 28px; line-height: 1.15; margin: 10px 0 8px; }
.vault p { margin: 0; opacity: .8; font-size: 14px; }
.vault code { font-family: var(--ff-m); font-size: 13px; background: rgba(255, 255, 255, .1); padding: 2px 6px; border-radius: 6px; }
.vault-r { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.vault .btn { background: rgba(255, 255, 255, .1); color: inherit; min-height: 44px; font-size: 14px; }
.vault .btn:hover { background: rgba(255, 255, 255, .18); }
[data-theme="dark"] .vault { background: var(--paper-3); color: var(--ink); }
[data-theme="dark"] .vault .btn { background: var(--paper-2); }
.delall { width: 100%; margin-top: 12px; background: color-mix(in srgb, var(--danger) 12%, var(--paper-2)); color: var(--danger); }
.delall:hover { background: color-mix(in srgb, var(--danger) 20%, var(--paper-2)); }

/* support */
.sos { margin-top: 20px; display: grid; gap: 12px; }
.sos div { background: var(--paper-2); border-radius: 16px; padding: 18px 20px; }
.sos b { display: block; font-weight: 500; margin-bottom: 4px; }
.sos p { margin: 0; color: var(--ink-2); font-size: 15px; }
.sos .n { font-family: var(--ff-d); font-size: 34px; font-weight: 300; color: var(--ink); line-height: 1.1; }

/* skeleton */
.sk { border-radius: 10px; background: linear-gradient(100deg, var(--paper-2) 30%, color-mix(in srgb, var(--paper-2) 60%, var(--paper-3)) 50%, var(--paper-2) 70%); background-size: 300% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* dialogs */
dialog { border: 0; padding: 0; background: var(--paper-3); color: var(--ink); border-radius: 20px; width: min(420px, calc(100vw - 32px)); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
dialog::backdrop { background: rgba(14, 18, 20, .42); }
dialog[open] { animation: dlg .35s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dlg { padding: 28px; }
.dlg h2 { font-family: var(--ff-d); font-weight: 300; font-size: 28px; line-height: 1.15; margin: 0 0 10px; }
.dlg p { margin: 0 0 22px; color: var(--ink-2); }
.dlg-a { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cmdk { width: min(560px, calc(100vw - 32px)); }
.cmdk input { width: 100%; border: 0; background: transparent; padding: 22px 24px; font-size: 18px; border-bottom: 1px solid var(--line); }
.cmdk input:focus { outline: none; }
.cmdk ul { list-style: none; margin: 0; padding: 8px; max-height: 360px; overflow: auto; }
.cmdk li button { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; text-align: left; font-size: 15px; }
.cmdk li button.on, .cmdk li button:hover { background: var(--paper-2); }
.cmdk li .i { color: var(--ink-2); width: 20px; height: 20px; }
.cmdk li kbd { margin-left: auto; font-family: var(--ff-m); font-size: 13px; color: var(--ink-2); }

/* toasts */
#toasts { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--ink); color: var(--paper); padding: 14px 20px; border-radius: 14px; font-size: 15px; display: flex; align-items: center; gap: 10px; animation: tin .45s var(--ease-s) both; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.toast .i { width: 18px; height: 18px; color: var(--dawn); }
.toast.out { animation: tout .35s var(--ease) both; }
@keyframes tin { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes tout { to { opacity: 0; transform: translateY(8px); } }

/* view transitions (calm cross-fade) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ln-links { display: none; }
  .ln-tools { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; }
  .dial { max-width: 460px; }
  .app-stage { grid-template-columns: auto; }
  .side { display: none; }
}
@media (max-width: 900px) {
  .mani .h2, .mani .lead, .mani-img, .mani-img2, .mani-note { grid-column: 1 / -1; }
  .mani-img2 { margin-top: 0; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .steps-phone { position: static; height: auto; padding: 8px 0 12px; }
  .steps-phone .device { width: 290px; }
  .steps-list { padding: 0; }
  .step { min-height: 0; padding: 26px 0; opacity: 1; border-top: 1px solid var(--line); }
  .step h3 { font-size: 32px; }
  .step p { font-size: 16px; }
  .print, .refl { grid-template-columns: 1fr; }
  .priv .h2, .priv-img, .facts { grid-column: 1 / -1; }
  .priv-img { grid-row: auto; aspect-ratio: 4 / 3; }
  .quotes, .plans { grid-template-columns: 1fr; }
  .ln-foot { grid-template-columns: 1fr; }
  .safe { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ln-nav { gap: 8px; padding: 12px 14px; }
  .ln-nav .btn-acc span { display: none; }
  .ln-nav .btn-acc { padding: 0 14px; }
  .ln-tools .ib.hide-s { display: none; }
  .hero-in { padding: 92px 18px 24px; gap: 22px; }
  .hero::after { background: linear-gradient(180deg, rgba(16, 20, 22, .5), rgba(16, 20, 22, .34) 40%, rgba(16, 20, 22, .62)); }
  .hero-k { gap: 6px 14px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero-scroll { display: none; }
  .dial { padding: 18px 16px 14px; }
  .dial-read { font-size: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .note { padding: 24px; }
  .note blockquote { font-size: 20px; }
  .q:first-child p { font-size: 24px; }
  .app-stage { padding: 0; display: block; }
  .phone { width: 100%; height: 100svh; border-radius: 0; padding: 0; box-shadow: none; }
  .phone::before { display: none; }
  .scr { border-radius: 0; }
  .top { padding-top: calc(16px + env(safe-area-inset-top)); }
  #toasts { bottom: 96px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .clip { clip-path: none; }
}
.calm *, .calm *::before, .calm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
.calm { scroll-behavior: auto; }
.calm .rv { opacity: 1; transform: none; }
.calm .clip { clip-path: none; }

img.miss { visibility: hidden; }
.mani-img, .mani-img2, .priv-img, .print-wall, .strip, .tip img, .empty img { background: color-mix(in srgb, var(--mist) 45%, var(--paper-2)); }
