:root {
  color-scheme: dark;
  --carbon-950: #0b0d0c;
  --carbon-900: #101311;
  --carbon-850: #151917;
  --carbon-800: #1c211e;
  --carbon-700: #303831;
  --ivory: #f0eadc;
  --muted: #b8b1a3;
  --dim: #7b8178;
  --line: rgba(240, 234, 220, 0.13);
  --line-strong: rgba(240, 234, 220, 0.24);
  --mint: #39b77a;
  --green: #269b67;
  --red: #d85a5a;
  --amber: #c99a45;
  --blue: #8196aa;
  --ink-shadow: rgba(0, 0, 0, 0.42);
  --font-display: "Chivo", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--carbon-950);
  color: var(--ivory);
  font-family: var(--font-body);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0d0c 0%, #101311 52%, #0b0d0c 100%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(240, 234, 220, 0.1);
  background: rgba(11, 13, 12, 0.88);
  backdrop-filter: blur(18px);
}

.topbar.is-elevated {
  border-bottom-color: rgba(246, 240, 223, 0.2);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

.brand,
.nav-login,
.nav-action,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand {
  min-width: 164px;
  font-family: var(--font-display);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(57, 183, 122, 0.64);
  border-radius: 8px;
  background: #101611;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(240, 234, 220, 0.04);
}

.brand-mark img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--ivory);
}

.nav-links .active-link {
  color: var(--ivory);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-login,
.nav-action {
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(246, 240, 223, 0.2);
  border-radius: 8px;
  color: var(--ivory);
  font-size: 14px;
  background: rgba(240, 234, 220, 0.055);
}

.nav-login {
  border-color: rgba(57, 183, 122, 0.5);
  color: var(--mint);
  background: rgba(57, 183, 122, 0.095);
}

.nav-login svg,
.nav-action svg,
.primary-button svg,
.ghost-button svg,
.feature-card svg,
.workflow-step svg,
.stack-node svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: 640px;
  height: calc(100svh - 96px);
  max-height: 820px;
  padding: 108px 32px 34px;
  overflow: hidden;
}

.market-canvas,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.market-canvas {
  opacity: 0.36;
}

.hero-grid {
  pointer-events: none;
  background:
    linear-gradient(rgba(246, 240, 223, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 240, 223, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 84%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 13, 12, 0.96) 0%, rgba(11, 13, 12, 0.72) 42%, rgba(11, 13, 12, 0.34) 72%),
    linear-gradient(180deg, transparent 52%, rgba(11, 13, 12, 0.76) 100%);
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(720px, 100%);
  padding-top: 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  width: min(440px, 100%);
  margin: 22px 0 0;
  color: #ddd8c8;
  font-size: 20px;
  line-height: 1.75;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.ghost-button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    background 170ms ease;
}

