/* The Console — section styles. Written fresh; the content scrolls as cards
   over the fixed instrument, and each section is one idea. Mobile rules live
   next to the section they change, once. */

/* ---------- the feed: a column of solid panels over the instrument ---------- */
section, footer { position: relative; pointer-events: none; }
.card {
  pointer-events: auto;
  width: min(var(--col), calc(100% - 32px));
  margin: 0 auto 0 6vw;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 38px;
}
.card-wide { width: min(960px, calc(100% - 32px)); }
section { padding: 12vh 0; }
@media (max-width: 900px) {
  .card { margin: 0 16px; width: auto; padding: 26px 20px; }
  section { padding: 7vh 0; }
}

/* ---------- 1 · hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 0; }
@supports (height: 100svh) { .hero { min-height: 100svh; } }
.hero-block { pointer-events: auto; margin-left: 6vw; max-width: 640px;
  padding: 30px 34px; border-radius: 4px;
  background: linear-gradient(165deg, rgba(4, 18, 26, .66), rgba(4, 18, 26, .3));
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-block h1 { font-size: clamp(30px, 4vw, 56px); line-height: 1.05;
  margin: 0 0 18px; color: #F4FAF9;
  text-shadow: 0 2px 30px rgba(4, 18, 26, .8); }
.hero-block .sub { color: #A9C3CD; margin: 0 0 28px; letter-spacing: .16em; }
.hero-block .sub b { color: var(--data); font-weight: 600; font-size: 12px; }
.cycle-word { display: inline-block; text-align: left;
  transition: opacity .28s ease, transform .28s ease; }
.cycle-word[data-out="true"] { opacity: 0; transform: translateY(-.35em); }
@media (prefers-reduced-motion: reduce) { .cycle-word { transition: none; } }
#pauseBtn { pointer-events: auto; position: absolute; right: 20px;
  bottom: calc(var(--rail-h) + 16px); cursor: pointer; background: transparent;
  color: var(--muted); border: 1px solid var(--line); border-radius: 3px;
  padding: 9px 14px; min-height: 40px; }
#pauseBtn:hover { color: var(--brand-lift); border-color: var(--brand-lift); }
@media (max-width: 900px) {
  .hero-block { margin: 0 16px; }
  .hero-block h1 { font-size: clamp(28px, 8.6vw, 36px); }
  .hero-block .sub { white-space: normal; line-height: 1.8; }
}

/* ---------- 2 · trust ---------- */
.trust { pointer-events: auto; position: relative; display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink-0) 82%, transparent); }
.trust span { flex: 1 1 200px; padding: 16px 20px; text-align: center;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em;
  color: var(--muted); border-right: 1px solid var(--line-soft); }
.trust span:last-child { border-right: none; }
.trust b { color: var(--text); font-size: 15px; margin-right: 6px; }
@media (max-width: 900px) {
  .trust span { flex: 1 1 50%; border-bottom: 1px solid var(--line-soft);
    padding: 13px 10px; }
}

/* ---------- 3 · station ---------- */
.what-card { margin-bottom: 6vh; }
.station-hint { color: var(--muted); font-size: 14.5px; margin: 0; }
.station-hint::before { content: "▸ "; color: var(--data); }

.station { pointer-events: auto; position: relative;
  height: calc(100svh - var(--nav-h) - var(--rail-h));
  min-height: 480px; touch-action: pan-y; }
/* Top padding clears the fixed nav: at the top of a scroll the controls would
   otherwise pass under its blur and read as part of it. */
.station-top { position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: calc(var(--nav-h) + 12px) 16px 0 6vw; pointer-events: none; }
.station-top > * { pointer-events: auto; }
.tabs { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 3px;
  background: color-mix(in srgb, var(--ink-0) 78%, transparent);
  backdrop-filter: blur(8px); overflow-x: auto; max-width: 100%; }
.tab { cursor: pointer; background: transparent; border: none; color: var(--muted);
  padding: 11px 16px; min-height: 42px; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--ink-0); background: var(--brand-lift); }
.tab:hover:not([aria-selected="true"]) { color: var(--text); }
.sub-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.sub-pill { cursor: pointer; font-family: var(--mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  background: color-mix(in srgb, var(--ink-0) 78%, transparent);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  min-height: 36px; }
.sub-pill[aria-selected="true"] { color: var(--data); border-color: var(--data); }
.sub-pill .beta { font-size: 12px; color: var(--muted); text-transform: none; }
.exp-note { color: var(--muted); letter-spacing: .1em;
  text-shadow: 0 1px 8px rgba(4,18,26,.9); }

/* crosshair + reading chip */
.exp-cross { position: absolute; z-index: 4; width: 22px; height: 22px;
  margin: -11px 0 0 -11px; pointer-events: none; }
.exp-cross::before, .exp-cross::after { content: ""; position: absolute;
  background: var(--data); }
.exp-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.exp-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.exp-probe { position: absolute; z-index: 4; transform: translate(-50%, calc(-100% - 16px));
  pointer-events: none; text-align: center; white-space: nowrap;
  background: var(--ink-0); border: 1px solid var(--data); border-radius: 3px;
  padding: 6px 10px; }
.exp-probe[data-below="true"] { transform: translate(-50%, 34px); }
.exp-probe .pv { display: block; font-family: var(--mono); font-size: 15px;
  font-weight: 600; color: var(--data); }
.exp-probe .pk { display: block; font-family: var(--mono); font-size: 12px;
  color: var(--muted); letter-spacing: .06em; }
.exp-hint { position: absolute; z-index: 4; left: 50%; top: 52%;
  transform: translateX(-50%); font-family: var(--mono); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text);
  background: color-mix(in srgb, var(--ink-0) 82%, transparent);
  border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px;
  pointer-events: none; }
