/* Hallmark · shape: Workbench (swapped from Stat-Led: no figures given) · genre: modern-minimal · theme: Dose (by request, accent swapped to brand yellow) · job: try · draw: fe8563
 * hero: Counter (swapped from Corridor: the product screen must lead) · nav: edge-aligned over the window light (owner asked for the Dose first screen) · footer: colophon block · imagery: the product built in HTML from the owner's app material, the owner's 3D coins as accents · signature: one sentence split into an expense sheet with payer, payee and beneficiary · dose: white
 * axes: light/grotesk-sans/chromatic-yellow · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · dismissed 58 · the static count includes six closed FAQ answers, two hidden ledger tabs and four hidden currency states; the rendered page shows far fewer */
/* Hallmark · answered F4 · the selected tab and the checked currency key are states of a control, not second primary buttons */
/* Hallmark · answered F7 · pills inside the built blocks copy the app's own entry pills and talk bar */
/* Hallmark · answered F18 · the hallmarkSlots helper ships in site.js, loaded on every page */
/* Hallmark · dismissed 59 · eleven sections because the owner asked for each: the sentence split, money kinds, currencies, scenarios */
/* Hallmark · waive 3 · three equal columns hold built demos of typing, talking and scanning, no icon tiles · the owner asked the three logging demos to share one width */
/* Hallmark · waive 59 · the 30px gap is a gold coin straddling the seam between the download band and the footer · the owner asked the coins to cross from one section into the next */
/* Hallmark · waive 29 · a blurred copy of the phone's rotating colour ring, the app's own input-field glow, on light paper · the owner asked for the app's glowing input border around the phone */
/* Hallmark · waive 44c · on the zh-tw, ja and ko pages the hero head breaks into short CJK lines, so its ink ends before the column does · CJK headlines are set at the same size as the Latin ones and keep their natural phrase breaks */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V4 · weakest: R, the owner wants the page to feel like money, so gold coins are allowed as accents; kept them static, off the text and out of the product blocks */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- ground ---------- */
body { background-color: var(--color-paper); background-image: var(--grain); }
:lang(zh-CN), :lang(zh-Hant), :lang(ja), :lang(ko) { --tracking-display: 0em; }
:lang(zh-CN) h1, :lang(zh-Hant) h1, :lang(ja) h1, :lang(ko) h1 { line-height: 1.15; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-input); background: var(--color-accent); color: var(--color-accent-ink); }
.skip:focus-visible { top: var(--space-md); }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.dose { font-family: var(--font-outlier); font-weight: 500; font-variant-numeric: tabular-nums; }
.caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.deco { position: absolute; z-index: 1; height: auto; pointer-events: none; user-select: none; }

/* ---------- controls: moulded plastic ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-input); background: var(--color-surface); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-rule), 0 3px 0 var(--color-rule); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-rule), 0 0 0 var(--color-rule); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: linear-gradient(var(--color-accent), var(--color-accent-deep)); color: var(--color-accent-ink); box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-accent-deep), 0 3px 0 var(--color-stamp); }
.btn--primary:active { box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-accent-deep), 0 0 0 var(--color-stamp); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover, .btn:active { transform: none; } }
.stores { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.stores--large .btn { font-size: var(--text-lg); padding: 0 var(--space-xl); }
.trial { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- plastic ---------- */
.plastic { --t: var(--p-wed); position: relative; border-radius: var(--radius-phone); background: linear-gradient(color-mix(in oklab, var(--glint) 32%, transparent), transparent 18%), color-mix(in oklab, var(--t) 62%, transparent); box-shadow: inset 0 1.5px 0 var(--glint), inset 0 -24px 36px -28px color-mix(in oklab, var(--t) 45%, var(--color-ink)); }

/* the product, built: slots hold HTML, never a wash */
[data-slot][data-kind="product"] { overflow: visible; }
.way__demo { background: none; }

/* ---------- app pieces shared by every block ---------- */
.entry { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-xs); border-radius: var(--radius-pill); background: var(--color-accent-soft); }
.entry__coin { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent); color: var(--color-ink); }
.entry__text { display: grid; min-width: 0; }
.entry__text b { font-weight: 500; font-size: var(--text-sm); line-height: 1.3; }
.phone .entry { gap: var(--space-xs); padding-right: var(--space-sm); }
.phone .entry__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry__text small, .entry__amount small { font-size: 0.75rem; color: var(--color-muted); }
.entry__amount { display: grid; justify-items: end; font-size: var(--text-sm); white-space: nowrap; }
.chat__ai { font-size: var(--text-xs); line-height: 1.5; color: var(--color-ink-2); }
.chat__me { justify-self: end; max-width: 88%; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent-soft); font-size: var(--text-xs); line-height: 1.4; }
.chat__me--voice { display: inline-flex; align-items: center; gap: var(--space-xs); }
.chat__me--voice .icon { width: 16px; height: 16px; color: var(--color-stamp); }
.talkbar { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-accent); font-size: var(--text-sm); font-weight: 500; }
.talkbar > span:nth-child(2) { flex: 1; text-align: center; white-space: nowrap; }
.talkbar > .icon:last-child { box-sizing: content-box; padding: 0 var(--space-sm); }
.talkbar__scan { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--color-accent-soft); }

