@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0c0e;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #edece8;
  --soft: #b9b8b4;
  --muted: #86878b;
  --dim: #5b5c61;
  --gold: #c9a56c;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.55; font-weight: 400; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(201, 165, 108, 0.28); }
:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--gold); border-radius: 2px; }

/* The page sits inside two vertical hairlines, like the frame in the design. */
.frame { position: relative; max-width: 1240px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
@media (max-width: 1288px) { .frame { margin: 0 24px; } }
@media (max-width: 640px) { .frame { margin: 0 14px; } }

.label { font-family: var(--mono); font-size: 10.5px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.eyebrow { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--soft); font-weight: 400; padding-left: 0.3em; }
.gold { color: var(--gold); }

h1, h2, h3 { font-weight: 300; letter-spacing: -0.04em; line-height: 1.06; color: var(--text); text-wrap: balance; }
h1, h2 { font-size: clamp(31px, 3.5vw, 46px); }
p { text-wrap: pretty; }

/* Header */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; padding: 0 var(--pad); }
.top .right { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.top .right svg { width: 12px; height: 12px; stroke: var(--muted); fill: none; stroke-width: 1; }
.wordmark { font-size: 14px; font-weight: 400; letter-spacing: 0.34em; padding-left: 0.34em; color: var(--text); }
a.label { transition: color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { a.label:hover { color: var(--text); } }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 76px var(--pad) 72px; border-bottom: 1px solid var(--line); }
.nebula-wrap { position: relative; width: min(640px, 100%); height: clamp(380px, 62vh, 620px); margin-bottom: -84px; pointer-events: none; }
#nebula { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1400ms ease-out; }
#nebula.on { opacity: 1; }
#nebula.nogl { opacity: 1; background: radial-gradient(closest-side at 50% 46%, #fff3d6 0, #f0a940 4%, rgba(214, 120, 60, 0.35) 14%, rgba(120, 60, 140, 0.12) 34%, transparent 62%); }
.hero .eyebrow { position: relative; }
.hero h1 { position: relative; margin: 18px 0 20px; }
.hero .lede { position: relative; color: var(--muted); max-width: 300px; font-size: 14px; line-height: 1.5; }
.scrollmark { margin-top: 44px; width: 30px; height: 7px; border-top: 1px solid var(--dim); position: relative; }
.scrollmark::after { content: ""; position: absolute; left: 0; top: 5px; width: 20px; border-top: 1px solid var(--dim); }

/* Sections */
section { position: relative; border-bottom: 1px solid var(--line); padding: clamp(84px, 11vw, 150px) var(--pad); }
.sec-label { position: absolute; left: var(--pad); top: clamp(84px, 11vw, 150px); margin-top: 34px; }
.sec-head { text-align: center; margin-bottom: clamp(56px, 7vw, 96px); }
.sec-head .eyebrow { display: block; margin-bottom: 16px; }

/* Practice */
.statement { max-width: 860px; margin: 0 auto clamp(64px, 8vw, 104px); text-align: center; font-size: clamp(22px, 2.5vw, 32px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.25; color: var(--text); }
.statement span { color: var(--muted); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.col { border-top: 1px solid var(--line-2); padding-top: 22px; }
.col .mark { display: grid; grid-template-columns: repeat(3, 3px); gap: 2px; margin-bottom: 44px; }
.col .mark i { width: 3px; height: 3px; background: var(--dim); }
.col .mark i.o { background: var(--gold); }
.col h3 { font-size: 21px; letter-spacing: -0.03em; margin-bottom: 10px; }
.col p { color: var(--muted); font-size: 14px; max-width: 300px; }

/* Method */
.cubes { display: block; width: min(760px, 100%); aspect-ratio: 760 / 400; margin: 0 auto; }
.cubes-row { position: relative; margin-bottom: clamp(48px, 6vw, 88px); }
.cubes-row .side { position: absolute; top: 46%; line-height: 1.8; }
.cubes-row .side.l { left: 0; text-align: center; max-width: none; white-space: nowrap; }
.cubes-row .side.r { right: 0; font-size: 14px; letter-spacing: 0.14em; color: var(--gold); }
.method-foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.method-foot > p { color: var(--soft); max-width: 330px; font-size: 14.5px; }
.paths { display: grid; gap: 34px; }
.path .row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.path .row .label:first-child { color: var(--text); }
.path .bar { position: relative; height: 1px; background: var(--line); }
.path .bar i { position: absolute; left: 0; top: 0; height: 1px; }
.path.us .bar i { width: 16%; background: var(--gold); }
.path.us .bar i::after { content: ""; position: absolute; right: -5px; top: -5px; border: 4px solid transparent; border-bottom: 6px solid var(--gold); border-top: 0; }
.path.them .bar i { width: 90%; background: var(--dim); }

/* Leverage */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.step:nth-child(2) { margin-top: 110px; }
.step:nth-child(3) { margin-top: 220px; }
.step svg { display: block; width: 150px; height: 150px; margin: 0 0 40px 34%; overflow: visible; }
.step svg * { fill: none; stroke: var(--dim); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke 400ms var(--ease); }
.step svg .g { stroke: var(--gold); opacity: 0.85; }
.step h3 { font-size: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); transition: border-color 400ms var(--ease); }
.step p { color: var(--muted); font-size: 14px; max-width: 250px; padding-top: 16px; }
@media (hover: hover) and (pointer: fine) {
  .step:hover h3 { border-color: var(--gold); }
  .step:hover svg * { stroke: var(--muted); }
  .step:hover svg .g { stroke: var(--gold); }
}

/* Rarity / contact */
.cta { text-align: center; }
.cta h2 { margin: 16px 0 18px; }
.cta p { color: var(--muted); max-width: 340px; margin: 0 auto 40px; font-size: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--text); background: rgba(255, 255, 255, 0.02); transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 140ms var(--ease); }
.btn svg { width: 13px; height: 13px; fill: currentColor; }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { box-shadow: none; border-color: var(--gold); border-radius: 999px; background: rgba(201, 165, 108, 0.1); }
@media (hover: hover) and (pointer: fine) { .btn:hover { border-color: var(--gold); background: rgba(201, 165, 108, 0.08); } }
.cta .alt { display: block; margin-top: 22px; }

/* Footer */
footer { padding: 64px var(--pad) 32px; color: var(--muted); font-size: 13.5px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 64px; }
.foot h4 { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot address { font-style: normal; }
.foot ul { list-style: none; display: grid; gap: 7px; }
.foot a { transition: color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--text); } }
.foot .about { max-width: 290px; margin-top: 16px; }
.legal { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.legal .entity { color: var(--soft); }

/* Document pages */
.doc { max-width: 680px; margin: 0 auto; padding: 150px var(--pad) 110px; }
.doc h1 { margin: 18px 0 14px; }
.doc .updated { display: block; margin-bottom: 56px; }
.doc h2 { font-size: 20px; letter-spacing: -0.02em; font-weight: 400; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--soft); margin-bottom: 12px; font-size: 15px; line-height: 1.65; }
.doc ul { padding-left: 18px; }
.doc strong { color: var(--text); font-weight: 500; }
.doc a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .doc a:hover { border-color: var(--gold); } }
.doc-rule { border-bottom: 1px solid var(--line); }

