/* Local landing preview. Tokens come from css/tokens.css. */

.preview-flag {
  display: flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 12px;
  background: #140d05;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
  padding: 8px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand b {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

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

.join {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.join:hover { color: var(--text); }

.enter {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  background: var(--orange);
  color: var(--orange-ink);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.enter:hover { filter: brightness(1.08); }

.wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0 36px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.sub {
  max-width: 460px;
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

.ctarow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.note {
  color: var(--text-mute);
  font-size: var(--text-xs);
}

.score-card { border-top: 2px solid var(--orange); }

.score-body { padding: 14px 14px 8px; }

.score-num {
  font-size: 64px;
  line-height: 0.95;
  color: var(--orange);
  font-weight: 500;
}

.score-of {
  margin-left: 6px;
  color: var(--text-mute);
  font-size: 18px;
}

.score-verdict {
  margin-top: 6px;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.gauge {
  position: relative;
  display: flex;
  height: 18px;
  margin-top: 16px;
  border: 1px solid var(--line);
}

.gauge i { display: block; height: 100%; }
.gauge i:nth-child(1) { flex: 15; background: #12362f; }
.gauge i:nth-child(2) { flex: 20; background: #1c3d28; }
.gauge i:nth-child(3) { flex: 30; background: #1b2129; }
.gauge i:nth-child(4) { flex: 20; background: #3a2c12; }
.gauge i:nth-child(5) { flex: 15; background: #3d1c18; }

.gauge-mark {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  margin-left: -1px;
  background: var(--text);
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px 12px 14px;
}

.mini-grid .v {
  margin-top: 4px;
  font-size: 16px;
}

.ticker {
  height: var(--ticker-h);
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: marquee 42s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ti {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 14px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
  font-size: var(--text-xs);
}

.ti .k { letter-spacing: 0.12em; }
.ti .v { color: var(--text); }

.section { padding: 56px 0; }

.section h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 560px;
  margin: 0 0 24px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.feat { min-height: 100%; }

.feat p {
  margin: 0;
  padding: 12px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.55;
}

.proof {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.proof img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.proof .nm { font-weight: 600; }
.proof .role {
  margin: 2px 0 8px;
  color: var(--text-mute);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.proof .quote {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.final {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 56px 16px;
}

.final h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 600;
}

.final p {
  margin: 0 0 18px;
  color: var(--text-dim);
}

.final .ctarow { justify-content: center; }

.legal {
  --mut3: #5a636e;
  margin: 0;
  padding: 28px 16px 36px;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: #5a636e;
}

.legal a { color: var(--mut3); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 32px; }
}

@media (max-width: 640px) {
  .brand b { font-size: 11px; letter-spacing: 0.04em; }
  .feat-grid { grid-template-columns: 1fr; }
  .score-num { font-size: 56px; }
  .proof { grid-template-columns: 1fr; }
  .wrap { width: min(1100px, calc(100% - 20px)); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