/* ---------- nav over the window light ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.nav.is-scrolled { background: color-mix(in oklab, var(--color-paper) 92%, transparent); box-shadow: 0 1px 0 var(--color-rule); backdrop-filter: blur(12px); }
.nav__bar { display: flex; align-items: center; gap: var(--space-xl); min-height: var(--nav-h); }
.mark { display: inline-flex; align-items: center; gap: var(--space-xs); text-decoration: none; }
.mark img { flex-shrink: 0; }
.mark__word { height: 22px; width: auto; }
.nav__links { display: flex; gap: var(--space-md); margin-inline-start: var(--space-sm); }
.nav__links a { color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; white-space: nowrap; padding-block: var(--space-xs); transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent-deep); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.nav__end { display: flex; align-items: center; gap: var(--space-sm); margin-inline-start: auto; }
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-input); color: var(--color-ink-2); cursor: pointer; list-style: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary { padding: 0; }
.lang__badge { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-surface); box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-rule), 0 2px 0 var(--color-rule); color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; transition: transform var(--dur-micro) var(--ease-out); }
.lang summary:hover .lang__badge { transform: translateY(-1px); }
.lang[open] .lang__badge { background: var(--color-accent-soft); }
.lang summary { border-radius: 50%; }
.lang summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .lang__badge { transition: none; } .lang summary:hover .lang__badge { transform: none; } }
.lang summary:hover, .lang[open] summary { color: var(--color-ink); }
.lang ul { position: absolute; right: 0; top: calc(100% + var(--space-xs)); z-index: var(--z-dropdown); min-width: 12rem; margin: 0; padding: var(--space-xs); list-style: none; border-radius: var(--radius-card); background: var(--color-surface); box-shadow: var(--shadow-lift); }
.lang a { display: block; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-input); color: var(--color-ink); text-decoration: none; }
.lang a:hover { background: var(--color-paper-2); }
.lang a[aria-current] { background: var(--color-accent-soft); font-weight: 500; }

/* ---------- hero: Counter, under the Dose window light ---------- */
.hero { position: relative; z-index: 2; isolation: isolate; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); overflow-x: clip; overflow-y: visible; }
.hero__ground { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(110% 90% at 100% 90%, var(--tone-ground-1), var(--tone-ground-2) 70%); -webkit-mask-image: linear-gradient(180deg, var(--mask) 55%, transparent); mask-image: linear-gradient(180deg, var(--mask) 55%, transparent); }
.hero__window { position: absolute; left: 6%; top: -4%; width: 50%; height: 98%; filter: blur(14px); transform: skewX(27deg); transform-origin: 0 0; }
.hero__window::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--light) 0 47.5%, transparent 47.5% 52%, var(--light) 52%); mask: linear-gradient(180deg, var(--mask) 0 21%, transparent 21% 24%, var(--mask) 24% 100%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; min-height: min(calc(100svh - var(--nav-h)), 860px); padding-block: var(--space-xl); }
.hero__text h1 { max-width: 12ch; }
.hero__text .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 30ch; }
.hero__text .stores { margin-top: var(--space-xl); }
.hero__stage { position: relative; display: flex; align-items: center; min-height: min(700px, calc(100svh - var(--nav-h) - var(--space-2xl))); }
.phone { --ph: min(700px, calc(100svh - var(--nav-h) - var(--space-2xl))); position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--space-sm); width: calc(var(--ph) * 9 / 19.5); aspect-ratio: 9 / 19.5; padding: var(--space-lg) var(--space-md) var(--space-md); border-radius: var(--radius-phone); background: var(--color-surface); box-shadow: var(--shadow-lift); }
.phone__status { display: flex; justify-content: space-between; align-items: center; margin: calc(-1 * var(--space-xs)) var(--space-2xs) var(--space-sm); font-size: var(--text-md); font-weight: 700; font-variant-numeric: tabular-nums; }
.phone__icons { display: flex; gap: var(--space-2xs); }
.phone__icons .icon { width: 16px; height: 16px; stroke-width: 2.25; }
.phone .talkbar { align-self: stretch; margin-top: auto; }
.phone .chat__me { align-self: flex-end; }
.ticket { position: absolute; z-index: 3; right: 0; top: 18%; width: max(12rem, min(15rem, calc(100% - var(--ph-w, 20rem) + var(--space-md)))); padding: var(--space-md) var(--space-md) var(--space-lg); border-radius: var(--radius-input); background-color: var(--light); background-image: var(--grain); box-shadow: var(--shadow-lift); font-family: var(--font-outlier); font-variant-numeric: tabular-nums; animation: ticket-rise 600ms var(--ease-out) 200ms both; }
.ticket::after { content: ""; position: absolute; left: var(--space-md); right: var(--space-md); bottom: var(--space-xs); border-top: 1px dashed var(--color-rule); }
.ticket__title { display: block; font-weight: 500; font-size: var(--text-sm); }
.ticket__row { display: flex; flex-direction: column; gap: var(--space-2xs); margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.stamp { display: inline-flex; gap: var(--space-xs); margin-top: var(--space-md); padding: var(--space-2xs) var(--space-sm); border: 2px solid var(--color-stamp); border-radius: var(--radius-input); outline: 1px solid var(--color-stamp); outline-offset: 2px; color: var(--color-stamp); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; transform: rotate(-2deg); animation: stamp-land 360ms var(--ease-out) 700ms both; }
@keyframes ticket-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes stamp-land { from { opacity: 0; transform: rotate(-2deg) scale(1.25); } to { opacity: 1; transform: rotate(-2deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .ticket, .stamp { animation: none; } }
.deco--h1 { width: 150px; left: -130px; bottom: 2%; z-index: 3; transform: rotate(-8deg); }
.deco--h2 { width: 120px; right: 4%; bottom: 6%; }
.deco--h3 { width: 84px; left: 23.5rem; top: 2%; transform: rotate(14deg); }

/* ---------- one sentence, every field: Split ---------- */
.split { padding-top: var(--section-gap-s); }
.split__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.split__text { position: relative; order: 2; }
.split .bill { order: 1; }
.split__text .lead { margin-top: var(--space-md); color: var(--color-ink-2); }
.split__sentence { margin-top: var(--space-xl); font: 700 var(--text-2xl)/1.3 var(--font-display); letter-spacing: -0.015em; max-width: 22ch; }
.split__sentence q { quotes: "“" "”"; }
.split__sentence mark { padding: 0 0.12em; border-radius: 6px; background: var(--color-accent); color: var(--color-ink); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.split__facts { display: grid; gap: var(--space-md); margin: var(--space-xl) 0 0; }
.split__facts > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.split__facts dt { font-weight: 500; }
.split__facts dd { margin: 0; color: var(--color-ink-2); }
.deco--s1 { width: 88px; right: 6%; top: -12px; transform: rotate(-10deg); }
.bill { justify-self: center; width: min(30rem, 100%); padding: var(--space-xl) var(--space-lg) var(--space-lg); border-radius: var(--radius-phone); background: var(--color-app-sheet); box-shadow: var(--shadow-lift); }
.bill__head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 var(--space-lg); padding-inline: var(--space-lg); font: 700 var(--text-xl)/1 var(--font-display); }
.bill__head .icon { width: 24px; height: 24px; color: var(--color-ink); }
.bill__fields { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.bill__field { display: flex; align-items: center; gap: var(--space-sm); min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-app-field); }
.bill__field span { flex: 1; color: var(--color-ink-2); }
.bill__field b { font-weight: 500; }
.bill__field em { font-style: normal; font-size: var(--text-sm); color: var(--color-stamp); font-weight: 500; }
.bill__field[data-k="title"] b, .bill__field[data-k="amount"] b, .bill__field[data-k="payee"] b, .bill__field[data-k="beneficiary"] b { padding: 0 0.3em; border-radius: 6px; background: var(--color-accent); }
.bill__field[data-k="amount"] b { font-family: var(--font-outlier); }
.bill__field--who:first-of-type, .bill__field[data-k="payer"] { margin-top: var(--space-xs); }
.bill__field--note span { color: var(--color-muted); }
.bill__confirm { margin: var(--space-lg) var(--space-xl) 0; padding: var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-accent); text-align: center; font-weight: 500; }

/* ---------- three ways: Grid, no backdrops ---------- */
.ways { padding-top: var(--section-gap-l); }
.ways h2 { margin-bottom: var(--space-2xl); }
.ways__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; counter-reset: way; }
.way { counter-increment: way; }
.way { display: flex; flex-direction: column; }
.way__demo { flex: 1; display: grid; align-content: end; gap: var(--space-sm); margin-top: var(--space-xl); }
.way__demo > .field, .way__demo > .entry, .way__demo > .talkbar, .way__demo > .receipt, .way__demo > .scanbtns, .way__demo > .bill { width: 100%; }
.way__demo .chat__me { justify-self: end; }
.bill--mini { padding: var(--space-md); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.bill--mini .bill__head { margin-bottom: var(--space-sm); padding-inline: var(--space-md); font-size: var(--text-lg); }
.bill--mini .bill__fields { gap: var(--space-2xs); }
.bill--mini .bill__field { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.bill--mini .bill__field b { padding: 0; background: none; }
.way h3 { display: flex; gap: var(--space-sm); align-items: center; }
.way h3::before { content: counter(way); display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--color-accent); box-shadow: inset 0 1px 0 var(--glint), 0 2px 0 var(--color-accent-deep); color: var(--color-ink); font-size: var(--text-md); letter-spacing: 0; }
.way > p { margin-top: var(--space-xs); color: var(--color-ink-2); }
.way__demo--scan { align-content: end; }
.field { display: flex; align-items: center; min-height: 52px; padding: 0 var(--space-lg); border: 1px solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-surface); font-size: var(--text-sm); }
.caret { display: inline-block; width: 2px; height: 1.2em; margin-left: var(--space-3xs); background: var(--color-ink); }
.talkbar--held { min-height: 56px; box-shadow: 0 0 0 6px color-mix(in oklab, var(--color-accent) 35%, transparent); }
.way__hint { justify-self: center; font-size: var(--text-sm); color: var(--color-muted); }
.receipt { padding: var(--space-md) var(--space-lg); border-radius: var(--radius-input); background-color: var(--light); background-image: var(--grain); box-shadow: var(--shadow-card); font-family: var(--font-outlier); font-size: var(--text-sm); }
.receipt__shop { display: grid; margin-bottom: var(--space-sm); font-weight: 500; }
.receipt__shop small { font-weight: 400; color: var(--color-muted); }
.receipt__line { display: flex; justify-content: space-between; }
.receipt__line--total { margin-top: var(--space-xs); padding-top: var(--space-xs); border-top: 1px dashed var(--color-rule); font-weight: 500; }
.scanbtns { display: grid; gap: var(--space-xs); }
.scanbtns span { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
.scanbtns span + span { background: var(--color-accent-soft); }

/* ---------- currencies: a first step in a tray ---------- */
.cur { padding-top: var(--section-gap); }
.cur__tray { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; padding: var(--space-3xl) var(--space-3xl) 0; overflow: hidden; }
.cur__text { position: relative; z-index: 2; padding-bottom: var(--space-3xl); }
.cur__text .lead { margin-top: var(--space-md); color: var(--color-ink-2); }
.keys { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-xl) 0 0; padding: 0; border: 0; }
.keys legend { margin-bottom: var(--space-sm); padding: 0; font-weight: 500; }
.keys input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.keys label { display: inline-flex; align-items: center; min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-input); background: var(--color-surface); font: 500 var(--text-md)/1 var(--font-outlier); cursor: pointer; box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-rule), 0 3px 0 var(--color-rule); transition: transform var(--dur-micro) var(--ease-out); }
.keys label:hover { transform: translateY(-1px); }
.keys label:active { transform: translateY(3px); }
.keys input:checked + label { background: var(--color-accent); box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-accent-deep), 0 3px 0 var(--color-stamp); }
.keys input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.keys input:disabled + label { opacity: 0.55; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .keys label { transition: none; } .keys label:hover, .keys label:active { transform: none; } }
.cur__phone { position: relative; z-index: 2; align-self: end; justify-self: center; display: grid; gap: var(--space-sm); width: min(22rem, 100%); min-height: 520px; padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-phone) var(--radius-phone) 0 0; background: var(--color-surface); box-shadow: var(--shadow-lift); align-content: start; }
.cur__screen-head { display: grid; margin-bottom: var(--space-xs); }
.cur__screen-head small { font-size: var(--text-sm); color: var(--color-muted); }
.cur__screen-head b { font: 700 var(--text-xl)/1.1 var(--font-display); }
.cur__state { display: none; gap: var(--space-sm); }
.cur__state .chat__me { justify-self: end; }
.cur__totals-label { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.cur__totals { margin: 0; padding: 0; list-style: none; }
.cur__totals li { display: flex; justify-content: space-between; padding: var(--space-xs) var(--space-sm); border-bottom: 1px solid var(--color-rule); border-radius: 6px; font-size: var(--text-sm); }
.cur__totals li span:first-child { font-family: var(--font-outlier); }
.cur__convert { font-size: var(--text-xs); color: var(--color-muted); }
.cur__state[data-cur="jpy"] { display: grid; }
.cur:has(input:checked) .cur__state { display: none; }
.cur:has(#cur-jpy:checked) .cur__state[data-cur="jpy"], .cur:has(#cur-usd:checked) .cur__state[data-cur="usd"], .cur:has(#cur-eur:checked) .cur__state[data-cur="eur"], .cur:has(#cur-gbp:checked) .cur__state[data-cur="gbp"], .cur:has(#cur-myr:checked) .cur__state[data-cur="myr"] { display: grid; }
.cur:has(#cur-jpy:checked) .cur__totals [data-cur="jpy"], .cur:has(#cur-usd:checked) .cur__totals [data-cur="usd"], .cur:has(#cur-eur:checked) .cur__totals [data-cur="eur"], .cur:has(#cur-gbp:checked) .cur__totals [data-cur="gbp"], .cur:has(#cur-myr:checked) .cur__totals [data-cur="myr"] { background: var(--color-accent-soft); font-weight: 500; }
.cur__wrap { position: relative; }
.cur__wrap > .deco { z-index: 3; }
.deco--c1 { width: 120px; right: 2%; top: -70px; transform: rotate(28deg); }
.deco--c2 { width: 140px; right: 2%; top: calc(100% + var(--space-md)); transform: rotate(-12deg); }
.cur__list { position: relative; margin-top: var(--space-3xl); }
.cur__list h3 { max-width: none; font-size: var(--text-2xl); margin-bottom: var(--space-xl); }
.cur__list ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.cur__list li { display: flex; gap: var(--space-md); align-items: center; padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.cur__sym { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--color-accent); box-shadow: inset 0 1px 0 var(--glint), 0 2px 0 var(--color-accent-deep); font: 700 var(--text-xl)/1 var(--font-display); letter-spacing: 0; }
.cur__list abbr { font-size: var(--text-xl); text-decoration: none; cursor: help; }
.cur__list .caption { margin-top: var(--space-lg); }

/* ---------- loans, lending, gifts: Switcher ---------- */
.money { padding-top: var(--section-gap-l); }

.switch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.switch__left .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.switch__right { position: relative; padding-top: calc(var(--space-2xl) + var(--space-xl)); }
.deco--m1 { width: 104px; right: 22%; bottom: -96px; transform: rotate(-14deg); }
.switch__right h2 { margin-bottom: var(--space-xl); }
.seg { display: inline-flex; gap: var(--space-xs); padding: var(--space-xs); border-radius: var(--radius-card); background: var(--color-paper-3); box-shadow: var(--shadow-sunk); }
.seg button { min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-input); background: transparent; color: var(--color-ink-2); font: 500 var(--text-md)/1 var(--font-body); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg button:hover { color: var(--color-ink); }
.seg button[aria-selected="true"] { background: var(--color-surface); color: var(--color-ink); box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-accent-deep), 0 2px 0 var(--color-accent-deep); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg button:active { transform: translateY(1px); }
.seg button:disabled { opacity: 0.55; cursor: not-allowed; }
html:not(.js) .seg { display: none; }
.panel { position: relative; margin-top: var(--space-xl); }
.sheet { position: relative; z-index: 2; display: grid; gap: var(--space-lg); padding: var(--space-xl); border-radius: var(--radius-phone); background: var(--color-surface); box-shadow: var(--shadow-lift); }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; }
.sheet__head b { font: 700 var(--text-xl)/1.1 var(--font-display); }
.sheet__head span { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-muted); }
.sheet__stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--space-xs); margin: 0; }
.sheet__stats--1 { --n: 1; } .sheet__stats--2 { --n: 2; } .sheet__stats--3 { --n: 2; }
.sheet__stats--3 > div:first-child { grid-column: span 2; }
.sheet__stats > div { min-width: 0; }
.sheet__stats > div { padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-accent-soft); }
.sheet__stats dt { font-size: var(--text-xs); color: var(--color-ink-2); }
.sheet__stats dd { margin: var(--space-2xs) 0 0; font-size: var(--text-lg); }
.sheet__stats--3 > div:first-child dd { font-size: var(--text-2xl); }
.sheet__rows { margin: 0; padding: 0; list-style: none; }
.sheet__rows li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-sm) 0; border-top: 1px solid var(--color-rule); }
.sheet__rows li > span:first-child { display: grid; }
.sheet__rows b { font-weight: 500; }
.sheet__rows small { font-size: var(--text-xs); color: var(--color-muted); }
.deco--g1 { width: 150px; right: -48px; top: -20px; transform: rotate(12deg); z-index: 3; }
.deco--l1 { width: 120px; right: -36px; bottom: 0; transform: rotate(-14deg); z-index: 3; }
.deco--o1 { width: 150px; right: -40px; top: -8px; transform: rotate(10deg); z-index: 3; }
.panel__text h3 { font-size: var(--text-2xl); max-width: 18ch; }
.panel__text dl { display: grid; gap: var(--space-lg); margin: var(--space-xl) 0 0; }
.panel__text dl > div { padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.panel__text dt { font-weight: 500; }
.panel__text dd { margin: var(--space-2xs) 0 0; max-width: 48ch; color: var(--color-ink-2); }

/* ---------- insights: Showcase ---------- */
.insights { padding-top: var(--section-gap); }
.insights__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.insights__head .lead { color: var(--color-ink-2); }
.insights__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap-columns); align-items: stretch; }
.board { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "total total" "bars rank"; gap: var(--space-xl) var(--space-2xl); padding: var(--space-xl); border-radius: var(--radius-phone); background: var(--color-surface); box-shadow: var(--shadow-lift); }
.board__total { grid-area: total; display: flex; justify-content: space-between; align-items: end; gap: var(--space-lg); }
.board__total p:first-child { display: grid; color: var(--color-ink-2); }
.board__total small { font-size: var(--text-sm); color: var(--color-muted); }
.board__figure { font-size: var(--text-3xl); line-height: 1; }
.board__figure small { margin-left: var(--space-xs); font-size: var(--text-md); }
.bars { grid-area: bars; margin: 0; }
.bars figcaption, .rank__label { margin-bottom: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }
.bars__plot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xs); align-items: end; height: 220px; }
.bars__plot span { position: relative; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--color-accent-soft); }
.bars__plot span.is-now { background: var(--color-accent); }
.bars__plot i { position: absolute; bottom: calc(-1 * var(--space-lg)); left: 0; right: 0; text-align: center; font-style: normal; font-size: 0.75rem; color: var(--color-muted); }
.rank { grid-area: rank; }
.rank ol { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-md); }
.rank li { position: relative; display: flex; justify-content: space-between; gap: var(--space-sm); padding-bottom: var(--space-sm); font-size: var(--text-sm); }
.rank li::after { content: ""; position: absolute; left: 0; bottom: 0; width: var(--w); height: 6px; border-radius: 3px; background: var(--color-accent); }
.review { display: grid; align-content: end; gap: var(--space-md); padding: var(--space-xl); border-radius: var(--radius-phone); background: var(--color-ink); color: var(--color-on-ink); }
.review__head { display: flex; gap: var(--space-sm); align-items: center; color: var(--color-accent); }
.review__head b { font-weight: 500; }
.review p:last-child { font: 700 var(--text-xl)/1.3 var(--font-display); letter-spacing: -0.01em; }

