:root {
  color-scheme: dark;
  --bg: #0d1117;
  --surface: #141a22;
  --surface-2: #1a2430;
  --text: #edf2f7;
  --muted: #9fb0c2;
  --line: #2b3746;
  --green: #42d392;
  --cyan: #49c6e5;
  --amber: #f4b860;
  --red: #ff6b6b;
  --blue: #7aa2ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(13, 17, 23, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--muted); padding: 8px 10px; border-radius: 7px; font-size: 14px; }
.nav a:hover { background: rgba(255,255,255,.08); color: var(--text); }

.hero {
  min-height: min(760px, calc(100vh - 62px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 540px);
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
  padding: clamp(44px, 7vw, 88px) clamp(20px, 6vw, 88px) 52px;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  min-height: 360px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(66, 211, 146, .16), transparent 54%), linear-gradient(145deg, #10161e, #17202b);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-media img { width: min(72%, 420px); max-height: 420px; object-fit: contain; filter: drop-shadow(0 22px 38px rgba(0,0,0,.45)); }

.eyebrow, .section-kicker { color: var(--green); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 0; }
h1 { margin: 10px 0 12px; font-size: clamp(64px, 12vw, 138px); line-height: .86; letter-spacing: 0; }
h2 { margin: 0; font-size: clamp(30px, 5vw, 58px); line-height: 1; letter-spacing: 0; }
h3 { margin: 0 0 10px; font-size: 20px; }
p { color: var(--muted); line-height: 1.65; }
.lead { max-width: 650px; font-size: clamp(18px, 2vw, 22px); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 7px; font-weight: 750; border: 1px solid var(--line); }
.button.primary { background: var(--green); color: #06110c; border-color: var(--green); }
.button.secondary { background: rgba(255,255,255,.04); color: var(--text); }

.band { padding: 26px clamp(20px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metrics div { background: var(--surface); border: 1px solid var(--line); padding: 18px; border-radius: 8px; min-height: 98px; }
.metrics strong { display: block; font-size: 34px; color: var(--cyan); }
.metrics span { color: var(--muted); }

.section { padding: clamp(52px, 8vw, 96px) clamp(20px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.section-heading { max-width: 900px; margin-bottom: 30px; }

.timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; }
.timeline span { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(73,198,229,.12); color: var(--cyan); font-weight: 900; }
.timeline p { margin: 0; }

.package-grid, .builder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { padding: 22px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.card.ok { border-top: 4px solid var(--green); }
.card.warn { border-top: 4px solid var(--red); }
.card.queued { border-top: 4px solid var(--amber); }

.builder-panel { background: #101720; }
.resource-tabs { display: inline-grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: #0c1118; margin-bottom: 16px; }
.tab { min-height: 38px; border: 0; border-radius: 6px; padding: 0 14px; color: var(--muted); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.tab.active { background: var(--blue); color: #061027; }
.profile-output { min-height: 86px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); margin-bottom: 16px; }
.builder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.builder-grid > div { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }

.roadmap-list { display: grid; gap: 12px; max-width: 980px; }
.roadmap-list div { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.roadmap-list b { width: 48px; aspect-ratio: 1; display: grid; place-items: center; color: #07130e; background: var(--green); border-radius: 8px; }
.roadmap-list span { color: var(--muted); line-height: 1.55; }

.footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 24px clamp(20px, 6vw, 88px); color: var(--muted); }

@media (max-width: 820px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero-media { min-height: 260px; order: -1; }
  .metrics, .package-grid, .builder-grid { grid-template-columns: 1fr; }
  .resource-tabs { width: 100%; overflow-x: auto; }
  h1 { font-size: clamp(56px, 18vw, 88px); }
}