.station.touched .exp-hint { display: none; }

/* the station's own readout panel, bottom-left */
.station-panel { position: absolute; z-index: 3; left: 6vw; bottom: 18px;
  width: min(340px, calc(100% - 32px));
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  padding: 18px 20px; }
.exp-value { font-family: var(--mono); font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600; color: var(--data); line-height: 1.1; margin-bottom: 4px; }
.exp-label { color: var(--muted); margin-bottom: 10px; }
.exp-copy { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0 0 12px; }
.exp-legend { display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--muted); }
.exp-legend .ramp { flex: 1; height: 6px; border-radius: 1px; }
.exp-time { margin-top: 10px; color: var(--brand-lift); }

/* gimmick 2 · the wind dial, bottom-right */
.dial { position: absolute; z-index: 3; right: 20px; bottom: 18px;
  width: min(300px, calc(100% - 32px));
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  padding: 16px 18px; }
.dial-head { display: flex; justify-content: space-between; align-items: baseline;
  color: var(--muted); margin-bottom: 10px; }
.dial-head b { font-family: var(--mono); font-size: 17px; color: var(--data); }
.dial input[type="range"] { width: 100%; height: 44px; margin: 0;
  accent-color: var(--brand-lift); cursor: pointer; touch-action: none; }
.dial-scale { display: flex; justify-content: space-between; color: var(--muted);
  margin-top: 2px; }
.dial-note { margin: 10px 0 0; color: var(--muted); letter-spacing: .08em; }

/* still fallback (no WebGL / ?still=1): the frame becomes a framed image */
.station.exp-still-mode { background: var(--ink-1); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }
.exp-still { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; }

@media (max-width: 900px) {
  .station { min-height: 420px; }
  .station-top { padding: calc(var(--nav-h) + 10px) 12px 0; }
  /* All five scales in 390 px, no horizontal scroll to discover. */
  .tab { padding: 11px 8px; letter-spacing: .06em; }
  .station-panel { left: 12px; right: 12px; width: auto; bottom: 12px;
    padding: 14px 16px; }
  .exp-copy { display: none; }        /* one idea per screen: the value */
  .exp-value { font-size: 24px; }
  /* One idea per screen: with the dial open, the dial IS the panel — the
     value lives in the probe chip and the rail. */
  .dial { left: 12px; right: 12px; width: auto; bottom: 12px; }
  .station:has(.dial:not([hidden])) .station-panel { display: none; }
}

/* ---------- 4 · entry ---------- */
.ledger { width: 100%; border-collapse: collapse; margin: 6px 0 26px;
  font-size: 14px; }
.ledger th { font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); text-align: left;
  padding: 0 14px 10px 0; border-bottom: 1px solid var(--line); }
.ledger td { padding: 9px 14px 9px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--muted); font-family: var(--mono); font-size: 13px; }
.ledger .ledger-one { color: var(--text); font-family: var(--body); font-size: 16px;
  font-weight: 600; vertical-align: middle; border-left: 1px solid var(--line);
  padding-left: 18px; border-bottom: 1px solid var(--line); }
.ledger .ledger-one span { font-weight: 400; font-size: 13.5px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.entry-points { list-style: none; margin: 0; padding: 0; }
.entry-points li { padding: 10px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.entry-points b { display: block; color: var(--text); font-family: var(--mono);
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.code { background: var(--ink-0); border: 1px solid var(--line); border-radius: 4px;
  padding: 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  overflow-x: auto; margin: 0; color: var(--text); }
.code .c { color: var(--muted); }
.code .k { color: var(--brand-lift); }
.code .s { color: var(--data); }
.integrations { color: var(--muted); letter-spacing: .06em; margin: 0 0 22px;
  max-width: none; line-height: 1.8; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .ledger td, .ledger th { font-size: 12px; }
  .ledger .ledger-one { font-size: 14.5px; }
}

/* ---------- 5 · doors ---------- */
.index { border-top: 1px solid var(--line); }
.index a { display: flex; align-items: baseline; gap: 18px; padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--text); }
.index a:hover h3 { color: var(--brand-lift); }
.index .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.door-body { flex: 1; min-width: 0; }
.index h3 { transition: color .15s ease; }
.index p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.go { color: var(--brand-lift); white-space: nowrap; }
@media (max-width: 900px) {
  .index a { flex-wrap: wrap; gap: 10px; }
  .go { width: 100%; padding-left: 30px; }
}

/* ---------- quote ---------- */
.quote { margin-top: 0; padding: 26px 38px; }
.quote blockquote { margin: 0 0 10px; font-family: var(--sans); font-size: 18px;
  line-height: 1.5; color: var(--text); max-width: 38em; }
.quote figcaption { font-size: 13.5px; color: var(--muted); }
.quote b { color: var(--text); }

/* ---------- 6 · proof ---------- */
.speeds { list-style: none; display: flex; flex-wrap: wrap; gap: 0;
  margin: 0 0 24px; padding: 0; border: 1px solid var(--line); border-radius: 4px; }
.speeds li { flex: 1 1 110px; padding: 14px 10px; text-align: center;
  border-right: 1px solid var(--line-soft); }
.speeds li:last-child { border-right: none; }
.speeds .v { font-family: var(--mono); font-size: 20px; font-weight: 600;
  color: var(--data); }
.speeds .l { color: var(--muted); margin-top: 3px; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th { font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); text-align: left;
  padding: 0 12px 9px 0; border-bottom: 1px solid var(--line); }
.spec td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--muted); vertical-align: top; line-height: 1.5; }
.spec td:first-child { color: var(--text); white-space: nowrap; }
.stamp { display: inline-block; color: var(--brand-lift);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
  white-space: nowrap; }
