/* TSURUKAMI · minimal-futurist landing
   ink #0B0C0E · graphite #15171A · line #26292E · paper #EDEAE3 · mute #8A8F98 · vermilion #FF4A1C (single accent)
   Sora (UI/display) + Red Hat Mono (numbers, CA, labels). Flat surfaces, 1px lines, no gradients. */

:root {
  --ink: #0B0C0E;
  --graphite: #15171A;
  --line: #26292E;
  --line-2: #3A3E45;
  --paper: #EDEAE3;
  --paper-2: #C9C6BF;
  --mute: #8A8F98;
  --ver: #FF4A1C;
  --ver-2: #FF6A43;
  --sans: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Red Hat Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1280px;
  --side: clamp(16px, 4vw, 40px);
  --r: 3px;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --hdr: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 17px; line-height: 1.55; font-weight: 400;
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ver-2); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
::selection { background: var(--ver); color: var(--ink); }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--side); }
.mono { font-family: var(--mono); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.dim { color: var(--mute); }

/* ------------------------------------------------------------ header */
.top { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { color: var(--paper); }
.brand .hanko { width: 26px; height: 26px; }
.brand b { font-weight: 600; letter-spacing: .28em; font-size: 13px; }
.ticker { font-family: var(--mono); font-size: 12px; color: var(--ver); border: 1px solid var(--ver); padding: 1px 6px; border-radius: var(--r); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--paper-2); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a.l { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 12px 12px; color: var(--paper-2); }
.nav a.l:hover { color: var(--paper); }
.nav a.x { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--paper-2); }
.nav a.x:hover { color: var(--paper); }
.nav a.x svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .04em;
  padding: 0 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: transparent; color: var(--paper);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { border-color: var(--paper); color: var(--paper); }
.btn.red { background: var(--ver); border-color: var(--ver); color: var(--ink); font-weight: 600; }
.btn.red:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn.red[aria-disabled="true"] { cursor: default; }
.btn.red[aria-disabled="true"] .buy-when { opacity: .7; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 12px; }
.btn.ghost { background: transparent; }
.link-arrow { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-decoration: none; color: var(--paper-2); display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 4px; }
.link-arrow span { transition: transform .2s var(--e-out); }
.link-arrow:hover span { transform: translateY(3px); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; column-gap: clamp(32px, 5vw, 88px); row-gap: 0;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "top calc" "more calc" "ca calc" "live calc" "cli cli";
  grid-template-rows: auto auto auto 1fr auto;
  align-items: start;
  padding-top: clamp(28px, 5vh, 56px);
}
.h-top { grid-area: top; }
.h-more { grid-area: more; }
.h-ca { grid-area: ca; }
.h-live { grid-area: live; }
.calc { grid-area: calc; }
.cli { grid-area: cli; }

.kicker { display: flex; gap: 10px; align-items: center; margin: 0 0 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--ver); }
.kicker .sep { color: var(--line-2); }
h1 { font-weight: 500; font-size: clamp(40px, 5.4vw, 80px); line-height: .98; letter-spacing: -.045em; margin: 0 0 20px; }
h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .ln > span { display: inline-block; }
h1 em { font-style: normal; color: var(--ver); }
.lede { color: var(--paper-2); font-size: 17px; max-width: 42ch; margin: 0 0 14px; }
.duel { margin: 0 0 26px; font-family: var(--mono); font-size: 13px; letter-spacing: .02em; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.duel .d-a { color: var(--mute); }
.duel .d-a::before { content: "1× "; color: var(--line-2); }
.duel .d-b::before { content: "3× "; color: var(--ver); }

.ca { display: flex; align-items: stretch; max-width: 520px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--graphite); font-family: var(--mono); min-height: 48px; }
.ca .ca-k { display: grid; place-items: center; padding: 0 12px; font-size: 11px; letter-spacing: .1em; color: var(--mute); border-right: 1px solid var(--line); }
.ca code { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 12px; font-family: var(--mono); font-size: 14px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.copy { display: inline-flex; align-items: center; gap: 8px; min-width: 96px; justify-content: center; border: 0; border-left: 1px solid var(--line); background: transparent; cursor: pointer; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--paper); padding: 0 14px; }
.copy:hover { background: var(--paper); color: var(--ink); }
.copy svg { width: 14px; height: 14px; }
.copy .i-ok, .copied .i-copy { display: none; }
.copied .i-ok { display: block; color: var(--ver); }
.copy.copied:hover .i-ok { color: var(--ink); }
.ca-note { margin: 10px 0 18px; font-family: var(--mono); font-size: 12px; color: var(--mute); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.when { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--paper); padding: 2px 7px; border-radius: 2px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 30px; }

