:root {
  color-scheme: dark;
  --ink: #f3f0e8;
  --muted: #b8beb4;
  --forest: #101b18;
  --forest-soft: #172621;
  --moss: #9eb36b;
  --moss-light: #c9da8f;
  --ember: #d98b42;
  --line: rgba(238, 241, 228, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 17px; letter-spacing: .01em; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font: 700 11px/1 Georgia, serif; letter-spacing: .08em; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.site-header nav a { text-decoration: none; color: #e1e5dc; font-size: 13px; font-weight: 650; }
.nav-cta { border: 1px solid rgba(255,255,255,.42); border-radius: 999px; padding: 9px 19px; }

.hero {
  position: relative;
  min-height: min(900px, 100vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #17211f url('/assets/brousse-hero.png') center 42% / cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,13,13,.88) 0%, rgba(8,16,15,.58) 39%, rgba(9,16,15,.08) 72%), linear-gradient(0deg, rgba(10,18,16,.72), transparent 38%); }
.hero-content { position: relative; z-index: 1; width: min(760px, 88vw); margin-left: clamp(24px, 9vw, 150px); padding-top: 90px; }
.eyebrow, .kicker { color: var(--moss-light); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; font-weight: 750; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #a9cf73; box-shadow: 0 0 16px #a9cf73; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
h1 { margin: 20px 0 22px; font-size: clamp(64px, 9.5vw, 144px); line-height: .8; text-wrap: balance; }
h1 em { color: var(--moss-light); font-weight: 400; }
.hero-copy { max-width: 600px; margin: 0 0 30px; color: #e0e4dc; font-size: clamp(17px, 1.6vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 25px; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--moss-light); outline-offset: 3px; }
.button-primary { color: #162016; background: var(--moss-light); }
.button-primary:hover { background: #d8e8a2; }
.button-quiet { border: 1px solid rgba(255,255,255,.38); background: rgba(12,21,19,.42); backdrop-filter: blur(8px); }
.launch-hint { max-width: 540px; margin: 15px 0 0; color: #f7d09d; font-size: 13px; }
.tech-row { display: flex; flex-wrap: wrap; gap: 22px; margin: 38px 0 0; padding: 0; color: #c7cdc4; list-style: none; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.tech-row li::before { content: '◆'; margin-right: 8px; color: var(--moss); font-size: 8px; }
.hero-caption { position: absolute; right: 28px; bottom: 32px; z-index: 1; writing-mode: vertical-rl; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }

.world-section, .alpha-section, .play-section { padding: clamp(76px, 10vw, 150px) clamp(24px, 8vw, 130px); }
.world-section { background: #ede9df; color: #17221f; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 8vw; align-items: end; margin-bottom: 72px; }
.section-heading .kicker { grid-column: 1 / -1; color: #63743f; }
h2 { margin: 0; font-size: clamp(48px, 6vw, 88px); line-height: .96; }
.section-heading p { max-width: 500px; margin: 0 0 8px; color: #53615b; font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(23,34,31,.2); }
.feature-card { min-height: 250px; padding: 28px 28px 30px 0; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(23,34,31,.2); }
.feature-card + .feature-card { padding-left: 28px; }
.feature-card:last-child { border-right: 0; }
.feature-number { color: #758565; font: 700 11px/1 ui-monospace, monospace; letter-spacing: .15em; }
.feature-card h3 { margin: 0 0 9px; font: 400 clamp(32px, 3vw, 46px)/1 Georgia, serif; }
.feature-card p { max-width: 310px; margin: 0; color: #5f6b66; }

.alpha-section { background: var(--forest-soft); }
.alpha-section > div:first-child { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 62px; }
.alpha-section h2 { max-width: 760px; }
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.milestone { min-height: 180px; padding: 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.milestone:last-child { border-right: 0; }
.milestone span { color: var(--moss); font: 700 11px/1 ui-monospace, monospace; }
.milestone strong { margin-top: auto; font: 400 23px/1.1 Georgia, serif; }
.milestone small { margin-top: 8px; color: var(--muted); }
.server-card { margin-top: 20px; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.server-label { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .15em; }
.server-state { color: #e7c189; font-size: 13px; }
.server-state span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; }
.server-state.online { color: #acd47a; }

.play-section { background: #0c1513; }
.play-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 8vw; align-items: end; }
.play-copy .kicker { grid-column: 1 / -1; }
.play-copy p { color: var(--muted); font-size: 17px; }
.steps { margin: 64px 0 42px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--moss); font: 700 12px/1.7 ui-monospace, monospace; }
.steps strong { font: 400 22px/1.2 Georgia, serif; }
.steps p { margin: 7px 0; color: var(--muted); }
code { display: inline-block; max-width: 100%; overflow-x: auto; padding: 8px 10px; border: 1px solid var(--line); background: #111e1a; color: #d8e7b0; font-size: 12px; }
.button-large { min-height: 60px; padding-inline: 32px; }

footer { padding: 38px clamp(24px, 5vw, 76px); display: flex; justify-content: space-between; align-items: center; gap: 28px; border-top: 1px solid var(--line); background: #09110f; color: var(--muted); }
footer p { font-size: 12px; }

@media (max-width: 800px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 820px; background-position: 58% center; }
  .hero-content { margin: 0 24px; padding-top: 110px; }
  .section-heading, .play-copy { grid-template-columns: 1fr; }
  .section-heading .kicker, .play-copy .kicker { grid-column: auto; }
  .feature-grid, .milestones { grid-template-columns: 1fr 1fr; }
  .feature-card { border-bottom: 1px solid rgba(23,34,31,.2); }
  .milestone:nth-child(2) { border-right: 0; }
  .milestone:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .site-header { min-height: 72px; padding-inline: 18px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  h1 { font-size: 59px; }
  .hero-actions .button { width: 100%; }
  .tech-row { gap: 11px; flex-direction: column; }
  .feature-grid, .milestones { grid-template-columns: 1fr; }
  .feature-card, .feature-card + .feature-card, .milestone { padding: 24px 0; border-right: 0; border-bottom: 1px solid rgba(23,34,31,.2); }
  .milestone { padding-inline: 20px; }
  .server-card, footer { align-items: flex-start; flex-direction: column; }
  .steps li { grid-template-columns: 38px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