.primary-button {
  color: #07110b;
  background: var(--mint);
  border: 1px solid var(--mint);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.ghost-button {
  color: var(--ivory);
  background: rgba(240, 234, 220, 0.055);
  border: 1px solid rgba(240, 234, 220, 0.24);
}

.primary-button:hover,
.ghost-button:hover,
.nav-login:hover,
.nav-action:hover {
  transform: translateY(-2px);
}

.terminal-shell {
  position: absolute;
  z-index: 2;
  right: min(5vw, 64px);
  bottom: 28px;
  width: min(780px, 56vw);
  height: min(520px, 58vh);
  min-height: 430px;
  border: 1px solid rgba(246, 240, 223, 0.18);
  border-radius: 8px;
  background: rgba(16, 19, 17, 0.9);
  box-shadow:
    0 26px 54px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window-dots span:nth-child(1) {
  background: var(--red);
}

.window-dots span:nth-child(2) {
  background: var(--amber);
}

.window-dots span:nth-child(3) {
  background: var(--green);
}

.terminal-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
}

.terminal-tabs span {
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(246, 240, 223, 0.04);
  white-space: nowrap;
}

.terminal-tabs .active {
  color: var(--ivory);
  background: rgba(57, 183, 122, 0.12);
}

.terminal-mode {
  margin-left: auto;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.terminal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  grid-template-rows: minmax(0, 1fr) 136px;
  gap: 1px;
  height: calc(100% - 46px);
  background: rgba(240, 234, 220, 0.08);
}

.chart-panel,
.decision-panel,
.order-panel {
  background: rgba(13, 16, 14, 0.94);
}

.chart-panel {
  min-width: 0;
  padding: 16px;
}

.decision-panel {
  padding: 16px;
  overflow: hidden;
}

.order-panel {
  grid-column: 1 / -1;
  padding: 14px 16px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.panel-head strong {
  color: var(--mint);
}

.chart-stage {
  position: relative;
  height: calc(100% - 28px);
  margin-top: 12px;
  border: 1px solid rgba(246, 240, 223, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(246, 240, 223, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 240, 223, 0.045) 1px, transparent 1px),
    rgba(8, 9, 7, 0.8);
  background-size: 38px 38px;
}

#terminalChart {
  width: 100%;
  height: 100%;
  display: block;
}

.trade-marker {
  position: absolute;
  padding: 7px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 12px 24px var(--ink-shadow);
}

.marker-long {
  left: 18%;
  top: 38%;
  color: #06110a;
  background: var(--mint);
}

.marker-veto {
  right: 12%;
  top: 18%;
  color: var(--ivory);
  background: rgba(255, 93, 104, 0.84);
}

.ai-verdict {
  padding: 14px;
  border: 1px solid rgba(57, 183, 122, 0.28);
  border-radius: 8px;
  background: rgba(57, 183, 122, 0.075);
}

.verdict-label {
  display: block;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.ai-verdict strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.25;
}

.ai-verdict small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.risk-meter {
  margin-top: 18px;
  font-family: var(--font-mono);
}

.risk-meter span {
  color: var(--dim);
  font-size: 11px;
}

.risk-meter b {
  display: block;
  margin-top: 8px;
  color: var(--amber);
  font-size: 13px;
}

.meter-line {
  width: 100%;
  height: 8px;
  margin-top: 8px;
  border-radius: 8px;
  background: rgba(246, 240, 223, 0.1);
  overflow: hidden;
}

.meter-line i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
}

.signal-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.signal-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(246, 240, 223, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
}

.signal-list span {
  color: var(--dim);
}

.signal-list b,
.up {
  color: var(--mint);
}

.warn {
  color: var(--amber);
}

.down {
  color: var(--red);
}

.order-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
}

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 0 12px;
  border: 1px solid rgba(246, 240, 223, 0.1);
  border-radius: 8px;
  background: rgba(240, 234, 220, 0.04);
  font-size: 13px;
}

.order-row b {
  font-family: var(--font-mono);
  font-size: 12px;
}

.order-row.positive b {
  color: var(--mint);
}

.order-row.neutral b {
  color: var(--blue);
}

.order-row.danger b {
  color: var(--red);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e8dfcd;
  color: #151710;
}

.signal-item {
  min-height: 132px;
  padding: 26px 28px;
  border-right: 1px solid rgba(21, 23, 16, 0.14);
}

.signal-item:last-child {
  border-right: 0;
}

.signal-item span {
  display: block;
  color: #65705e;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.signal-item strong {
  display: block;
  margin-top: 10px;
  color: #0c0d0b;
  font-family: var(--font-display);
  font-size: 24px;
}

.signal-item small {
  display: block;
  margin-top: 10px;
  color: #5b5b51;
  line-height: 1.6;
}

.section {
  padding: 96px 32px;
}

.section-head {
  width: min(780px, 100%);
}

.section-head h2,
.risk-copy h2,
.cta-content h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.08;
}

.section-head p,
.risk-copy p,
.cta-content p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--line);
}

.workflow-step {
  min-height: 260px;
  padding: 28px;
  background: rgba(17, 19, 15, 0.92);
}

