/* ==========================================================================
   X3von Bikes — Page styles
   --------------------------------------------------------------------------
   Sell wizard, finance calculator, services, journal, about, contact, FAQ,
   legal and 404. Builds on the tokens and components in style.css.

   1. Page scaffolding  2. Form controls (range, switch, option cards, radio
   chips, busy button, success)  3. Accordion  4. Sell  5. Finance
   6. Services  7. Journal  8. About  9. Contact  10. FAQ  11. Legal
   12. 404  13. Motion  14. Responsive
   ========================================================================== */

/* 1. Page scaffolding ------------------------------------------------------ */
.phead { display: grid; gap: 1.1rem; padding-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.phead .h1 { max-width: 15ch; }
.phead.center { justify-items: center; }
.phead.center .h1 { max-width: 18ch; }
.psec { padding-block: clamp(3.5rem, 8vw, 6rem); }
.psec--top { padding-top: 0; }
.card { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg); }
.card--sm { padding: 1.25rem; border-radius: var(--r); }
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .75rem; border-radius: 999px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); white-space: nowrap; }
[data-theme="light"] .pill { background: rgba(255, 255, 255, .75); }
.pill svg { width: 13px; height: 13px; }
.pill--ok { color: var(--ok); } .pill--warn { color: var(--warn); }
[data-theme="light"] .pill--ok { color: #138a57; } [data-theme="light"] .pill--warn { color: #a26300; }
.pill--solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); color: var(--text); }
[data-theme="light"] .ic { background: #fff; }
.ic svg { width: 21px; height: 21px; }
.ic--sm { width: 38px; height: 38px; border-radius: 12px; }
.ic--sm svg { width: 18px; height: 18px; }
.ic--solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.kv { display: grid; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.tick-list { display: grid; gap: .7rem; }
.tick-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); }
.tick-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .2rem; color: var(--text); }
.note { font-size: .8rem; color: var(--dim); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

/* 2. Form controls --------------------------------------------------------- */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; --p: 50%; touch-action: pan-y; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--text) var(--p), var(--line-2) var(--p)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line-2); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--text); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 4px 14px rgba(0, 0, 0, .45), inset 0 -2px 0 rgba(0, 0, 0, .08); transition: transform .35s var(--spring), box-shadow .2s; }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); }
[data-theme="light"] .range::-webkit-slider-thumb { box-shadow: 0 3px 10px rgba(20, 25, 35, .28), 0 0 0 .5px rgba(10, 11, 13, .12); }
.range:active::-webkit-slider-thumb { transform: scale(1.18); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(255, 255, 255, .18), 0 4px 14px rgba(0, 0, 0, .45); }
[data-theme="light"] .range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(10, 11, 13, .12), 0 3px 10px rgba(20, 25, 35, .28); }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.range-head output, .range-head .val { font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.range-scale { display: flex; justify-content: space-between; font: 400 .7rem/1 var(--f-mono); color: var(--dim); }

.switch { position: relative; display: inline-block; width: 52px; height: 32px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-2); transition: background .3s, border-color .3s; }
[data-theme="light"] .switch i { background: rgba(10, 11, 13, .08); }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); transition: transform .45s var(--spring), background .3s; }
.switch input:checked + i { background: var(--text); border-color: var(--text); }
.switch input:checked + i::after { transform: translateX(20px); background: var(--bg-3); }
.switch input:focus-visible + i { outline: 2px solid var(--text); outline-offset: 3px; }
.trow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.trow:last-child { border-bottom: 0; }
.trow b { display: block; font-weight: 600; font-size: .95rem; }
.trow small { display: block; color: var(--muted); font-size: .82rem; margin-top: .1rem; }

