/* Heeeven — shared site styles. Linked by every page. */

/* ════════════════════════════════════════════════════════════════
   SAFARI / WEBKIT COMPATIBILITY LAYER
   Browser-specific fixes that need to win the cascade. Listed first.
   ════════════════════════════════════════════════════════════════ */

/* Safari renders <details><summary> with display:list-item by default
   even when summary's children use flex. Force block so flex children
   (the q-num + q-text spans on the FAQ) layout correctly. */
summary { display: block; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: none; }

/* SVG ring animations — Safari needs the unambiguous user-space origin.
   The CSS rules below set transform-origin: 32px 32px (centre of 64x64
   viewBox) which Safari handles reliably. We also clear any inherited
   transform-box value that Safari might interpret oddly on <g>. */
.heeeven-mark .hv-ring-grp {
  transform-box: view-box;
  transform-origin: 32px 32px;
  transform: translateZ(0); /* promote to its own layer for smooth rotate */
}

/* Force a compositor layer on the sticky header so Safari keeps it crisp
   on rapid scroll. */
header.sticky, .sticky {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Safari's <details> open/close has no built-in transition. Our
   .faq-body fade-in keyframe works in Safari but the parent height
   change is instant — that's correct, accessibility-friendly behaviour. */

/* Safari mobile (iOS) — fix the 100vh that includes the URL bar.
   Use small-viewport units where supported. */
@supports (height: 100svh) {
  .vault, section[role="region"]#hero { min-height: 88svh; }
}

/* Safari sometimes shows hover styles on touch (because of "first tap
   reveals hover"). Force interactive states to only fire on real hover. */
@media (hover: hover) {
  /* Selectors with :hover are already gated by media query if needed.
     Adding this empty block as documentation — actual rules below
     remain unchanged because Safari reads :hover correctly when the
     pointer is fine (mouse). */
}
@media (hover: none) {
  /* Touch devices: turn off hover lifts so cards don't get stuck open */
  .bento-card:hover,
  .precision-cell:hover,
  .btn:hover {
    transform: none !important;
  }
}



/* ════════════════════════════════════════════════════════════════
   ACCENT TOKEN SYSTEM (per audit v6)
   Single brand accent #FF6600. All aliases collapse to one orange
   per the brand's "one accent colour" rule — names kept for refs.
   ════════════════════════════════════════════════════════════════ */
:root {
  --accent-fill:   #FF6600;
  --accent-glow:   #FF6600;
  --accent-subtle: #FF6600;
  --accent-deep:   #FF6600;
  --acc:           #FF6600;
  --bg-elev:       #112240;
  --hr:            #1B2B4A;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

/* Typography helpers */
.num { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; letter-spacing: -0.01em; font-feature-settings: 'tnum' on, 'lnum' on; }
.eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: #8B98AD; }
.display { font-size: clamp(44px, 6.4vw, 72px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; color: #F8F9FA; }
.h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; color: #F8F9FA; }
.h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; color: #F8F9FA; }
.h3 { font-size: 24px; font-weight: 500; line-height: 1.15; color: #F8F9FA; }
.lead { font-size: 18px; line-height: 1.6; color: #F8F9FA; }
.body { font-size: 15px; line-height: 1.65; color: #F8F9FA; }
.small { font-size: 13px; line-height: 1.6; color: #8B98AD; }
.fineprint { font-size: 13px; line-height: 1.6; color: #7E8FA6; }
.hairline { background-color: #1B2B4A; height: 1px; width: 100%; }

/* ─── Skip link — keyboard a11y, hidden until focused ─── */
.skip-link{position:fixed;top:0;left:0;transform:translateY(-120%);z-index:60;background:var(--acc);color:#000;padding:10px 16px;font:600 13px/1 'Inter',sans-serif;border-radius:0 0 4px 0;transition:transform .15s}
.skip-link:focus{transform:translateY(0);outline:2px solid #000;outline-offset:-2px}

/* ─── Top scroll-progress hairline (amber, grows with scroll) ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--accent-fill);
  z-index: 70;
  transition: width 80ms linear;
  pointer-events: none;
}

/* ─── Top ticker bar (live-data atmosphere) ─── */
.ticker-bar {
  border-bottom: 1px solid #1B2B4A;
  background: #0A192F;
  overflow: hidden;
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
}
.ticker-bar::before, .ticker-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-bar::before { left: 0; background: linear-gradient(to right, #0A192F, transparent); }
.ticker-bar::after  { right: 0; background: linear-gradient(to left,  #0A192F, transparent); }
.ticker-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  /* Faster than default — 45s scroll, feels live not lazy. */
  animation: ticker-scroll 45s linear infinite;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #8B98AD;
  will-change: transform;
}
.ticker-track:hover {
  /* Pause on hover so users can read a specific price */
  animation-play-state: paused;
}
.ticker-item { display: inline-flex; align-items: center; gap: 10px; }
.ticker-item .sym { color: #CCD6E0; font-weight: 500; }
.ticker-item .px  { color: #F8F9FA; }
.ticker-item .delta-up { color: #4ADE80; }
.ticker-item .delta-dn { color: #F87171; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* Reduced-motion compromise: a financial ticker conveys live data —
   the motion IS the information. Slow it dramatically rather than
   stopping it, so motion-sensitive users still see prices flow. */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-duration: 180s !important; }
}

/* ─── Hero headline word-reveal ─── */
.word-reveal .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: word-in 700ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: calc(var(--i, 0) * 60ms + 200ms);
}
@keyframes word-in {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .word-reveal .w { opacity: 1; transform: none; animation: none; }
}

/* ─── Bento grid for Three Pillars ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
}
.bento > * { padding: 32px; border: 1px solid #1B2B4A; margin: -1px 0 0 -1px; }
.bento .b-tall { grid-column: span 7; grid-row: span 2; min-height: 380px; }
.bento .b-half { grid-column: span 5; min-height: 188px; }
@media (max-width: 1023px) {
  .bento .b-tall, .bento .b-half { grid-column: span 12; min-height: 0; }
}

/* ─── Sparkline on asset card hover ─── */
.asset-card { position: relative; overflow: hidden; }
.asset-card .spark {
  position: absolute;
  right: 24px;
  bottom: 18px;
  height: 28px;
  width: 80px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 250ms ease-out, transform 250ms ease-out;
  pointer-events: none;
}
.asset-card:hover .spark { opacity: 1; transform: none; }
.asset-card .spark path { stroke: var(--accent-glow); stroke-width: 1.4; fill: none; }
@media (prefers-reduced-motion: reduce) {
  .asset-card .spark { transition: none; }
}

/* ─── Animated counter (avoid layout-shift via tabular-nums) ─── */
.counter { font-variant-numeric: tabular-nums; }

/* Slow ambient drift on the hero ticker */
@keyframes drift { 0%, 100% { opacity: 0.06; } 50% { opacity: 0.10; } }
.ambient-ticker { animation: drift 9s ease-in-out infinite; }

/* Slow breathing pulse on the founder counter dot */
@keyframes counter-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.92); } }
.counter-dot { animation: counter-pulse 2.4s ease-in-out infinite; }

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  .ambient-ticker, .counter-dot { animation: none !important; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

/* Focus visibility */
:focus-visible { outline: 2px solid var(--accent-fill); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible { outline-offset: 3px; }

/* ─── Section reveal (subtle fade-up; honours prefers-reduced-motion) ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── Pullquote: a single typographic moment on quiet pages ─── */
.pullquote {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #F8F9FA;
  max-width: 28ch;
}
.pullquote--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ─── Big amber numerals (principle / step markers) ─── */
.numeral-xl {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: clamp(48px, 6.4vw, 88px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-fill);
  display: inline-block;
}

/* ─── Spec-sheet table treatment (Company Details, Contact, etc.) ─── */
.spec dt {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7E8FA6;
}
.spec dd {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #F8F9FA;
  margin: 0;
}
.spec a { color: #F8F9FA; }
.spec a:hover { color: var(--accent-fill); }
.spec > div { padding-top: 24px; padding-bottom: 24px; border-top: 1px solid #1B2B4A; }
.spec > div:last-child { border-bottom: 1px solid #1B2B4A; }

/* Status dot legend (used on /roadmap) */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; }
.dot-shipped   { background: #4ADE80; }
.dot-progress  { background: #FBBF24; }
.dot-planned   { background: #5E6E85; }
.dot-vote      { background: var(--accent-fill); }
.dot-research  { background: #8B98AD; opacity: 0.6; }

/* ─── Editorial display — for true hero moments (96–128px) ─── */
.display-xl {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(56px, 9.5vw, 128px);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: #F8F9FA;
}
.display-xl em {
  font-style: normal;
  color: var(--accent-fill);
}

/* ─── Section markers — code-style chapter headings ─── */
.section-marker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7E8FA6;
}
.section-marker .num-tag { color: var(--accent-subtle); }
.section-marker .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #1B2B4A, transparent);
}

/* ─── Hero counter — for the founder seats moment (160–240px) ─── */
.giant-num {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 200;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: #F8F9FA;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.giant-num--accent { color: var(--accent-fill); }

/* ─── Bento card base ─── */
.bento-card {
  position: relative;
  border: 1px solid #1B2B4A;
  background: #0A192F;
  padding: 32px;
  transition: border-color 200ms ease-out, background-color 200ms ease-out;
}
.bento-card:hover { border-color: #2A3F5F; background: #0D1F3A; }
.bento-card .bento-eyebrow {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7E8FA6;
}
.bento-card .bento-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #F8F9FA;
  margin-top: 16px;
}
.bento-card .bento-detail {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px;
  color: #8B98AD;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* ─── Subtle ambient ticker for the hero readout ─── */
.live-readout {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  border: 1px solid var(--hr);
  background: var(--bg-elev);
}
.live-readout .lr-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #16263F;
}
.live-readout .lr-row:last-child { border-bottom: 0; }
.live-readout .lr-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7E8FA6;
}
.live-readout .lr-value {
  font-size: 14px;
  color: #F8F9FA;
  font-variant-numeric: tabular-nums;
}
.live-readout .lr-value--gn { color: #4ADE80; }
.live-readout .lr-value--am { color: #FBBF24; }
.live-readout .lr-value--rd { color: #F87171; }

/* Pulsating live dot in the readout header */
@keyframes lr-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.lr-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px rgba(74,222,128,0.55);
  animation: lr-pulse 1.6s ease-in-out infinite;
}

/* ─── Vault block (the "secret" full-viewport moment) ─── */
.vault {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.vault-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(255,102,0,0.06) 0%, rgba(0,0,0,0) 50%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 80px);
  pointer-events: none;
}

/* ─── Cinematic divider rule with corner ticks ─── */
.cinematic-rule {
  position: relative;
  height: 1px;
  background: #1B2B4A;
}
.cinematic-rule::before, .cinematic-rule::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: #2A3F5F;
}
.cinematic-rule::before { left: 0; }
.cinematic-rule::after  { right: 0; }

/* ════════════════════════════════════════════════════════════════
   GLASS BOX — Engineered Precision (2026 design meta)
   "Visible grid lines, monospaced telemetry, raw code snippets,
    liquid glass surfaces, live pulse signals."
   ════════════════════════════════════════════════════════════════ */

/* ─── Glass Box hero grid: faint engineering grid as background ─── */
.glass-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
}
.glass-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255,102,0,0.08) 1px, transparent 1px) 0 0 / 320px 320px,
    linear-gradient(to bottom, rgba(255,102,0,0.08) 1px, transparent 1px) 0 0 / 320px 320px;
}

/* Crosshair anchor — a single subtle alignment marker */
.crosshair {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0.4;
}
.crosshair::before, .crosshair::after {
  content: '';
  position: absolute;
  background: var(--accent-fill);
}
.crosshair::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.crosshair::after  { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }

/* ─── Liquid Glass — frosted-glass surface for floating panels ─── */
.glass {
  background: var(--bg-elev);
  border: 1px solid var(--hr);
}
.glass-thin {
  background: var(--bg-elev);
  border: 1px solid var(--hr);
}

/* ─── Live telemetry strip (replaces static trust line) ─── */
.telemetry {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7E8FA6;
}
.telemetry-item .t-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7E8FA6;
}
.telemetry-item .t-value {
  color: #CCD6E0;
  font-variant-numeric: tabular-nums;
  min-width: 5ch;
}
.telemetry-item .t-value--gn { color: #4ADE80; }
.telemetry-item .t-value--am { color: #FBBF24; }
.telemetry-item .t-value--acc { color: var(--accent-fill); }

/* Subtle pulse on live numerals — flick of luminance, not motion */
@keyframes tele-flick {
  0%, 100% { color: #CCD6E0; }
  50% { color: #F8F9FA; }
}
.telemetry-item .flick { animation: tele-flick 2.6s ease-in-out infinite; }

/* ─── Engineered Precision section: stat slabs with massive numerals ─── */
.precision-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: #1B2B4A;
}
.precision-cell {
  background: #0A192F;
  padding: 32px 28px;
  position: relative;
}
.precision-cell .p-label {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7E8FA6;
}
.precision-cell .p-value {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: #F8F9FA;
  font-variant-numeric: tabular-nums;
  margin-top: 24px;
  display: block;
}
.precision-cell .p-value--accent { color: var(--accent-fill); }
.precision-cell .p-suffix {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 13px;
  color: #7E8FA6;
  margin-left: 6px;
}
.precision-cell .p-foot {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10px;
  color: #7E8FA6;
  margin-top: 18px;
  letter-spacing: 0.1em;
}

/* ─── Code block — raw engineering glimpse ─── */
.code-block {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #CCD6E0;
  background:
    linear-gradient(rgba(255,102,0,0.012), rgba(255,102,0,0.012)),
    #0D1F3A;
  border: 1px solid #1B2B4A;
  padding: 28px 32px;
  overflow-x: auto;
  position: relative;
}
.code-block::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 32px;
  border-bottom: 1px solid #16263F;
  background:
    linear-gradient(to right, rgba(255,102,0,0.06) 0, transparent 60%);
  pointer-events: none;
}
.code-block .cm   { color: #7E8FA6; }            /* comment */
.code-block .kw   { color: var(--accent-fill); }            /* keyword */
.code-block .fn   { color: #FBBF24; }            /* function */
.code-block .str  { color: #4ADE80; }            /* string */
.code-block .num2 { color: #F8F9FA; }            /* number */
.code-block .op   { color: #8B98AD; }            /* operator/punct */
.code-block .gutter {
  color: #2A3F5F;
  display: inline-block;
  width: 2.5ch;
  text-align: right;
  user-select: none;
  margin-right: 1.5ch;
}

/* ─── Status / pulse pill (live indicator) ─── */
.pulse-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px solid rgba(74,222,128,0.25);
  background: rgba(74,222,128,0.06);
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #4ADE80;
  border-radius: 2px;
}
.pulse-pill .lr-live-dot { box-shadow: 0 0 6px rgba(74,222,128,0.7); }

/* Tabular ticker entry that flicks colour on update */
.tick-flick {
  transition: color 280ms ease-out;
}
.tick-flick.on-tick { color: #F8F9FA; }

/* Brief amber flash on the giant precision numerals when a tick lands */
.precision-cell .p-value {
  transition: color 280ms ease-out;
}
.precision-cell .p-value.on-tick {
  color: var(--accent-fill);
}

/* Cinematic rule — line-draw on scroll-into-view (audit polish item) */
.cinematic-rule {
  position: relative;
  height: 1px;
  background: transparent;
}
.cinematic-rule::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,102,0,0.35) 50%,
    transparent 100%
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}
section.section-revealed + .cinematic-rule::after,
section.section-revealed .cinematic-rule::after,
.section-revealed .cinematic-rule::after {
  transform: scaleX(1);
}
.cinematic-rule.is-drawn::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .cinematic-rule::after { transform: scaleX(1); transition: none; }
}

/* ════════════════════════════════════════════════════════════════
   LOGO SYSTEM — Responsive Living Mark
   "Variable · Spatial · Reactive · Motion-defined" (2026 brief)
   ════════════════════════════════════════════════════════════════ */

/* The mark itself — base behaviours */
.heeeven-mark {
  display: inline-block;
  position: relative;
  width: var(--mark-size, 36px);
  height: var(--mark-size, 36px);
  flex-shrink: 0;
  transition:
    transform 320ms cubic-bezier(0.4, 0, 0.2, 1),
    filter   320ms ease-out;
  will-change: transform, filter;
}

/* A subtle ambient amber halo, only when the user invites it */
.heeeven-mark::before {
  content: '';
  position: absolute;
  inset: -8%;
  border-radius: 26%;
  background: radial-gradient(circle, rgba(255,102,0,0.18) 0%, rgba(255,102,0,0) 70%);
  opacity: 0;
  transition: opacity 320ms ease-out;
  pointer-events: none;
}

/* Hover — the lift, the halo, the ring rotation */
a:hover > .heeeven-mark,
.heeeven-mark:hover {
  transform: translateY(-1px) scale(1.04);
}
a:hover > .heeeven-mark::before,
.heeeven-mark:hover::before {
  opacity: 1;
}
a:hover > .heeeven-mark .hv-ring-grp,
.heeeven-mark:hover .hv-ring-grp {
  animation: hv-ring-spin 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transform-origin: 32px 32px;
}
@keyframes hv-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(30deg); } /* one dodecagon vertex over */
}

/* Loading state — the mark IS the spinner (per brief) */
.heeeven-mark[data-state="loading"] .hv-ring-grp {
  animation: hv-ring-load 2.4s linear infinite;
  transform-origin: 32px 32px;
}
@keyframes hv-ring-load {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.heeeven-mark[data-state="loading"] .hv-bars rect {
  animation: hv-bars-pulse 1.4s ease-in-out infinite;
}
@keyframes hv-bars-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Sign-off / success animation — the dopamine pop (per brief) */
.heeeven-mark[data-state="signoff"] {
  animation: hv-signoff 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes hv-signoff {
  0%   { transform: scale(1); filter: drop-shadow(0 6px 14px rgba(0,0,0,0.55)); }
  35%  { transform: scale(1.18); filter: drop-shadow(0 0 24px rgba(255,102,0,0.85)) drop-shadow(0 6px 14px rgba(0,0,0,0.55)); }
  100% { transform: scale(1); filter: drop-shadow(0 1px 0 rgba(255,255,255,0.05)) drop-shadow(0 6px 14px rgba(0,0,0,0.55)); }
}

/* Idle ambient pulse — barely visible breath, sells "alive" without nagging */
.heeeven-mark[data-state="idle-alive"] .hv-bars rect {
  animation: hv-bars-breath 4.8s ease-in-out infinite;
}
@keyframes hv-bars-breath {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.78; }
}

/* Variable sizing — clamp by viewport for true "weight-shifting" */
.heeeven-mark--xs  { --mark-size: 24px; }
.heeeven-mark--sm  { --mark-size: 32px; }
.heeeven-mark--md  { --mark-size: 40px; }
.heeeven-mark--lg  { --mark-size: 56px; }
.heeeven-mark--xl  { --mark-size: clamp(72px, 9vw, 128px); }
.heeeven-mark--hero { --mark-size: clamp(160px, 22vw, 320px); }

/* At very small sizes the inner detail simplifies (per "weight-shifting" brief).
   When the mark is < 28px, the spec highlight reads as noise; hide it. */
@media (max-width: 0px) { /* CSS-only fallback marker; JS handles the dynamic case */ }
.heeeven-mark--xs .hv-bars rect:nth-child(2),
.heeeven-mark--xs .hv-bars rect:nth-child(4) { opacity: 0.85; }

/* Dark/low-light mode — slightly muted ring, consistent with the eco-screen brief */
@media (prefers-color-scheme: dark) {
  .heeeven-mark { /* default theme already dark; keep as is */ }
}

/* Honour reduced-motion — still beautiful, just static */
@media (prefers-reduced-motion: reduce) {
  .heeeven-mark,
  .heeeven-mark::before,
  .heeeven-mark .hv-ring-grp,
  .heeeven-mark .hv-bars rect {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   AUDIT FIXES — addressing the 10 problems from the 2026 critique
   ════════════════════════════════════════════════════════════════ */

/* Smooth scroll — forced with !important so inline overrides + Tailwind utilities can't strip it.
   The audit reported auto on computed; this defends against any stylesheet ordering surprise. */
html, html body {
  scroll-behavior: smooth !important;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html, html body { scroll-behavior: auto !important; }
}
/* Also target the body in case JS sets html.scroll = auto */
:root { scroll-behavior: smooth; }

/* Problem 2 (remaining): consistent section padding, no orphan gaps */
section[role="region"] {
  padding-top: clamp(96px, 10vw, 160px);
  padding-bottom: clamp(96px, 10vw, 160px);
}
section[role="region"] > div:last-child,
section[role="region"] > article:last-child {
  margin-bottom: 0;
}
/* Vault is a min-height block — keep its own padding */
section#vault {
  padding-top: clamp(80px, 8vw, 120px);
  padding-bottom: clamp(80px, 8vw, 120px);
}
/* Hero handles its own min-height + padding via inline classes; suppress the global */
section#hero {
  padding-top: 64px;
  padding-bottom: 0;
}
/* Sign-off section is the brand outro — slightly tighter */
section#sign-off {
  padding-top: clamp(56px, 6vw, 96px);
  padding-bottom: clamp(40px, 4vw, 64px);
}

/* ─── Problem 1: Section depth + ambient bridges between sections ─── */
section[role="region"] {
  position: relative;
  overflow: hidden;
}
/* Ambient depth layer at the top edge of each section — bridges the void.
   Visibility strengthened per audit v3 — must read as a deliberate divider. */
section[role="region"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hr);
  pointer-events: none;
  z-index: 2;
}

/* ─── Problem 4: Alternating background depth — no more flat black ─── */
section[role="region"]:nth-of-type(even) { background-color: #0D1F3A; }
section[role="region"]:nth-of-type(odd)  { background-color: #0A192F; }

/* Telemetry block — green-tinted to signal "live system" */
section#telemetry {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(74, 222, 128, 0.025) 0%, transparent 70%),
    #0D1F3A !important;
}
/* Principles — subtle amber accent at the top */
section#principles {
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,102,0,0.04) 0%, transparent 70%),
    #0D1F3A !important;
}
/* Vault — already has its own bg + radial; preserve it */
section#vault {
  background-color: #0A192F !important;
}

/* ─── Problem 2: Scroll-entry stagger animations (the engagement layer) ─── */
/* Reveal targets exclude .bento-card / .precision-cell so their hover transforms
   don't fight a 700ms parent reveal transition. Cards reveal via wrapper instead. */
section[role="region"] h1,
section[role="region"] h2,
section[role="region"] h3,
section[role="region"] > div > p,
section[role="region"] article,
section[role="region"] .live-readout,
section[role="region"] .code-block,
section[role="region"] [data-stagger] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
section[role="region"].section-revealed h1,
section[role="region"].section-revealed h2,
section[role="region"].section-revealed h3,
section[role="region"].section-revealed > div > p,
section[role="region"].section-revealed article,
section[role="region"].section-revealed .live-readout,
section[role="region"].section-revealed .code-block,
section[role="region"].section-revealed [data-stagger] {
  opacity: 1;
  transform: translateY(0);
}
/* Cards stay opacity-driven on the parent grid wrapper so their interactive
   transforms (hover lift) are never overridden by a stagger transition. */
section[role="region"] .bento, section[role="region"] .precision-grid {
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
section[role="region"].section-revealed .bento,
section[role="region"].section-revealed .precision-grid {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  section[role="region"] *:not(.heeeven-mark *) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── Problem 5: CTA buttons — flat brightness hover, no lift/glow ─── */
.btn {
  position: relative;
  overflow: hidden;
  transition:
    filter 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
/* Primary amber CTA */
.btn.bg-acc:hover {
  filter: brightness(1.1);
}
.btn.bg-acc:hover::after { opacity: 1; }
/* Secondary outlined CTA */
.btn[class*="border-ink-3"]:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255,102,0,0.6);
  color: var(--accent-fill);
}

/* ─── Problem 6: Market tiles — clear hover interactivity (audit-spec hover) ─── */
.bento-card {
  cursor: pointer;
  /* Explicit transition longhand so no stagger reveal can override it */
  transition:
    border-color 220ms cubic-bezier(0.16, 1, 0.3, 1) !important,
    background-color 220ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.bento-card:hover {
  border-color: rgba(255,102,0,0.45) !important;
  background-color: rgba(255,102,0,0.04) !important;
}
.bento-card:hover .bento-eyebrow { color: var(--accent-subtle); }
.bento-card:hover .bento-title { color: #F8F9FA; }
/* Top hairline glow on bento-card hover — "live tile" signal */
.bento-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #FF6600 50%, transparent);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.bento-card:hover::after { opacity: 1; }
/* Bottom hairline glow too — gives the tile a fully framed "active" feel */
.bento-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,102,0,0.4) 50%, transparent);
  opacity: 0;
  transition: opacity 280ms ease 60ms;
  pointer-events: none;
}
.bento-card:hover::before { opacity: 1; }

/* Precision cells get the same lift treatment */
.precision-cell {
  transition: background-color 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.precision-cell:hover {
  background-color: #0C1C35;
  transform: translateY(-1px);
}

/* ─── Problem 7: Fixed section progress (right-side dot navigation) ─── */
.section-progress {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.section-progress .sp-track {
  position: absolute;
  inset: 0;
  width: 1px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.section-progress .sp-fill {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 0;
  background: var(--accent-fill);
  transition: height 80ms linear;
}
.sp-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
  display: block;
}
/* Invisible ≥24px hit area for WCAG 2.5.8 target size — visual dot stays 7px */
.sp-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}
.sp-dot::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F8F9FA;
  background: rgba(0, 0, 0, 0.92);
  padding: 6px 10px;
  border: 1px solid rgba(255,102,0,0.35);
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}
.sp-dot:hover, .sp-dot:focus-visible { background: var(--accent-fill); transform: scale(1.4); }
.sp-dot:hover::before, .sp-dot:focus-visible::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.sp-dot.active::before {
  /* Keep label visible on the active dot for orientation */
  opacity: 0.85;
  transform: translateY(-50%) translateX(0);
  color: var(--accent-subtle);
}
.sp-dot.active {
  background: var(--accent-fill);
  box-shadow: 0 0 10px rgba(255,102,0,0.6);
  transform: scale(1.4);
}
@media (max-width: 1023px) {
  .section-progress { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   WORDMARK — the triple-E becomes a feature, not a typo
   Per audit: tighter tracking, weighted personality, middle-E accent
   ════════════════════════════════════════════════════════════════ */
.wordmark {
  font-family: 'Inter', system-ui, sans-serif;
  display: inline-flex;
  align-items: baseline;
  /* Tracking already tightened on the spans; keep the kerning subtle */
}
/* The three E's get progressively more emphasis toward the centre.
   Reads like a sustained note: e–E–e. The middle E is the brand pulse. */
.wordmark .wm-e1,
.wordmark .wm-e3 {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}
.wordmark .wm-e2 {
  color: var(--accent-fill);
  font-weight: 700;
}
.wordmark--soft .wm-e2 {
  /* Subtler treatment for outro / sign-off contexts */
  color: var(--accent-fill);
}
/* Hover the link → wordmark wakes up */
a:hover > .wordmark .wm-e1,
a:hover > .wordmark .wm-e3 {
  color: #F8F9FA;
}

/* ════════════════════════════════════════════════════════════════
   FOUNDER SEAT COUNTER — milestone-driven visual states
   <body> gets one of: seats-empty / seats-early / seats-momentum /
   seats-late / seats-final / seats-sold-out, plus seats-urgent on
   the last 50 seats. Drives the colour and pulse on the counter.
   ════════════════════════════════════════════════════════════════ */

/* Default state — counter element looks the same as before.
   Late and final states amplify it. Sold-out replaces it. */

/* Late stretch — counter dot brightens, headline picks up amber */
body.seats-late .counter-dot,
body.seats-final .counter-dot {
  background: var(--accent-fill) !important;
}

/* Final 50 seats — pulse the giant numeral */
@keyframes seats-urgent-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(255,102,0,0); }
  50%      { text-shadow: 0 0 24px rgba(255,102,0,0.55); }
}
body.seats-urgent .giant-num {
  animation: seats-urgent-pulse 1.8s ease-in-out infinite;
}
body.seats-urgent [data-seats-headline] {
  color: var(--accent-subtle);
}

/* Sold out — replace the counter visual entirely */
body.seats-sold-out .giant-num {
  color: var(--accent-fill);
  text-shadow: 0 0 32px rgba(255,102,0,0.4);
}
body.seats-sold-out [data-seats-progress-bar] {
  width: 100% !important;
  background: var(--accent-fill) !important;
}
body.seats-sold-out [data-seats-headline] {
  color: var(--accent-fill);
  font-weight: 600;
}

/* Empty state — Founder #001 prompt feels welcoming, not alarming */
body.seats-empty [data-seats-headline] {
  color: var(--accent-subtle);
}

/* Sparkline contrast — sharper stroke + glow per audit v2 */
.hero-sparkline path[stroke] {
  filter: drop-shadow(0 0 3px rgba(255,102,0,0.55));
}
.hero-chart-area {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ════════════════════════════════════════════════════════════════
   FAQ — native <details> styled to match the editorial system
   Used on /founders. Editorial premium, no JS required.
   ════════════════════════════════════════════════════════════════ */
.faq {
  border-top: 1px solid #1B2B4A;
}
.faq-item {
  border-bottom: 1px solid #1B2B4A;
  padding: 0;
  position: relative;
  transition: background-color 200ms ease;
}
.faq-item:hover { background-color: rgba(255,102,0,0.012); }
.faq-item[open] { background-color: rgba(255,102,0,0.018); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.35;
  color: #F8F9FA;
  user-select: none;
  transition: color 180ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-subtle); }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 14px 1px, 1px 14px;
  background-position: center, center;
  background-repeat: no-repeat;
  opacity: 0.6;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
}
.faq-item[open] summary::after {
  /* Plus → minus when open (collapse the vertical bar via transform) */
  background-size: 14px 1px, 0 0;
  opacity: 1;
  color: var(--accent-fill);
}
.faq-item summary .q-num {
  display: inline-block;
  width: 36px;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-subtle);
  align-self: center;
}
.faq-item summary .q-text { flex: 1; }
.faq-item .faq-body {
  padding: 0 0 32px 36px;
  max-width: 720px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #F8F9FA;
  animation: faq-slide 360ms cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item .faq-body p + p { margin-top: 12px; }
.faq-item .faq-body strong { color: #F8F9FA; font-weight: 500; }
.faq-item .faq-body a { color: var(--accent-fill); text-decoration: none; border-bottom: 1px solid rgba(255,102,0,0.4); transition: border-color 180ms ease; }
.faq-item .faq-body a:hover { border-bottom-color: var(--accent-fill); }
@keyframes faq-slide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item .faq-body { animation: none; }
  .faq-item summary::after { transition: none; }
}

/* Hero brand moment — a single dramatic placement of the logo */
.brand-moment {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 0 48px;
}
.brand-moment .heeeven-mark {
  /* slow ambient breath to signal "alive system" */
  animation: hv-mark-breath 6s ease-in-out infinite;
}
@keyframes hv-mark-breath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}
.brand-moment::before, .brand-moment::after {
  content: '';
  position: absolute;
  top: 50%;
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent, #1B2B4A 50%, transparent);
  width: 30%;
}
.brand-moment::before { left: 0; --dir: right; }
.brand-moment::after  { right: 0; --dir: left; }
@media (prefers-reduced-motion: reduce) {
  .brand-moment .heeeven-mark { animation: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   MOBILE FIXES — 390px iPhone 14 audit (2026-05-09)
   Addresses heading clipping, telemetry grid breakage, bento overflow.
   Activates at < 768px (below Tailwind's md breakpoint).
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* Hero headlines — clamp tighter so long words ("actually", "Heeeven",
     "everything", "proprietary", "compromise") fit a 390px viewport. */
  .display-xl { font-size: clamp(34px, 10.5vw, 56px) !important; line-height: 1.02; }
  .display    { font-size: clamp(30px, 9vw, 44px); line-height: 1.06; }
  .h1         { font-size: clamp(26px, 7.2vw, 36px); line-height: 1.10; }
  .h2         { font-size: clamp(22px, 6vw, 28px); line-height: 1.15; }

  /* Allow long single words to break gracefully if they still overflow */
  .display-xl, .display, .h1, .h2 {
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: none;
  }

  /* /04.5 ENGINEERED PRECISION grid — was 12-col with span-3/span-6,
     unreadable on mobile. Force single column, full-width cells. */
  .precision-grid { grid-template-columns: 1fr; }
  .precision-grid > .precision-cell { grid-column: 1 / -1 !important; }
  .precision-cell { padding: 24px 20px; }
  .precision-cell .p-value { font-size: clamp(34px, 10vw, 48px); margin-top: 12px; }
  .precision-cell .p-label { letter-spacing: 0.18em; }
  .precision-cell .p-foot  { margin-top: 12px; }

  /* Hero TELEMETRY strip — already flex-wraps but items need to break too */
  .telemetry { gap: 12px 18px; font-size: 10px; }
  .telemetry-item { gap: 6px; flex-wrap: wrap; }
  .telemetry-item .t-label { letter-spacing: 0.14em; }
  .telemetry-item .t-value { min-width: 0; }

  /* BENTO CARDS — tighter padding so titles fit at 390px even before the
     1-col stack kicks in via grid-cols-1 markup change */
  .bento-card { padding: 22px 18px; }
  .bento-card .bento-title { font-size: 19px; margin-top: 12px; }
  .bento-card .bento-detail { font-size: 10px; line-height: 1.5; }

  /* Code-block (raw output sample) — let it scroll horizontally rather
     than overflow the viewport */
  .code-block { font-size: 11px; padding: 20px 18px; }

  /* Pullquote shouldn't be huge on small screens */
  .pullquote { font-size: clamp(20px, 5.4vw, 28px) !important; line-height: 1.3; }

  /* Lead paragraph sizing */
  .lead { font-size: 16px; line-height: 1.55; }

  /* Reduce massive hero counter on founders page */
  .giant-num { font-size: clamp(80px, 22vw, 140px); }

  /* Markets bento — force single column at < md, override any col-span-N
     children that would otherwise extend the grid into an implicit 2-col
     layout (this was the bug Sonnet's 2026-05-10 audit caught: Forex and
     Indices had col-span-2 at all breakpoints, which extended the grid
     and pushed Crypto / Stocks / Futures off-screen on iOS). */
  .markets-bento { grid-template-columns: 1fr !important; }
  .markets-bento > * { grid-column: 1 / -1 !important; }
}

/* ════════════════════════════════════════════════════════════════
   WAITLIST FORM — /workstation
   Premium-instrument feel: navy fields, single orange focus signal.
   Uses the established token palette only.
   ════════════════════════════════════════════════════════════════ */
.wl-field { display: block; }
.wl-field + .wl-field { margin-top: 20px; }
.wl-label {
  display: block;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8B98AD;
  margin-bottom: 9px;
}
.wl-label .opt { color: #7E8FA6; text-transform: none; letter-spacing: 0.04em; }
.wl-input,
.wl-select {
  width: 100%;
  background: #112240;
  border: 1px solid #1B2B4A;
  border-radius: 4px;
  padding: 13px 16px;
  color: #F8F9FA;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.wl-input::placeholder { color: #8B98AD; }
.wl-input:hover,
.wl-select:hover { border-color: #2A3F5F; }
.wl-input:focus,
.wl-select:focus {
  outline: none;
  border-color: #FF6600;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}
/* Native select → custom monoline caret, placeholder option dimmed */
.wl-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B98AD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.wl-select:required:invalid { color: #7E8FA6; }
.wl-select option { color: #F8F9FA; background: #0A192F; }
.wl-submit { width: 100%; justify-content: center; }
.wl-submit:disabled { opacity: 0.6; cursor: progress; }
/* Inline error */
.wl-error {
  margin-top: 14px;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #F87171;
}
/* Success panel — replaces the form on submit */
.wl-success {
  border: 1px solid rgba(255, 102, 0, 0.35);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 102, 0, 0.06) 0%, transparent 70%),
    #112240;
  border-radius: 6px;
  padding: 40px 32px;
}
.wl-success .wl-check {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 102, 0, 0.4);
  background: rgba(255, 102, 0, 0.08);
  color: #FF6600;
  margin-bottom: 22px;
}
/* Monoline spec icons — single stroke, inherit colour (per icon brief) */
.wl-spec-icon {
  width: 28px; height: 28px;
  color: #FF6600;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

