/* ===== VARIABLES ===== */
:root {
  --bg: #0D1B2A;
  --bg-alt: #162535;
  --bg-card: #1a2d42;
  --fg: #F5F0E8;
  --fg-muted: rgba(245,240,232,0.55);
  --fg-dim: rgba(245,240,232,0.35);
  --accent: #E8956D;
  --accent-dark: #D07850;
  --accent-secondary: #F2C078;
  --border: rgba(245,240,232,0.08);
  --border-light: rgba(245,240,232,0.15);
  --white: #F5F0E8;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #0D1B2A; }

/* ===== LOGO ===== */
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* ===== NAV ===== */
.nav {
  padding: 22px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav__logo img { height: 32px; width: auto; display: block; }
.nav__tagline {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.nav__link:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ===== HERO ===== */
.hero {
  background: var(--bg);
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 40px 80px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}
.hero__overline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero__headline {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.hero__headline em {
  font-style: normal;
  color: var(--accent);
}
.hero__body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.hero__body--accent {
  color: var(--fg);
  font-weight: 500;
}
.hero__cta {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #0D1B2A;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
}
.hero__cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.hero__stat-row {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__stat-number {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.hero__stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== WAITLIST ===== */
.waitlist {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 40px;
}
.waitlist__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.waitlist__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.waitlist__heading {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 14px;
  line-height: 1.15;
}
.waitlist__body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.waitlist__benefits {
  list-style: none;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.waitlist__benefits li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}
.waitlist__benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
}
.waitlist__note-small {
  font-size: 12px;
  color: var(--fg-dim);
  margin-top: 12px;
}
.waitlist__form {
  display: flex;
  gap: 12px;
}
.waitlist__form-wrap {}
.waitlist__input {
  flex: 1;
  padding: 14px 18px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  background: rgba(255,255,255,0.05);
  color: var(--fg);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s;
}
.waitlist__input::placeholder {
  color: var(--fg-dim);
}
.waitlist__input:focus {
  border-color: var(--accent);
}
.waitlist__btn {
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  background: var(--accent);
  color: #0D1B2A;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.waitlist__btn:hover {
  background: var(--accent-dark);
}
.waitlist__btn:disabled {
  opacity: 0.7;
  cursor: default;
}
.waitlist__note {
  font-size: 13px;
  margin-top: 12px;
  min-height: 20px;
  color: var(--fg-muted);
}
.waitlist__note--ok { color: var(--accent-secondary); }
.waitlist__note--err { color: #E87070; }
.waitlist__chart {
  margin-top: 20px;
}
.waitlist__chart-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.waitlist__chart-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.waitlist__chart-goal {
  font-size: 12px;
  color: var(--fg-dim);
}
.waitlist__chart-bar-wrap {
  height: 6px;
  background: rgba(245,240,232,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.waitlist__chart-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--bg);
  padding: 100px 40px;
}
.manifesto__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.manifesto__number {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 8px;
  font-weight: 500;
}
.manifesto__heading {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--fg);
}
.manifesto__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 16px;
  max-width: 640px;
}
.manifesto__text strong {
  color: var(--fg);
}
.manifesto__quote {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.manifesto__quote blockquote {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--fg-muted);
  line-height: 1.55;
  max-width: 700px;
}

/* ===== HOW IT WORKS ===== */
.hiw {
  background: var(--bg-alt);
  padding: 100px 40px;
}
.hiw__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}
.hiw__number {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 500;
}
.hiw__title {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.hiw__steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.hiw__step {
  padding: 40px;
  border: 1px solid var(--border);
  margin: -1px 0 0 -1px;
  background: var(--bg-card);
  transition: border-color 0.2s;
}
.hiw__step:hover {
  border-color: var(--border-light);
}
.hiw__step-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  margin-bottom: 20px;
}
.hiw__step-title {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 12px;
}
.hiw__step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== RITMO ===== */
.ritmo {
  background: var(--bg);
  padding: 100px 40px;
}
.ritmo__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ritmo__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.ritmo__intro {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 16px;
  font-style: italic;
}
.ritmo__title {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 6px;
}
.ritmo__subtitle {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.ritmo__games {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}
.ritmo__game {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.ritmo__game:last-child { border-bottom: none; }
.ritmo__game-name {
  display: block;
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.ritmo__game-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== EVENTS ===== */
.events {
  background: var(--bg-alt);
  padding: 100px 40px;
}
.events__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.events__number {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.events__title {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--fg);
}
.events__body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.events__types {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.events__type {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.events__type:last-child { border-bottom: none; }
.events__type-icon {
  color: var(--accent);
  font-size: 10px;
  margin-top: 6px;
  flex-shrink: 0;
}
.events__type strong {
  display: block;
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--fg);
}
.events__type p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ===== CLOSING ===== */
.closing {
  background: var(--bg);
  padding: 100px 40px;
}
.closing__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing__headline {
  font-family: 'Bricolage Grotesque', 'Georgia', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 28px;
}
.closing__sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background: #091424;
  color: var(--fg);
  padding: 60px 40px 40px;
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__logo { }
.footer__logo img { height: 32px; width: auto; display: block; }
.footer__tagline {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-top: 2px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 12px;
  color: var(--fg-dim);
}
.footer__links span { display: block; }
.footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer__bottom p {
  font-size: 12px;
  color: var(--fg-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav__tagline { display: none; }

  .hero { padding: 60px 24px 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__stat-row { gap: 28px; flex-wrap: wrap; }

  .waitlist { padding: 48px 24px; }
  .waitlist__inner { grid-template-columns: 1fr; gap: 28px; }
  .waitlist__form { flex-direction: column; }

  .manifesto { padding: 60px 24px; }
  .manifesto__inner { grid-template-columns: 1fr; gap: 16px; }

  .hiw { padding: 60px 24px; }
  .hiw__steps { grid-template-columns: 1fr; }

  .ritmo { padding: 60px 24px; }

  .events { padding: 60px 24px; }
  .events__grid { grid-template-columns: 1fr; }

  .closing { padding: 80px 24px; }

  .footer { padding: 48px 24px 32px; }
  .footer__inner { flex-direction: column; }
  .footer__links { align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero__stat-row { flex-direction: column; gap: 20px; }
}