/* option cards (radio) */
.opts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: .7rem; }
.opt { position: relative; display: block; cursor: pointer; }
.opt > input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt__in { position: relative; height: 100%; display: grid; gap: .35rem; align-content: start; padding: 1.1rem 1.1rem 1.15rem; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: border-color .25s, background .25s, transform .4s var(--spring), box-shadow .3s; }
[data-theme="light"] .opt__in { background: rgba(255, 255, 255, .55); }
.opt:hover .opt__in { border-color: var(--muted); }
.opt:active .opt__in { transform: scale(.97); }
.opt > input:checked + .opt__in { border-color: var(--text); background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px var(--text), 0 14px 30px -18px rgba(0, 0, 0, .8); }
[data-theme="light"] .opt > input:checked + .opt__in { background: #fff; box-shadow: inset 0 0 0 1px var(--text), 0 14px 30px -18px rgba(20, 25, 35, .45); }
.opt > input:focus-visible + .opt__in { outline: 2px solid var(--text); outline-offset: 3px; }
.opt__ck { position: absolute; top: .85rem; right: .85rem; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--bg); transition: background .25s, border-color .25s, transform .45s var(--spring); }
.opt__ck svg { width: 12px; height: 12px; transform: scale(0); transition: transform .45s var(--spring); }
.opt > input:checked + .opt__in .opt__ck { background: var(--text); border-color: var(--text); }
.opt > input:checked + .opt__in .opt__ck svg { transform: scale(1); }
.opt__t { font-weight: 600; letter-spacing: -.015em; }
.opt__d { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.opt__big { font-size: 1.5rem; line-height: 1; margin-bottom: .35rem; }
.opt__meter { display: flex; gap: 3px; margin-bottom: .45rem; }
.opt__meter i { width: 16px; height: 4px; border-radius: 2px; background: var(--line-2); }
.opt__meter i.on { background: var(--text); }

/* radio / checkbox chips */
.rchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.rchip { position: relative; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rchip > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.rchip > span { display: grid; justify-items: center; gap: .1rem; min-height: 40px; padding: .6rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s, transform .35s var(--spring); white-space: nowrap; }
[data-theme="light"] .rchip > span { background: rgba(255, 255, 255, .6); }
.rchip:hover > span { border-color: var(--line-2); color: var(--text); }
.rchip:active > span { transform: scale(.95); }
.rchip > input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.rchip > input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 3px; }
.rchip > input:disabled + span { opacity: .35; text-decoration: line-through; pointer-events: none; }
.rchips--days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .45rem; }
.rchips--days .rchip > span { border-radius: 16px; padding: .6rem .2rem; min-height: 64px; align-content: center; width: 100%; }
.rchips--days .rchip { display: flex; }
.rchips--days small { font: 500 .62rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.rchips--days b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }

.seg--block { display: grid; width: 100%; }
.seg--block button { padding-inline: .5rem; }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--text); flex-shrink: 0; }
.field.has-error .check { color: var(--bad); }
.input-pre { position: relative; }
.input-pre > span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; pointer-events: none; }
.input-pre > input { padding-left: 2rem; }
.field.has-error .rchip > span, .field.has-error .opt__in { border-color: rgba(255, 122, 122, .55); }
.field__err { animation: errIn .35s var(--spring); }

.btn.is-busy { color: transparent !important; pointer-events: none; }
.btn.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--on-accent); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn--glass.is-busy::after { border-color: var(--text); border-right-color: transparent; }
.shake { animation: shake .45s var(--ease); }

/* success state */
.done { display: grid; justify-items: center; text-align: center; gap: 1rem; padding: clamp(1rem, 3vw, 2rem) 0; }
.done:focus { outline: none; }
.done__ic { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 60px rgba(255, 255, 255, .25); animation: pop .7s var(--spring) both; }
[data-theme="light"] .done__ic { box-shadow: 0 0 0 10px rgba(10, 11, 13, .05), 0 18px 40px -12px rgba(10, 11, 13, .45); }
.done__ic svg { width: 34px; height: 34px; }
.done__ic path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .3s var(--ease) forwards; }
.done p { color: var(--muted); max-width: 44ch; }
.ref { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .9rem; border-radius: 12px; font: 500 .85rem/1 var(--f-mono); letter-spacing: .08em; background: rgba(255, 255, 255, .06); border: 1px dashed var(--line-2); }
[data-theme="light"] .ref { background: rgba(255, 255, 255, .7); }
.ref span { color: var(--muted); letter-spacing: .14em; font-size: .68rem; text-transform: uppercase; }
.done .kv { width: 100%; max-width: 420px; text-align: left; }