.h-live { border-top: 1px solid var(--line); padding-top: 14px; padding-bottom: 28px; }
.live-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; letter-spacing: .04em; text-transform: none; }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); }
.live-badge.on i { background: var(--ver); animation: pulse 2s ease-in-out infinite; }
.live-badge.off { color: var(--ver-2); }
@keyframes pulse { 50% { opacity: .35; } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-left: 1px solid var(--line); }
.stats > div { padding: 2px 12px; border-right: 1px solid var(--line); min-width: 0; }
.stats .q { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; display: flex; justify-content: space-between; }
.stats dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats dd { margin: 4px 0 0; font-family: var(--mono); font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.4em; }
.stats .q dd { color: var(--ver); margin: 0; }
.mat-note { margin: 12px 0 0; font-size: 14px; color: var(--paper-2); }
.contract-line { margin: 6px 0 0; font-family: var(--mono); font-size: 12px; color: var(--mute); overflow-wrap: anywhere; }

/* ------------------------------------------------------------ calculator */
.calc { border: 1px solid var(--line); background: var(--graphite); border-radius: var(--r); position: relative; }
.calc-top { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.calc-body { display: grid; grid-template-columns: 1fr; }
.calc-figure { margin: 0; padding: 8px 16px 0; border-bottom: 1px solid var(--line); }
.calc-figure .crane-svg { width: 100%; max-height: min(30vh, 280px); aspect-ratio: 1; margin: 0 auto; }
.calc-read { padding: 14px 16px 16px; }
.dayline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.big { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.big .lbl { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-right: 4px; }
.big b { font-size: clamp(34px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.04em; display: inline-block; min-width: 2ch; text-align: right; }
.big .of { font-size: 16px; color: var(--mute); }
.lvl { font-family: var(--mono); font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; color: var(--ver); font-variant-numeric: tabular-nums; min-width: 4.2ch; text-align: right; }
.ticks { display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; margin: 8px 0 2px; }
.ticks i { height: 6px; background: var(--line); }
.ticks i.on { background: var(--paper-2); }
.ticks i.cur { background: var(--ver); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; touch-action: pan-y; }
input[type=range]::-webkit-slider-runnable-track { height: 1px; background: var(--line-2); }
input[type=range]::-moz-range-track { height: 1px; background: var(--line-2); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--ver); border: 6px solid var(--ink); box-shadow: 0 0 0 1px var(--ver); }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ver); border: 6px solid var(--ink); box-shadow: 0 0 0 1px var(--ver); }
.scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--mute); margin-top: -6px; }
.share { margin-top: 14px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.share .lbl { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.share b { display: block; font-family: var(--mono); font-size: clamp(36px, 4vw, 54px); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; min-height: 1.1em; }
.share small { display: block; font-size: 13px; color: var(--mute); line-height: 1.45; margin-top: 4px; }
.tag-ex { display: inline-block; font-style: normal; font-size: 10px; border: 1px solid var(--ver); color: var(--ver); padding: 0 5px; margin-left: 6px; vertical-align: 1px; }
.coins { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.coins label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.num { flex: 1; min-width: 110px; font-family: var(--mono); font-size: 15px; padding: 0 10px; height: 40px; border: 1px solid var(--line-2); background: var(--ink); border-radius: var(--r); color: var(--paper); font-variant-numeric: tabular-nums; }
.num:focus { border-color: var(--paper); outline: none; }
.presets { display: flex; gap: 4px; }
.presets button { font-family: var(--mono); font-size: 12px; height: 40px; min-width: 44px; padding: 0 8px; border: 1px solid var(--line-2); background: transparent; border-radius: var(--r); cursor: pointer; color: var(--paper-2); }
.presets button:hover { border-color: var(--paper); color: var(--paper); }
.presets button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }
.mini dt { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.mini dd { margin: 2px 0 0; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }

/* cli */
.cli { margin: 32px 0 56px; border: 1px solid var(--line); border-radius: var(--r); }
.cli-tabs { display: flex; align-items: center; border-bottom: 1px solid var(--line); padding: 0 8px; }
.cli-tabs .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-right: auto; padding: 0 8px; }
.cli-tabs button { border: 0; background: none; font-family: var(--mono); font-size: 12.5px; padding: 0 14px; min-height: 44px; cursor: pointer; color: var(--mute); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.cli-tabs button[aria-selected="true"] { color: var(--paper); border-bottom-color: var(--ver); }
.cli .row { position: relative; border-bottom: 1px solid var(--line); }
.cli pre { margin: 0; padding: 14px 92px 14px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--paper-2); white-space: pre-wrap; word-break: break-all; }
.cli .cp { position: absolute; right: 8px; top: 8px; font-family: var(--mono); font-size: 12px; min-height: 32px; min-width: 72px; border: 1px solid var(--line-2); background: var(--ink); color: var(--paper); border-radius: var(--r); cursor: pointer; }
.cli .cp:hover { border-color: var(--paper); }
.cli-note { margin: 0; padding: 10px 16px; font-size: 13px; color: var(--mute); }

/* ------------------------------------------------------------ specimen (3D accent) */
.specimen { border-bottom: 1px solid var(--line); }
.spec-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: 96px; padding-bottom: 96px; }
.spec-h { font-weight: 500; font-size: clamp(30px, 4vw, 56px); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 16px; }
.spec-h em { font-style: normal; color: var(--ver); }
.spec-sub { color: var(--paper-2); max-width: 40ch; margin: 0 0 24px; }
.spec-data { margin: 0; max-width: 420px; }
.spec-data div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; }
.spec-data dt { color: var(--mute); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.spec-data dd { margin: 0; }
.viewport { position: relative; aspect-ratio: 4 / 3; width: 100%; max-height: 560px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink); overflow: hidden; }
.viewport::before, .viewport::after { content: ""; position: absolute; width: 12px; height: 12px; z-index: 2; pointer-events: none; }
.viewport::before { left: 10px; top: 10px; border-left: 1px solid var(--ver); border-top: 1px solid var(--ver); }
.viewport::after { right: 10px; bottom: 10px; border-right: 1px solid var(--ver); border-bottom: 1px solid var(--ver); }
.viewport canvas, .viewport .vp-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.viewport .vp-poster { object-fit: cover; }
.viewport .vp-fallback { position: absolute; left: 50%; top: 50%; width: 62%; transform: translate(-50%, -50%); }
.viewport canvas { opacity: 0; transition: opacity .8s; }
.viewport.ready canvas { opacity: 1; }
.viewport.ready .vp-fallback, .viewport.ready .vp-poster { opacity: 0; transition: opacity .6s; }
.vp-tag { position: absolute; left: 14px; bottom: 12px; font-size: 10.5px; color: var(--mute); letter-spacing: .1em; text-transform: uppercase; z-index: 2; }

