/* NavStak — Boarding / marketing homepage
   Tokens from brand.css (navy / electric green / charcoal / orange) */

:root {
  --bg-top: rgba(4, 10, 18, 0.94);
  --topbar-h: 56px;
  --max: 1180px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

body.boarding {
  background:
    radial-gradient(1000px 480px at 12% -8%, rgba(0, 31, 63, 0.85), transparent 55%),
    radial-gradient(800px 420px at 92% 5%, rgba(0, 255, 159, 0.09), transparent 48%),
    radial-gradient(600px 300px at 50% 100%, rgba(255, 77, 0, 0.04), transparent 40%),
    var(--bg);
}

a { color: var(--blue-soft); text-decoration: none; }
a:hover { color: var(--green); }
button, input, select { font-family: inherit; }
button { cursor: pointer; }
code { font-size: 0.85em; color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.48rem 0.85rem;
  text-decoration: none;
}
.btn:hover { border-color: rgba(0, 255, 159, 0.35); color: var(--text); }
.btn.sm { padding: 0.38rem 0.7rem; font-size: 0.75rem; }
.btn.block { width: 100%; }
.btn.primary {
  background: linear-gradient(180deg, #0a5cad, #001f3f);
  border-color: rgba(0, 255, 159, 0.5);
  color: #f0fdf8;
  box-shadow: 0 0 16px rgba(0, 255, 159, 0.12);
}
.btn.primary:hover {
  background: linear-gradient(180deg, #0d6fd4, #0a3a66);
  border-color: var(--green);
  color: #fff;
}
.btn.ghost {
  background: transparent;
  color: var(--blue-soft);
}
.btn.ghost:hover {
  color: var(--green);
  border-color: rgba(0, 255, 159, 0.3);
}
.btn.xs {
  padding: 0.28rem 0.5rem;
  font-size: 0.7rem;
  border-radius: 6px;
}

.field-label {
  display: block;
  margin: 0.55rem 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.field-input, .field-select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #061018;
  color: var(--text);
  padding: 0.55rem 0.65rem;
  font-size: 0.88rem;
}
.field-input:focus, .field-select:focus {
  outline: none;
  border-color: rgba(0, 255, 159, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 255, 159, 0.1);
}

/* Layout */
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.1rem;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-sub {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.link-more {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--green);
}
.link-more:hover { color: #fff; }
.center-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}
.center-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  padding: 2.25rem 0 2.5rem;
}
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.1rem;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2rem;
  align-items: start;
}
/* Hero: transparent icon mark (≈140–200px tall) */
.hero-copy .brand-logo-full {
  height: clamp(8.75rem, 28vw, 12.5rem);
  width: auto;
  max-width: min(100%, 16.5rem);
  aspect-ratio: 1.32 / 1;
  margin: 0 0 0.55rem;
  background: transparent;
  border-radius: 0;
}
@media (max-width: 640px) {
  .hero-copy .brand-logo-full {
    height: clamp(7.5rem, 36vw, 10rem); /* ~120–160px on phones */
    max-width: min(100%, 13rem);
  }
}
.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-eyebrow strong {
  color: var(--green);
  font-weight: 800;
  text-shadow: 0 0 12px var(--green-glow);
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #5eb0e8 0%, #00ff9f 50%, #00c97e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 34rem;
}
.hero-lead strong { color: var(--text); font-weight: 600; }
.hero-pitch {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--navy-soft);
  max-width: 34rem;
  line-height: 1.45;
  font-weight: 500;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.hero-ctas .btn.primary {
  min-height: 2.65rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}
.hero-bullets {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hero-bullets li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
.hero-bullets li strong { color: var(--text); }
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 255, 159, 0.18);
}
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}
.trust-pill {
  border: 1px solid var(--line);
  background: rgba(0, 31, 63, 0.45);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  min-width: 5.5rem;
}
.trust-n {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: var(--green);
}
.trust-l {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* Auth card */
.hero-card {
  border: 1px solid rgba(0, 255, 159, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(0, 31, 63, 0.75) 0%, transparent 48%),
    linear-gradient(200deg, rgba(0, 255, 159, 0.06), transparent 40%),
    var(--bg-panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 255, 159, 0.05);
  padding: 1.1rem 1.15rem 1.2rem;
}
.hero-card-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.auth-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 10px;
  background: #040a12;
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
}
.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem;
  border-radius: 8px;
}
.auth-tab.is-on {
  background: rgba(0, 255, 159, 0.12);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 159, 0.2);
}
.auth-panel { display: none; }
.auth-panel.is-on { display: block; }
.auth-hint {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.auth-msg {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--amber);
}
.auth-msg.ok { color: var(--green); }
.auth-msg.err { color: var(--red); }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.95rem 0 0.75rem;
  color: var(--dim);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-legal {
  margin: 0.75rem 0 0;
  font-size: 0.68rem;
  color: var(--dim);
  line-height: 1.4;
}
.verify-box {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line-soft);
}

