:root {
  --bg: #0c0d0f;
  --bg-raised: #131418;
  --border: rgba(246, 245, 241, 0.1);
  --text: #f6f5f1;
  --text-muted: rgba(246, 245, 241, 0.6);
  --text-dim: rgba(246, 245, 241, 0.38);
  --yellow: #ffd12e;
  --red: #ff6b57;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 13, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo .dot { color: var(--yellow); margin-right: 4px; }
.logo-media { color: var(--text-muted); font-weight: 500; }

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  padding: 16px 32px;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open { display: flex; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-pill { border-radius: 999px; }

.btn-yellow {
  background: var(--yellow);
  color: #14141a;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.arrow { font-size: 13px; }

/* Hero */
.hero {
  padding: 108px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(255, 209, 46, 0.07), transparent 65%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0 0 24px;
}

.hero-title {
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  max-width: 960px;
}

.muted-line { color: rgba(246, 245, 241, 0.32); }

.highlight {
  background: var(--yellow);
  color: #14141a;
  padding: 0 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 0 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 48px;
}

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  animation: scroll-left 32s linear infinite;
}

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

.marquee-track .sep {
  color: var(--yellow);
  font-size: 12px;
}

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

/* Sections */
.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 0 0 20px;
}

.kicker-num { color: var(--yellow); font-weight: 700; }
.kicker-line {
  width: 32px;
  height: 1px;
  background: var(--border);
}

.section-title {
  font-size: 40px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 0 20px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 0 48px;
}

/* Compare grid (Belief) */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.compare-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.compare-new {
  background: linear-gradient(160deg, rgba(255, 209, 46, 0.08), transparent 60%);
  border-color: rgba(255, 209, 46, 0.25);
}

.compare-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.tag-old { color: var(--red); }
.tag-new { color: var(--yellow); }

.compare-card h3 {
  font-size: 20px;
  margin: 0 0 16px;
}

.compare-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  border-top: 1px solid var(--border);
}

.compare-card li:first-child { border-top: none; }

.villain-line {
  font-size: 18px;
  font-weight: 500;
  max-width: 780px;
  line-height: 1.5;
}

.underline { text-decoration: underline; text-decoration-color: rgba(246,245,241,0.4); }

/* Engine grid */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.engine-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.engine-card:hover {
  border-color: rgba(255, 209, 46, 0.35);
  transform: translateY(-3px);
}

.engine-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.engine-index {
  font-size: 12px;
  color: var(--text-dim);
}

.engine-icon {
  color: var(--yellow);
  opacity: 0.8;
  display: flex;
  align-items: center;
}

.engine-card h3 {
  font-size: 22px;
  margin: 0 0 4px;
}

.engine-kicker {
  font-size: 13px;
  color: var(--yellow);
  font-weight: 600;
  margin: 0 0 16px;
}

.engine-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
}

/* Fit grid */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fit-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.fit-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
}

.fit-right .fit-tag { color: var(--yellow); }
.fit-wrong .fit-tag { color: var(--text-dim); }

.fit-card li {
  font-size: 15px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  position: relative;
  padding-left: 20px;
}

.fit-card li:first-child { border-top: none; }

.fit-right li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

.fit-wrong li {
  color: var(--text-dim);
}

.fit-wrong li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

/* Content rows */
.content-rows { border-top: 1px solid var(--border); }

.content-row {
  display: grid;
  grid-template-columns: 60px 260px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.content-num {
  font-size: 12px;
  color: var(--text-dim);
}

.content-row h3 {
  font-size: 18px;
  margin: 0;
}

.content-row h3.accent { color: var(--yellow); }

.content-row p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Living proof */
.proof-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.proof-left .section-title { margin-bottom: 0; }

.proof-right p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proof-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.2s ease;
}

.proof-card:hover { border-color: rgba(255, 209, 46, 0.3); }

.proof-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--yellow);
  margin: 0 0 10px;
}

.proof-card p:last-child {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* FAQ */
.faq-list { border-top: 1px solid var(--border); }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.faq-plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item.open .faq-plus {
  background: var(--yellow);
  color: #14141a;
  border-color: var(--yellow);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 22px;
  max-width: 680px;
}

/* max-height is set inline by script.js to the answer's real scrollHeight,
   so multi-line answers on narrow viewports are never clipped. */

/* CTA box */
.cta-box {
  border: 1px solid rgba(255, 209, 46, 0.3);
  border-radius: 20px;
  padding: 56px;
  background: radial-gradient(ellipse at top left, rgba(255, 209, 46, 0.08), transparent 60%);
  text-align: center;
}

.cta-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin: 0 0 20px;
}

.cta-title {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 20px;
}

.cta-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-box .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* Footer */
.site-footer { padding: 40px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-tagline, .footer-copy {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 44px; }
  .section-title { font-size: 28px; }
  .compare-grid, .engine-grid, .fit-grid, .proof-cards { grid-template-columns: 1fr; }
  .proof-wrap { grid-template-columns: 1fr; }
  .content-row { grid-template-columns: 1fr; gap: 8px; }
  .stat-row { grid-template-columns: repeat(2, auto); row-gap: 24px; }
  .cta-box { padding: 32px; }
  .cta-title { font-size: 28px; }
}