/* 3. Accordion ------------------------------------------------------------- */
.acc { display: grid; gap: .6rem; }
.acc__item { border-radius: var(--r); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; text-align: left; font-weight: 600; font-size: 1rem; letter-spacing: -.015em; border-radius: var(--r); }
.acc__btn:focus-visible { outline-offset: -2px; }
.acc__lead { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.acc__meta { margin-left: auto; font: 500 .72rem/1 var(--f-mono); color: var(--muted); letter-spacing: .06em; white-space: nowrap; }
.acc__pm { position: relative; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; border: 1px solid var(--line-2); transition: transform .5s var(--spring), background .25s, border-color .25s; }
.acc__pm::before, .acc__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.acc__pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__pm { transform: rotate(135deg); background: var(--text); border-color: var(--text); color: var(--bg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__panel > div { overflow: hidden; visibility: hidden; transition: visibility .5s; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__item.is-open .acc__panel > div { visibility: visible; }
.acc__body { padding: 0 1.3rem 1.3rem; color: var(--muted); line-height: 1.65; }
.acc__body p + p { margin-top: .7em; }
.acc__body mark, .faq mark { background: rgba(255, 255, 255, .2); color: var(--text); border-radius: 3px; padding: 0 2px; }
[data-theme="light"] .acc__body mark, [data-theme="light"] .faq mark { background: rgba(10, 11, 13, .12); }

/* 4. Sell ------------------------------------------------------------------- */
.sell-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.sell-intro { position: sticky; top: calc(var(--nav-h) + 3rem); display: grid; gap: 1.4rem; }
.sell-intro .h1 { max-width: 12ch; }
.sell-photo { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; }
.sell-photo img { width: 100%; height: 100%; object-fit: cover; }
.sell-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .7)); }
.sell-photo figcaption { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 1rem; color: #fff; }
.sell-photo figcaption b { display: block; font-size: 1.6rem; letter-spacing: -.04em; line-height: 1; }
.sell-photo figcaption small { color: rgba(255, 255, 255, .7); font-size: .8rem; }

.wz { border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.5rem; }
.wz__head { display: grid; gap: .9rem; }
.wz__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.wz__step { font: 500 .72rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.wz__step b { color: var(--text); font-weight: 500; }
.prog { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.prog i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--silver-b), var(--text)); transition: width .7s var(--spring); }
.wz__dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; font-size: .72rem; color: var(--dim); }
.wz__dots span { transition: color .3s; }
.wz__dots span.on { color: var(--text-2); }
.wz__pane { display: none; }
.wz__pane.is-on { display: grid; gap: 1.4rem; animation: paneIn .55s var(--ease) both; }
.wz[data-dir="back"] .wz__pane.is-on { animation-name: paneBack; }
.wz__title { display: grid; gap: .35rem; }
.wz__title p { color: var(--muted); font-size: .92rem; }
.wz__foot { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.wz__foot .btn--lg { margin-left: auto; }
.wz__foot [hidden] { display: none; }
.km-out { font-size: 1.6rem; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.km-out small { font-size: .55em; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: .2rem; }

.est { position: relative; overflow: hidden; display: grid; gap: .5rem; justify-items: center; text-align: center; padding: clamp(1.6rem, 4vw, 2.4rem) 1rem; border-radius: var(--r); border: 1px solid var(--line-2); background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .1), transparent 60%), rgba(255, 255, 255, .02); }
[data-theme="light"] .est { background: radial-gradient(120% 90% at 50% 0%, #fff, rgba(255, 255, 255, .4) 70%); }
.est__label { font: 500 .7rem/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.est__range { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.est__range i { font-style: normal; color: var(--dim); font-weight: 400; margin: 0 .15em; }
.est__sub { color: var(--muted); font-size: .88rem; }
.est__bonus { display: none; align-items: center; gap: .5rem; margin-top: .4rem; padding: .5rem .9rem; border-radius: 999px; background: var(--text); color: var(--bg); font-size: .85rem; font-weight: 600; animation: pop .55s var(--spring) both; }
.est__bonus svg { width: 15px; height: 15px; }
.est.is-exchange .est__bonus { display: inline-flex; }
.est__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .14) 50%, transparent 65%); transform: translateX(-100%); }
.est.is-fresh .est__shine { animation: sweep 1.3s .2s var(--ease); }
.bike-sum { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: .9rem; }
[data-theme="light"] .bike-sum { background: rgba(255, 255, 255, .6); }
.bike-sum b { font-weight: 600; }
.bike-sum span { color: var(--muted); }
.adj { font-variant-numeric: tabular-nums; }
.adj.down { color: var(--muted); }
.adj.up { color: var(--ok); }
[data-theme="light"] .adj.up { color: #138a57; }

.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.why .card { display: grid; gap: .9rem; align-content: start; }
.why .card p { color: var(--muted); }
.faq-split { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* 5. Finance --------------------------------------------------------------- */
.fin { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.2rem; align-items: start; }
.fin__ctrl { display: grid; gap: 1.9rem; }
.fin__row { display: grid; gap: .75rem; }
.fin__row label, .fin__row .label { font-size: .85rem; font-weight: 500; color: var(--text-2); }
.price-in { display: flex; align-items: center; gap: .6rem; }
.price-in .input-pre { width: 190px; }
.price-in input { min-height: 44px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.fin__bike { display: flex; align-items: center; gap: .9rem; padding: .6rem; padding-right: 1rem; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
[data-theme="light"] .fin__bike { background: rgba(255, 255, 255, .7); }
.fin__bike img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; }
.fin__bike small { display: block; color: var(--muted); font-size: .78rem; }
.fin__res { position: sticky; top: calc(var(--nav-h) + 2.5rem); display: grid; gap: 1.4rem; }
.emi-big { display: grid; gap: .3rem; }
.emi-big output { font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 700; letter-spacing: -.055em; line-height: .95; font-variant-numeric: tabular-nums; }
.emi-big span { color: var(--muted); font-size: .9rem; }
.donut-wrap { display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; align-items: center; }
.donut { width: 150px; height: 150px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 16; }
.donut .d-bg { stroke: var(--line-2); }
.donut .d-p { stroke: var(--text); transition: stroke-dasharray .8s var(--ease); }
.donut .d-i { stroke: var(--silver-b); opacity: .55; transition: stroke-dasharray .8s var(--ease), stroke-dashoffset .8s var(--ease); }
.donut-c { position: relative; }
.donut-c > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-c b { font-size: 1.4rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.donut-c small { font: 500 .62rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legend { display: grid; gap: .7rem; font-size: .88rem; }
.legend div { display: flex; justify-content: space-between; gap: .8rem; }
.legend span { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--text); }
.legend i.i2 { background: var(--silver-b); opacity: .55; }
.legend b { font-weight: 600; font-variant-numeric: tabular-nums; }
.amort { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.amort th { font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: right; padding: .8rem .6rem; border-bottom: 1px solid var(--line-2); }
.amort td { text-align: right; padding: .85rem .6rem; border-bottom: 1px solid var(--line); }
.amort th:first-child, .amort td:first-child { text-align: left; }
.amort tr:last-child td { border-bottom: 0; }
.amort .bar { display: block; height: 3px; border-radius: 2px; background: var(--line-2); margin-top: .4rem; overflow: hidden; }
.amort .bar i { display: block; height: 100%; background: var(--text); }
.table-scroll { overflow-x: auto; }
.marks { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.6rem; }
.marks span { font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 700; letter-spacing: -.035em; color: var(--dim); transition: color .3s; white-space: nowrap; }
.marks span:hover { color: var(--text); }
.marks span:nth-child(3n) { font-weight: 500; letter-spacing: .02em; text-transform: uppercase; font-size: clamp(.9rem, 1.4vw, 1.05rem); }
.marks span:nth-child(4n) { font-style: italic; font-weight: 600; }
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.docs .card { display: grid; gap: .8rem; align-content: start; }
.docs ul { display: grid; gap: .4rem; color: var(--muted); font-size: .9rem; }
.docs li::before { content: "— "; color: var(--dim); }
.elig { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* 6. Services -------------------------------------------------------------- */
.svc-bento .bento__tile p { color: var(--muted); }
.svc-bento .bento__tile--photo p { color: rgba(255, 255, 255, .78); }
.insp { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.insp__ring { position: relative; width: min(260px, 70vw); aspect-ratio: 1; }
.insp__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.insp__ring circle { fill: none; stroke-width: 6; }
.insp__ring .r-bg { stroke: var(--line-2); }
.insp__ring .r-seg { stroke: var(--text); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); }
.insp__ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.insp__ring b { font-size: clamp(3rem, 7vw, 4.4rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.insp__ring small { font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.insp__list { columns: 2; column-gap: 1.6rem; font-size: .9rem; }
.insp__list li { break-inside: avoid; display: flex; gap: .55rem; padding: .3rem 0; color: var(--text-2); }
.insp__list svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: .25rem; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.plan { display: grid; gap: 1.3rem; align-content: start; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-lg); transition: transform .5s var(--spring); }
.plan:hover { transform: translateY(-4px); }
.plan--pro { box-shadow: var(--glass-rim), 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--text-2); }
[data-theme="light"] .plan--pro { box-shadow: var(--glass-rim), 0 30px 70px -30px rgba(20, 25, 35, .5), 0 0 0 1px var(--text); }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.plan__price { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.plan__price small { font-size: .38em; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: .3rem; }
.plan ul { display: grid; gap: .65rem; font-size: .92rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .22rem; }
.plan li.off { color: var(--dim); }
.plan li.off svg { opacity: .5; }
.plan .btn { margin-top: auto; }
.tl { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.tl::before { content: ""; position: absolute; left: 10%; right: 10%; top: 21px; height: 2px; background: var(--line-2); }
.tl__fill { position: absolute; left: 10%; top: 21px; height: 2px; width: 0; background: linear-gradient(90deg, var(--silver-b), var(--text)); transition: width 1.8s var(--ease); }
.tl.is-in .tl__fill { width: 80%; }
.tl li { position: relative; display: grid; justify-items: center; text-align: center; gap: .6rem; }
.tl__dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); font: 600 .78rem/1 var(--f-mono); transition: background .4s, color .4s, border-color .4s; transition-delay: var(--d, 0s); }
.tl.is-in .tl__dot { background: var(--text); color: var(--bg); border-color: var(--text); }
.tl li b { font-weight: 600; font-size: .98rem; letter-spacing: -.015em; }
.tl li p { color: var(--muted); font-size: .86rem; max-width: 22ch; }
.tl li small { font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.book { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* 7. Journal --------------------------------------------------------------- */
.feat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; transition: transform .5s var(--spring); }
.feat:hover { transform: translateY(-4px); }
.feat__media { position: relative; margin: 8px; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; min-height: 340px; }
.feat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat:hover .feat__media img, .post-card:hover .post-card__media img { transform: scale(1.05); }
.feat__media .tag { position: absolute; top: 14px; left: 14px; z-index: 1; }
.feat__body { padding: clamp(1.4rem, 3.5vw, 2.6rem); display: grid; gap: 1.1rem; align-content: center; }
.feat__body .h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.feat__body p { color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font: 400 .76rem/1.2 var(--f-mono); color: var(--muted); letter-spacing: .02em; }
.meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; transition: transform .5s var(--spring); }
.post-card:hover { transform: translateY(-5px); }
.post-card__media { position: relative; aspect-ratio: 16 / 10; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; background: var(--bg-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card__media .tag { position: absolute; top: 12px; left: 12px; }
.post-card__body { padding: 1.1rem 1.25rem 1.35rem; display: grid; gap: .65rem; flex: 1; align-content: start; }
.post-card__body p { color: var(--muted); font-size: .92rem; }
.post-card .h4 { font-size: 1.12rem; }
.jbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.news { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.news form { display: flex; gap: .5rem; }
.news .input { border-radius: 999px; min-width: 260px; }
.news .field { gap: .3rem; }

.readbar { position: fixed; left: 0; top: 0; z-index: 70; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--silver-b), var(--text)); pointer-events: none; }
.art { max-width: 820px; margin-inline: auto; }
.art__head { display: grid; gap: 1.2rem; justify-items: start; margin-bottom: 2rem; }
.art__head .h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 20ch; }
.art__cover { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: clamp(2rem, 5vw, 3rem); padding: 8px; }
.art__cover img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-lg) - 8px); }
.art__body { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); }
.share { position: sticky; top: calc(var(--nav-h) + 3rem); align-self: start; display: grid; gap: .5rem; }
.share .icon-btn { border: 1px solid var(--line-2); width: 46px; height: 46px; }
.share .icon-btn svg { width: 18px; height: 18px; }
.prose { max-width: 66ch; font-size: 1.08rem; line-height: 1.8; color: var(--text-2); }
.prose > p:first-child { font-size: 1.24rem; line-height: 1.6; color: var(--text); letter-spacing: -.01em; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 1.15em; }
.prose h2 { margin: 2.1em 0 .7em; font-size: clamp(1.4rem, 2.4vw, 1.75rem); letter-spacing: -.03em; color: var(--text); }
.prose h3 { margin: 1.8em 0 .5em; font-size: 1.2rem; color: var(--text); }
.prose ul { display: grid; gap: .5rem; padding: 1.1rem 1.3rem; border-radius: var(--r); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
[data-theme="light"] .prose ul { background: rgba(255, 255, 255, .55); }
.prose li { position: relative; padding-left: 1.4rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--text); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--text); }
.art__end { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.author { display: flex; align-items: center; gap: .8rem; }
.author small { display: block; color: var(--muted); font-size: .8rem; }

/* 8. About ----------------------------------------------------------------- */
.about-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; margin-top: clamp(1rem, 3vw, 2rem); }
.about-hero img { width: 100%; height: 100%; object-fit: cover; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55)); }
.about-hero .tag { position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat { display: grid; gap: .5rem; padding: clamp(1.3rem, 3vw, 1.8rem); border-radius: var(--r-lg); }
.stat b { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .45em; letter-spacing: -.02em; font-weight: 600; }
.stat span { color: var(--muted); font-size: .9rem; }
.years { display: grid; gap: 0; margin-top: .5rem; }
.years li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.years b { font: 500 .85rem/1.6 var(--f-mono); color: var(--text); }
.years p { color: var(--muted); }
.story-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; padding: 8px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-lg) - 8px); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.values .card { display: grid; gap: .9rem; align-content: start; }
.values p { color: var(--muted); font-size: .93rem; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 340px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem var(--gut) 1.2rem; margin-inline: calc(var(--gut) * -1); scrollbar-width: none; scroll-padding-inline: var(--gut); }
.strip::-webkit-scrollbar { display: none; }
.strip button { position: relative; scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; text-align: left; transition: transform .5s var(--spring); }
.strip button:hover { transform: translateY(-4px); }
.strip button:active { transform: scale(.98); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.strip button:hover img { transform: scale(1.05); }
.strip button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .65)); }
.strip span { position: absolute; left: 1rem; bottom: .9rem; z-index: 1; color: #fff; font-weight: 600; font-size: .95rem; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.member { display: flex; align-items: center; gap: 1rem; padding: 1.1rem; border-radius: var(--r); }
.member .avatar { width: 56px; height: 56px; font-size: 1.05rem; letter-spacing: -.02em; background: linear-gradient(150deg, #f4f5f7, #8a8f99); color: #0a0b0d; border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 20px -8px rgba(0, 0, 0, .6); flex-shrink: 0; }
.member:nth-child(even) .avatar { background: linear-gradient(150deg, #4a4e57, #17181c); color: #f4f5f7; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 20px -8px rgba(0, 0, 0, .6); }
.member b { display: block; font-weight: 600; letter-spacing: -.015em; }
.member small { color: var(--muted); font-size: .84rem; }

/* 9. Contact --------------------------------------------------------------- */
.ccards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ccard { display: grid; gap: 1rem; align-content: space-between; padding: 1.4rem; border-radius: var(--r-lg); min-height: 170px; transition: transform .5s var(--spring); }
a.ccard:hover { transform: translateY(-4px); }
a.ccard:active { transform: scale(.98); }
.ccard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; }
.ccard__go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: transform .45s var(--spring), background .25s, color .25s; }
.ccard__go svg { width: 15px; height: 15px; }
a.ccard:hover .ccard__go { transform: rotate(45deg); background: var(--text); color: var(--bg); }
.ccard small { font: 500 .68rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ccard b { display: block; margin-top: .45rem; font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ccard p { color: var(--muted); font-size: .86rem; margin-top: .2rem; }
.ccard--wide { grid-column: span 2; }
.hours { display: grid; gap: .3rem; font-size: .9rem; margin-top: .5rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.hours div.is-today { color: var(--text); font-weight: 600; }
.map { padding: 8px; border-radius: var(--r-lg); overflow: hidden; }
.map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; border-radius: calc(var(--r-lg) - 8px); background: var(--bg-3); }
[data-theme="dark"] .map iframe { filter: invert(.92) hue-rotate(180deg) grayscale(.55) contrast(.92) brightness(.95); }
[data-theme="light"] .map iframe { filter: grayscale(.6) contrast(1.02); }
.map__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem .8rem .6rem; }
.contact-form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* 10. FAQ ------------------------------------------------------------------ */
.faq-search { position: relative; max-width: 620px; width: 100%; }
.faq-search svg { position: absolute; left: 1.2rem; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.faq-search .input { min-height: 60px; padding-left: 3.2rem; padding-right: 3.2rem; border-radius: 999px; font-size: 1.02rem; }
.faq-search .icon-btn { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; }
.faq-search .icon-btn:active { transform: translateY(-50%) scale(.9); }
.faq-search [hidden] { display: none; }
.faq { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.faq__nav { position: sticky; top: calc(var(--nav-h) + 3rem); display: grid; gap: .3rem; }
.faq__nav .chip { justify-content: space-between; display: flex; align-items: center; text-align: left; border-radius: 14px; background: transparent; border-color: transparent; }
.faq__nav .chip span { font: 400 .72rem/1 var(--f-mono); opacity: .6; }
.faq__nav .chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.faq__group + .faq__group { margin-top: 2.6rem; }
.faq__group h2 { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1rem; }
.faq__group h2 span { font: 400 .75rem/1 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.faq__count { min-height: 1.4em; }

/* 11. Legal ---------------------------------------------------------------- */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 3rem); padding: 1.1rem; border-radius: var(--r); }
.toc summary { display: none; list-style: none; cursor: pointer; font-weight: 600; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc h2 { font: 500 .68rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: .3rem .5rem 1rem; }
.toc ol { display: grid; gap: .1rem; counter-reset: t; }
.toc a { position: relative; display: block; padding: .5rem .6rem .5rem 1.9rem; border-radius: 10px; font-size: .88rem; color: var(--muted); transition: color .2s, background .2s; counter-increment: t; }
.toc a::before { content: counter(t, decimal-leading-zero); position: absolute; left: .6rem; top: .62rem; font: 400 .66rem/1 var(--f-mono); opacity: .6; }
.toc a:hover { color: var(--text); }
.toc a.is-on { color: var(--text); background: rgba(255, 255, 255, .07); }
[data-theme="light"] .toc a.is-on { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 3px rgba(10, 11, 13, .08); }
.legal .prose { max-width: 70ch; font-size: 1rem; }
.legal .prose > p:first-child { font-size: 1.12rem; }
.legal .prose h2 { scroll-margin-top: 110px; display: flex; gap: .7rem; align-items: baseline; }
.legal .prose h2 span { font: 400 .75rem/1 var(--f-mono); color: var(--dim); }
.legal .prose section:first-child h2 { margin-top: 0; }
.demo-note { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r); margin-bottom: 2rem; font-size: .9rem; color: var(--text-2); }
.demo-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .1rem; }
.ctable { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 1.2rem; }
.ctable th { text-align: left; font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .8rem .7rem; border-bottom: 1px solid var(--line-2); }
.ctable td { padding: .85rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ctable code { font: 500 .82rem/1 var(--f-mono); color: var(--text); }

/* 12. 404 ------------------------------------------------------------------- */
.lost { min-height: calc(100svh - var(--nav-h) - 3rem); display: grid; place-items: center; padding-bottom: 3rem; }
.lost__card { width: min(100%, 640px); border-radius: var(--r-lg); overflow: hidden; text-align: center; }
.lost__scene { position: relative; height: 230px; overflow: hidden; perspective: 260px; border-bottom: 1px solid var(--line); background: radial-gradient(70% 90% at 50% 0%, rgba(255, 255, 255, .1), transparent 70%); }
[data-theme="light"] .lost__scene { background: radial-gradient(70% 90% at 50% 0%, #fff, transparent 70%); }
.lost__road { position: absolute; left: 50%; bottom: -30px; width: 760px; height: 420px; margin-left: -380px; transform: rotateX(68deg); transform-origin: 50% 100%; }
.lost__road .rd { fill: url(#rdg); }
.lost__road .lane { stroke: var(--text); stroke-width: 6; stroke-dasharray: 34 30; animation: lane .9s linear infinite; opacity: .85; }
.lost__road .edge { stroke: var(--text-2); stroke-width: 3; opacity: .5; }
.lost__horizon { position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, transparent, var(--bg-2)); opacity: 0; }
.lost__sign { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 0; animation: sway 4s ease-in-out infinite; transform-origin: 50% 100%; }
.lost__sign b { display: block; padding: .5rem .9rem; border-radius: 10px; background: var(--text); color: var(--bg); font: 600 .72rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); }
.lost__sign i { display: block; width: 2px; height: 26px; background: var(--text-2); }
.odo { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 14px; }
.odo__d { width: 30px; height: 42px; overflow: hidden; border-radius: 8px; background: #0a0b0d; border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 8px 10px -6px rgba(0, 0, 0, .9), inset 0 -8px 10px -6px rgba(0, 0, 0, .9); }
.odo__d span { display: block; font: 500 1.6rem/42px var(--f-mono); color: #f4f5f7; text-align: center; animation: roll 2.6s var(--ease) both; animation-delay: var(--dl, 0s); }
.odo__d span b { display: block; font-weight: 500; height: 42px; }
.odo__d.is-hi { background: #f4f5f7; } .odo__d.is-hi span { color: #0a0b0d; }
.odo small { margin: 0 .3rem 0 .4rem; font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.lost__body { padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; gap: 1.1rem; justify-items: center; }
.lost__body .h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); }
.lost__body p { color: var(--muted); max-width: 42ch; }
.lost__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .4rem; }

/* 13. Motion ---------------------------------------------------------------- */
@keyframes paneIn { from { opacity: 0; transform: translateX(28px); filter: blur(4px); } }
@keyframes paneBack { from { opacity: 0; transform: translateX(-28px); filter: blur(4px); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes sweep { to { transform: translateX(100%); } }
@keyframes lane { to { stroke-dashoffset: -64; } }
@keyframes sway { 0%, 100% { transform: translateX(-50%) rotate(-3deg); } 50% { transform: translateX(-50%) rotate(3deg); } }
@keyframes roll { from { transform: translateY(0); } to { transform: translateY(calc(var(--n) * -42px - 420px)); } }

/* 14. Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .docs, .values, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fin { grid-template-columns: 1fr; }
  .fin__res { position: static; }
  .sell-top { grid-template-columns: 1fr; }
  .sell-intro { position: static; }
  .sell-intro .h1 { max-width: 16ch; }
  .sell-photo { display: none; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { grid-template-columns: 1fr; }
  .feat__media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
  .why, .plans, .posts { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .faq-split, .elig, .insp, .book, .contact-form, .faq, .legal { grid-template-columns: 1fr; }
  .faq__nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .faq__nav::-webkit-scrollbar { display: none; }
  .faq__nav .chip { flex-shrink: 0; gap: .5rem; border-color: var(--line); background: rgba(255, 255, 255, .04); border-radius: 999px; }
  .ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .tl::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .tl__fill { left: 21px; top: 22px; width: 2px !important; height: 0; transition: height 1.8s var(--ease); }
  .tl.is-in .tl__fill { height: calc(100% - 44px); }
  .tl li { grid-template-columns: 44px 1fr; justify-items: start; text-align: left; column-gap: 1rem; row-gap: .2rem; padding-bottom: 1.4rem; }
  .tl__dot { grid-row: span 3; }
  .tl li p { max-width: none; }
  .toc { position: static; }
  .toc summary { display: flex; }
  .toc[open] summary { margin-bottom: .8rem; }
  .toc h2 { display: none; }
  .art__body { grid-template-columns: 1fr; }
  .share { position: static; display: flex; order: 2; }
  .about-hero { aspect-ratio: 16 / 10; }
  .plan--pro { order: -1; }
  .news { grid-template-columns: 1fr; }
  .news .input { min-width: 0; }
}
@media (max-width: 600px) {
  .phead .h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .opts { --cols: 1 !important; }
  .opts--2m { --cols: 2 !important; }
  .rchips--days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .docs, .values, .team, .posts, .ccards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .ccard--wide { grid-column: auto; }
  .wz { padding: 1.15rem; gap: 1.2rem; border-radius: 26px; }
  .wz__dots { display: none; }
  .wz__foot .btn--lg { flex: 1; }
  .donut-wrap { grid-template-columns: 120px 1fr; gap: 1rem; }
  .donut { width: 120px; height: 120px; }
  .price-in .input-pre { width: 150px; }
  .insp__list { columns: 1; }
  .news form { flex-direction: column; }
  .news .btn { width: 100%; }
  .acc__meta { display: none; }
  .acc__btn { padding: 1rem 1.1rem; }
  .acc__body { padding: 0 1.1rem 1.1rem; }
  .lost__scene { height: 200px; }
  .amort { font-size: .82rem; }
  .amort th, .amort td { padding-inline: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .odo__d span { animation: none; transform: translateY(calc(var(--n) * -42px - 420px)); }
}

/* Page: journal, legal (additions) */
.jbar .faq-search { flex: 1 1 240px; }
.jbar .faq-search svg { left: 1rem; width: 17px; height: 17px; }
.jbar .faq-search .input { padding-left: 2.7rem; }
.legal .table-scroll { margin-top: 1.4rem; }