/* —— Mission dashboard product shot —— */
.dash-preview {
  padding: 0.25rem 0 2.75rem;
}
.dash-preview-head {
  align-items: center;
}
.mission-shot {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 159, 0.22);
  background: #050b12;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 31, 63, 0.6),
    0 0 48px rgba(0, 255, 159, 0.06);
}
.mission-shot-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
  background: #0a1520;
  border-bottom: 1px solid var(--line);
}
.mission-shot-dots {
  display: inline-flex;
  gap: 0.28rem;
}
.mission-shot-dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #2c3e50;
  display: block;
}
.mission-shot-dots i:nth-child(1) { background: #ff5f57; }
.mission-shot-dots i:nth-child(2) { background: #febc2e; }
.mission-shot-dots i:nth-child(3) { background: #28c840; }
.mission-shot-url {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--dim);
  background: #061018;
  border-radius: 6px;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--line-soft);
  letter-spacing: 0.02em;
}
.mission-shot-badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(0, 255, 159, 0.35);
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
  background: rgba(0, 255, 159, 0.08);
}
.mission-shot-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 31, 63, 0.55);
}
.mission-shot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.mission-shot-brand .brand-wordmark { font-size: 0.78rem; }
.mission-shot-brand .portal-mark,
.mission-shot-brand .brand-mark {
  height: 1.125rem; /* 18px — matches shot chrome scale */
  width: auto;
  aspect-ratio: 1.32 / 1;
  background: transparent;
  border-radius: 0;
}
.mission-shot-brand .portal-mark img,
.mission-shot-brand .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-brand-block {
  max-width: 14rem;
}
.footer-brand-block .brand-logo-full--footer {
  height: 3.5rem;
  width: auto;
  max-width: 4.5rem;
}
.mission-shot-telem {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.mission-shot-telem span {
  font-size: 0.62rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 0.22rem 0.4rem;
}
.mission-shot-telem span em {
  display: block;
  font-style: normal;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}
.mission-shot-telem span.is-on {
  border-color: rgba(0, 255, 159, 0.35);
  color: var(--green);
}
.mission-shot-actions {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.mission-shot-nav {
  margin-left: 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: 0.02em;
}
.mission-shot-body {
  display: grid;
  grid-template-columns: minmax(168px, 0.9fr) minmax(0, 1.55fr) minmax(168px, 0.85fr);
  min-height: 420px;
  max-height: 520px;
}
.ms-rail {
  padding: 0.5rem 0.45rem 0.65rem;
  background: linear-gradient(180deg, #0a1520, #070f18);
  overflow: hidden;
  min-width: 0;
}
.ms-left { border-right: 1px solid var(--line); }
.ms-right { border-left: 1px solid var(--line); }
.ms-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.ms-rail-title {
  margin: 0;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.ms-meta {
  font-size: 0.55rem;
  color: var(--dim);
  font-weight: 600;
}
.ms-intel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}
.ms-intel div {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.3rem 0.35rem;
  background: rgba(0, 0, 0, 0.25);
}
.ms-intel em {
  display: block;
  font-style: normal;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}
.ms-intel b { font-size: 0.78rem; font-weight: 800; }
.ms-focus {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  padding: 0.35rem;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 31, 63, 0.35);
}
.ms-focus-name { margin: 0; font-size: 0.75rem; font-weight: 800; }
.ms-focus-tick { margin: 0.05rem 0 0; font-size: 0.55rem; color: var(--dim); font-weight: 600; }
.ms-board { display: flex; flex-direction: column; gap: 0.12rem; }
.ms-row {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1.4fr) 2.1rem 1.4rem 2rem;
  gap: 0.15rem;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 0.2rem 0.15rem;
  border-radius: 5px;
  color: var(--muted);
  align-items: center;
}
.ms-row.head {
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}
.ms-row.is-on {
  background: rgba(0, 255, 159, 0.08);
  color: var(--text);
  border: 1px solid rgba(0, 255, 159, 0.15);
}
.ms-pair {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
.ms-pair b { font-size: 0.6rem; }
.ms-row .chip {
  font-size: 0.5rem;
  font-weight: 800;
  text-align: center;
  border-radius: 999px;
  padding: 0.1rem 0.15rem;
  background: rgba(0, 255, 159, 0.12);
  color: var(--green);
}
.ms-row .chip.mute {
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--line);
}
.coin-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #0a1520;
  vertical-align: middle;
}
.coin-icon.sm { width: 16px; height: 16px; }

