:root {
  --ink: #102c27;
  --ink-soft: #294942;
  --canvas: #f4f5f1;
  --paper: #ffffff;
  --line: #d7e1dc;
  --mint: #d8f0e7;
  --green: #127267;
  --deep-green: #0d2924;
  --coral: #d67152;
  --gold: #d9a63c;
  --sky: #3f748e;
  --muted: #6c817a;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 50;
  background: var(--paper);
  padding: 10px 14px;
  color: var(--ink);
}
.skip-link:focus { top: 16px; }
.section-wrap { width: min(calc(100% - 48px), var(--max-width)); margin: 0 auto; }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 10px max(24px, calc((100vw - var(--max-width)) / 2));
  position: fixed;
  right: 0;
  top: 0;
  transition: background-color 240ms ease, border-color 240ms ease;
  z-index: 20;
}
.site-header.is-scrolled {
  background-color: rgba(244, 245, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.site-header:not(.is-scrolled) .brand,
.site-header:not(.is-scrolled) .site-nav > a:not(.nav-cta),
.site-header:not(.is-scrolled) .menu-toggle { color: var(--paper); }
.site-header:not(.is-scrolled) .site-nav > a:not(.nav-cta):hover { color: #9bd7c4; }
.brand, .footer-brand { align-items: center; display: inline-flex; font-size: 15px; font-weight: 800; gap: 9px; letter-spacing: 0; }
.brand img { height: 44px; object-fit: contain; width: 38px; }
.site-nav { align-items: center; display: flex; gap: 26px; }
.site-nav > a:not(.nav-cta) { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.site-nav > a:not(.nav-cta):hover { color: var(--green); }
.nav-cta, .button {
  align-items: center;
  border: 1px solid currentColor;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.nav-cta { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.nav-cta:hover, .button-light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.menu-toggle { background: transparent; border: 0; color: var(--ink); display: none; height: 44px; padding: 0; width: 44px; }

.hero { background: var(--deep-green); color: var(--paper); min-height: 780px; overflow: hidden; position: relative; }
#atlas { height: 100%; inset: 0; position: absolute; width: 100%; }
.hero-shell { display: grid; grid-template-columns: minmax(0, 1fr) 230px; min-height: 780px; padding: 178px max(24px, calc((100vw - var(--max-width)) / 2)) 86px; position: relative; }
.hero-copy { align-self: center; max-width: 720px; position: relative; z-index: 1; }
.eyebrow { align-items: center; color: var(--green); display: flex; font-family: "DM Mono", monospace; font-size: 11px; font-weight: 500; gap: 8px; letter-spacing: 0.04em; margin: 0 0 20px; text-transform: uppercase; }
.eyebrow span { background: currentColor; display: inline-block; height: 1px; width: 34px; }
.eyebrow-light { color: #9bd7c4; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(54px, 7vw, 106px); font-weight: 800; letter-spacing: 0; line-height: 0.98; margin-bottom: 26px; }
.hero h1 em { color: #9bd7c4; font-style: normal; }
.hero-lede { color: #d6e6e0; font-size: clamp(17px, 2.1vw, 22px); line-height: 1.5; max-width: 560px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.button svg, .text-link svg { height: 16px; width: 16px; }
.button-light { background: var(--paper); color: var(--ink); }
.button-mint { background: var(--mint); border-color: var(--mint); color: var(--ink); margin-top: 28px; }
.button-mint:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.text-link { align-items: center; display: inline-flex; font-size: 13px; font-weight: 800; gap: 8px; }
.text-link-light { color: var(--paper); }
.text-link:hover { color: var(--gold); }
.hero-side-note { align-self: center; border-left: 1px solid rgba(255,255,255,0.35); padding-left: 16px; position: relative; z-index: 1; }
.hero-side-note p { color: #c4d5cf; font-size: 13px; line-height: 1.55; margin: 12px 0 0; }
.note-index { color: #9bd7c4; font-family: "DM Mono", monospace; font-size: 11px; }
.hero-metrics { align-self: end; display: flex; gap: 0; grid-column: 1 / -1; margin-top: 70px; position: relative; z-index: 1; }
.hero-metrics > div { border-left: 1px solid rgba(255,255,255,0.28); display: grid; gap: 4px; min-width: 150px; padding: 0 24px; }
.hero-metrics > div:first-child { padding-left: 0; }
.hero-metrics strong { color: var(--paper); font-size: 23px; line-height: 1; }
.hero-metrics span { color: #b9ccc5; font-size: 11px; font-weight: 600; }
.scroll-cue { align-items: center; bottom: 26px; color: #b9ccc5; display: flex; font-family: "DM Mono", monospace; font-size: 10px; gap: 8px; left: max(24px, calc((100vw - var(--max-width)) / 2)); position: absolute; text-transform: uppercase; z-index: 1; }
.scroll-cue svg { animation: nudge-down 1.8s ease-in-out infinite; height: 16px; width: 16px; }

.manifesto { background: var(--paper); padding: 142px 0; }
.manifesto-grid { align-items: start; display: grid; gap: 42px; grid-template-columns: 0.7fr 2fr 0.65fr; }
.manifesto h2, .section-heading h2, .method h2, .everywhere h2, .launch h2 { font-size: clamp(38px, 5vw, 66px); font-weight: 800; letter-spacing: 0; line-height: 1.04; margin-bottom: 24px; }
.manifesto-grid > div > p { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 650px; }
.manifesto-stamp { align-content: start; color: var(--coral); display: grid; font-family: "DM Mono", monospace; font-size: 10px; gap: 9px; letter-spacing: 0.08em; padding-top: 8px; transform: rotate(-8deg); }
.manifesto-stamp span { border-bottom: 1px solid currentColor; padding-bottom: 6px; }

.worlds { padding: 132px 0 100px; }
.section-heading { display: grid; grid-template-columns: 0.7fr 2fr; margin-bottom: 65px; }
.section-heading h2 { grid-column: 2; margin-bottom: 0; }
.world-list { border-top: 1px solid var(--line); }
.world-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 24px; grid-template-columns: 58px minmax(240px, 1.2fr) minmax(220px, 0.9fr) 34px; min-height: 148px; padding: 26px 12px; transform-style: preserve-3d; transition: background-color 220ms ease, transform 220ms ease; }
.world-row:hover { background: var(--mint); }
.world-row-coral:hover { background: #f9e1d9; }
.world-row-gold:hover { background: #f8edcf; }
.world-row-sky:hover { background: #dcecf0; }
.world-number { color: var(--muted); font-family: "DM Mono", monospace; font-size: 12px; }
.world-kicker { color: var(--green); font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: 0.04em; margin-bottom: 8px; text-transform: uppercase; }
.world-row-coral .world-kicker { color: var(--coral); }
.world-row-gold .world-kicker { color: #9b6e0a; }
.world-row-sky .world-kicker { color: var(--sky); }
.world-row h3 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: 0; line-height: 1.15; margin: 0; }
.world-detail { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }
.world-row > svg { color: var(--green); height: 28px; width: 28px; }

.mission { background: var(--deep-green); color: var(--paper); min-height: 740px; overflow: hidden; position: relative; }
.mission-media { inset: 0; position: absolute; }
.mission-media img { height: 100%; object-fit: cover; transform: scale(1.03); width: 100%; }
.mission-overlay { background: rgba(9, 37, 32, 0.76); inset: 0; position: absolute; }
.mission-content { max-width: 1240px; padding: 146px 0 110px; position: relative; }
.mission h2 { font-size: clamp(48px, 6vw, 86px); letter-spacing: 0; line-height: 1; margin: 0 0 22px; }
.mission-lede { color: #dce9e4; font-size: 18px; line-height: 1.6; max-width: 570px; }
.mission-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; }
.mission-meta span { border-left: 1px solid rgba(255,255,255,0.48); color: #d4e3dc; font-family: "DM Mono", monospace; font-size: 11px; padding: 0 13px; text-transform: uppercase; }
.mission-meta span:first-child { padding-left: 0; }

.method { background: var(--paper); padding: 132px 0; }
.method-grid { display: grid; gap: 70px; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); }
.method-intro p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 480px; }
.method-steps { list-style: none; margin: 0; padding: 0; }
.method-steps li { align-items: start; border-top: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: 52px 1fr; padding: 24px 0; }
.method-steps li:last-child { border-bottom: 1px solid var(--line); }
.method-steps span { color: var(--green); font-family: "DM Mono", monospace; font-size: 12px; padding-top: 5px; }
.method-steps h3 { font-size: 24px; margin: 0 0 5px; }
.method-steps p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }

.everywhere { background: #dfece5; overflow: hidden; padding: 128px 0; }
.everywhere-grid { align-items: center; display: grid; gap: 54px; grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr); }
.everywhere-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; line-height: 1.65; max-width: 500px; }
.everywhere-points { display: grid; gap: 12px; margin-top: 30px; }
.everywhere-points span { align-items: center; color: var(--ink-soft); display: flex; font-size: 13px; font-weight: 700; gap: 10px; }
.everywhere-points svg { color: var(--green); height: 18px; width: 18px; }
.screen-stage { min-height: 450px; perspective: 1100px; position: relative; }
.desktop-screen { background: #123a33; border: 8px solid #102c27; box-shadow: 18px 28px 0 rgba(16,44,39,0.14); height: 316px; overflow: hidden; position: absolute; right: 0; top: 25px; transform: rotateY(-12deg) rotateX(5deg); width: min(100%, 510px); }
.desktop-screen > img { height: 100%; object-fit: cover; opacity: 0.66; width: 100%; }
.screen-top { align-items: center; background: var(--paper); display: flex; gap: 5px; height: 28px; padding-left: 10px; position: absolute; top: 0; width: 100%; z-index: 1; }
.screen-top span { background: var(--coral); border-radius: 50%; height: 7px; width: 7px; }
.screen-top span:nth-child(2) { background: var(--gold); }
.screen-top span:nth-child(3) { background: var(--green); }
.screen-lesson { bottom: 28px; color: var(--paper); left: 28px; max-width: 270px; position: absolute; z-index: 1; }
.screen-lesson p { color: #a7dac9; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: 0.05em; margin-bottom: 7px; }
.screen-lesson strong { display: block; font-size: 26px; line-height: 1.1; }
.screen-lesson small { color: #d7ebe3; display: block; font-size: 11px; margin-top: 7px; }
.phone-screen { background: var(--paper); border: 7px solid #102c27; bottom: 0; box-shadow: 14px 22px 0 rgba(16,44,39,0.14); color: var(--ink); display: grid; justify-items: center; left: 0; padding: 46px 20px 26px; position: absolute; transform: rotateY(18deg) rotateX(5deg); width: 185px; }
.phone-notch { background: #102c27; height: 15px; left: 50%; position: absolute; top: 0; transform: translateX(-50%); width: 78px; }
.phone-screen img { height: 62px; object-fit: contain; width: 55px; }
.phone-screen p { color: var(--green); font-family: "DM Mono", monospace; font-size: 9px; margin: 18px 0 6px; text-transform: uppercase; }
.phone-screen strong { font-size: 18px; line-height: 1.1; text-align: center; }
.phone-screen span { color: var(--muted); font-size: 10px; margin-top: 8px; }

.launch { background: var(--deep-green); color: var(--paper); overflow: hidden; padding: 132px 0; position: relative; }
.launch-inner { max-width: 930px; position: relative; }
.launch-inner > img { bottom: -160px; height: 450px; opacity: 0.2; position: absolute; right: -80px; transform: rotate(7deg); width: auto; }
.launch h2 { max-width: 820px; position: relative; }
.launch-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 22px; position: relative; }

.site-footer { align-items: center; background: var(--canvas); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; padding: 32px max(24px, calc((100vw - var(--max-width)) / 2)); }
.footer-brand img { height: 38px; object-fit: contain; width: 32px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a, .site-footer p { color: var(--muted); font-size: 12px; font-weight: 700; margin: 0; }
.footer-links a:hover { color: var(--green); }

[data-reveal] { opacity: 1; transform: translateY(0); }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.legal-main { padding: 152px 0 88px; }
.legal-hero { border-bottom: 1px solid var(--line); padding-bottom: 52px; }
.legal-kicker { color: var(--green); font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: 0.06em; margin: 0 0 18px; text-transform: uppercase; }
.legal-hero h1 { font-size: clamp(46px, 6vw, 82px); letter-spacing: 0; line-height: 1; margin: 0 0 20px; max-width: 800px; }
.legal-hero p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; max-width: 680px; }
.legal-layout { display: grid; gap: 68px; grid-template-columns: 210px minmax(0, 1fr); padding-top: 62px; }
.legal-toc { align-self: start; border-left: 1px solid var(--line); display: grid; gap: 12px; padding-left: 18px; position: sticky; top: 104px; }
.legal-toc a { color: var(--muted); font-size: 12px; font-weight: 700; }
.legal-toc a:hover { color: var(--green); }
.legal-copy { max-width: 780px; }
.legal-copy h2 { font-size: 26px; letter-spacing: 0; line-height: 1.2; margin: 46px 0 14px; scroll-margin-top: 108px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: var(--ink-soft); font-size: 15px; line-height: 1.72; }
.legal-copy p { margin: 0 0 17px; }
.legal-copy ul { margin: 0 0 20px; padding-left: 20px; }
.legal-copy a { color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { background: var(--mint); border-left: 3px solid var(--green); color: var(--ink); font-size: 15px; line-height: 1.65; margin: 0 0 32px; padding: 20px 22px; }
.complete-main { align-items: center; display: grid; min-height: 100vh; padding: 132px 0 56px; text-align: center; }
.complete-main .owl-mark { height: 104px; margin: 0 auto 28px; object-fit: contain; width: 94px; }
.complete-main h1 { font-size: clamp(44px, 6vw, 76px); letter-spacing: 0; line-height: 1; margin: 0 auto 18px; max-width: 760px; }
.complete-main p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 auto 24px; max-width: 620px; }

@keyframes nudge-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 900px) {
  .hero-shell { grid-template-columns: 1fr; }
  .hero-side-note { display: none; }
  .manifesto-grid, .section-heading { grid-template-columns: 1fr; }
  .section-heading h2 { grid-column: auto; }
  .manifesto-stamp { display: none; }
  .everywhere-grid { grid-template-columns: 1fr; }
  .screen-stage { margin-left: 32px; }
}
@media (max-width: 700px) {
  .section-wrap { width: min(calc(100% - 40px), var(--max-width)); }
  .site-header { min-height: 68px; padding: 8px 20px; }
  .brand { font-size: 13px; }
  .brand img { height: 39px; width: 34px; }
  .menu-toggle { align-items: center; display: inline-flex; justify-content: center; }
  .site-nav { background: var(--paper); border-bottom: 1px solid var(--line); display: none; flex-direction: column; gap: 0; left: 0; padding: 16px 20px 22px; position: absolute; right: 0; top: 68px; }
  .site-nav.is-open { display: flex; }
  .legal-main { padding: 112px 0 64px; }
  .legal-hero { padding-bottom: 38px; }
  .legal-layout { gap: 36px; grid-template-columns: 1fr; padding-top: 40px; }
  .legal-toc { display: none; }
  .site-nav > a:not(.nav-cta) { border-top: 1px solid var(--line); padding: 16px 0; width: 100%; }
  .nav-cta { margin-top: 12px; width: 100%; }
  .hero { min-height: 760px; }
  .hero-shell { min-height: 760px; padding: 142px 20px 80px; }
  .hero h1 { font-size: clamp(46px, 14vw, 70px); }
  #atlas { opacity: 0.86; }
  .hero-lede { font-size: 16px; max-width: 440px; }
  .hero-metrics { gap: 0; margin-top: 48px; }
  .hero-metrics > div { min-width: 0; padding: 0 11px; }
  .hero-metrics strong { font-size: 17px; }
  .hero-metrics span { font-size: 9px; }
  .scroll-cue { left: 20px; }
  .manifesto, .method, .everywhere, .launch { padding: 90px 0; }
  .worlds { padding: 90px 0 64px; }
  .section-heading { margin-bottom: 42px; }
  .world-row { align-items: start; gap: 14px; grid-template-columns: 38px 1fr 24px; min-height: 0; padding: 25px 4px; }
  .world-detail { grid-column: 2 / 4; }
  .world-row > svg { height: 22px; width: 22px; }
  .mission { min-height: 720px; }
  .mission-content { padding: 110px 20px 80px; }
  .mission h2 { font-size: clamp(45px, 14vw, 68px); }
  .mission-lede { font-size: 16px; }
  .method-grid { gap: 42px; grid-template-columns: 1fr; }
  .screen-stage { margin-left: 0; min-height: 385px; }
  .desktop-screen { height: 245px; width: calc(100% - 24px); }
  .screen-lesson { bottom: 20px; left: 20px; }
  .screen-lesson strong { font-size: 20px; }
  .phone-screen { left: 6px; transform: rotateY(12deg) rotateX(4deg) scale(0.86); transform-origin: left bottom; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; scroll-behavior: auto !important; transition-duration: 1ms !important; }
}