.workflow-step svg,
.feature-card svg {
  color: var(--mint);
}

.workflow-step span {
  display: block;
  margin-top: 36px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-weight: 700;
}

.workflow-step h3,
.feature-card h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.workflow-step p,
.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.feature-section {
  background: var(--carbon-950);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.feature-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101311;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 183, 122, 0.44);
  background: #121713;
}

.pricing-page .site-shell {
  background: #e8dfcd;
  color: #11130f;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 36px;
  align-items: end;
  min-height: 460px;
  padding: 132px 32px 72px;
  border-bottom: 1px solid rgba(240, 234, 220, 0.12);
  background:
    linear-gradient(135deg, rgba(57, 183, 122, 0.12), transparent 38%),
    linear-gradient(180deg, #101311 0%, #151917 100%);
}

.pricing-hero-copy h1 {
  width: min(760px, 100%);
  margin: 0;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1.02;
}

.pricing-hero-copy p {
  width: min(720px, 100%);
  margin: 20px 0 0;
  color: rgba(240, 234, 220, 0.78);
  font-size: 18px;
  line-height: 1.85;
}

.pricing-summary {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(240, 234, 220, 0.2);
  border-radius: 8px;
  background: rgba(240, 234, 220, 0.16);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.pricing-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: rgba(16, 19, 17, 0.86);
}

.pricing-summary span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.pricing-summary strong {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 20px;
}

.pricing-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e8dfcd;
  color: #11130f;
}

.standalone-pricing {
  padding-top: 74px;
}

.pricing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: end;
}

.pricing-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.08;
}

.pricing-head p {
  width: min(780px, 100%);
  margin: 18px 0 0;
  color: #51554c;
  font-size: 17px;
  line-height: 1.8;
}

.price-note {
  min-height: 94px;
  padding: 18px;
  border: 1px solid rgba(17, 19, 15, 0.18);
  border-radius: 8px;
  background: rgba(17, 19, 15, 0.045);
}

.price-note span {
  display: block;
  color: #65705e;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.price-note strong {
  display: block;
  margin-top: 10px;
  color: #11130f;
  font-size: 15px;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 26px;
  border: 1px solid rgba(17, 19, 15, 0.16);
  border-radius: 8px;
  background: #f2ead8;
  box-shadow: 0 18px 42px rgba(17, 19, 15, 0.08);
}

.price-card.featured {
  border-color: rgba(38, 155, 103, 0.56);
  background: #f5efdf;
  box-shadow: 0 22px 50px rgba(17, 19, 15, 0.13);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #101311;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.plan-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 58px;
}

.plan-top span {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}

.plan-top small {
  color: #65705e;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--font-display);
}

.price-line span {
  color: #65705e;
  font-size: 24px;
  font-weight: 800;
}

.price-line strong {
  color: #0b0d0c;
  font-size: 70px;
  line-height: 0.9;
}

.price-line em {
  color: #65705e;
  font-style: normal;
  font-weight: 800;
}

.price-card p {
  min-height: 84px;
  margin: 22px 0 0;
  color: #51554c;
  line-height: 1.75;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1b211d;
  line-height: 1.55;
}

.price-card li svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--green);
}

.plan-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  border: 1px solid rgba(17, 19, 15, 0.2);
  border-radius: 8px;
  color: #11130f;
  font-weight: 800;
  background: rgba(17, 19, 15, 0.04);
  transition:
    transform 170ms ease,
    background 170ms ease,
    border-color 170ms ease;
}

.plan-action.primary {
  border-color: #101311;
  background: #101311;
  color: var(--ivory);
}

.plan-action:hover {
  transform: translateY(-2px);
  border-color: rgba(38, 155, 103, 0.58);
}

.pricing-detail-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr);
  gap: 36px;
  align-items: center;
  padding: 86px 32px;
  background: #101311;
  color: var(--ivory);
}

.pricing-detail h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.12;
}

