@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #03191d;
  --bg-2: #05212a;
  --panel: #082830;
  --panel-2: #0d3540;
  --ice: #8ae3f5;
  --ice-2: #d8f7ff;
  --ink: #03191d;
  --fg: #eef9fc;
  --fg-1: #a9cbd3;
  --fg-2: #a9cbd3;
  --fg-3: #6f959e;
  --line: #8ae3f524;
  --line-2: #8ae3f547;
  --up: #8ae3f5;
  --down: #ff9c8a;
  --sans: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --pad: clamp(20px, 5.6vw, 88px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: transparent; color: var(--fg); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.tnum, .table td, .prints, .inspect b, .loan dd, .sum b, .fig { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ice); color: var(--ink); padding: 8px 14px; z-index: 50; border-radius: 999px; }
.skip:focus { left: 8px; }
.wrap { padding-inline: var(--pad); max-width: 1560px; margin-inline: auto; }
section[id] { scroll-margin-top: 84px; }
.fig { font-weight: 300; letter-spacing: -0.03em; white-space: nowrap; }
.pos { color: var(--up); }
.neg { color: var(--down); }
.dim { color: var(--fg-3); }

/* ---------- top ---------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 44px; height: 68px; padding-inline: var(--pad); background: #03191de0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 300; font-size: 27px; line-height: 1; letter-spacing: 0.02em; }
.brand img { height: 30px; width: auto; display: block; }
.nav { display: flex; gap: 30px; margin-right: auto; }
.nav a { color: var(--fg-2); transition: color 180ms ease; }
.nav a.is-on { color: var(--fg); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding-inline: 30px; border-radius: 999px; font-size: 17px; font-weight: 500; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ice); color: var(--ink); }
.btn-sm { height: 42px; padding-inline: 20px; font-size: 15px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 500; }
.more-link svg { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--fg); }
  .btn-ink:hover { background: var(--ice-2); }
  .more-link:hover svg { transform: translateX(4px); }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-bottom: 64px; }
.hero-art { position: absolute; inset: -68px 0 auto 0; height: min(860px, 96vh); z-index: 0; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 46%; display: block; }
.hero-art::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, #03191df2 0%, #03191dbf 28%, #03191d40 52%, #03191d00 70%),
  linear-gradient(180deg, #03191d99 0%, #03191d00 16%, #03191d00 62%, var(--bg) 100%); }
.hero-in { position: relative; z-index: 1; min-height: min(640px, 72vh); display: flex; align-items: center; }
.hero-copy { max-width: 620px; padding-block: 56px 40px; }
h1 { font-weight: 300; font-size: clamp(48px, 6.2vw, 96px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.lede { margin-top: 26px; max-width: 26em; font-size: clamp(17px, 1.4vw, 21px); font-weight: 300; line-height: 1.45; color: var(--fg-1); text-wrap: pretty; }
.cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cta-note { margin-top: 20px; max-width: 30em; font-size: 14px; line-height: 1.55; color: var(--fg-3); }

.hero > .wrap:last-child { position: relative; z-index: 1; }
.now { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); border: 1px solid var(--line); border-radius: 26px; background: #06222ae6; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.now > div { padding: 26px 30px; }
.now-day { border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.now p { font-size: 14.5px; color: var(--fg-1); }
#c-count { margin-top: 4px; font-size: clamp(40px, 4.4vw, 68px); line-height: 1; color: var(--fg); }
#c-count .d { display: inline-block; width: 0.56em; text-align: center; }
.now .now-sub { margin-top: 8px; color: var(--fg-3); }
.now-head { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--fg-1); }
.now-head b { color: var(--fg); font-weight: 500; }
.cells { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; margin-top: 16px; }
.cells .hr { height: 34px; border-radius: 6px; background: transparent; border: 1px solid var(--line-2); transition: background-color 400ms ease, border-color 400ms ease; }
.cells .hr.is-paid { background: var(--ice); border-color: var(--ice); }
.cells .hr.is-cost { background: var(--down); border-color: var(--down); }
.cells-scale { display: flex; justify-content: space-between; margin-top: 8px; font: 400 11px var(--mono); color: var(--fg-3); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.facts > div { border-top: 1px solid var(--line-2); padding-top: 18px; }
.facts dd { font-size: clamp(38px, 3.8vw, 58px); line-height: 1; }
.facts dt { margin-top: 10px; color: var(--fg-1); font-size: 15px; }

/* ---------- sections ---------- */
.section { padding-block: 72px; }
.head { max-width: 46em; margin-bottom: 36px; }
.head h2, .sheet h2 { font-weight: 300; font-size: clamp(36px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }
.head p { margin-top: 14px; font-size: 19px; font-weight: 300; line-height: 1.5; color: var(--fg-1); max-width: 34em; text-wrap: pretty; }
.head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 30px; padding: clamp(20px, 3vw, 44px); }