.ms-center {
  padding: 0.55rem 0.65rem 0.7rem;
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(0, 255, 159, 0.05), transparent 55%),
    #060d14;
  min-width: 0;
  overflow: auto;
}
.ms-eq-lab {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.ms-eq-logo {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}
.ms-eq-val {
  margin: 0.15rem 0 0.1rem;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.ms-eq-val span { font-size: 0.72rem; font-weight: 700; margin-left: 0.3rem; }
.ms-eq-sub {
  margin: 0 0 0.5rem;
  font-size: 0.62rem;
  color: var(--dim);
}

/* Autopilot widget */
.ms-auto {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 31, 63, 0.4);
  padding: 0.55rem 0.6rem;
  margin-bottom: 0.5rem;
}
.ms-auto-top {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.ms-status {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.ms-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.ms-title {
  margin: 0.12rem 0 0;
  font-size: 0.88rem;
  font-weight: 800;
}
.ms-decision {
  margin: 0.15rem 0 0;
  font-size: 0.65rem;
  color: var(--muted);
  max-width: 16rem;
}
.ms-auto-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem;
}
.ms-field {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 5.5rem;
}
.ms-field > span:first-child {
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.ms-select {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
  background: #061018;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.32rem 0.45rem;
  min-width: 5.8rem;
}
.ms-auto-btns {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  align-items: center;
}
.ms-btn {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.32rem 0.5rem;
  border-radius: 6px;
  background: linear-gradient(180deg, #0a5cad, #001f3f);
  border: 1px solid rgba(0, 255, 159, 0.35);
  color: #f0fdf8;
  white-space: nowrap;
}
.ms-btn.ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
.ms-auto-telem {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.28rem;
}
.ms-auto-telem li {
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 0.28rem 0.35rem;
  background: rgba(0, 0, 0, 0.22);
}
.ms-auto-telem em {
  display: block;
  font-style: normal;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}
.ms-auto-telem b {
  font-size: 0.72rem;
  font-weight: 800;
}

.ms-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.15rem 0 0.35rem;
}
.ms-section-lab {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.ms-ranges {
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
}
.ms-ranges i {
  font-style: normal;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.18rem 0.32rem;
  border-radius: 5px;
  color: var(--muted);
  border: 1px solid transparent;
}
.ms-ranges i.on {
  color: var(--text);
  border-color: rgba(0, 255, 159, 0.3);
  background: rgba(0, 255, 159, 0.08);
}
.ms-assets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.28rem;
  margin-bottom: 0.4rem;
}
.ms-assets div,
.ms-metrics div {
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 0.3rem 0.35rem;
  background: rgba(0, 0, 0, 0.22);
}
.ms-assets em,
.ms-metrics em {
  display: block;
  font-style: normal;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}
.ms-assets b,
.ms-metrics b {
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ms-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.28rem;
  margin: 0.4rem 0;
}
.ms-chart {
  height: 72px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.ms-chart svg { width: 100%; height: 100%; display: block; }
.ms-ledger-h {
  margin: 0.35rem 0 0.3rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.ms-seats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
}
.ms-seat {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.62rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.4rem;
  background: var(--bg-panel);
  color: var(--muted);
  min-width: 0;
}
.ms-seat b {
  display: block;
  font-size: 0.65rem;
  color: var(--text);
  font-weight: 800;
}
.ms-seat small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.55rem;
  color: var(--dim);
  font-weight: 600;
}

/* Social rail */
.ms-si-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}
.ms-si-kicker {
  margin: 0;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.ms-si-name { margin: 0.1rem 0 0; font-size: 0.88rem; font-weight: 800; }
.ms-si-tick { margin: 0.05rem 0 0; font-size: 0.6rem; color: var(--muted); font-weight: 600; }
.ms-si-channels { margin-bottom: 0.45rem; }
.ms-si-lab {
  display: block;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.25rem;
}
.ms-si-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.ms-si-links span {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.18rem 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
}
.ms-si-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}
.ms-si-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.4rem 0.45rem;
  background: rgba(0, 0, 0, 0.22);
}
.ms-si-card em {
  display: block;
  font-style: normal;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}
.ms-si-card b {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.95rem;
  font-weight: 800;
}
.ms-si-card small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.52rem;
  color: var(--dim);
}
.ms-si-bar {
  margin-top: 0.35rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.ms-si-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0a5cad, #00ff9f);
  border-radius: 999px;
}
.ms-si-section {
  margin: 0 0 0.3rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.ms-si-list {
  list-style: none;
  margin: 0 0 0.45rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ms-si-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.62rem;
  padding: 0.28rem 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 31, 63, 0.3);
}
.ms-si-list b { color: var(--text); font-weight: 700; }
.ms-si-list span { color: var(--dim); font-weight: 600; white-space: nowrap; }
.ms-si-tabs {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.35rem;
  padding: 0.15rem;
  border-radius: 8px;
  background: #040a12;
  border: 1px solid var(--line);
}
.ms-si-tabs span {
  flex: 1;
  text-align: center;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.28rem 0.2rem;
  border-radius: 6px;
  color: var(--muted);
}
.ms-si-tabs span.on {
  background: rgba(0, 255, 159, 0.12);
  color: var(--text);
}
.ms-si-posts {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-height: 9.5rem;
  overflow: hidden;
}
.ms-si-posts article {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 0.4rem 0.45rem;
  background: rgba(0, 0, 0, 0.22);
}
.ms-si-posts header {
  font-size: 0.55rem;
  color: var(--dim);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.ms-si-posts header b { color: var(--text); }
.ms-si-posts p {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.35;
  color: var(--muted);
}
.ms-si-foot {
  margin: 0.4rem 0 0;
  font-size: 0.52rem;
  color: var(--dim);
  line-height: 1.3;
}

.up { color: var(--green) !important; }
.dn { color: var(--red) !important; }
.mission-shot-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(0, 255, 159, 0.2);
  background: linear-gradient(90deg, rgba(0, 31, 63, 0.9), rgba(0, 255, 159, 0.08));
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}
.mission-shot-cta:hover {
  color: #fff;
  background: linear-gradient(90deg, rgba(10, 58, 102, 0.95), rgba(0, 255, 159, 0.14));
}
.mission-shot-cta-go {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 800;
}

