:root {
  --ink: #0d0f0e;
  --panel: #141816;
  --line: #39413d;
  --paper: #e9e8e2;
  --muted: #a6ada9;
  --mint: #bfeee0;
  --orange: #ff5a14;
  --blue-grey: #70808c;
  --radius: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #c9bbb4;
  color: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.45;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: var(--mint); color: var(--ink); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.page-shell { width: min(1440px, calc(100% - 7vw)); margin: 5vh auto; display: grid; grid-template-columns: 250px 1fr; background: var(--ink); min-height: 90vh; box-shadow: 0 36px 90px rgba(41, 23, 18, .22); }
.side-rail { background: var(--blue-grey); color: #0c0e0d; border-right: 1px solid var(--ink); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.brand { min-height: 170px; padding: 38px 34px; display: flex; align-items: flex-start; border-bottom: 1px solid rgba(13, 15, 14, .65); }
.brand img { width: 142px; filter: brightness(0); }
.side-rail nav { display: flex; flex-direction: column; }
.side-rail nav a { padding: 19px 34px; text-decoration: none; font-size: .86rem; border-bottom: 1px solid rgba(13, 15, 14, .65); transition: background .2s, color .2s; }
.side-rail nav a:hover, .side-rail nav a:focus-visible { background: var(--mint); }
.rail-note { margin: auto 34px 34px; font-size: .72rem; line-height: 1.5; }
main { min-width: 0; overflow: hidden; }
.hero { min-height: 720px; display: grid; grid-template-columns: minmax(340px, .9fr) minmax(460px, 1.1fr); border-bottom: 1px solid var(--line); }
.hero-copy { padding: 70px 30px 48px; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow, .section-index { font: 600 .75rem/1.2 "Space Grotesk", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: -.055em; margin: 0; }
h1 { font-size: clamp(5rem, 8.2vw, 9.3rem); line-height: .78; }
h1 span, .closing h2 span { color: var(--mint); }
.hero-intro { max-width: 390px; margin: 42px 0 32px; font-size: 1.05rem; color: #c8cdca; }
.round-link { display: inline-flex; align-items: center; gap: .8rem; text-transform: uppercase; text-decoration: none; font: 700 .73rem/1 "Space Grotesk", sans-serif; letter-spacing: .08em; }
.round-link span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.3rem; transition: transform .2s; }
.round-link:hover span { transform: rotate(-45deg); }
.app-store-coming { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; min-width: 178px; padding: 9px 14px 9px 12px; border: 1px solid rgba(244, 242, 236, .62); border-radius: 10px; color: var(--paper); background: rgba(0, 0, 0, .2); font: 500 1.18rem/1 "Space Grotesk", sans-serif; letter-spacing: -.02em; box-shadow: inset 0 1px rgba(255, 255, 255, .08); }
.app-store-coming svg { width: 29px; height: 29px; flex: 0 0 auto; fill: currentColor; }
.app-store-coming span { display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.app-store-coming small { font: 500 .58rem/1 "Space Grotesk", sans-serif; letter-spacing: .055em; text-transform: uppercase; color: #c8cdca; }
.hero-stage { position: relative; overflow: hidden; background: var(--orange); min-height: 720px; display: grid; place-items: center; padding: 46px 34px 82px; }
.hero-stage::after { content: ""; position: absolute; width: 76%; aspect-ratio: 1; border: 1px solid rgba(13,15,14,.5); border-radius: 50%; }
.orbit { position: absolute; border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-28deg); }
.orbit-one { width: 82%; height: 34%; }
.orbit-two { width: 58%; height: 70%; transform: rotate(34deg); }
.phone { background: #070908; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.phone img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.025); }
.phone-hero { width: min(330px, 70%); aspect-ratio: 395 / 862; border-radius: 40px; border: 3px solid #343a37; position: relative; z-index: 2; transform: rotate(-3deg); }
.stage-caption { position: absolute; z-index: 3; left: 50%; bottom: 25px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px); margin: 0; padding: 10px 15px; background: var(--ink); color: var(--paper); font: 700 .68rem/1.2 "Space Grotesk", sans-serif; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.manifesto { padding: 100px 40px; display: grid; grid-template-columns: .42fr 1fr; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--ink); }
.section-index { color: #66706a; }
.manifesto h2, .source-copy h2, .about h2 { font-size: clamp(3rem, 6.2vw, 7.6rem); line-height: .88; }
h2 em { font-style: normal; color: var(--orange); }
.manifesto > div > p { max-width: 610px; margin: 32px 0 0 auto; font-size: 1.15rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; color: var(--ink); }
.feature { min-height: 850px; position: relative; overflow: hidden; padding: 36px; display: flex; flex-direction: column; }
.feature-mint { background: var(--mint); }
.feature-orange { background: var(--orange); }
.number { position: absolute; right: 30px; top: 22px; font: 600 6rem/1 "Space Grotesk", sans-serif; opacity: .2; }
.feature-copy { position: relative; z-index: 3; max-width: 520px; }
.feature h3 { font-size: clamp(3rem, 5vw, 6rem); line-height: .88; margin: 14px 0 22px; }
.feature-copy > p:last-child { max-width: 450px; }
.phone-pair { margin-top: 38px; min-height: 520px; position: relative; }
.phone-small { width: 260px; aspect-ratio: 395 / 865; border-radius: 34px; position: absolute; bottom: -80px; border: 3px solid #343a37; }
.phone-back { left: 8%; transform: rotate(-8deg); }
.phone-front { right: 5%; transform: rotate(7deg); z-index: 2; }
.phone-library { width: 260px; max-width: 70%; aspect-ratio: 395 / 862; border-radius: 34px; border: 3px solid #343a37; position: relative; flex: 0 0 auto; margin: 56px auto 24px; transform: rotate(-3deg); }
.source-section { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 780px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.source-copy { background: var(--paper); color: var(--ink); padding: 70px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.source-copy h2 { font-size: clamp(3rem, 5.1vw, 6.7rem); margin: 38px 0 28px; }
.source-copy > p:not(.section-index) { max-width: 570px; font-size: 1.05rem; }
.text-link { margin-top: auto; font-weight: 700; text-decoration: none; border-bottom: 1px solid; padding-bottom: 4px; }
.text-link span { padding-left: .6rem; }
.source-visual { position: relative; display: grid; place-items: center; background: #9273d3; overflow: hidden; }
.source-visual::before { content: ""; width: 520px; height: 520px; border-radius: 50%; background: var(--mint); position: absolute; }
.phone-source { width: 330px; aspect-ratio: 395 / 865; border-radius: 40px; border: 3px solid #343a37; position: relative; z-index: 2; transform: rotate(4deg); }
.source-word { position: absolute; left: 24px; bottom: 18px; color: var(--ink); font: 700 clamp(3rem, 5.4vw, 6.8rem)/.78 "Space Grotesk", sans-serif; letter-spacing: -.06em; z-index: 3; mix-blend-mode: multiply; }
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); min-height: 710px; }
.art-block { background: #d7ce9e; display: grid; place-items: center; padding: 50px; overflow: hidden; }
.art-block img { width: min(620px, 95%); filter: drop-shadow(0 26px 18px rgba(30, 20, 10, .22)); transform: rotate(-3deg); }
.about-copy { padding: 70px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.about h2 { font-size: clamp(3rem, 5.2vw, 6.8rem); margin: 48px 0 30px; }
.about-copy > p:not(.section-index) { max-width: 560px; color: #b8c0bc; font-size: 1.1rem; }
.status-pill { margin-top: auto; display: inline-flex; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: 100px; padding: 12px 18px; font-size: .83rem; }
.status-pill span { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.closing { min-height: 690px; padding: 56px 40px; background: var(--blue-grey); color: var(--ink); position: relative; }
.closing h2 { margin-top: 60px; font-size: clamp(6rem, 13.4vw, 14rem); line-height: .72; }
.closing .round-link { position: absolute; right: 40px; bottom: 50px; }
.round-link.light span { background: var(--mint); }
footer { min-height: 150px; padding: 28px 36px; display: grid; grid-template-columns: 1fr 1fr 1.5fr auto; gap: 24px; align-items: center; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
footer img { width: 124px; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--mint); }

.legal-page { background: var(--paper); color: var(--ink); min-height: 100vh; }
.legal-header { background: var(--ink); color: var(--paper); padding: 24px clamp(24px, 6vw, 80px); display: flex; justify-content: space-between; align-items: center; }
.legal-header img { width: 130px; }
.legal-header a { text-decoration: none; font-weight: 600; }
.legal-content { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0 120px; }
.legal-content .eyebrow { color: #66706a; }
.legal-content h1 { font-size: clamp(3.5rem, 8vw, 7.4rem); line-height: .86; margin: 22px 0 48px; }
.legal-content h2 { font-size: 1.55rem; letter-spacing: -.03em; margin: 42px 0 12px; }
.legal-content p, .legal-content li { font-size: 1rem; line-height: 1.75; }
.legal-content .summary { font-size: 1.3rem; line-height: 1.55; padding: 24px; border: 1px solid var(--ink); background: var(--mint); }
.legal-content a { font-weight: 700; }

@media (max-width: 1000px) {
  .page-shell { width: 100%; margin: 0; grid-template-columns: 1fr; }
  .side-rail { position: fixed; z-index: 10; inset: 0 auto 0 0; width: min(310px, 84vw); transform: translateX(-102%); transition: transform .25s; box-shadow: 20px 0 60px rgba(0,0,0,.3); }
  body.menu-open .side-rail { transform: translateX(0); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 640px; }
  .hero-stage { min-height: 720px; }
  .manifesto { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid, .source-section, .about { grid-template-columns: 1fr; }
  .feature { min-height: 820px; }
  .source-copy { min-height: 700px; }
  .source-visual { min-height: 720px; }
  .art-block { min-height: 620px; }
  .about-copy { min-height: 680px; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-copy { padding: 54px 22px 42px; min-height: 560px; }
  h1 { font-size: clamp(4.5rem, 24vw, 7rem); }
  .hero-stage { min-height: 620px; }
  .phone-hero { width: 74%; }
  .stage-caption { bottom: 20px; }
  .manifesto, .source-copy, .about-copy, .closing { padding-left: 22px; padding-right: 22px; }
  .manifesto { padding-top: 70px; padding-bottom: 70px; }
  .feature { min-height: 760px; padding: 26px 22px; }
  .phone-small { width: 210px; }
  .phone-back { left: -4%; }
  .phone-front { right: -3%; }
  .phone-library { width: 210px; max-width: 74%; margin-top: 48px; }
  .phone-source { width: 70%; }
  .source-visual::before { width: 410px; height: 410px; }
  .art-block { min-height: 500px; padding: 24px; }
  .closing { min-height: 570px; }
  .closing h2 { font-size: 25vw; }
  .closing .round-link { left: 22px; right: auto; }
  footer { grid-template-columns: 1fr; padding: 36px 22px; }
  footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