/* ---------- questions: Rows ---------- */
.faq { position: relative; z-index: 4; padding-top: var(--section-gap-l); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.faq h2 { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); max-width: 12ch; }
.faq__list details { border-top: 1px solid var(--color-rule); }
.faq__list details:last-child { border-bottom: 1px solid var(--color-rule); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); padding: var(--space-lg) 0; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex-shrink: 0; font: 500 var(--text-xl)/1 var(--font-body); color: var(--color-stamp); transition: transform var(--dur-short) var(--ease-out); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover h3 { text-decoration: underline; text-decoration-color: var(--color-accent-deep); text-decoration-thickness: 2px; }
.faq__list summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq__list h3 { font-size: var(--text-title); }
.faq__list .answer p { padding-bottom: var(--space-lg); color: var(--color-ink-2); }
.faq__list details:not([open]) > .answer { display: none; }

/* ---------- the download: ink Band ---------- */
.close { position: relative; overflow: visible; margin-top: var(--section-gap-l); background: var(--color-ink); color: var(--color-on-ink); }
.close :focus-visible { outline-color: var(--color-accent); }
.close__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; padding-block: var(--section-gap-s); }
.close h2 { font-size: var(--text-display-s); max-width: 14ch; }
.close .stores { margin-top: var(--space-xl); }
.close .btn:not(.btn--primary) { background: transparent; color: var(--color-on-ink); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--glint) 30%, transparent), 0 0 0 1px var(--color-on-ink-muted), 0 3px 0 var(--color-ink-2); }
.close .trial { color: var(--color-on-ink-muted); }
.today { display: grid; gap: var(--space-md); width: min(24rem, 100%); justify-self: center; padding: var(--space-xl) var(--space-lg) var(--space-lg); border-radius: var(--radius-phone); background: var(--color-surface); color: var(--color-ink); }
.today__head { font: 700 var(--text-xl)/1 var(--font-display); }
.today ul { margin: 0; padding: 0; list-style: none; }
.today li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-md); padding: var(--space-sm) 0; border-top: 1px solid var(--color-rule); font-size: var(--text-sm); }
.today time { color: var(--color-muted); }
.deco--k1 { width: 180px; left: 46%; top: 10%; transform: rotate(-18deg); }
.deco--k2 { width: 150px; left: 4%; bottom: -56px; z-index: 3; transform: rotate(8deg); }
.deco--k3 { width: 90px; right: 6%; top: 12%; transform: rotate(-6deg); }