@media (max-width: 1000px) {
  .mission-shot-body {
    grid-template-columns: minmax(150px, 0.95fr) minmax(0, 1.4fr);
    max-height: none;
  }
  .ms-right { display: none; }
}
@media (max-width: 720px) {
  .mission-shot-body { grid-template-columns: 1fr; }
  .ms-left { border-right: none; border-bottom: 1px solid var(--line); max-height: 260px; overflow: auto; }
  .ms-seats { grid-template-columns: 1fr; }
  .ms-auto-telem,
  .ms-assets,
  .ms-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission-shot-telem span:nth-child(n+3) { display: none; }
  .mission-shot-bar { grid-template-columns: 1fr; gap: 0.4rem; }
  .mission-shot-actions,
  .mission-shot-nav { display: none; }
  .ms-auto-toolbar { width: 100%; }
}

/* Hot cards */
.hot-strip { padding: 0.5rem 0 2rem; }
.hot-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}
.hot-card {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 0.85rem 0.8rem;
  min-height: 108px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  text-align: left;
  color: inherit;
  width: 100%;
  font: inherit;
}
.hot-card:hover {
  border-color: rgba(0, 255, 159, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 31, 63, 0.35);
}
.hot-card.skeleton {
  background: linear-gradient(90deg, #0a1520, #0f2233, #0a1520);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.hot-card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hot-icon .coin-icon {
  width: 28px;
  height: 28px;
}
.hot-id { min-width: 0; }
.hot-sym { margin: 0; font-weight: 800; font-size: 0.88rem; }
.hot-name { margin: 0.1rem 0 0; font-size: 0.65rem; color: var(--dim); }
.hot-mark {
  margin: 0.55rem 0 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}
.hot-score {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}
.hot-score.up { color: var(--green); }
.hot-score.down { color: var(--red); }
.pair-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.pair-icon .coin-icon {
  width: 22px;
  height: 22px;
}
.pair-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.pair-text strong { font-size: 0.84rem; }
.pair-text small {
  font-size: 0.65rem;
  color: var(--dim);
  font-weight: 600;
}

/* Markets table */
.markets-section { padding: 0.5rem 0 3rem; }
.markets-tools {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.market-search { max-width: 11rem; }
.markets-tools .field-select { width: auto; min-width: 8.5rem; }
.market-table-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-panel);
}
.market-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}
.market-table th {
  text-align: left;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: #061018;
}
.market-table th.num,
.market-table td.num { text-align: right; }
.market-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line-soft);
}
.market-table tr:last-child td { border-bottom: none; }
.market-table tbody tr:hover { background: rgba(0, 255, 159, 0.04); }
.market-table .pair { font-weight: 700; }
.market-table .empty {
  text-align: center;
  color: var(--dim);
  padding: 1.5rem;
}
.seat-chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.seat-chip.open {
  border-color: rgba(0, 255, 159, 0.4);
  color: var(--green);
  background: rgba(0, 255, 159, 0.08);
}

