:root {
  color-scheme: dark;
  --bg: #080908;
  --panel: #111311;
  --line: #2b2e2b;
  --text: #f2f3ef;
  --muted: #a7aaa6;
  --quiet: #777c77;
  --green: #00ed82;
  --cyan: #00d4ff;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Helvetica Neue", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
.shell { width: min(calc(100% - 64px), var(--max-width)); margin: 0 auto; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 800; letter-spacing: .24em; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 7px; }
.nav-links, .footer-links { display: flex; align-items: center; gap: 30px; }
.nav-links { font-size: .88rem; }
.nav-links a, .footer-links a { text-decoration: none; }
.nav-links a:not(.button):hover, .footer-links a:hover, .text-link:hover { color: var(--green); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 0 22px; border: 1px solid var(--green); border-radius: 4px; background: var(--green); color: #07150e; font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; transition: background-color 160ms ease, color 160ms ease; }
.button:hover, .button:focus-visible { background: transparent; color: var(--green); }
.button-small { min-height: 39px; padding: 0 14px; font-size: .72rem; }
.text-link { color: var(--text); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.text-link span { margin-left: 8px; color: var(--green); }

.eyebrow, .story-index, .screen-label, .story-media figcaption, .hero-screen figcaption, .story-detail { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { margin: 0; color: var(--green); }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: clamp(50px, 8vw, 130px); min-height: 760px; padding-top: 68px; padding-bottom: 80px; }
.hero h1 { margin: 24px 0 0; font-size: clamp(4rem, 6.2vw, 6.7rem); font-weight: 700; letter-spacing: -.075em; line-height: .99; }
.hero h1 span { color: var(--green); }
.hero-copy { max-width: 510px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 38px; }
.hero-footnote { margin: 42px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--quiet); font-size: .83rem; }
.hero-screen { justify-self: end; width: min(100%, 390px); }
.screen-label { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; color: var(--muted); }
.screen-label span:first-child { color: var(--cyan); }
.hero-screen img { width: 100%; border: 1px solid var(--line); }
.hero-screen figcaption { margin-top: 12px; color: var(--quiet); line-height: 1.7; }

.manifesto { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.manifesto-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.manifesto p { margin: 0; padding: 30px 24px; border-left: 1px solid var(--line); font-size: 1.02rem; font-weight: 600; }
.manifesto p:last-child { border-right: 1px solid var(--line); }
.manifesto span { margin-right: 14px; color: var(--green); font-family: "SFMono-Regular", Consolas, monospace; font-size: .78rem; }

.journey { padding-top: 140px; padding-bottom: 110px; }
.section-intro { max-width: 840px; margin-bottom: 92px; }
.section-intro h2, .privacy-inner h2, .closing h2 { margin: 17px 0 0; font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 600; letter-spacing: -.065em; line-height: 1.08; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); align-items: center; gap: clamp(60px, 10vw, 170px); padding: 82px 0; border-top: 1px solid var(--line); }
.story-reverse .story-text { order: 2; }
.story-reverse .story-media { order: 1; }
.story-index { color: var(--cyan); }
.story h3 { margin: 22px 0; font-size: clamp(2.5rem, 4.3vw, 4.7rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.07; }
.story-text > p:not(.story-detail) { max-width: 520px; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.story-detail { max-width: 460px; margin: 30px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--quiet); line-height: 1.7; }
.story-media { width: min(100%, 360px); justify-self: center; }
.story-media img { width: 100%; border: 1px solid var(--line); }
.story-media figcaption { margin-top: 12px; color: var(--quiet); }

.privacy-band { padding: 82px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #151a16; }
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; }
.privacy-inner p:not(.eyebrow) { max-width: 490px; margin: 0 0 24px; color: var(--muted); font-size: 1.07rem; line-height: 1.7; }
.closing { padding-top: 140px; padding-bottom: 145px; }
.closing h2 { margin-bottom: 34px; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--quiet); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }

.legal-page { padding-top: 100px; padding-bottom: 120px; }
.legal-page h1 { margin: 17px 0 0; font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.07em; line-height: 1; }
.legal-intro { max-width: 740px; margin: 28px 0 65px; color: var(--muted); font-size: 1.1rem; }
.legal-section { max-width: 840px; padding: 30px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 12px; font-size: 1.3rem; font-weight: 600; }
.legal-section p, .legal-section li { color: var(--muted); }
.legal-section ul { padding-left: 22px; }
.legal-section a { color: var(--green); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr .8fr; gap: 36px; }
  .hero h1 { font-size: clamp(3.4rem, 7vw, 5rem); }
  .story { gap: 48px; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 36px), var(--max-width)); }
  .nav { min-height: 68px; }
  .nav-links a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 76px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(3.5rem, 12vw, 5.5rem); }
  .hero-screen { justify-self: start; width: min(100%, 460px); margin-top: 30px; }
  .manifesto-inner { grid-template-columns: 1fr; }
  .manifesto p { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .manifesto p:last-child { border-right: 0; border-bottom: 0; }
  .journey { padding-top: 90px; padding-bottom: 50px; }
  .section-intro { margin-bottom: 60px; }
  .story { grid-template-columns: 1fr; gap: 38px; padding: 62px 0; }
  .story-reverse .story-text, .story-reverse .story-media { order: initial; }
  .story-media { justify-self: start; width: min(100%, 430px); }
  .privacy-inner { grid-template-columns: 1fr; gap: 26px; }
  .closing { padding-top: 100px; padding-bottom: 110px; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 14px 24px; }
}

@media (max-width: 390px) {
  .brand-mark { width: 31px; height: 31px; }
  .button-small { min-height: 35px; padding: 0 9px; font-size: .63rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
}
