/* litres.ai — pre-launch page.
   A single night scene: it looks the same in light and dark mode. */

:root {
  --ink: #e9ecea;
  --muted: #b3bcbf;
  --faint: #7f888c;
  --night: #0e1113;
  --panel: #15191c;
  --line: #2c3337;
  --yellow: #f6c22c;
  --yellow-btn: #f2b705;
  --dark: #14181b;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(120% 70% at 75% 0%, #1d2429 0%, rgba(29, 36, 41, 0) 60%),
    var(--night);
  background-attachment: fixed;
}
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
[hidden] { display: none !important; }

.cs-inner {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: calc(32px + env(safe-area-inset-top, 0px)) calc(32px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px 56px;
  align-items: center;
}
.cs-copy { display: grid; gap: 22px; align-content: center; }

.cs-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.cs-brand svg { width: 28px; height: 28px; flex: none; }
.cs-brand .tld { color: #8e979b; font-weight: 600; }

.cs-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(4.2rem, 11vw, 8.6rem);
  line-height: 0.84;
  letter-spacing: -0.015em;
}
.cs-title span { display: block; color: var(--yellow); text-shadow: 0 0 36px rgba(246, 194, 44, 0.25); }
.cs-lede { font-size: 1.18rem; color: var(--muted); max-width: 30em; }

.cs-readout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--yellow);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
}
.cs-readout-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.cs-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 0.95rem/1 var(--font-body);
  padding: 13px 18px;
  border-radius: 9px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-accent { background: var(--yellow-btn); color: var(--dark); }