/* Pillars */
.pillars {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line-soft);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.pillar {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(0, 31, 63, 0.35), transparent 60%),
    var(--bg-panel);
  padding: 1.1rem 1rem 1.15rem;
  transition: border-color 0.15s ease;
}
.pillar:hover {
  border-color: rgba(0, 255, 159, 0.28);
}
.pillar h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
}
.pillar p {
  margin: 0.5rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}
.text-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
}
.text-link:hover { color: #fff; }

/* How */
.how { padding: 1rem 0 3rem; }
.how-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}
.how h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  font-weight: 800;
}
.how-steps {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}
.how-steps li { margin-bottom: 0.55rem; }
.how-steps strong { color: var(--text); }
.how-panel {
  border: 1px solid rgba(0, 255, 159, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(0, 31, 63, 0.65), transparent 55%),
    var(--bg-panel);
  padding: 1.15rem;
  box-shadow: 0 0 32px rgba(0, 255, 159, 0.06);
}
.how-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.how-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.how-line span { color: var(--dim); font-weight: 600; }
.how-panel .btn { margin-top: 0.85rem; }

/* FAQ */
.faq {
  padding: 1rem 0 3rem;
  border-top: 1px solid var(--line-soft);
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-panel);
  padding: 0.85rem 1rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
}
.faq-list p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* CTA band */
.cta-band { padding: 0 0 3rem; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  border: 1px solid rgba(0, 255, 159, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(0, 31, 63, 0.8), rgba(0, 255, 159, 0.06)),
    var(--bg-panel);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.cta-inner h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.cta-inner p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Footer extras */
.footer-tag {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 16rem;
  line-height: 1.4;
}
.footer-h {
  margin: 0 0 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.footer-cols a {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 0.3rem;
}
.footer-cols a:hover { color: var(--green); }
.footer-muted {
  display: block;
  font-size: 0.75rem;
  color: var(--dim);
  margin-top: 0.25rem;
}
.footer-brand { margin-bottom: 0.25rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  padding-bottom: 1.75rem;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 0.85rem 1.1rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.72rem;
  color: var(--dim);
}
.footer-base-links { display: flex; gap: 0.85rem; }
.footer-base-links a { color: var(--muted); }
.footer-base-links a:hover { color: var(--green); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hot-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hot-cards { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
}
