:root {
  --bg: #121311;
  --bg-alt: #171815;
  --surface: #1e1f1c;
  --surface-2: #262724;
  --line: rgba(236, 228, 212, .11);
  --line-strong: rgba(236, 228, 212, .2);
  --text: #eee8dc;
  --muted: #a8a294;
  --faint: #7b776d;
  --gold: #dcc9a4;
  --gold-deep: #b39a70;
  --gold-soft: rgba(220, 201, 164, .14);
  --green: #9db384;
  --red: #c98b78;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --radius: 14px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
::selection { background: var(--gold); color: #141412; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--gold); color: #141412; border-radius: 6px; }
.skip:focus { top: 12px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 19, 17, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 400; letter-spacing: .02em; }
.brand-mark { width: 30px; height: 28px; fill: var(--gold); }
.nav { display: flex; gap: 34px; font-size: 14px; color: var(--muted); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--text); }
.lang { display: flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.lang button { border: 0; background: none; padding: 5px 11px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--gold); color: #141412; }

/* Shared type */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -.025em; font-weight: 400; }
.body { color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 540px; }
.section { padding: 128px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.section-head .body { max-width: 380px; font-size: 15px; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: 13px; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(157, 179, 132, .6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(157, 179, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(157, 179, 132, 0); } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 112px; }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(220, 190, 135, .16), rgba(220, 190, 135, .05) 45%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.035em; font-weight: 400; margin: 28px 0 28px; }
.hero h1 em { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; background: linear-gradient(100deg, #f3e6c8 0%, var(--gold) 40%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.lead { font-size: 19px; line-height: 1.7; color: var(--muted); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 15px 24px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: transform .2s, background .2s, border-color .2s; }
.btn-primary { background: linear-gradient(180deg, #e9dbbd, var(--gold)); color: #151512; box-shadow: 0 10px 30px -10px rgba(220, 201, 164, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 44px 0 0; font-size: 14px; color: var(--muted); }
.hero-facts li { position: relative; padding-left: 18px; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); opacity: .8; }
.hero-facts strong { color: var(--text); font-weight: 500; }

/* Device mockup */
.device-wrap { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; }
.device { width: min(340px, 100%); padding: 11px; border-radius: 48px; background: linear-gradient(150deg, #3a3a36, #181816 40%, #2c2c29); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07), inset 0 0 0 1px rgba(255, 255, 255, .05); transform: rotate(2deg); }
.screen { border-radius: 38px; background: #0f100e; padding: 14px 18px 20px; overflow: hidden; }
.screen-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; padding: 0 8px 12px; }
.notch { width: 86px; height: 24px; border-radius: 20px; background: #000; }
.bars { font-size: 7px; letter-spacing: 1px; color: var(--muted); }
.screen-head { display: flex; justify-content: space-between; align-items: flex-start; }
.ticker { display: block; font-size: 17px; font-weight: 600; }
.sub { display: block; font-size: 11px; color: var(--faint); }
.change { font-size: 13px; font-weight: 600; color: var(--green); background: rgba(157, 179, 132, .12); padding: 3px 8px; border-radius: 6px; }
.periods { display: flex; gap: 4px; margin: 14px 0 8px; font-size: 11px; color: var(--faint); }
.periods span { flex: 1; text-align: center; padding: 4px 0; border-radius: 6px; }
.periods .on { background: var(--surface-2); color: var(--text); }
.chart { width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: rgba(255, 255, 255, .06); }
.chart .wick line { stroke: #8c887e; stroke-width: 1.2; }
.chart .up { fill: var(--gold); }
.chart .dn { fill: #0f100e; stroke: #8c887e; stroke-width: 1.2; }
.chart .sma { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linejoin: round; opacity: .85; }
.chart .marker { fill: rgba(220, 201, 164, .12); stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 3 3; }
.legend { display: flex; gap: 16px; font-size: 10px; color: var(--faint); margin: 6px 0 14px; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 2px; background: var(--green); display: inline-block; }
.sw-mark { width: 9px; height: 9px; border: 1px dashed var(--gold); border-radius: 50%; background: none; }
.explain { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.depth { display: flex; padding: 3px; background: #0f100e; border-radius: 10px; margin-bottom: 12px; }
.depth-btn { flex: 1; border: 0; background: none; padding: 6px 0; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.depth-btn[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.explain-title { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.glint-sm { width: 13px; height: 13px; fill: var(--gold); }
.explain-text { font-size: 12.5px; line-height: 1.6; color: var(--muted); min-height: 80px; }
.source { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11px; color: var(--gold); }
.device-glint { position: absolute; right: -2%; bottom: 17%; width: 54px; height: 54px; fill: #fff4dc; filter: drop-shadow(0 0 10px rgba(255, 220, 160, .9)) drop-shadow(0 0 28px rgba(255, 200, 120, .5)); animation: twinkle 5s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .95; transform: scale(1) rotate(0); } 50% { opacity: .6; transform: scale(.85) rotate(12deg); } }
.device-wrap figcaption { margin-top: 26px; font-size: 12px; color: var(--faint); text-align: center; }

/* Scope strip */
.scope { border-block: 1px solid var(--line); background: var(--bg-alt); }
.scope-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; font-size: 14px; color: var(--muted); }
.glint-xs { width: 10px; height: 10px; fill: var(--gold); opacity: .7; flex: none; }

/* Idea */
.idea { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.idea h2 { margin-bottom: 26px; }
.questions { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.questions li { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.q-num { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); line-height: 1.2; }
.questions h3 { font-size: 20px; margin-bottom: 6px; }
.questions p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module { position: relative; padding: 30px 28px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s; overflow: hidden; }
.module::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(220, 201, 164, .5), transparent); opacity: 0; transition: opacity .3s; }
.module:hover { border-color: rgba(220, 201, 164, .3); transform: translateY(-3px); }
.module:hover::after { opacity: 1; }
.module-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--gold-soft); margin-bottom: 26px; }
.module-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.module h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 10px; }
.module p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.module ul { list-style: none; padding: 18px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.module li { position: relative; padding-left: 20px; }
.module li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* Journey */
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.journey h2 { margin-bottom: 24px; }
.steps { list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(var(--gold), rgba(220, 201, 164, .1)); }
.steps li { position: relative; display: flex; gap: 28px; padding: 18px 0; }
.step-dot { position: relative; z-index: 1; flex: none; width: 15px; height: 15px; margin-top: 6px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--gold); }
.steps li:first-child .step-dot { background: var(--gold); box-shadow: 0 0 16px rgba(220, 201, 164, .6); }
.steps h3 { font-size: 21px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Status */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 56px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 28px 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats dd { margin: 0; font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--gold); }
.stats dt { font-size: 14px; color: var(--muted); line-height: 1.45; }
.roadmap { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: rm; }
.roadmap li { position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.roadmap li::before { counter-increment: rm; content: "0" counter(rm); position: absolute; right: 22px; top: 24px; font-family: var(--serif); font-style: italic; color: var(--faint); font-size: 18px; }
.roadmap .tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); margin-bottom: 22px; }
.roadmap .done { border-color: rgba(157, 179, 132, .35); }
.roadmap .done .tag { border-color: transparent; background: rgba(157, 179, 132, .15); color: var(--green); }
.roadmap h3 { font-size: 18px; margin-bottom: 8px; }
.roadmap p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Principles */
.principles-head { margin-bottom: 52px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principles > div { padding: 30px 28px 0 0; }
.principles > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.principles h3 { font-size: 18px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.principles h3::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
.principles p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 18px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
summary:hover { color: var(--gold); }
details p { color: var(--muted); font-size: 16px; line-height: 1.75; padding: 0 40px 26px 0; }

/* Closing */
.closing { position: relative; padding: 120px 0 130px; text-align: center; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 50%; top: 40px; width: 760px; height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(220, 190, 135, .13), transparent 70%); pointer-events: none; }
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.emblem { width: 230px; height: 230px; object-fit: cover; border-radius: 52px; margin-bottom: 44px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); }
.closing h2 { font-size: clamp(38px, 5.4vw, 68px); margin-bottom: 22px; }
.closing .body { margin-bottom: 32px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.footer .brand { font-size: 19px; }
.footer .brand-mark { width: 25px; height: 23px; }
.disclaimer { font-size: 12px; color: var(--faint); line-height: 1.6; max-width: 560px; }
.copy { font-size: 13px; color: var(--muted); white-space: nowrap; }
.copy a:hover { color: var(--gold); }

/* Reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-inner { gap: 48px; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(3) { border-right: 0; }
  .stats div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .stats div:last-child { grid-column: span 2; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principles > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .principles > div { padding-bottom: 30px; }
  .scope-inner { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .section { padding: 88px 0; }
  .hero { padding: 64px 0 80px; }
  .hero-inner, .idea, .journey, .faq { grid-template-columns: 1fr; gap: 48px; }
  .device { transform: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 62px; }
  .brand { font-size: 20px; }
  .hero { padding: 44px 0 64px; }
  .hero h1 { margin: 22px 0; }
  .lead { font-size: 17px; }
  .btn { width: 100%; justify-content: center; }
  .hero-facts { flex-direction: column; gap: 8px; margin-top: 32px; }
  .section { padding: 72px 0; }
  .body { font-size: 16px; }
  .questions li { grid-template-columns: 1fr; padding: 22px; }
  .q-num { grid-row: auto; margin-bottom: 8px; }
  .modules, .roadmap, .principles { grid-template-columns: 1fr; }
  .principles > div, .principles > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 18px; }
  .stats div:nth-child(2n) { border-right: 0; }
  .stats div:nth-child(3) { border-right: 1px solid var(--line); }
  .stats div:last-child { grid-column: span 2; border-bottom: 0; }
  .stats dd { font-size: 42px; }
  summary { font-size: 16px; }
  details p { padding-right: 0; font-size: 15px; }
  .closing { padding: 88px 0 96px; }
  .emblem { width: 180px; height: 180px; border-radius: 40px; }
  .device-glint { right: 0; width: 42px; height: 42px; }
  .copy { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