/* ------------------------------------------------------------ sections */
.sec { padding: 120px 0; border-bottom: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: baseline; margin-bottom: 56px; position: relative; padding-top: 16px; }
.sec-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform-origin: left; transform: scaleX(var(--sx, 1)); }
.sec-head .no { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sec-head h2 { font-weight: 500; font-size: clamp(28px, 4vw, 56px); line-height: 1.02; letter-spacing: -.04em; margin: 0; }
.sec-head h2 em { font-style: normal; color: var(--mute); }
.sec-head p { grid-column: 2; margin: 14px 0 0; color: var(--paper-2); max-width: 58ch; }

/* steps + one pinned crane */
.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); }
.steps-list { list-style: none; margin: 0; padding: 0; }
.step { min-height: 76vh; padding: 10vh 0; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s; }
.step:first-child { padding-top: 0; min-height: 62vh; }
.step.on { opacity: 1; }
.step .n { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.step .n .circ { width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; color: var(--paper); letter-spacing: 0; }
.step.on .n .circ { background: var(--ver); border-color: var(--ver); color: var(--ink); }
.step h3 { font-weight: 500; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 14px; }
.step p { margin: 0 0 14px; color: var(--paper-2); max-width: 46ch; }
.step p strong { color: var(--paper); font-weight: 500; }
.step .aside { color: var(--paper); border-left: 1px solid var(--ver); padding-left: 12px; }
.formula { font-family: var(--mono); font-size: 13px; color: var(--paper); background: var(--graphite); border: 1px solid var(--line); padding: 12px 14px; margin: 6px 0 14px; max-width: 46ch; line-height: 1.7; overflow-wrap: anywhere; }
.step .more { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--paper-2); }
.flow { list-style: none; padding: 0; margin: 4px 0 16px; max-width: 48ch; font-size: 15px; }
.flow li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--paper-2); }
.flow li::before { content: attr(data-i); font-family: var(--mono); color: var(--mute); }
.flow li b { color: var(--paper); font-weight: 500; }
.flow .lbl { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 1px 6px; margin-left: 4px; border: 1px solid var(--line-2); color: var(--paper-2); vertical-align: 1px; }
.flow .lbl.team { border-style: dashed; }