.pricing-detail p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.pricing-checklist {
  display: grid;
  gap: 10px;
}

.pricing-checklist div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(240, 234, 220, 0.13);
  border-radius: 8px;
  background: rgba(240, 234, 220, 0.045);
}

.pricing-checklist svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
}

.invite-page .site-shell {
  background: #101311;
}

.invite-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.64fr);
  gap: 46px;
  align-items: center;
  min-height: 620px;
  padding: 132px 32px 72px;
  border-bottom: 1px solid rgba(240, 234, 220, 0.12);
  background:
    linear-gradient(135deg, rgba(201, 154, 69, 0.14), transparent 32%),
    linear-gradient(180deg, #101311 0%, #151917 100%);
}

.invite-copy h1 {
  width: min(780px, 100%);
  margin: 0;
  font-family: var(--font-display);
  font-size: 68px;
  line-height: 1.02;
}

.invite-copy p {
  width: min(720px, 100%);
  margin: 22px 0 0;
  color: rgba(240, 234, 220, 0.78);
  font-size: 18px;
  line-height: 1.85;
}

.invite-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(720px, 100%);
  margin-top: 34px;
}

.invite-metrics div,
.invite-stat,
.level-card {
  border: 1px solid rgba(240, 234, 220, 0.13);
  border-radius: 8px;
  background: rgba(240, 234, 220, 0.045);
}

.invite-metrics div {
  min-height: 112px;
  padding: 18px;
}

.invite-metrics span,
.invite-stat span,
.level-card span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.invite-metrics strong {
  display: block;
  margin-top: 12px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 32px;
}

.invite-generator {
  padding: 26px;
  border: 1px solid rgba(240, 234, 220, 0.18);
  border-radius: 8px;
  background: #0d100e;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.generator-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.generator-head svg {
  width: 22px;
  height: 22px;
  color: var(--mint);
}

.generator-head span {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.generator-head h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 30px;
}

.invite-form {
  margin-top: 28px;
}

.invite-form label,
.invite-output > span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.invite-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 10px;
}

.invite-input-row input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(240, 234, 220, 0.18);
  border-radius: 8px;
  outline: none;
  color: var(--ivory);
  font-family: var(--font-mono);
  background: rgba(240, 234, 220, 0.055);
}

.invite-input-row input:focus {
  border-color: rgba(57, 183, 122, 0.68);
}

.invite-input-row button,
.invite-link-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: #07110b;
  font-weight: 800;
  background: var(--mint);
}

.invite-input-row button {
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
}

.invite-input-row button svg,
.invite-link-box button svg {
  width: 18px;
  height: 18px;
}

.invite-output {
  margin-top: 22px;
}

.invite-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
  margin-top: 10px;
}

.invite-link-box output {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(240, 234, 220, 0.16);
  border-radius: 8px;
  color: #ddd8c8;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  background: rgba(0, 0, 0, 0.2);
}

.invite-link-box button {
  width: 48px;
  min-height: 48px;
}

.invite-output small {
  display: block;
  min-height: 22px;
  margin-top: 10px;
  color: var(--dim);
  line-height: 1.6;
}

.invite-output small.is-ready {
  color: var(--mint);
}

.invite-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(17, 19, 15, 0.1);
  border-bottom: 1px solid rgba(17, 19, 15, 0.1);
  background: #d2c6ad;
  color: #11130f;
}

.invite-stat {
  min-height: 188px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: #e8dfcd;
}

.invite-stat span {
  color: #65705e;
}

.invite-stat strong {
  display: block;
  margin-top: 16px;
  color: #0b0d0c;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
}

.invite-stat small {
  display: block;
  margin-top: 16px;
  color: #51554c;
  line-height: 1.6;
}

.invite-level-section {
  background: #e8dfcd;
  color: #11130f;
}

.invite-level-head {
  width: min(860px, 100%);
}

.invite-level-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.08;
}