/* ---------- desk ---------- */
.desk { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 44px; align-items: start; }
.controls { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--fg-1); }
.field-end { margin-left: auto; }
.money { display: flex; align-items: center; height: 50px; width: 176px; padding-inline: 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg); transition: border-color 180ms ease; }
.money:focus-within { border-color: var(--ice); }
.money i { font-style: normal; font-size: 21px; font-weight: 300; color: var(--fg-3); margin-right: 4px; }
.money input { width: 100%; min-width: 0; background: none; border: 0; outline: 0; color: var(--fg); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); height: 50px; width: 204px; padding: 4px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.seg-4 { grid-template-columns: repeat(4, 1fr); width: 380px; }
.seg button { position: relative; z-index: 1; font-size: 14.5px; font-weight: 500; color: var(--fg-2); border-radius: 12px; transition: color 220ms ease, transform 160ms var(--ease-out); }
.seg button[aria-checked="true"] { color: var(--ink); }
.seg button:active { transform: scale(0.96); }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); background: var(--ice); border-radius: 12px; transition: transform 320ms var(--ease-out); }
.seg-4 .seg-pill { width: calc((100% - 8px) / 4); }
.seg-lev { width: 292px; }
.seg button:disabled { opacity: 0.32; cursor: not-allowed; }
.lev-note { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--fg-3); max-width: 46em; }
@media (hover: hover) and (pointer: fine) { .seg button:hover { color: var(--fg); } .seg button[aria-checked="true"]:hover { color: var(--ink); } }

.result { margin-top: 36px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 22px; }
.result .fig { font-size: clamp(64px, 7.4vw, 116px); line-height: 0.95; font-weight: 200; letter-spacing: -0.045em; color: var(--ice); }
.result-fig { transition: filter 180ms ease, opacity 180ms ease; }
.result-fig.is-swapping { filter: blur(3px); opacity: 0.5; }
.result-sub { font-size: 17px; font-weight: 300; color: var(--fg-1); }

.chart { position: relative; height: 360px; margin-top: 26px; touch-action: pan-y; }
.chart svg { display: block; overflow: visible; }
.chart text { font: 400 10.5px var(--mono); fill: var(--fg-3); }
.chart .grid { stroke: var(--line); stroke-width: 1; shape-rendering: crispEdges; }
.chart .zero { stroke: var(--line-2); }
.chart .line { fill: none; stroke: var(--ice); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#fade); }
.chart .bar { fill: var(--ice); opacity: 0.5; transition: opacity 120ms ease; }
.chart .bar.neg { fill: var(--down); opacity: 0.95; }
.chart .bar.is-on { opacity: 1; }
.chart .rz { stroke: var(--fg); stroke-width: 1.5; opacity: 0.7; shape-rendering: crispEdges; }
.chart .cross { stroke: var(--fg-2); stroke-width: 1; shape-rendering: crispEdges; }
.chart .dot { fill: var(--panel); stroke: var(--ice); stroke-width: 2; }
.chart-key { position: absolute; left: 0; top: 0; display: flex; gap: 18px; font-size: 13px; color: var(--fg-2); pointer-events: none; }
.chart-key span { display: inline-flex; align-items: center; gap: 7px; }
.chart-key b { font-weight: 400; }
.chart-key i { display: inline-block; }
.k-line { width: 14px; height: 0; border-top: 2px solid var(--ice); }
.k-bar { width: 4px; height: 10px; background: var(--ice); opacity: 0.6; border-radius: 1px; }
.k-tick { width: 2px; height: 8px; background: var(--fg); opacity: 0.7; }

.inspect { display: grid; grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); margin-top: 14px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.inspect > div { padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.inspect > div + div { border-left: 1px solid var(--line); }
.inspect span { font-size: 13px; color: var(--fg-2); }
.inspect b { font-size: 16px; font-weight: 500; white-space: nowrap; }
.sum { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 18px; font-size: 14px; color: var(--fg-2); }
.sum b { font-weight: 500; color: var(--fg); margin-left: 6px; }
.sum b.pos { color: var(--up); }
.sum b.neg { color: var(--down); }

.rail { display: flex; flex-direction: column; gap: 36px; padding-left: 44px; border-left: 1px solid var(--line); align-self: stretch; }
.rail-head { display: flex; justify-content: space-between; align-items: baseline; }
.rail-head h3 { font-size: 21px; font-weight: 400; letter-spacing: -0.01em; }
.rail-head span { font-size: 13.5px; color: var(--fg-3); }
.rail-fig { padding-block: 16px 14px; }
.rail-fig .fig { font-size: 50px; line-height: 1; font-weight: 200; color: var(--ice); }
.rail-fig p { margin-top: 8px; font-size: 14px; color: var(--fg-2); }
.prints li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; height: 38px; border-top: 1px solid var(--line); font-size: 14.5px; }
.prints time { font: 400 12px var(--mono); color: var(--fg-3); }
.prints .rate { color: var(--fg-2); }
.prints .amt { font-weight: 500; text-align: right; }
.prints li.is-new { animation: arrive 500ms var(--ease-out); }
@keyframes arrive { from { opacity: 0; transform: translateY(-6px); } }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ice); margin-right: 8px; vertical-align: 1px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.loan { margin-top: 12px; }
.loan > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 14.5px; }
.loan dt { color: var(--fg-2); }
.loan dd { font-weight: 500; text-align: right; }
.loan .use { height: 4px; border-radius: 2px; background: var(--panel-2); margin-top: 7px; width: 120px; margin-left: auto; overflow: hidden; }
.loan .use i { display: block; height: 100%; background: var(--ice); transform-origin: left; transition: transform 500ms var(--ease-out); }