.pin { position: sticky; top: calc(var(--hdr) + 24px); height: calc(100svh - var(--hdr) - 48px); max-height: 760px; display: flex; flex-direction: column; justify-content: center; }
.card { border: 1px solid var(--line); background: var(--graphite); border-radius: var(--r); }
.pin-card { padding: 14px 18px 18px; }
.pin-fig { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pin-fig b { color: var(--paper); font-weight: 500; }
.pin-card .crane-svg { width: 100%; max-height: calc(100svh - 300px); aspect-ratio: 1; margin: 0 auto; }
.pin-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }

/* your cranes (app mounts) */
.cranes-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
.panel { background: var(--graphite); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.panel h3 { font-weight: 500; font-size: 20px; letter-spacing: -.02em; margin: 0 0 6px; }
.panel .sub { margin: 0 0 18px; color: var(--paper-2); font-size: 15px; }
.locked { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); border-left: 1px solid var(--ver); padding: 12px 14px; font-size: 14.5px; color: var(--paper-2); margin: 0 0 16px; }
.locked svg { width: 18px; height: 18px; flex: none; color: var(--ver); margin-top: 2px; }
.locked b { color: var(--paper); font-weight: 500; }
.fold-form { display: grid; gap: 10px; }
.fold-form .row { display: flex; gap: 8px; }
.fold-form .row .num { height: 44px; }
.fold-form .bal { font-family: var(--mono); font-size: 12px; color: var(--mute); display: flex; justify-content: space-between; }
.fold-form .acts { display: flex; gap: 8px; }
.status { font-family: var(--mono); font-size: 12.5px; color: var(--paper-2); min-height: 1.4em; margin: 12px 0 0; overflow-wrap: anywhere; }
.wallet-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.wallet-row .addr { font-family: var(--mono); font-size: 12.5px; color: var(--mute); }
.wallet-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.claim-row { display: flex; justify-content: flex-end; margin-top: 14px; }
.empty { border: 1px dashed var(--line-2); padding: 24px; text-align: center; color: var(--paper-2); font-size: 15px; }
.empty svg { width: 84px; height: 84px; margin: 0 auto 10px; }
#cranes { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 8px; }
#cranes li.crane { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; border: 1px solid var(--line); background: var(--ink); padding: 8px 12px; border-radius: var(--r); }
#cranes .crane-mini svg { width: 60px; height: 60px; }
#cranes .crane-info { display: flex; flex-direction: column; font-family: var(--mono); font-size: 12px; color: var(--mute); line-height: 1.5; min-width: 0; }
#cranes .crane-info strong { color: var(--paper); font-size: 14px; font-weight: 500; }
#cranes li.crane button { font-family: var(--mono); font-size: 12px; min-height: 40px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: transparent; color: var(--paper); cursor: pointer; }
#cranes li.crane button[data-act=claim] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
#cranes li.crane button:hover:not(:disabled) { border-color: var(--ver); }
#cranes li.crane button:disabled { opacity: .4; cursor: not-allowed; }
#tx-status[data-kind=error] { color: var(--ver-2); }
#tx-status a { color: var(--paper); }