.invite-level-head p {
  margin: 18px 0 0;
  color: #51554c;
  font-size: 17px;
  line-height: 1.8;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.level-card {
  min-height: 196px;
  padding: 22px;
  border-color: rgba(17, 19, 15, 0.16);
  background: #f2ead8;
}

.level-card.highlighted {
  border-color: rgba(38, 155, 103, 0.58);
  background: #f5efdf;
  box-shadow: 0 22px 52px rgba(17, 19, 15, 0.12);
}

.level-card span {
  color: #65705e;
}

.level-card strong {
  display: block;
  margin-top: 18px;
  color: #0b0d0c;
  font-family: var(--font-display);
  font-size: 48px;
}

.level-card p {
  margin: 18px 0 0;
  color: #51554c;
  line-height: 1.65;
}

.invite-rules {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 42px;
  align-items: center;
  padding: 88px 32px;
  background: #101311;
  color: var(--ivory);
}

.invite-rule-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.12;
}

.invite-rule-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.rule-list {
  display: grid;
  gap: 10px;
}

.rule-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 16px;
  border: 1px solid rgba(240, 234, 220, 0.13);
  border-radius: 8px;
  background: rgba(240, 234, 220, 0.045);
}

.rule-list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--mint);
}

.risk-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.74fr);
  gap: 42px;
  align-items: center;
  padding: 88px 32px;
  background: #e8dfcd;
  color: #11130f;
}

.risk-copy p {
  color: #51554c;
}

.risk-board {
  border: 1px solid rgba(17, 19, 15, 0.22);
  border-radius: 8px;
  background: #11130f;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.risk-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 72px;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(246, 240, 223, 0.12);
  color: var(--ivory);
}

.risk-row:last-child {
  border-bottom: 0;
}

.risk-row span {
  color: var(--muted);
}

.risk-row strong {
  font-family: var(--font-mono);
  color: var(--amber);
}

.risk-row i {
  display: block;
  height: 8px;
  border-radius: 8px;
  background: var(--amber);
}

.stack-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.stack-map {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101311;
}