/* ---------- how: the ice block ---------- */
.hotblock { background: var(--ice); color: var(--ink); padding-block: 96px 104px; margin-block: 40px; }
.hotblock .head p { color: #0a4d5b; font-weight: 400; }
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.how { padding: 4px 36px 0; display: flex; flex-direction: column; }
.how:first-child { padding-left: 0; }
.how:last-child { padding-right: 0; }
.how + .how { border-left: 1px solid #03191d40; }
.how-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--ice); font-size: 15px; font-weight: 500; }
.how h3 { margin-top: 20px; font-size: 30px; font-weight: 400; line-height: 1.08; letter-spacing: -0.025em; }
.how > p { margin-top: 10px; color: #0a4d5b; max-width: 28em; min-height: 4.5em; text-wrap: pretty; }
.widget { margin-top: 24px; height: 232px; padding: 20px 20px 18px; border-radius: 22px; background: var(--ink); color: var(--fg); box-shadow: 0 30px 50px -36px #03191dcc; display: flex; flex-direction: column; font-size: 14.5px; }
.key-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; color: var(--fg-2); }
.key-top code { font: 400 12.5px var(--mono); color: var(--fg); background: var(--panel-2); padding: 3px 8px; border-radius: 8px; }
.w-key ul { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.w-key li { display: flex; justify-content: space-between; align-items: center; height: 38px; border-top: 1px solid var(--line); }
.w-key li span { color: var(--fg-2); }
.w-key b { font-weight: 500; }
.w-key .yes { color: var(--ice); }
.w-key .no { color: var(--down); }
.legs-row { display: grid; grid-template-columns: 104px 1fr 78px; align-items: center; gap: 12px; height: 32px; }
.legs-row span { color: var(--fg-2); }
.legs-row i { display: block; height: 10px; border-radius: 5px; background: var(--panel-2); position: relative; overflow: hidden; }
.legs-row u { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--fg-1); transform-origin: left; text-decoration: none; }
#leg-short { left: 50%; width: 50%; }
.legs-row b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.legs-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.legs-total span { color: var(--fg-2); }
.legs-total b { font-size: 32px; font-weight: 300; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.slide { margin-top: auto; display: flex; flex-direction: column; gap: 6px; color: var(--fg-2); }
.slide b { font-weight: 500; color: var(--fg); margin-left: 6px; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: none; margin: 0; cursor: grab; }
input[type="range"]:active { cursor: grabbing; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--panel-2); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--panel-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--ice); border: 3px solid var(--ink); box-shadow: 0 0 0 1px var(--ice); transition: transform 160ms var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ice); border: 3px solid var(--ink); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.hours-bars { position: relative; flex: 1; display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; padding-bottom: 12px; }
.hours-bars::after { content: ""; position: absolute; left: 0; right: 0; top: calc((100% - 12px) * 0.74); height: 1px; background: var(--line-2); }
.hours-bars span { position: relative; height: 100%; }
.hours-bars i { position: absolute; left: 0; right: 0; min-height: 2px; border-radius: 2px; background: var(--ice); transition: height 500ms var(--ease-out); }
.hours-bars i.neg { background: var(--down); }
.hours-foot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.hours-foot span { color: var(--fg-2); }
.hours-foot b { font-size: 32px; font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--ice); }

