/* Every Receipt website, design CY1 "Ledger paper": the app's paper, Fraunces headings, ink rules. */
:root {
  --paper: #f3ece0;
  --paper-2: #faf6ee;
  --ink: #1f2b24;
  --muted: #5f655d;
  --rule: #e2dacb;
  --forest: #22402f;
  --amber: #9a6b12;
  --gold: #e2a93b;
  --cream: #fbf6ec;
  /* the logo's three receipts, deepened just enough to read as large text on the paper */
  --sage: #6f8f68;
  --teal: #4e8a80;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* running text: the heading face, Fraunces, at its regular weight and text optical size */
  --read: 'Fraunces', Georgia, serif;
}
body.zh-Hant { --serif: 'Fraunces', 'Noto Serif TC', serif; --sans: 'Manrope', 'Noto Sans TC', system-ui, sans-serif; --read: 'Fraunces', 'Noto Serif TC', serif; }
body.zh-Hans { --serif: 'Fraunces', 'Noto Serif SC', serif; --sans: 'Manrope', 'Noto Sans SC', system-ui, sans-serif; --read: 'Fraunces', 'Noto Serif SC', serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--forest); }
img { max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--forest); font-family: var(--serif); font-weight: 900; font-size: 20px; }
.brand .logo { width: 40px; height: 40px; }
.brand.small { font-size: 16px; }
.brand.small .logo { width: 30px; height: 30px; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.nav nav a { color: var(--ink); text-decoration: none; }
.nav nav a:hover { color: var(--forest); text-decoration: underline; }
.langs { display: flex; gap: 6px; color: var(--muted); font-weight: 600; }
.langs b { color: var(--ink); }

/* type */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin: 0; }
h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(44px, 6vw, 70px); line-height: 1.02; margin: 12px 0 0; letter-spacing: -0.01em; }
h1 .l1 { color: var(--forest); }
h1 .l2 { color: var(--teal); }
h1 .l3 { color: var(--sage); }
h2 { font-family: var(--serif); font-weight: 800; font-size: 28px; line-height: 1.15; margin: 0; }
h3 { font-family: var(--serif); font-weight: 800; font-size: 20px; margin: 0; }
.lead { font-family: var(--read); font-size: 20px; line-height: 1.5; color: #4f554e; max-width: 540px; margin: 18px 0 24px; }
.num { font-family: var(--serif); font-weight: 800; font-size: 18px; color: var(--amber); }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 11px 18px; font-weight: 700; font-size: 18px; line-height: 1.1; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; }
.more { display: inline-block; margin-top: 16px; font-weight: 700; }