.stack-node {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 72px;
  border: 1px solid rgba(246, 240, 223, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
  font-weight: 700;
}

.stack-node.strong {
  min-height: 92px;
  color: var(--mint);
  font-size: 20px;
}

.stack-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stack-link {
  width: 1px;
  height: 40px;
  margin: 0 auto;
  background: var(--line-strong);
}

.exchanges {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.exchanges span {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 1px solid rgba(246, 240, 223, 0.14);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.faq-section {
  padding: 94px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0f1210;
  color: var(--ivory);
}

.faq-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.faq-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: 42px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(240, 234, 220, 0.13);
}

.faq-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.12;
}

.faq-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.faq-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.faq-summary-card {
  min-height: 330px;
  padding: 24px;
  border: 1px solid rgba(240, 234, 220, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(57, 183, 122, 0.11), rgba(57, 183, 122, 0.02)),
    #151917;
}

.faq-summary-card > span {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.faq-summary-card strong {
  display: block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.08;
}

.faq-summary-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.faq-badges b {
  padding: 8px 10px;
  border: 1px solid rgba(57, 183, 122, 0.32);
  border-radius: 6px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(57, 183, 122, 0.08);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(240, 234, 220, 0.13);
  border-radius: 8px;
  background: #111411;
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(57, 183, 122, 0.44);
  background: #141915;
}

.faq-item summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 0 20px;
  cursor: pointer;
  color: var(--ivory);
  font-family: var(--font-display);
  list-style: none;
}

.faq-item summary span {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.faq-item summary strong {
  min-width: 0;
  font-size: 18px;
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus {
  outline: none;
}

.faq-item summary:focus-visible {
  outline: 2px solid rgba(38, 155, 103, 0.5);
  outline-offset: -2px;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(240, 234, 220, 0.16);
  border-radius: 8px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  background: rgba(240, 234, 220, 0.045);
}

.faq-item[open] summary::after {
  content: "-";
  color: #07110b;
  border-color: var(--mint);
  background: var(--mint);
}

.faq-item p {
  margin: 0;
  max-width: 760px;
  padding: 0 22px 22px 80px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.cta-section {
  padding: 96px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #101311;
}

.cta-content {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.cta-content .primary-button {
  margin-top: 30px;
}

.disclosure {
  padding: 22px 32px 34px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.disclosure p {
  max-width: 980px;
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .terminal-shell {
    width: min(740px, 74vw);
    opacity: 0.72;
  }

  .hero-copy {
    padding-top: 54px;
  }

  .workflow,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-layout,
  .risk-band,
  .faq-head,
  .faq-grid,
  .pricing-head,
  .pricing-hero,
  .pricing-detail-band,
  .invite-hero,
  .invite-rules {
    grid-template-columns: 1fr;
  }

  .invite-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .level-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    height: 62px;
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .topbar-actions {
    gap: 8px;
  }

  .nav-login,
  .nav-action {
    min-height: 36px;
    padding: 0 12px;
  }

  .hero {
    height: auto;
    min-height: 820px;
    padding: 94px 18px 28px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(12, 13, 11, 0.88) 0%, rgba(12, 13, 11, 0.7) 54%, rgba(12, 13, 11, 0.85) 100%);
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .terminal-shell {
    left: 18px;
    right: 18px;
    bottom: 34px;
    width: auto;
    height: 260px;
    min-height: 260px;
    opacity: 1;
  }

  .terminal-body {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 90px;
  }

  .decision-panel {
    display: none;
  }

  .order-panel {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 7px 14px;
    overflow: hidden;
  }

  .order-panel .panel-head {
    display: none;
  }

  .order-row {
    min-height: 22px;
    font-size: 12px;
  }

  .terminal-mode {
    display: none;
  }

  .signal-strip,
  .workflow,
  .feature-grid,
  .pricing-grid,
  .invite-metrics,
  .invite-board,
  .level-grid,
  .stack-row,
  .exchanges {
    grid-template-columns: 1fr;
  }

  .signal-item {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid rgba(21, 23, 16, 0.14);
  }

  .signal-item:last-child {
    border-bottom: 0;
  }

  .section,
  .risk-band,
  .faq-section,
  .cta-section,
  .pricing-detail-band,
  .invite-rules {
    padding: 72px 18px;
  }

  .pricing-hero,
  .invite-hero {
    padding: 118px 18px 56px;
  }

  .pricing-hero-copy h1,
  .invite-copy h1 {
    font-size: 42px;
  }

  .pricing-hero-copy p,
  .invite-copy p {
    font-size: 16px;
  }

  .invite-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
  }

  .invite-metrics div {
    min-height: 84px;
    padding: 12px;
  }

  .invite-metrics span {
    font-size: 11px;
  }

  .invite-metrics strong {
    margin-top: 10px;
    font-size: 24px;
  }

  .section-head h2,
  .pricing-head h2,
  .pricing-detail h2,
  .invite-level-head h2,
  .invite-rule-copy h2,
  .risk-copy h2,
  .faq-head h2,
  .cta-content h2 {
    font-size: 34px;
  }

  .faq-head,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    grid-template-columns: 36px minmax(0, 1fr) 34px;
    min-height: 66px;
    padding: 0 16px;
  }

  .faq-item summary strong {
    font-size: 17px;
  }

  .faq-item p {
    padding: 0 16px 18px 52px;
  }

  .price-card {
    min-height: auto;
  }

  .price-line strong {
    font-size: 58px;
  }

  .risk-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 500px) {
  .brand-name {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .ghost-button {
    justify-content: center;
  }

  .hero h1 {
    font-size: 48px;
  }

  .terminal-shell {
    height: 260px;
    min-height: 260px;
  }

  .invite-input-row {
    grid-template-columns: 1fr;
  }

  .invite-input-row button {
    justify-content: center;
  }

  .invite-link-box {
    grid-template-columns: minmax(0, 1fr) 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