.band-line { margin: 22px 0 0; padding: 14px 16px; border-left: 2px solid var(--brand);
  background: var(--ink-0); font-size: 15px; color: var(--muted); max-width: none; }
.band-line b { color: var(--text); }
@media (max-width: 900px) {
  .spec td:first-child { white-space: normal; }
  .spec, .spec td { font-size: 13px; }
}

/* ---------- porthole: the instrument, uninterrupted ---------- */
.porthole { height: 52svh; pointer-events: none; }
@media (max-width: 900px) { .porthole { height: 38svh; } }

/* ---------- 7 · live ---------- */
.query-box { display: flex; gap: 12px; align-items: flex-start;
  background: var(--ink-0); border: 1px solid var(--line); border-radius: 4px;
  padding: 14px 16px; margin: 0 0 16px; }
.query-prompt { font-family: var(--mono); font-weight: 600; color: var(--data); }
.query-text { font-family: var(--mono); font-size: 13px; line-height: 1.6;
  color: var(--text); transition: opacity .3s ease; }
.live-sub { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.live-sub strong { color: var(--text); }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.city-pill { cursor: pointer; color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  min-height: 40px; }
.city-pill[aria-selected="true"] { color: var(--data); border-color: var(--data); }
.live-cap { color: var(--muted); margin: 0 0 14px; }
.monitor { position: relative; border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; margin-bottom: 18px; aspect-ratio: 16 / 9; background: var(--ink-0); }
.monitor img, .monitor iframe { position: absolute; inset: 0; width: 100%;
  height: 100%; object-fit: cover; border: none; }

/* ---------- 8 · price ---------- */
.price-line { color: var(--muted); margin: 0 0 20px; max-width: none; }
.price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* The fade says "this scrolls sideways"; it must go once you have scrolled. */
.price-table-wrap:not([data-scrolled="true"]) {
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
          mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.price-table { width: 100%; border-collapse: collapse; font-size: 14px;
  min-width: 680px; }
.price-table th, .price-table td { text-align: left; padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.price-table th { font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--line); }
.price-table td:first-child { font-family: var(--mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; }
.pt-price td { font-family: var(--mono); font-size: 19px; color: var(--text); }
.pt-price td span { font-size: 12px; color: var(--muted); }
.pt-price td:first-child { font-size: 12px; }
.pt-featured { color: var(--text) !important;
  background: color-mix(in srgb, var(--brand) 10%, transparent); }
.pt-note { font-size: 12px; color: var(--brand-lift); text-transform: none; }
.pt-token b { color: var(--data); font-family: var(--mono); }
.pt-cta td { border-bottom: none; padding-top: 14px; }
.table-note { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; max-width: none; }
.table-note b { color: var(--text); }
.custom-line { display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.custom-line .lbl { color: var(--muted); }
.custom-line p { margin: 4px 0 0; color: var(--text); font-size: 14.5px; }
@media (max-width: 900px) {
  .custom-line { flex-wrap: wrap; }
}

/* ---------- footer ---------- */
footer { padding: 12vh 0 6vh; }
.f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 26px;
  margin-bottom: 28px; }
.f-logo { height: 20px; margin-bottom: 14px; }
.f-about { font-size: 13.5px; line-height: 1.6; }
footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text); margin: 0 0 10px; }
footer .f-grid a { display: block; color: var(--muted); text-decoration: none;
  font-size: 13.5px; padding: 3px 0; }
footer .f-grid a:hover { color: var(--text); }
.supported-by { display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  padding: 18px 0; border-top: 1px solid var(--line-soft); }
.supported-by .lbl { color: var(--muted); }
.supported-by img { height: 22px; width: auto; opacity: .6; filter: grayscale(1) brightness(1.6); }
.f-note { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 900px) {
  .f-grid { grid-template-columns: 1fr 1fr; }
}