.btn-accent:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #3d4549; }
.btn-ghost:hover { background: #1b2023; }
.cs-foot { color: var(--faint); font-size: 0.86rem; }

.cs-scene { display: flex; justify-content: center; align-items: center; min-width: 0; }
.cs-svg { display: block; width: 100%; max-width: 460px; height: auto; max-height: calc(100dvh - 64px); }

/* rig drawing */
.cs-star { fill: var(--ink); opacity: 0.55; animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.12; } }
.rig-leg { fill: none; stroke: #c9d0d3; stroke-width: 2; stroke-linejoin: round; }
.rig-brace { fill: none; stroke: #8e999e; stroke-width: 1; }
.cs-cable { stroke: #aab3b6; stroke-width: 1; }
.cs-kit rect { fill: #2a3136; stroke: #5b666b; stroke-width: 1; }
.cs-kit .cs-window { fill: var(--yellow); fill-opacity: 0.75; stroke: none; }
.cs-line { fill: none; stroke: #5b666b; stroke-width: 1.4; }
.cs-seam { stroke: #000; stroke-opacity: 0.35; stroke-width: 1; }
.cs-oil { fill: var(--yellow); }
.cs-tick { stroke: var(--ink); stroke-opacity: 0.45; stroke-width: 1; }
.cs-tick-label, .cs-layer {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  fill: var(--ink);
  fill-opacity: 0.6;
}
.cs-layer { text-anchor: end; text-transform: uppercase; }
.cs-layer-launch { fill: var(--yellow); fill-opacity: 1; font-weight: 700; font-size: 10px; }

/* hero */
.hero { position: relative; }
.cs-status { display: flex; gap: 10px; flex-wrap: wrap; }
.cs-readout-count { color: var(--ink); }
.cs-readout-count b { color: var(--yellow); font-weight: 700; }
.dig {
  position: absolute;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--faint);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dig svg { width: 18px; height: 18px; animation: nudge 1.8s ease-in-out infinite; }
.dig:hover { color: var(--yellow); }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* Phones: logo, then the whole rig, then the words. */
@media (max-width: 760px) {
  .cs-inner { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-inline: 16px; padding-block: calc(16px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)); }
  .cs-copy { display: contents; }
  .cs-brand { order: 0; align-self: flex-start; }
  .cs-scene { order: 1; }
  .cs-title, .cs-lede, .cs-status, .cs-actions { order: 2; }
  .dig { display: none; }
  .cs-title { font-size: clamp(3.3rem, 16vw, 4.6rem); }
  .cs-lede { font-size: 1.05rem; }
  .cs-svg { height: min(46vh, 440px); width: auto; max-width: 100%; aspect-ratio: 360 / 520; }
}



/* ================= ticker ================= */
.ticker {
  background: var(--yellow-btn);
  color: var(--dark);
  overflow: hidden;
  border-block: 2px solid var(--dark);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-set { display: flex; align-items: center; gap: 22px; padding: 11px 11px; white-space: nowrap; }
.ticker-set i { font-style: normal; font-size: 0.6rem; opacity: 0.6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ================= sections: the page goes underground ================= */
.sec {
  position: relative;
  padding-block: 96px;
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.sec::before {
  /* faint rock grain */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1.4px);
  background-size: 14px 11px;
  pointer-events: none;
}
.sec > * { position: relative; }
.sec-peek { background: #17140f; }
.sec-badges { background: #1b1712; }
.sec-log { background: #15171a; }
.sec-launch {
  background:
    radial-gradient(70% 55% at 50% 100%, rgba(246, 194, 44, 0.2), rgba(246, 194, 44, 0) 70%),
    #0f0d0a;
  padding-bottom: 120px;
}
.sec-wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 760px) {
  .sec { padding-block: 64px; }
  .sec-wrap { padding-inline: 16px; }
}

.sec-head { display: grid; gap: 16px; align-content: start; }
.sec-head-wide { max-width: 44em; margin-bottom: 36px; }
.sec-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-eyebrow span {
  color: var(--dark);
  background: var(--yellow);
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
}
.sec h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.sec-lead { color: var(--muted); font-size: 1.1rem; max-width: 34em; }

/* ================= sneak peek ================= */
.peek-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px 56px;
  align-items: start;
}
.peek-grid .sec-head { position: sticky; top: 32px; }
@media (max-width: 900px) {
  .peek-grid { grid-template-columns: 1fr; }
  .peek-grid .sec-head { position: static; }
}
.peek-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.peek-points li { display: flex; gap: 10px; align-items: baseline; }
.peek-points li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); flex: none; transform: translateY(-1px); }
.peek-points b { color: var(--ink); font-weight: 600; }

.demo {
  background: #111416;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 12px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 6px rgba(255, 255, 255, 0.02);
}
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.demo-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px dashed rgba(246, 194, 44, 0.5);
  padding: 4px 8px;
  border-radius: 6px;
}
.demo-area { font-size: 0.86rem; color: var(--muted); }

/* price sign */
.sign {
  background: #0a0c0d;
  color: var(--yellow);
  border-radius: 12px;
  padding: 14px 18px 12px;
  box-shadow: inset 0 0 0 1px #23292c;
  position: relative;
  overflow: hidden;
}
.sign::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
  background-size: 6px 6px;
  pointer-events: none;
}
.sign-top, .sign-foot {
  display: flex;
  justify-content: space-between;
  gap: 4px 12px;
  flex-wrap: wrap;
}
.sign-top {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8e979b;
  border-bottom: 1px solid #23292c;
  padding-bottom: 8px;
}
.sign-grade { color: var(--yellow); }
.sign-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 8px;
}
.sign-price .p-unit { font-family: var(--font-mono); font-size: 0.8rem; color: #8e979b; padding-bottom: 10px; }
.sign-foot { margin-top: 8px; padding-top: 8px; border-top: 1px solid #23292c; color: #d9dfe1; font-size: 0.9rem; }
.sign-foot .muted { color: #8e979b; }

/* rolling digits */
.odo {
  display: inline-flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.4rem, 9vw, 6.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 22px rgba(246, 194, 44, 0.3);
  font-variant-numeric: tabular-nums;
}
.odo-d { display: inline-block; height: 1em; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1); }
.odo-strip span { display: block; height: 1em; line-height: 1em; text-align: center; }
.odo-tenth { font-size: 0.48em; margin-left: 0.04em; margin-top: 0.1em; }
.odo-dot { font-size: 0.48em; margin-top: 0.1em; }

/* segmented controls */
.demo-controls { display: flex; gap: 8px 10px; flex-wrap: wrap; justify-content: space-between; }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: #0a0c0d; border: 1px solid var(--line); border-radius: 10px; }
.seg button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #8e979b;
  font: 600 0.88rem/1 var(--font-body);
  padding: 8px 11px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}
.seg button .oct { font-family: var(--font-mono); font-size: 0.68rem; opacity: 0.7; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: #232a2e; color: var(--ink); box-shadow: inset 0 0 0 1px #3d4549; }
@media (max-width: 520px) {
  .demo-controls .seg { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .demo-controls .seg button { justify-content: center; padding: 9px 4px; }
  #dmGrades button { flex-direction: column; align-items: center; gap: 3px; }
}

/* station rows */
.dm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dm-row {
  background: #181c1f;
  border: 1px solid #262d31;
  border-radius: 11px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  will-change: transform;
}
.dm-row.is-cheapest { border-color: rgba(82, 198, 138, 0.55); box-shadow: inset 3px 0 0 #52c68a; }
.dm-row.is-stale .dm-price { color: #6d777b; }
.dm-row.is-enter { animation: rowIn 0.45s ease-out; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
.dm-name { font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dm-rank {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #15301f;
  color: #52c68a;
  padding: 2px 6px;
  border-radius: 4px;
}
.dm-addr { color: #8e979b; font-size: 0.86rem; }
.dm-addr b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); font-size: 0.8rem; white-space: nowrap; }
.dm-price {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.dm-price small { font-size: 0.5em; vertical-align: 0.7em; }
.dm-trust { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 7px; font-size: 0.8rem; color: #8e979b; }
.dm-stale { color: #e59a55; background: #3a2615; font-weight: 700; padding: 2px 8px; border-radius: 999px; }

/* badges (shared) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
  justify-self: start;
}
.badge svg { width: 13px; height: 13px; flex: none; }
.badge.src-live { background: #52c68a; color: #0c1a12; }
.badge.src-photo { background: #15301f; color: #52c68a; box-shadow: inset 0 0 0 1px #52c68a; }
.badge.src-owner { background: #1e2326; color: var(--ink); box-shadow: inset 0 0 0 1px #4a5358; }
.badge.src-driver { color: #9aa3a6; border: 1px dashed #4a5358; }

/* ================= badge tiers ================= */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: rgba(10, 12, 13, 0.55);
  border: 1px solid #2c3337;
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tier:hover { transform: translateY(-3px); border-color: #4a5358; }
.tier p { color: var(--muted); font-size: 0.95rem; }
.tier-rank { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.rules {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 28px;
  border-top: 1px dashed #3a3f42;
  padding-top: 24px;
}
.rules p { color: var(--muted); font-size: 0.95rem; }
.rules b { color: var(--ink); display: block; margin-bottom: 2px; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* ================= drill log ================= */
.log-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px 56px; align-items: start; }
@media (max-width: 900px) { .log-grid { grid-template-columns: 1fr; } }
.log { position: relative; padding-left: 58px; --p: 0%; }
.log-rail {
  position: absolute;
  left: 18px;
  top: 6px;
  bottom: 6px;
  width: 10px;
  border-radius: 5px;
  background: #0a0b0c;
  box-shadow: inset 0 0 0 1px #2c3337;
}
.log-fill {
  position: absolute;
  left: 3px;
  width: 4px;
  top: 0;
  height: var(--p);
  border-radius: 2px;
  background: linear-gradient(#838c90, var(--yellow));
  transition: height 2.4s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.log-bit {
  position: absolute;
  left: 50%;
  top: var(--p);
  width: 22px;
  height: 21px;
  transform: translate(-50%, -30%);
  transition: top 2.4s cubic-bezier(0.3, 0.7, 0.2, 1);
  filter: drop-shadow(0 0 8px rgba(246, 194, 44, 0.45));
}
.log-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.log-list li {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 4px 16px;
  background: rgba(10, 12, 13, 0.5);
  border: 1px solid #2c3337;
  border-radius: 12px;
  padding: 14px 16px;
}
.log-list li::before {
  /* marker on the rail */
  content: "";
  position: absolute;
  left: -40px;
  top: 20px;
  width: 12px;
  height: 2px;
  background: #4a5358;
}
.log-depth { font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); padding-top: 3px; }
.log-list h3 {
  margin: 0 0 2px;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.log-list h3 em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
}
.log-list p { color: var(--muted); font-size: 0.95rem; }
.log-list .is-done .log-depth { color: var(--yellow); }
.log-list .is-done h3 em { background: var(--yellow); color: var(--dark); }
.log-list .is-done::before { background: var(--yellow); }
.log-list .is-now { border-color: rgba(246, 194, 44, 0.55); background: rgba(246, 194, 44, 0.06); }
.log-list .is-now .log-depth { color: var(--yellow); }
.log-list .is-now h3 em { color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); animation: pulse 1.4s ease-in-out infinite; }
.log-list .is-now::before { background: var(--yellow); }
.log-list .is-next h3 em { color: var(--faint); border: 1px dashed #4a5358; }
@media (max-width: 520px) {
  .log { padding-left: 44px; }
  .log-rail { left: 12px; }
  .log-list li { grid-template-columns: 1fr; }
  .log-list li::before { left: -32px; }
}

/* ================= launch layer ================= */
.countdown { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.cd-unit {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 84px;
  background: #0a0c0d;
  border: 1px solid #2c3337;
  border-radius: 12px;
  padding: 12px 10px 10px;
}
.cd-unit b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(246, 194, 44, 0.3);
}
.cd-unit span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

.launch-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
@media (max-width: 860px) { .launch-grid { grid-template-columns: 1fr; } }
.launch-card {
  background: rgba(14, 17, 19, 0.85);
  border: 1px solid #2c3337;
  border-radius: 16px;
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
}
.launch-card h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.launch-card > p { color: var(--muted); }
.launch-kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow) !important; }
.launch-form { justify-items: stretch; }
.launch-form .btn { justify-self: start; border: 0; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field input {
  font: 400 1rem/1.4 var(--font-body);
  color: var(--ink);
  background: #0a0c0d;
  border: 1px solid #3d4549;
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
}
.field input::placeholder { color: #5f686c; }
.field input:focus { outline: 2px solid var(--yellow); outline-offset: 0; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: #e59a55; background: #2a1d10; }
.form-status { padding: 11px 13px; border-radius: 9px; font-weight: 600; font-size: 0.92rem; }
.form-status.ok { background: #15301f; color: #52c68a; }
.form-status.err { background: #3a2615; color: #e59a55; }

/* ================= footer ================= */
.foot { background: #0b0908; border-top: 1px solid rgba(0, 0, 0, 0.6); padding-block: 24px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--faint); font-size: 0.88rem; }
.foot-row { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }

/* ================= depth gauge (wide screens only) ================= */
.gauge { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); height: 52vh; z-index: 10; pointer-events: none; }
.gauge-rail { position: relative; height: 100%; width: 3px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; }
.gauge-fill { position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--yellow); border-radius: 2px; }
.gauge-tick {
  position: absolute;
  right: 10px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: rgba(233, 236, 234, 0.35);
  white-space: nowrap;
}
.gauge-tick::after { content: ""; position: absolute; right: -10px; top: 50%; width: 7px; height: 1px; background: rgba(255, 255, 255, 0.3); }
.gauge-tick.is-launch { color: var(--yellow); }
.gauge-mark { position: absolute; left: 50%; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px #0e1113, 0 0 12px rgba(246, 194, 44, 0.6); transform: translate(-50%, -50%); }
.gauge-mark span {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--dark);
  background: var(--yellow);
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
@media (max-width: 1319px) { .gauge { display: none; } }

/* ================= motion off ================= */
@media (prefers-reduced-motion: reduce) {
  .cs-star, .cs-readout-dot, .dig svg, .log-list .is-now h3 em { animation: none; }
  .ticker-track { animation: none; }
  .odo-strip, .log-fill, .log-bit, .tier { transition: none; }
  .dm-row.is-enter { animation: none; }
}

/* ================= sign-up forms ================= */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field .opt { font-weight: 400; color: var(--faint); font-size: 0.78rem; margin-left: 4px; }
.form-note { color: var(--faint) !important; font-size: 0.82rem; line-height: 1.45; }
.form-status.note { background: #1e2326; color: var(--ink); box-shadow: inset 0 0 0 1px #3d4549; }
.form-status strong { display: block; margin-bottom: 2px; }
.launch-grid { align-items: stretch; }
#notify.is-sent .form-grid, #notify.is-sent .form-note, #notify.is-sent button { display: none; }
html { scroll-behavior: smooth; }
#notify, #claim { scroll-margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