/* ---------- footer: colophon block ---------- */
.colophon { padding-block: var(--space-3xl); }
.colophon__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.mark--foot { gap: var(--space-sm); }
.mark--foot img:first-child { width: 108px; height: 108px; }
.mark--foot .mark__word { height: 44px; }
.colophon__inner { align-items: center; }
.colophon p { max-width: 70ch; color: var(--color-ink-2); }
.colophon__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.colophon__links a, .colophon .colophon__links a:not(.mark) { display: inline-block; padding-block: var(--space-xs); white-space: nowrap; font-size: var(--text-lg); font-weight: 500; color: var(--color-ink); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.colophon .colophon__links a:hover { color: var(--color-stamp); text-decoration: none; }
.colophon a:not(.mark) { color: var(--color-ink); text-decoration-color: var(--color-rule); transition: text-decoration-color var(--dur-short) var(--ease-out); }
.colophon a:not(.mark):hover { text-decoration-color: var(--color-accent-deep); text-decoration-thickness: 2px; }

/* ---------- small screens ---------- */
@media (max-width: 75rem) {
  .nav__bar { flex-wrap: wrap; gap: 0 var(--space-md); padding-block: var(--space-xs); }
  .nav__links { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; gap: var(--space-lg); }
  .hero { margin-top: calc(-1 * var(--nav-h) - 48px); padding-top: calc(var(--nav-h) + 48px); }
}
@media (max-width: 75rem) {
  .deco--h3 { display: none; }
}
@media (max-width: 60rem) {
  .nav__bar { flex-wrap: wrap; gap: 0 var(--space-md); padding-block: var(--space-xs); }
  .nav__links { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .nav__links a { padding-block: var(--space-sm); }
  .hero { margin-top: calc(-1 * var(--nav-h) - 48px); padding-top: calc(var(--nav-h) + 48px); }
  .hero__window { width: 90%; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; padding-block: var(--space-2xl); }
  .hero__stage { min-height: 0; justify-content: center; }
  .phone { width: min(20rem, 86%); }
  .ticket { right: 0; top: auto; bottom: 10%; width: min(13rem, 52%); }
  .deco--h1 { left: -8px; top: auto; bottom: 4%; }
  .deco--h1 { width: 110px; left: -16px; }
  .deco--h2 { width: 80px; }
  .split__text { order: 0; }
  .split .bill { order: 1; }
  .switch { grid-template-columns: minmax(0, 1fr); }
  .switch__right { order: -1; padding-top: 0; }
  .split__grid, .cur__tray, .insights__head, .insights__body, .board, .faq__grid, .colophon__inner, .close__grid { grid-template-columns: minmax(0, 1fr); }
  .board { grid-template-areas: "total" "bars" "rank"; }
  .cur__tray { padding: var(--space-2xl) var(--space-lg) 0; }
  .cur__text { padding-bottom: 0; }
  .cur__list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .faq h2 { position: static; }
  .deco--g1, .deco--l1, .deco--o1 { right: -8px; width: 96px; }
  .deco--k1 { left: 60%; top: auto; bottom: 20%; width: 120px; }
}
@media (max-width: 40rem) {
  .nav__links { display: none; }
  .nav__bar { flex-wrap: nowrap; padding-block: 0; }
  .hero { margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); }
  .mark__word { height: 18px; }
  .mark img:first-child { width: 32px; height: 32px; }
  .bill { padding: var(--space-lg) var(--space-md); }
  .bill__field { padding: 0 var(--space-md); }
  .bill__head { padding-inline: var(--space-md); }
  .split__facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .sheet { padding: var(--space-lg); }
  .sheet__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet__stats--1 { grid-template-columns: minmax(0, 1fr); }
  .stores .btn { flex: 1 1 100%; }
  .deco--c2 { width: 100px; }
}

/* ---------- every kind of money: Index ---------- */
.kinds { padding-top: var(--section-gap); }
.kinds__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.kinds__head .lead { color: var(--color-ink-2); }
.kinds__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.kinds__grid li { display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-sm); min-height: 200px; padding: var(--space-lg) 0 var(--space-xl); border-top: 2px solid var(--color-ink); }
.kinds__grid li:nth-child(n + 5) { border-top-width: 1px; border-top-color: var(--color-rule); }
.kinds__grid q { quotes: "“" "”"; color: var(--color-ink-2); }
.kinds__grid .dose { justify-self: start; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-accent-soft); font-size: var(--text-sm); }

