/* 有信來訪公開首頁：郵戳深藍＋暖紙色，淺色與深色都跟著系統。 */
@font-face {
  font-family: 'MailHand';
  src: url('/fonts/handwriting.woff2') format('woff2');
  font-display: swap;
}
:root {
  --bg: #f6f5f1;
  --surface: #fffefb;
  --soft: #e9eff5;
  --text: #1f2b3a;
  --muted: #5b6878;
  --line: #dfe2e5;
  --accent: #2f5a86;
  --accent-ink: #fbfaf7;
  --amber: #c9953f;
  --c1: #2f5a86;
  --c2: #6f9bc4;
  --c3: #c9953f;
  --c4: #a9b8c8;
  --shadow: 0 24px 64px #1a2a3d1c;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131a22;
    --surface: #1b2531;
    --soft: #1a2430;
    --text: #e6ebf0;
    --muted: #a8b5c4;
    --line: #34435393;
    --accent: #9fc2e6;
    --accent-ink: #11202e;
    --amber: #dcae62;
    --c1: #9fc2e6;
    --c2: #5f8db8;
    --c3: #dcae62;
    --c4: #44566b;
    --shadow: 0 24px 64px #0006;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
button { font: inherit; color: inherit; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }

/* Logo */
.logo-bg { fill: var(--accent); }
.logo-line { fill: none; stroke: var(--accent-ink); stroke-width: 22; stroke-linejoin: round; }
.logo-dot { fill: var(--accent-ink); stroke: none; }

/* 開啟畫面：旋轉 logo＋文字，約一秒後自己淡出（不靠 JS，沒有 JS 也不會卡住） */
.splash { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--bg); animation: splashOut 0.6s ease 1.15s both; }
.splash-logo { width: 72px; height: 72px; animation: logoSpin 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.splash p { font-size: 15px; letter-spacing: 0.12em; color: var(--muted); animation: breathe 2.2s ease-in-out infinite; }
html.splash-skip .splash { display: none; }
@keyframes logoSpin { 0% { transform: rotate(0) scale(1); } 55% { transform: rotate(250deg) scale(1.12); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes breathe { 50% { opacity: 0.45; } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* 頂部列 */
.top { position: sticky; top: 0; z-index: 50; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.top.stuck { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.top-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: 0.04em; }
.brand .logo { transition: transform 0.7s var(--ease); }
.brand:hover .logo { transform: rotate(180deg); }
.top-nav { display: flex; gap: 26px; margin-left: auto; }
.top-nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color 0.2s; }
.top-nav a:hover { color: var(--text); }

/* 按鈕 */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s; }
.pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pill-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.pill-solid { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 32%, transparent); }
.pill-soft { background: var(--soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 16%, transparent); }
.pill-ghost { border-color: var(--line); background: var(--surface); }
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: scale(0.98); }
.top .pill-solid { margin-left: 4px; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: var(--accent); opacity: 0.85; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; padding: 40px 0 64px; min-height: min(760px, calc(100dvh - 68px)); }
.hero h1 { margin: 14px 0 18px; font-family: 'MailHand', 'PingFang TC', 'Noto Sans TC', sans-serif; font-weight: 400; font-size: clamp(46px, 6.2vw, 78px); line-height: 1.45; letter-spacing: 0.02em; }
.hero h1 em { position: relative; font-style: normal; color: var(--accent); white-space: nowrap; }
.swoosh { position: absolute; left: 0; bottom: -6px; width: 100%; height: 14px; fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.visible .swoosh { animation: draw 1s var(--ease) 0.6s forwards; }
html:not(.js) .swoosh { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { max-width: 30em; font-size: 18px; color: var(--muted); text-wrap: balance; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); text-wrap: balance; }

.hero-visual { position: relative; display: grid; justify-items: center; padding: 20px 0; }
.halo { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.6; pointer-events: none; }
.halo-a { width: 320px; height: 320px; left: 4%; top: 0; background: color-mix(in srgb, var(--c2) 55%, transparent); }
.halo-b { width: 280px; height: 280px; right: 0; bottom: 6%; background: color-mix(in srgb, var(--amber) 45%, transparent); }
.phone { position: relative; text-align: left; width: min(340px, 100%); padding: 12px; border-radius: 46px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
.phone-bar { width: 84px; height: 6px; margin: 4px auto 10px; border-radius: 99px; background: var(--line); }
.screen { position: relative; height: 396px; overflow: hidden; border-radius: 34px; background: var(--bg); }
.slide { position: absolute; inset: 0; padding: 22px 18px 16px; opacity: 0; transform: translateX(var(--from, 26px)); transition: opacity 0.5s, transform 0.5s var(--ease); pointer-events: none; }
.slide.active { opacity: 1; transform: none; pointer-events: auto; }
.screen-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.screen-label b { color: var(--accent); font-weight: 600; }
.screen-title { margin-top: 2px; font-size: 24px; font-weight: 700; }
.screen-sub { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; text-wrap: balance; }
.rows { display: grid; gap: 8px; margin-top: 14px; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 16px; background: var(--surface); }
.av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fffefb; font-size: 14px; font-weight: 700; }
.a1 { background: #2f5a86; } .a2 { background: #6f9bc4; } .a3 { background: #c9953f; } .a4 { background: #7b8a9b; }
.row-text { flex: 1; min-width: 0; }
.row-text strong { display: block; font-size: 14px; line-height: 1.35; }
.row-text small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows time { flex: none; font-size: 11px; color: var(--muted); }
.rows .unread strong::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--amber); vertical-align: 1px; }
.flow { display: grid; grid-template-columns: auto 44px 1fr; align-items: center; gap: 4px; margin-top: 26px; }
.chips { display: grid; gap: 24px; }
.chip { padding: 7px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.c1 { color: #2f5a86; } .c2 { color: #6f9bc4; } .c3 { color: #b07f2c; }
.flow-lines { width: 100%; height: 153px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 4 5; opacity: 0.7; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.inbox-box { display: grid; justify-items: center; gap: 2px; padding: 18px 8px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.inbox-box svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.inbox-box small { font-size: 12px; color: var(--muted); }
.compose { display: grid; gap: 8px; margin-top: 14px; }
.compose p { padding: 10px 14px; border-radius: 14px; background: var(--surface); font-size: 14px; }
.compose p small { display: block; font-size: 11px; color: var(--muted); }
.compose-body { display: grid; gap: 9px; padding: 16px 14px; border-radius: 14px; background: var(--surface); }
.compose-body i { display: block; height: 8px; border-radius: 99px; background: var(--line); }
.compose-body i.short { width: 55%; }
.compose-foot { display: flex; align-items: center; gap: 8px; padding: 8px 4px; font-size: 13px; color: var(--muted); }
.switch { position: relative; width: 34px; height: 20px; border-radius: 99px; background: var(--line); }
.switch i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.3s; }
.switch.on { background: var(--accent); }
.switch.on i { transform: translateX(14px); }
.seen { margin-left: auto; padding: 3px 10px; border-radius: 99px; background: var(--soft); color: var(--accent); font-size: 12px; font-weight: 600; }
.dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0 4px; }
.dots button { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.dots button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 99px; background: var(--line); transform: translate(-50%, -50%); transition: width 0.3s var(--ease), background 0.3s; }
.dots button.on::after { width: 22px; background: var(--accent); }
.sample-tag { margin-top: 14px; font-size: 12px; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* 可以拆開的小信封 */
.env { position: absolute; z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); box-shadow: 0 10px 24px #1a2a3d1c; cursor: pointer; animation: bob 5s ease-in-out infinite; transition: transform 0.3s var(--ease); }
.env svg { width: 30px; height: 30px; overflow: visible; }
.env-body { fill: var(--soft); stroke: var(--accent); stroke-width: 2; }
.env-flap { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; transform-origin: 24px 17px; transition: transform 0.45s var(--ease); }
.env-paper { fill: #fffefb; stroke: var(--amber); stroke-width: 2; opacity: 0; transition: opacity 0.2s, transform 0.5s var(--ease); }
.env.open .env-flap { transform: scaleY(-1); }
.env.open .env-paper { opacity: 1; transform: translateY(-6px); }
.env-say { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 6px); padding: 5px 12px; border-radius: 99px; background: var(--text); color: var(--bg); font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
.env.open .env-say { opacity: 1; transform: translate(-50%, 0); }
.env-b .env-say, .env-c .env-say { left: auto; right: 0; transform: translate(0, 6px); }
.env-b.open .env-say, .env-c.open .env-say { transform: translate(0, 0); }
.env-a { left: 2%; top: 22%; }
.env-b { right: 0; top: 10%; animation-delay: -1.7s; }
.env-c { right: 4%; bottom: 18%; animation-delay: -3.2s; }
@keyframes bob { 50% { translate: 0 -9px; } }

/* 故事段 */
.story { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 36px; margin-top: 24px; padding: 40px 44px; border-radius: 32px; background: var(--soft); }
.story-art svg { width: min(100%, 280px); margin-inline: auto; overflow: visible; }
.tray { fill: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.tray-front { fill: color-mix(in srgb, var(--accent) 34%, var(--surface)); }
.l-body { fill: var(--surface); stroke: var(--accent); stroke-width: 2.5; }
.l-body.b { stroke: var(--c2); }
.l-body.c { stroke: var(--amber); }
.l-flap { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.drop { opacity: 0; transform: translateY(-46px); }
.visible .drop { animation: dropIn 0.9s var(--ease) forwards; }
.visible .d2 { animation-delay: 0.25s; }
.visible .d3 { animation-delay: 0.5s; }
html:not(.js) .drop { opacity: 1; transform: none; }
@keyframes dropIn { to { opacity: 1; transform: none; } }
.story-copy h2 { margin: 8px 0 12px; font-family: 'MailHand', 'PingFang TC', 'Noto Sans TC', sans-serif; font-weight: 400; font-size: clamp(34px, 4.4vw, 50px); line-height: 1.4; color: var(--accent); }
.story-copy p:last-child { max-width: 32em; color: var(--muted); }

/* 區塊 */
.section { padding: 72px 0 8px; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { margin: 8px 0 8px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.3; }
.section-head p:last-child { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--soft); color: var(--accent); }
.card-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 17px; line-height: 1.4; margin-bottom: 2px; }
.card p { font-size: 14px; line-height: 1.7; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.steps b { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 14px; }
.steps h3 { font-size: 17px; margin-bottom: 4px; }
.steps p { font-size: 14px; color: var(--muted); }
.privacy-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.privacy-note a { color: var(--accent); }

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; min-height: 52px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 20px 18px; font-size: 15px; color: var(--muted); }

.closing { margin-top: 72px; padding: 56px 24px; border-radius: 32px; background: var(--soft); text-align: center; }
.closing h2 { font-family: 'MailHand', 'PingFang TC', 'Noto Sans TC', sans-serif; font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.4; color: var(--accent); }
.closing p { margin: 8px 0 24px; color: var(--muted); }

.foot { margin-top: 56px; border-top: 1px solid var(--line); }
.foot-inner { display: grid; justify-items: center; gap: 16px; padding: 32px 0 calc(36px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.foot-inner a:not(.pill) { color: var(--accent); }

/* 進場動畫：沒有 JS 時一律直接顯示 */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].visible { opacity: 1; transform: none; }
.js .cards .card:nth-child(3n + 2), .js .steps li:nth-child(2) { transition-delay: 0.08s; }
.js .cards .card:nth-child(3n), .js .steps li:nth-child(3) { transition-delay: 0.16s; }

/* 彈窗：電腦置中，手機為底部抽屜 */
body.modal-open { overflow: hidden; }
.modal { width: min(460px, calc(100% - 32px)); max-height: min(86dvh, 720px); padding: 0; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); overflow: hidden; animation: dialogIn 0.5s var(--ease) both; }
.modal::backdrop { background: color-mix(in srgb, var(--text) 38%, transparent); backdrop-filter: blur(4px); animation: fadeIn 0.3s ease both; }
.modal[open] { display: flex; flex-direction: column; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 6px 24px; }
.modal-head h2 { font-size: 18px; }
.modal-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: background 0.2s; }
.modal-close:hover { background: var(--soft); }
.modal-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.modal-body { overflow-y: auto; padding: 4px 28px 20px; text-align: center; }
.orb-wrap { display: grid; place-items: center; height: 96px; }
.orb { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--soft); color: var(--accent); animation: orbPop 0.8s var(--ease) 0.15s both; }
.orb::before, .orb::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); animation: ring 2.4s ease-out infinite; }
.orb::after { animation-delay: 1.2s; }
.orb svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.modal-lead { margin-bottom: 8px; font-size: 20px; font-weight: 700; animation: rise 0.7s var(--ease) 0.2s both; }
.modal-text, .modal-note { font-size: 14px; line-height: 1.9; color: var(--muted); text-wrap: balance; animation: rise 0.7s var(--ease) 0.3s both; }
.modal-text span { display: inline-block; }
.modal-hint { margin: 16px 0 8px; font-size: 14px; font-weight: 600; animation: rise 0.7s var(--ease) 0.4s both; }
.modal-points { display: grid; gap: 8px; width: min(100%, 21em); margin: 0 auto; text-align: left; font-size: 14px; }
.modal-points li { display: flex; align-items: flex-start; gap: 8px; animation: slideIn 0.6s var(--ease) var(--d, 0.3s) both; }
.modal-points svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modal-note { margin-top: 16px; font-size: 13px; }
.modal-foot { display: flex; gap: 10px; justify-content: center; padding: 14px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.modal-foot .pill { flex: 1; max-width: 200px; padding: 0 16px; font-size: 15px; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes orbPop { from { opacity: 0; transform: scale(0.4); } }
@keyframes ring { from { opacity: 0.6; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-12px); } }

/* 平板與手機 */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 24px 0 48px; text-align: center; }
  .lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .story { grid-template-columns: 1fr; gap: 12px; padding: 32px 24px; text-align: center; }
  .story-copy p:last-child { margin-inline: auto; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { height: 60px; gap: 12px; }
  .top-nav { display: none; }
  .top .pill-solid { margin-left: auto; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 56px); }
  .lead { font-size: 16px; }
  .env { width: 46px; height: 46px; }
  .env-a { left: 0; top: 18%; }
  .env-b { right: 0; top: 6%; }
  .env-c { right: 0; bottom: 20%; }
  .phone { width: min(310px, 88%); }
  .screen { height: 372px; }
  .section { padding-top: 52px; }
  .section-head { margin-bottom: 18px; }
  .cards, .steps { grid-template-columns: 1fr; gap: 10px; }
  .card { align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; }
  .card-ico { width: 40px; height: 40px; border-radius: 12px; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 13px; line-height: 1.55; }
  .steps li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 14px 16px; border-radius: 18px; }
  .steps b { grid-row: span 2; margin: 2px 0 0; }
  .steps h3 { font-size: 16px; margin-bottom: 0; }
  .steps p { font-size: 13px; }
  .story { padding: 24px 18px; border-radius: 24px; }
  .story-art svg { width: min(100%, 200px); }
  .closing { margin-top: 52px; padding: 40px 18px; border-radius: 24px; }
  .foot-links .pill { flex: 1 1 calc(50% - 10px); }
  .modal { width: 100%; max-width: none; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 92dvh; animation: sheetIn 0.5s var(--ease) both; }
  .modal-body { padding: 4px 22px 16px; }
  .modal-foot { padding-inline: 18px; }
  .modal-foot .pill { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash { display: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .swoosh { stroke-dashoffset: 0; }
  .drop { opacity: 1; transform: none; }
}