/* guaranteed vs promised */
.two { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); }
.two > div { padding: 32px; }
.two > div + div { border-left: 1px solid var(--line); }
.two h3 { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 22px; letter-spacing: -.02em; margin: 0 0 6px; }
.two h3 .stamp { width: 28px; height: 28px; flex: none; color: var(--paper-2); }
.two .lead { margin: 0 0 18px; color: var(--mute); font-size: 13px; font-family: var(--mono); }
.two ul { list-style: none; margin: 0; padding: 0; }
.two li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--paper-2); }
.two li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; border: 1px solid var(--paper-2); transform: rotate(45deg); }
.two .g li::before { background: var(--ver); border-color: var(--ver); }
.two li code { font-family: var(--mono); font-size: 13px; color: var(--paper); }
.two .src { margin: 18px 0 0; font-family: var(--mono); font-size: 12px; }

/* footer */
.foot { padding: 48px 0 56px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--mono); font-size: 12.5px; }
.foot nav a { min-height: 44px; display: inline-flex; align-items: center; }
.foot .disc { font-size: 14px; color: var(--mute); margin: 0; line-height: 1.65; }
.colophon { margin-top: 28px; font-family: var(--mono); font-size: 11px; color: var(--mute); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }

/* mobile dock (sticky CA + Buy) */
.dock { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12.5px; padding: 10px 14px; border-radius: var(--r); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--e-out); z-index: 90; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* crane svg internals */
.crane-svg .facet { stroke: var(--paper); stroke-opacity: .78; stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.crane-svg .crease { stroke: var(--mute); stroke-width: .7; fill: none; vector-effect: non-scaling-stroke; }
.crane-svg .valley { stroke-dasharray: 5 3.5; }
.crane-svg .mountain { stroke-dasharray: 7 2.5 1.5 2.5; }
.crane-svg .arrow { stroke: var(--ver); stroke-width: 1.2; fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.crane-svg .arrowhead { fill: var(--ver); }
.crane-svg .lbl { font-family: var(--mono); font-size: 6.2px; fill: var(--mute); letter-spacing: .06em; }
.crane-svg .ground { stroke: var(--line-2); stroke-width: .8; vector-effect: non-scaling-stroke; }
.crane-svg .drop { fill: var(--ver); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
}
@media (max-width: 860px) {
  :root { --hdr: 56px; }
  .hide-sm { display: none !important; }
  .nav a.l { padding: 12px 8px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "ca" "live" "calc" "more" "cli"; grid-template-rows: none;
    padding-top: 20px;
  }
  .kicker { display: none; }
  h1 { font-size: clamp(36px, 10.5vw, 56px); margin-bottom: 16px; }
  .ca { max-width: none; }
  .ca-note { margin: 8px 0 10px; }
  .h-ca .cta-row { display: none; }
  .h-live { padding: 8px 0 14px; border-top: 0; }
  .live-head { margin-bottom: 4px; font-size: 10px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 0; row-gap: 0; }
  .stats > div { padding: 0 8px 0 0; border-right: 0; }
  .stats dt { font-size: 9.5px; letter-spacing: .04em; }
  .stats dd { font-size: 14px; }
  .mat-note, .contract-line { display: none; }
  .calc-top .dim { display: none; }
  .calc-top { padding: 10px 12px; }
  .calc-body { grid-template-columns: minmax(0, 40%) minmax(0, 60%); align-items: center; }
  .pin-fig { min-width: 0; }
  .calc-read { display: contents; }
  .calc-figure { grid-column: 1; grid-row: 1 / span 2; border-bottom: 0; padding: 6px 4px 0 10px; }
  .calc-figure .crane-svg { max-height: 26svh; }
  .dayline { grid-column: 2; grid-row: 1; padding: 10px 12px 0 8px; align-self: end; }
  .ticks { grid-column: 2; grid-row: 2; margin: 6px 12px 0 8px; align-self: start; }
  .calc-body > .calc-read > label, #c-days, .scale, .share, .coins, .mini { grid-column: 1 / -1; margin-left: 12px; margin-right: 12px; }
  #c-days { width: auto; }
  .big b { font-size: 34px; }
  .lvl { font-size: 20px; }
  .scale { display: none; }
  .share { margin-top: 0; padding-top: 8px; }
  .share b { font-size: 30px; }
  .share small { font-size: 12px; }
  .mini { margin-bottom: 12px; }
  .h-more { margin-top: 24px; }
  .cli { margin: 24px 0 40px; }
  .spec-grid { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
  .viewport { aspect-ratio: 1 / 1; max-height: 420px; }
  .sec { padding: 72px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; }
  .sec-head p { grid-column: 1; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps-grid .pin-col { order: -1; position: sticky; top: var(--hdr); z-index: 5; background: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--line); }
  .pin { position: static; height: auto; max-height: none; }
  .pin-card { padding: 8px 12px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 14px; align-items: center; }
  .pin-fig { grid-column: 2; grid-row: 1; border: 0; padding: 0; flex-direction: column; gap: 2px; }
  .pin-card .crane-svg { grid-row: 1 / 3; grid-column: 1; width: 96px; max-height: none; }
  .pin-cap { grid-column: 2; border: 0; padding: 0; }
  .pin-card svg .lbl, .pin-card .arrow, .pin-card .arrowhead { display: none; }
  .pin-fig > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .pin-fig > span:last-child { display: none; }
  .pin-cap .big b { font-size: 28px; }
  .step { min-height: 0; padding: 40px 0; opacity: 1; }
  .step:first-child { min-height: 0; padding-top: 28px; }
  .cranes-grid { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .two > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .two > div { padding: 22px 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot { padding-bottom: 96px; }
  .dock {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; align-items: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line);
    transition: transform .3s var(--e-out);
  }
  .dock.away { transform: translateY(110%); }
  .dock-ca { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--graphite); border-radius: var(--r); font-family: var(--mono); font-size: 12.5px; cursor: pointer; }
  .dock-ca .k { color: var(--mute); font-size: 10.5px; letter-spacing: .1em; }
  .dock-ca code { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); }
  .dock-ca .copy-l { color: var(--paper); }
  .dock .btn { min-width: 84px; }
  .toast { bottom: 80px; }
}
@media (max-width: 400px) {
  .brand b { letter-spacing: .2em; }
  .nav a.l[href="#how"] { display: none; }
  .copy { min-width: 76px; padding: 0 10px; }
  .ca code { font-size: 13px; padding: 0 10px; }
  .presets button { min-width: 40px; }
  #cranes li.crane { grid-template-columns: 52px minmax(0, 1fr); }
  #cranes .crane-mini svg { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
  .step { opacity: 1; }
}