/* ---------- record ---------- */
.pager { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding-inline: 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--fg); transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out); }
.chip:active, .icon:active { transform: scale(0.96); }
.pager-step { display: inline-flex; gap: 6px; margin-left: 10px; }
.icon { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--ice); color: var(--ink); transition: background-color 180ms ease, opacity 180ms ease, transform 160ms var(--ease-out); }
.icon:disabled { opacity: 0.25; cursor: default; }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--ice); color: var(--ink); border-color: var(--ice); } .icon:not(:disabled):hover { background: var(--ice-2); } }
.ledger-day { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.ledger-day h3 { font-size: 32px; font-weight: 300; line-height: 1.05; letter-spacing: -0.025em; }
.ledger-day p { color: var(--fg-2); }
.ledger-day p b { font-weight: 500; }
.coupons { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; margin-block: 22px 26px; }
.coupon { display: flex; flex-direction: column; justify-content: space-between; height: 84px; padding: 10px 12px 11px; border-radius: 14px; transition: transform 200ms var(--ease-out); }
.coupon time { font: 400 11.5px var(--mono); }
.coupon b { font-size: 20px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.coupon.is-paid { background: var(--panel-2); color: var(--ice); }
.coupon.is-paid time { color: var(--fg-2); }
.coupon.is-cost { background: #3a2522; color: var(--down); }
.coupon.is-cost time { color: #d9a59c; }
.coupon.is-open { border: 1px dashed var(--line-2); color: var(--fg-3); }
.coupon.is-open b { font-size: 13.5px; font-weight: 400; letter-spacing: 0; }
@media (hover: hover) and (pointer: fine) { .coupon:not(.is-open):hover { transform: translateY(-3px); } }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 740px; }
.table th { text-align: right; font-weight: 400; font-size: 13.5px; color: var(--fg-3); padding: 14px 0 10px 16px; white-space: nowrap; }
.table th:first-child, .table td:first-child { text-align: left; padding-left: 0; }
.table td { text-align: right; padding: 0 0 0 16px; height: 40px; border-top: 1px solid var(--line); white-space: nowrap; }
.table td:first-child { font: 400 12.5px var(--mono); color: var(--fg-2); }
.table .col-note, .table td:last-child { color: var(--fg-3); font-size: 13.5px; width: 120px; }
.table td.net { font-weight: 500; }
.table tbody { transition: opacity 160ms ease; }
.table tbody.is-swapping { opacity: 0; }
.table tbody.is-short tr:nth-child(n + 9) { display: none; }
.more { margin-top: 18px; }
@media (hover: hover) and (pointer: fine) { .table tbody tr:hover td { background: #8ae3f50a; } }

/* ---------- risks ---------- */
.risks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.risks > div { padding: 28px 28px 8px 0; }
.risks > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.risks .fig { display: block; font-size: clamp(52px, 6vw, 96px); line-height: 1; font-weight: 200; letter-spacing: -0.04em; color: var(--ice); }
.risks h3 { margin-top: 18px; font-size: 17px; font-weight: 500; }
.risks p { margin-top: 8px; color: var(--fg-2); text-wrap: pretty; }

/* ---------- footer ---------- */
.foot { margin-top: 72px; background: #021216; border-top: 1px solid var(--line); overflow: hidden; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-block: 36px 0; }
.foot-line { font-weight: 500; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: 14.5px; color: var(--fg-2); }
.foot-links a { transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { color: var(--ice); } }
.foot-note { max-width: 46em; font-size: 13.5px; line-height: 1.6; color: var(--fg-3); }
.foot-mark { display: flex; align-items: center; gap: 0.12em; margin-top: 30px; padding: 0 var(--pad) 0.16em; font-weight: 200; font-size: clamp(110px, 24vw, 380px); line-height: 1; letter-spacing: 0; color: var(--ice); user-select: none; }
.foot-mark img { height: 0.72em; width: auto; margin-top: 0.06em; }

/* ---------- sheet ---------- */
.sheet-back { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: #010b0dbf; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity 200ms ease; }
.sheet-back[hidden] { display: none; }
.sheet-back.is-open { opacity: 1; }
.sheet { position: relative; width: min(500px, 100%); padding: 36px 36px 30px; border-radius: 30px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px #000000b3; transform: translateY(12px) scale(0.98); opacity: 0; transition: transform 280ms var(--ease-out), opacity 200ms ease; }
.sheet-back.is-open .sheet { transform: none; opacity: 1; }
.sheet h2 { font-size: 42px; }
.sheet-x { position: absolute; top: 22px; right: 22px; background: var(--panel-2); color: var(--fg); }
.sheet-sub { margin-top: 10px; color: var(--fg-2); }
.steps { margin-top: 22px; }
.step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding-block: 16px; border-top: 1px solid var(--line); opacity: 0.4; transition: opacity 240ms ease; }
.step.is-now, .step.is-done { opacity: 1; }
.step > i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ice); color: var(--ink); font-size: 13px; font-weight: 600; font-style: normal; }
.step h3 { font-size: 17px; font-weight: 500; }
.step p { margin-top: 3px; color: var(--fg-2); font-size: 14.5px; }
.wallets { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.wallet { display: flex; align-items: center; gap: 12px; height: 52px; padding-inline: 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg); font-weight: 500; text-align: left; transition: border-color 180ms ease, transform 160ms var(--ease-out); }
.wallet:active { transform: scale(0.98); }
.wallet img { width: 24px; height: 24px; border-radius: 6px; }
.wallet span { margin-left: auto; font-weight: 400; font-size: 13.5px; color: var(--fg-3); }
@media (hover: hover) and (pointer: fine) { .wallet:hover { border-color: var(--ice); } }
.sheet-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--fg-3); }

/* ---------- arrival ---------- */
.rise { opacity: 0; transform: translateY(16px); transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.rise.is-in { opacity: 1; transform: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1120px) {
  .desk { grid-template-columns: minmax(0, 1fr); }
  .rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .field-end { margin-left: 0; }
  .steps-row { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .how, .how:first-child, .how:last-child { padding: 0; }
  .how + .how { border-left: 0; }
  .how > p { min-height: 0; }
  .widget { max-width: 520px; }
  .coupons { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .risks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .risks > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .risks > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .now { grid-template-columns: minmax(0, 1fr); }
  .now-day { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .top { height: 60px; gap: 0; justify-content: space-between; }
  .nav { display: none; }
  .hero { padding-bottom: 44px; }
  .hero-art { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 4.4; margin-top: -60px; }
  .hero-art img { object-position: 50% 50%; }
  .hero-art::after { background: linear-gradient(180deg, #03191d99 0%, #03191d00 22%, #03191d00 60%, var(--bg) 100%); }
  .hero-in { min-height: 0; display: block; margin-top: -72px; }
  .hero-copy { padding-block: 0 32px; }
  h1 { font-size: clamp(44px, 13vw, 60px); }
  .now > div { padding: 20px; }
  .cells { gap: 3px; }
  .cells .hr { height: 26px; border-radius: 4px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 24px; }
  .facts > div { display: grid; grid-template-columns: 132px 1fr; align-items: baseline; gap: 14px; padding-block: 14px; }
  .facts dd { font-size: 34px; }
  .facts dt { margin-top: 0; }
  .section { padding-block: 48px; }
  .head p { font-size: 17px; }
  .panel { border-radius: 24px; }
  .money { width: 100%; }
  .field { flex: 1 1 140px; }
  .seg, .seg-4 { width: 100%; }
  .field-end { flex-basis: 100%; }
  .seg-4 button { font-size: 13.5px; }
  .chart { height: 290px; }
  .chart-key span:last-child { display: none; }
  .inspect { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inspect > div:nth-child(4) { border-left: 0; }
  .inspect > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .inspect > div { padding: 12px; }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .hotblock { padding-block: 60px 64px; margin-block: 24px; }
  .coupons { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .coupon { height: 70px; padding: 8px 10px 9px; border-radius: 12px; }
  .coupon b { font-size: 16px; }
  .risks { grid-template-columns: minmax(0, 1fr); }
  .risks > div, .risks > div + div { padding: 22px 0; border-left: 0; }
  .risks > div + div { border-top: 1px solid var(--line); }
  .risks .fig { font-size: 60px; }
  .foot { margin-top: 48px; }
  .sheet-back { place-items: end center; padding: 0; }
  .sheet { width: 100%; border-radius: 28px 28px 0 0; padding: 30px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); opacity: 1; transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot { animation: none; }
  .rise { transform: none; transition: opacity 300ms ease; }
  .seg-pill, .sheet { transition-duration: 1ms; }
}


/* ================= v5: real surfaces, no flat fills ================= */
:root {
  --tex-paper: image-set(url("/art/tex-paper.avif") type("image/avif"), url("/art/tex-paper.jpg") type("image/jpeg"));
  --tex-teal: image-set(url("/art/tex-teal.avif") type("image/avif"), url("/art/tex-teal.jpg") type("image/jpeg"));
  --tex-ice: image-set(url("/art/tex-ice.avif") type("image/avif"), url("/art/tex-ice.jpg") type("image/jpeg"));
  --anodised: linear-gradient(160deg, #d6f7fe 0%, #8ae3f5 46%, #67cbe1 100%);
  --anodised-edge: inset 0 1px 0 #ffffffb8, inset 0 -1px 0 #0a4d5b5c;
  --sheen: linear-gradient(172deg, #eefcff 0%, #8ae3f5 52%, #5fc6dc 100%);
}
/* The page lies on the same lit paper as the photograph. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--bg) var(--tex-paper) center / cover no-repeat; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, #03191d99 0%, #03191dcc 100%); }
.hero-art::after { background:
  linear-gradient(90deg, #03191df2 0%, #03191dbf 28%, #03191d40 52%, #03191d00 70%),
  linear-gradient(180deg, #03191d99 0%, #03191d00 16%, #03191d00 66%, #03191de6 100%); }

/* Panels are dark anodised metal with a lit top edge. */
.panel, .now, .sheet { background: linear-gradient(180deg, #0a2e37d1 0%, #05212ae8 100%), var(--tex-teal) center / cover; border-color: #8ae3f52e; box-shadow: inset 0 1px 0 #8ae3f540, 0 50px 90px -60px #000000e6; }
.now { backdrop-filter: none; -webkit-backdrop-filter: none; }
.inspect, .money, .seg { background: #02131799; box-shadow: inset 0 2px 6px #00000080; }
.widget { background: linear-gradient(180deg, #082a32d9 0%, #03191df0 100%), var(--tex-teal) center / cover; box-shadow: inset 0 1px 0 #8ae3f53d, 0 34px 56px -30px #03191de6; }

/* Everything ice is anodised, not flat. */
.btn-ink, .seg-pill, .icon, .step > i, .cells .hr.is-paid, .loan .use i { background: var(--anodised); box-shadow: var(--anodised-edge); }
.btn-ink { box-shadow: var(--anodised-edge), 0 14px 30px -14px #8ae3f58c; }
.cells .hr.is-paid { border-color: transparent; }
.cells .hr.is-cost { background: linear-gradient(160deg, #ffc2b6, #ff9c8a 50%, #e97e6b); border-color: transparent; }
input[type="range"]::-webkit-slider-thumb { background: var(--anodised); }
@media (hover: hover) and (pointer: fine) { .btn-ink:hover, .icon:not(:disabled):hover { background: linear-gradient(160deg, #f1fdff 0%, #b3effa 46%, #86dcef 100%); } .chip:hover { background: var(--anodised); } }
.result .fig, .rail-fig .fig, .risks .fig, .hours-foot b, #c-count { background: var(--sheen); -webkit-background-clip: text; background-clip: text; color: transparent; }
#c-count .d { color: transparent; }

/* The ice block is the anodised sheet itself. */
.hotblock { background: linear-gradient(180deg, #8ae3f54d 0%, #8ae3f533 100%), var(--tex-ice) center / cover; box-shadow: inset 0 1px 0 #ffffff80, inset 0 -1px 0 #0a4d5b40; }
.how-n { background: linear-gradient(160deg, #0d3a45, #03191d); box-shadow: inset 0 1px 0 #8ae3f54d; }

/* Coupons: small anodised tags. */
.coupon.is-paid { background: linear-gradient(160deg, #15495a 0%, #0a2e38 100%); box-shadow: inset 0 1px 0 #8ae3f538; }
.coupon.is-cost { background: linear-gradient(160deg, #4a2c27 0%, #2e1b19 100%); box-shadow: inset 0 1px 0 #ff9c8a3d; }

/* The footer returns to the lit paper. */
.foot { background: linear-gradient(180deg, #021216e6 0%, #021216b3 100%), var(--tex-paper) center / cover; }
.foot-mark { background: var(--sheen); -webkit-background-clip: text; background-clip: text; color: transparent; }