/* phones */
.phone { border-radius: 30px; background: #1d221e; padding: 3px; box-shadow: 0 0 0 1px rgba(31, 43, 36, 0.08), 0 24px 48px rgba(31, 43, 36, 0.22); }
.phone img { display: block; width: 100%; height: auto; border-radius: 27px; }

/* hero: the paper receipt being scanned, then the same receipt in the app */
.hero { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 36px; align-items: center; padding: 30px 0 60px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.trust li { font-size: 14px; font-weight: 700; color: var(--forest); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 12px; }
.trust li::before { content: '✓ '; color: var(--amber); }
.scene { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.scene figure { margin: 0; text-align: center; }
.scene figcaption { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 14px; letter-spacing: 0.04em; }
.paper { position: relative; transform: rotate(-3deg); }
.slip { position: relative; background: #fffdf7; color: #2b2b28; font-family: 'Courier New', ui-monospace, monospace; font-size: 11.5px; line-height: 1.45; padding: 18px 16px 24px; box-shadow: 0 18px 34px rgba(31, 43, 36, 0.2); display: grid; gap: 1px; text-align: left; clip-path: polygon(0 0, 100% 0, 100% 100%, 95% 98%, 90% 100%, 85% 98%, 80% 100%, 75% 98%, 70% 100%, 65% 98%, 60% 100%, 55% 98%, 50% 100%, 45% 98%, 40% 100%, 35% 98%, 30% 100%, 25% 98%, 20% 100%, 15% 98%, 10% 100%, 5% 98%, 0 100%); }
.slip-store { text-align: center; font-size: 14px; letter-spacing: 0.06em; }
.slip > span { text-align: center; color: #6b6b64; }
.slip hr { border: 0; border-top: 1px dashed #b9b2a3; width: 100%; margin: 6px 0; }
.slip .line { display: flex; justify-content: space-between; gap: 10px; border-radius: 3px; }
.slip .total { font-weight: 700; font-size: 13px; }
.slip .thanks { margin-top: 6px; }
.scanline { position: absolute; left: -8px; right: -8px; top: 50%; height: 3px; border-radius: 3px; background: var(--gold); box-shadow: 0 0 14px 4px rgba(226, 169, 59, 0.55); }
.js .scanline { animation: sweep 3.6s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { top: 4%; } 50% { top: 90%; } }
.js .slip .line { animation: glow 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * 0.16s + 0.25s); }
@keyframes glow { 0%, 22%, 100% { background: transparent; } 10% { background: rgba(226, 169, 59, 0.25); } }
.arrow { color: var(--amber); display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-align: center; max-width: 92px; }
.arrow svg { width: 56px; }
.js .arrow svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.hero-phone { width: 230px; margin: 0 auto; transform: rotate(2deg); }

/* section headings */
.sec-head { max-width: 680px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 42px); }

/* features: steps on the left, a sticky screen on the right that follows them; on phones a screen under each step */
.features { border-top: 2px solid var(--ink); padding: 28px 0 40px; }
.scrolly { display: grid; grid-template-columns: 1fr 400px; gap: 56px; }
.feature { padding: 26vh 0; border-top: 1px solid var(--rule); }
.js .feature { opacity: 0.32; transition: opacity 0.45s ease; }
.js .feature.active { opacity: 1; }
.feature:first-child { border-top: 0; padding-top: 6vh; }
.feature .num { display: block; margin-bottom: 4px; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); transform-origin: left center; }
.feature p { font-family: var(--read); font-size: 19px; line-height: 1.55; color: #4f554e; margin: 10px 0 16px; max-width: 540px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.ticks li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; transform: translateY(3px); background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FBF6EC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.js .feature.active h3 { animation: pop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1.2); }
@keyframes pop { 0% { transform: scale(0.9); } 60% { transform: scale(1.05); color: var(--forest); } 100% { transform: none; } }
.js .ticks li { transition: color 0.3s, transform 0.3s; }
.js .ticks li.on { color: var(--forest); transform: translateX(4px); }
.js .ticks li.on::before { background-color: var(--gold); }

/* the lens: a screen on paper, zooming into one point at a time like the app tour's spotlight */
.lens { position: relative; overflow: hidden; border-radius: 22px; background: #faf7f0; border: 1px solid var(--rule); box-shadow: 0 22px 44px rgba(31, 43, 36, 0.14); aspect-ratio: 4 / 5; }
.lens .shot { position: absolute; left: 0; top: 0; width: 390px; height: 797px; transition: left 1s cubic-bezier(0.65, 0, 0.25, 1), top 1s cubic-bezier(0.65, 0, 0.25, 1), width 1s cubic-bezier(0.65, 0, 0.25, 1), height 1s cubic-bezier(0.65, 0, 0.25, 1); }
.lens .shot { border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(31, 43, 36, 0.14), 0 6px 18px rgba(31, 43, 36, 0.06); }
.lens .shot img { display: block; width: 100%; height: 100%; }
/* a hairline phone outline round the screen, so it reads as a phone without a heavy frame */
.lens .ring { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 14px; border: 2px solid var(--gold); box-shadow: 0 0 0 9999px rgba(31, 43, 36, 0.42); opacity: 0; transition: all 1s cubic-bezier(0.65, 0, 0.25, 1); pointer-events: none; z-index: 3; }
.lens.spot .ring { opacity: 1; }
.lens .cap { font-family: var(--sans); position: absolute; left: 14px; right: 14px; bottom: 14px; margin: 0; display: flex; gap: 10px; align-items: center; background: var(--forest); color: var(--cream); border-radius: 14px; padding: 11px 14px; font-weight: 700; font-size: 15px; line-height: 1.3; opacity: 0; transform: translateY(12px); transition: opacity 0.35s, transform 0.35s; z-index: 4; }
.lens .cap b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--forest); font-size: 13px; }
.lens.spot .cap.show { opacity: 1; transform: none; }
.feature .lens.inline { display: none; }
.sticky { position: sticky; top: 12vh; align-self: start; height: 76vh; display: grid; grid-template-columns: 1fr 14px; gap: 16px; align-items: center; }
.stack { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; }
.stack .lens { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(0.985); transition: opacity 0.5s ease, transform 0.5s ease; }
.stack .lens.on { opacity: 1; transform: none; }
.dots { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.dots li { width: 10px; height: 10px; border-radius: 50%; background: #d3cab8; cursor: pointer; transition: background 0.3s, transform 0.3s; }
.dots li.on { background: var(--forest); transform: scale(1.35); }

/* the live budget card inside the lens sits over the screen's own Monthly total, moves with it, and its bar slides */
.lens .bw { z-index: 2; box-shadow: none; border-radius: 0; opacity: 1; transition: left 1s cubic-bezier(0.65, 0, 0.25, 1), top 1s cubic-bezier(0.65, 0, 0.25, 1), width 1s cubic-bezier(0.65, 0, 0.25, 1), font-size 1s cubic-bezier(0.65, 0, 0.25, 1); }

/* the live budget cards, drawn like the app's; sized by font-size so they stay sharp at any size */
.bw { position: absolute; background: #faf7f0; border-radius: 0.9em; padding: 0.7em 0.9em 0.8em; color: #1d2433; font-family: var(--sans); box-shadow: 0 24px 60px rgba(31, 43, 36, 0.28), 0 0 0 0.12em var(--gold); opacity: 0; pointer-events: none; }
.bw-label { font-size: 0.78em; font-weight: 800; letter-spacing: 0.06em; color: #6b6f73; }
.bw-row { display: flex; align-items: center; gap: 0.7em; margin-top: 0.7em; }
.bw-cur { font-weight: 800; color: #6b6f73; font-size: 1.05em; }
.bw-input { flex: 1; background: #f0ebe1; border: 1px solid #e3dccf; border-radius: 0.5em; padding: 0.55em 0.8em; font-weight: 800; font-size: 1.45em; font-variant-numeric: tabular-nums; }
.bw-track { position: relative; height: 0.5em; margin: 1.4em 0.4em 0; border-radius: 1em; background: #ece6db; }
.bw-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 1em; background: #1d2433; }
.bw-mark { position: absolute; top: -0.5em; width: 2px; height: 1.5em; background: #8d8f93; }
.bw-knob { position: absolute; top: 50%; width: 1.7em; height: 1.7em; margin: -0.85em 0 0 -0.85em; border-radius: 50%; background: #fff; border: 0.2em solid #1d2433; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.bw-ends { display: flex; justify-content: space-between; font-size: 0.78em; font-weight: 600; color: #6b6f73; margin-top: 1.2em; }
.bw-note { font-size: 0.82em; color: #6b6f73; margin: 0.5em 0 0; line-height: 1.35; }
.bw-cats b { font-family: var(--serif); font-size: 0.95em; }
.bw-stack { display: flex; height: 0.6em; border-radius: 1em; background: #ece6db; overflow: hidden; margin-top: 0.5em; }
.bw-stack i { display: block; height: 100%; }

/* safe by design */
.safe { position: relative; overflow: hidden; color: var(--cream); padding: 84px 0 92px; margin-top: 10px;
  /* a soft gold glow behind the heading and a deeper green at the foot */
  background:
    radial-gradient(60% 50% at 85% 8%, rgba(226, 169, 59, 0.16), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(94, 158, 147, 0.18), transparent 70%),
    linear-gradient(180deg, #22402f 0%, #1c3627 100%); }
/* a faint pattern of locks and dots, like security paper */
.safe::before { content: ''; position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%23FBF6EC' stroke-width='1.4' stroke-linecap='round'%3E%3Crect x='10' y='16' width='14' height='11' rx='2'/%3E%3Cpath d='M13 16v-3a4 4 0 0 1 8 0v3'/%3E%3Ccircle cx='54' cy='54' r='1.6' fill='%23FBF6EC'/%3E%3Ccircle cx='54' cy='18' r='1' fill='%23FBF6EC'/%3E%3Ccircle cx='18' cy='54' r='1' fill='%23FBF6EC'/%3E%3Cpath d='M44 40l6 2.2v4.4c0 3.6-2.6 6-6 7.4-3.4-1.4-6-3.8-6-7.4v-4.4z'/%3E%3C/svg%3E"); }
.safe > .wrap { position: relative; z-index: 1; }
.safe-bg { position: absolute; inset: 0; pointer-events: none; }
.safe-bg .shield { position: absolute; right: max(-60px, calc(50% - 640px)); top: 40px; width: min(360px, 60vw); color: var(--gold); opacity: 0.12; }
.tear { position: absolute; left: 0; width: 100%; height: 18px; fill: var(--paper); z-index: 2; }
.tear.top { top: -1px; }
.tear.bottom { bottom: -1px; transform: scaleY(-1); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(226, 169, 59, 0.14); border: 1px solid rgba(226, 169, 59, 0.45); color: #f0c66a; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 14px; }
.badge svg { width: 15px; height: 15px; }
.seal { position: absolute; left: 50%; top: -19px; margin-left: -18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #1c3627; border: 2px solid var(--gold); color: var(--gold); z-index: 1; box-shadow: 0 0 0 6px rgba(226, 169, 59, 0.12); }
.seal svg { width: 17px; height: 17px; }
.js .diagram.in .seal { animation: sealpulse 2.4s ease-in-out infinite; }
@keyframes sealpulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(226, 169, 59, 0.12); } 50% { box-shadow: 0 0 0 11px rgba(226, 169, 59, 0.04); } }
.node.home .ico { box-shadow: 0 0 0 8px rgba(251, 246, 236, 0.07), 0 10px 24px rgba(0, 0, 0, 0.2); }
.node.reader .ico { box-shadow: 0 0 0 8px rgba(226, 169, 59, 0.1), 0 10px 24px rgba(0, 0, 0, 0.2); }

.safe .sec-head h2, .safe h3 { color: var(--cream); }
.safe .lead { color: #cfd9cf; }
.safe a { color: #f0c66a; }
.diagram { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 10px; background: rgba(251, 246, 236, 0.06); border: 1px solid rgba(251, 246, 236, 0.16); border-radius: 22px; padding: 28px; margin: 8px 0 30px; }
.node { text-align: center; display: grid; justify-items: center; gap: 4px; }
.node .ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--cream); color: var(--forest); margin-bottom: 6px; }
.node .ico svg { width: 32px; height: 32px; }
.node.reader .ico { background: var(--gold); }
.node b { font-family: var(--serif); font-size: 18px; }
.node small { color: #cfd9cf; font-size: 13px; }
.wire { position: relative; height: 66px; border-top: 2px dashed rgba(251, 246, 236, 0.35); margin-top: 33px; }
.wire em { position: absolute; left: 0; right: 0; top: 26px; text-align: center; font-style: normal; font-size: 13px; color: #cfd9cf; }
.packet { position: absolute; top: -17px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--forest); }
.packet svg { width: 18px; height: 18px; }
.packet.photo { left: 0; background: var(--cream); }
.packet.text { right: 0; background: var(--gold); opacity: 0; }
.js .diagram.in .packet.photo { animation: go 4.8s ease-in-out infinite; }
.js .diagram.in .packet.text { animation: back 4.8s ease-in-out infinite; }
@keyframes go { 0% { left: 0; opacity: 1; } 42% { left: calc(100% - 32px); opacity: 1; } 48%, 100% { left: calc(100% - 32px); opacity: 0; } }
@keyframes back { 0%, 50% { right: 0; opacity: 0; } 54% { opacity: 1; } 92% { right: calc(100% - 32px); opacity: 1; } 100% { right: calc(100% - 32px); opacity: 0; } }
.safe-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.safe-grid li { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(251, 246, 236, 0.1), rgba(251, 246, 236, 0.04)); border: 1px solid rgba(251, 246, 236, 0.16); border-radius: 18px; padding: 20px; box-shadow: inset 0 1px 0 rgba(251, 246, 236, 0.08), 0 14px 30px rgba(0, 0, 0, 0.12); }
.safe-grid li::after { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), transparent); opacity: 0.7; }
.safe-grid .tick { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(145deg, #fffaf0, #eadfc9); color: var(--forest); margin-bottom: 12px; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18); }
.safe-grid .tick svg { width: 22px; height: 22px; }
.safe-grid p { font-family: var(--read); font-size: 17px; color: #d6dfd5; margin: 6px 0 0; }
.safe .more { margin-top: 24px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ledger sections: a heading in the left column, content on the right, an ink rule on top */
.ledger { display: grid; grid-template-columns: 250px 1fr; gap: 32px; border-top: 2px solid var(--ink); padding: 26px 0 50px; }
.plans { display: grid; margin: 4px 0 18px; border-top: 1px solid var(--rule); }
.plan { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.plan b { font-family: var(--serif); font-size: 19px; min-width: 70px; }
.plan span { color: var(--muted); }
.langs-line { font-weight: 700; margin: 0 0 20px; }

/* documents: privacy and support */
.doc { max-width: 760px; padding: 28px 0 60px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc h2 { font-size: 22px; margin: 34px 0 8px; padding-top: 14px; border-top: 1px solid var(--rule); }
.doc p { font-family: var(--read); font-size: 18px; line-height: 1.6; margin: 8px 0; }
.updated { color: var(--muted); font-size: 15px; }
.mail { display: inline-block; margin: 4px 0 10px; background: var(--forest); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 12px; }
.faq details { border-top: 1px solid var(--rule); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 800; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-weight: 600; color: var(--amber); font-size: 24px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-family: var(--read); font-size: 18px; line-height: 1.6; color: #3d443e; margin: 10px 0 0; }

/* footer */
.foot { border-top: 2px solid var(--ink); padding: 26px 0 40px; display: grid; gap: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; }
.foot p { margin: 0; color: var(--muted); font-size: 14px; }

a:focus-visible, summary:focus-visible, .dots li:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .scene { max-width: 620px; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .lead { font-size: 18px; }
  .feature p, .doc p, .faq details p { font-size: 17px; }
  .nav nav { gap: 14px; font-size: 14px; }
  .nav nav > a:not(:last-of-type) { display: none; }
  .hero { gap: 18px; padding: 16px 0 40px; }
  .scene { grid-template-columns: 1fr 1fr; gap: 14px; }
  .arrow { display: none; }
  .slip { font-size: 9px; padding: 12px 10px 18px; }
  .slip-store { font-size: 11px; }
  .hero-phone { width: 100%; max-width: 190px; }
  /* side by side on phones too, so the line between them reads as the connection */
  .diagram { grid-template-columns: 1fr 1.1fr 1fr; align-items: start; gap: 4px; padding: 20px 12px; }
  .node .ico { width: 52px; height: 52px; border-radius: 16px; }
  .node .ico svg { width: 26px; height: 26px; }
  .node b { font-size: 15px; }
  .node small { font-size: 11.5px; line-height: 1.3; }
  .wire { height: 56px; margin-top: 26px; }
  .wire em { top: 22px; font-size: 11.5px; line-height: 1.3; }
  .seal { width: 28px; height: 28px; top: -15px; margin-left: -14px; }
  .seal svg { width: 14px; height: 14px; }
  .safe { padding: 70px 0 80px; }
  .packet { width: 28px; height: 28px; top: -15px; }
  @keyframes go { 0% { left: 0; opacity: 1; } 42% { left: calc(100% - 28px); opacity: 1; } 48%, 100% { left: calc(100% - 28px); opacity: 0; } }
  @keyframes back { 0%, 50% { right: 0; opacity: 0; } 54% { opacity: 1; } 92% { right: calc(100% - 28px); opacity: 1; } 100% { right: calc(100% - 28px); opacity: 0; } }
  .safe-grid { grid-template-columns: 1fr; }
  .scrolly { grid-template-columns: 1fr; }
  .sticky { display: none; }
  .js .feature, .feature { padding: 28px 0; opacity: 1; }
  .feature .lens.inline { display: block; max-width: 420px; margin: 22px auto 0; }
  .ledger { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .scanline, .js .slip .line, .js .arrow svg, .js .diagram.in .packet, .js .diagram.in .seal { animation: none; }
  .js .feature.active h3 { animation: none; }
  .lens .shot, .lens .ring, .lens .bw { transition: none; }
  .packet.text { opacity: 1; }
}
/* the card's note sits inside a feature on phones; keep it the app's small sans, not the article text */
.lens .bw .bw-note { font-family: var(--sans); font-size: 0.82em; line-height: 1.35; color: #6b6f73; margin: 0.5em 0 0; max-width: none; }