/* ---------- ways people live: Grid of plastic compartments ---------- */
.scenes { padding-top: var(--section-gap); }
.scenes h2 { margin-bottom: var(--space-2xl); }
.scenes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.plastic--mon { --t: var(--p-mon); } .plastic--tue { --t: var(--p-tue); } .plastic--wed { --t: var(--p-wed); } .plastic--thu { --t: var(--p-thu); } .plastic--fri { --t: var(--p-fri); } .plastic--sat { --t: var(--p-sat); }
.scene { display: grid; align-content: end; gap: var(--space-sm); min-height: 300px; padding: var(--space-xl); overflow: hidden; border-radius: var(--radius-phone); }
.scene h3, .scene p { position: relative; z-index: 2; }
.scene p { max-width: 46ch; color: var(--color-ink-2); }
.scene__deco { top: var(--space-lg); right: var(--space-lg); width: 120px; }
.scene__deco--students { width: 170px; top: var(--space-md); right: -10px; transform: rotate(6deg); }
.scene__deco--travel { width: 84px; transform: rotate(18deg); top: -10px; }
.scene__deco--work { width: 130px; }
.scene__deco--loans { width: 140px; }
@media (max-width: 60rem) {
  .kinds__head { grid-template-columns: minmax(0, 1fr); }
  .kinds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kinds__grid li:nth-child(n + 3) { border-top-width: 1px; border-top-color: var(--color-rule); }
  .scenes__grid { grid-template-columns: minmax(0, 1fr); }
  .scene { min-height: 220px; }
}
.scene--family, .scenes__grid > li:first-child { grid-column: span 2; grid-row: span 2; align-content: end; min-height: 632px; }
.scenes__grid > li:first-child h3 { font-size: calc(var(--text-section) * 2); line-height: 0.95; max-width: none; }
.scenes__grid > li:first-child p:last-child { font-size: var(--text-md); font-weight: 400; line-height: 1.6; max-width: 46ch; color: var(--color-ink-2); }
.scene__deco--family { width: 300px; top: var(--space-2xl); right: var(--space-2xl); transform: rotate(10deg); }
.stamp--offer { position: relative; z-index: 2; justify-self: start; margin: 0 0 var(--space-md); padding: var(--space-xs) var(--space-md); font-size: var(--text-xl); background: color-mix(in oklab, var(--light) 70%, transparent); animation: none; }
@media (max-width: 60rem) {
  .cur__list ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cur__sym { width: 40px; height: 40px; font-size: var(--text-lg); }
  .cur__list abbr { font-size: var(--text-lg); }
  .scenes__grid > li:first-child { grid-column: auto; grid-row: auto; min-height: 420px; }
  .scenes__grid > li:first-child h3 { font-size: var(--text-display); }
  .scene__deco--family { width: 180px; top: var(--space-lg); right: var(--space-lg); }
}