.lost { min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px var(--pad) 80px; border-bottom: 1px solid var(--line); }
.lost h1 { margin: 16px 0 16px; }
.lost p { color: var(--muted); margin-bottom: 36px; }

@media (max-width: 860px) {
  .sec-label { position: static; display: block; text-align: center; margin: 0 0 22px; }
  .cols, .steps { grid-template-columns: 1fr; }
  .col .mark { margin-bottom: 26px; }
  .step:nth-child(2), .step:nth-child(3) { margin-top: 0; }
  .step { padding-top: 8px; }
  .step svg { width: 112px; height: 112px; margin: 0 0 28px; }
  .cubes-row .side { position: static; max-width: none; text-align: center; margin-top: 18px; }
  .cubes-row .side.l { display: none; }
  .method-foot { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .top { height: 64px; }
  .top .left, .top .right .place, .top .right svg { display: none; }
  .hero { padding-top: 64px; padding-bottom: 56px; }
  .nebula-wrap { height: 400px; margin-bottom: -70px; width: calc(100% + 2 * var(--pad)); }
  .path .row { flex-direction: column; gap: 10px; }
  .legal { flex-direction: column; }
}

@media (max-width: 860px) { h1, h2 { font-size: clamp(26px, 6.9vw, 34px); } }
@media (max-width: 560px) {
  .top { grid-template-columns: auto 1fr; }
  .hero { padding-left: 12px; padding-right: 12px; }
  .wordmark { padding-left: 0; }
}