/* ---------- more gold around the blocks, never over their text ---------- */
.split__visual, .ways__head, .board__wrap, .faq__side, .scenes__head { position: relative; }
.split__visual { justify-self: start; width: min(30rem, 100%); }
.split__visual .bill { position: relative; z-index: 2; width: 100%; }
.deco--b1 { width: 130px; left: -86px; top: -50px; z-index: 3; transform: rotate(-14deg); }
.deco--b2 { width: 140px; right: -96px; bottom: 18%; z-index: 1; }
.deco--b3 { width: 76px; right: -40px; top: 10%; z-index: 1; transform: rotate(-8deg); }
.deco--w1 { width: 120px; right: 8%; top: -20px; transform: rotate(-16deg); }
.deco--w2 { width: 70px; right: 22%; top: 40px; transform: rotate(20deg); }
.kinds__head { position: relative; }
.deco--n1 { width: 90px; left: 44%; top: 0; transform: rotate(-12deg); }
.deco--n2 { width: 120px; right: -20px; top: -10px; transform: rotate(16deg); }
.deco--i1 { width: 120px; left: -50px; top: -56px; z-index: 3; transform: rotate(-10deg); }
.deco--i2 { width: 110px; right: 30%; bottom: -46px; z-index: 3; }
.review { position: relative; overflow: visible; }
.deco--r1 { width: 90px; right: -18px; top: -60px; z-index: 3; transform: rotate(16deg); }
.board { position: relative; z-index: 2; height: 100%; }
.deco--f1 { position: absolute; width: 160px; left: 0; top: calc(100% + var(--space-xl)); transform: rotate(-12deg); }
.deco--f2 { position: absolute; width: 90px; left: 150px; top: calc(100% + 150px); transform: rotate(10deg); }
.faq__side { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
.faq__side h2 { position: static; }
.deco--sc1 { width: 96px; left: 48%; top: -30px; transform: rotate(-18deg); }
@media (max-width: 60rem) {
  .deco--b1 { left: 0; width: 90px; }
  .deco--b2 { right: -16px; width: 96px; }
  .deco--m1 { right: 8%; bottom: -40px; width: 72px; }
  .deco--b3, .deco--w2, .deco--n1, .deco--f2 { display: none; }
  .deco--n2 { right: 0; width: 90px; }
  .deco--i1 { left: -8px; width: 90px; }
  .deco--r1 { right: 0; width: 70px; }
  .deco--c1 { right: var(--space-xl); width: 64px; transform: rotate(12deg); }
  .deco--g1, .deco--l1, .deco--o1, .deco--c1, .deco--n2, .deco--b2 { max-width: 25vw; }
  .faq__side { position: static; }
  .deco--f1 { display: none; }
}

/* ---------- hero motion: gold particle sphere behind the phone, glowing ring like the app's input ---------- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hero__particles { position: absolute; z-index: 0; left: 50%; top: 50%; width: min(1140px, 200%); aspect-ratio: 1; transform: translate(-56%, -44%); pointer-events: none; }
.phone-wrap { position: relative; z-index: 2; border-radius: calc(var(--radius-phone) + var(--rule-hair)); }
.phone-wrap::before, .phone-wrap::after { content: ""; position: absolute; inset: calc(-1 * var(--rule-hair)); border-radius: inherit; background: conic-gradient(from var(--spin), var(--ring-pink), var(--ring-orange) 14%, var(--ring-yellow) 30%, var(--ring-green) 46%, var(--ring-blue) 62%, transparent 82%, var(--ring-pink)); animation: ring-spin 4s linear infinite; pointer-events: none; }
.phone-wrap::before { z-index: 3; padding: var(--rule-hair); -webkit-mask: linear-gradient(var(--mask) 0 0) content-box, linear-gradient(var(--mask) 0 0); -webkit-mask-composite: xor; mask: linear-gradient(var(--mask) 0 0) content-box exclude, linear-gradient(var(--mask) 0 0); }
.phone-wrap::after { inset: calc(-1 * var(--space-sm)); z-index: 0; filter: blur(20px); opacity: 0.6; }
.phone-wrap .phone { z-index: 1; }
@keyframes ring-spin { to { --spin: 360deg; } }
.phone-wrap::before, .phone-wrap::after { animation-play-state: paused; }
.hero.is-running .phone-wrap::before, .hero.is-running .phone-wrap::after { animation-play-state: running; }
html:not(.js) .hero__particles { display: none; }
@media (prefers-reduced-motion: reduce) { .phone-wrap::before, .phone-wrap::after { animation: none; } }
@media (max-width: 60rem) { .hero__particles { width: 170%; transform: translate(-50%, -50%); } .phone-wrap { width: min(20rem, 86%); } .phone-wrap .phone { width: 100%; } }
@media (max-width: 75rem) { .ticket { display: none; } }
@media (max-width: 40rem) { .board__total { flex-direction: column; align-items: flex-start; } .board__figure { font-size: var(--text-2xl); } }
