:root {
  --ink: #0a0b0b;
  --panel: #111313;
  --panel-2: #171919;
  --paper: #f0f1ed;
  --muted: #929995;
  --line: rgba(240, 241, 237, .15);
  --accent: #d8e970;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; color: var(--ink); background: var(--accent); transform: translateY(-180%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 90px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 76px); border-bottom: 1px solid rgba(255,255,255,.07); }
.wordmark { font-size: 14px; font-weight: 700; letter-spacing: .28em; }
.wordmark span { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 46px); color: #bcc0bd; font-size: 13px; }
.site-header nav a, .text-button { transition: color .2s; }
.site-header nav a:hover, .text-button:hover { color: var(--paper); }
.text-button { padding: 7px 0; color: inherit; background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(300px, 42%) 1fr; align-items: center; padding: 135px clamp(24px, 5vw, 76px) 75px; background: radial-gradient(circle at 72% 43%, #202424 0, #111313 28%, #0a0b0b 64%); }
.hero::after { content: ""; position: absolute; width: 44vw; height: 44vw; right: -28vw; bottom: -33vw; border: 1px solid rgba(216,233,112,.22); border-radius: 50%; box-shadow: 0 0 0 7vw rgba(255,255,255,.012), 0 0 0 15vw rgba(255,255,255,.008); pointer-events: none; }
.hero-copy { position: relative; z-index: 3; max-width: 630px; }
.eyebrow { margin: 0 0 25px; color: var(--accent); font-size: 11px; line-height: 1.3; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 28px; font-size: clamp(56px, 7.4vw, 126px); line-height: .82; letter-spacing: -.07em; font-weight: 500; }
.hero h1 em, .manifesto em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-intro { max-width: 490px; margin-bottom: 35px; color: #a8aeaa; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 0; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #090a0a; background: var(--accent); }
.button-primary:hover { background: #e6f68c; }
.button-quiet { color: var(--paper); background: transparent; border-color: var(--line); }
.button-quiet:hover { border-color: #6f7471; }

.hero-stage { position: relative; z-index: 2; height: min(72vh, 760px); min-height: 480px; margin-left: -2vw; cursor: grab; isolation: isolate; }
.hero-stage:active { cursor: grabbing; }
.hero-stage::before { content: ""; position: absolute; z-index: -1; inset: 8% 2%; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; opacity: .75; }
.webgl-mount, .webgl-mount canvas { width: 100%; height: 100%; display: block; }
.webgl-mount canvas { outline: none; }
.stage-label { position: absolute; z-index: 4; left: 7%; right: 6%; display: flex; justify-content: space-between; color: #7d8480; font-family: Consolas, "Courier New", monospace; font-size: 9px; letter-spacing: .13em; pointer-events: none; }
.stage-label-top { top: 8%; }
.stage-label-bottom { bottom: 8%; }
.stage-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #7f8581; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; pointer-events: none; }
.stage-loader span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: pulse 1.1s infinite alternate; }
@keyframes pulse { to { opacity: .25; transform: scale(.7); } }
.hero-fallback { position: absolute; width: 82%; max-height: 72%; object-fit: contain; inset: 50% auto auto 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 30px 26px rgba(0,0,0,.45)); mix-blend-mode: screen; }
.finish-control { position: absolute; z-index: 8; right: clamp(24px, 5vw, 76px); bottom: 31px; display: flex; align-items: center; gap: 15px; color: #787f7b; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 24px; height: 24px; padding: 4px; background: transparent; border: 1px solid transparent; border-radius: 50%; cursor: pointer; }
.swatch::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--swatch); }
.swatch.is-active { border-color: #a9afab; }
.scroll-cue { position: absolute; z-index: 4; bottom: 28px; left: clamp(24px, 5vw, 76px); margin: 0; color: #686e6a; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue span { color: var(--accent); padding-left: 7px; }

.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0c0e0e; }
.stat { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 55px); border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { font-size: clamp(54px, 6vw, 94px); line-height: .8; font-weight: 400; letter-spacing: -.07em; }
.stat small { margin-left: 5px; color: #848a86; font-size: .25em; letter-spacing: 0; }
.stat span { color: #8b918d; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.accent-stat strong { color: var(--accent); }

.engineering { padding: clamp(90px, 12vw, 180px) clamp(24px, 7vw, 108px); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: clamp(80px, 10vw, 150px); }
.section-heading .eyebrow { align-self: start; }
.section-heading h2 { margin: 0; font-size: clamp(50px, 7vw, 104px); line-height: .92; letter-spacing: -.06em; font-weight: 400; }
.feature-row { display: grid; grid-template-columns: minmax(260px, .78fr) 1.4fr; gap: clamp(40px, 8vw, 130px); align-items: center; min-height: 620px; padding: clamp(70px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.feature-row-reverse { grid-template-columns: 1.4fr minmax(260px, .78fr); }
.feature-row-reverse .feature-copy { order: 2; }
.feature-copy { max-width: 420px; }
.feature-number { display: block; margin-bottom: 65px; color: #6f7571; font-family: Consolas, "Courier New", monospace; font-size: 10px; letter-spacing: .13em; }
.feature-copy h3 { margin-bottom: 25px; font-size: clamp(38px, 4.4vw, 68px); line-height: .96; letter-spacing: -.05em; font-weight: 400; }
.feature-copy p { margin: 0; color: #939995; font-size: 16px; line-height: 1.75; }
.feature-visual { min-width: 0; }
.diagram-visual { background: #111414; border: 1px solid rgba(255,255,255,.08); }
.diagram-visual svg { width: 100%; display: block; }
.diagram-main, .diagram-faint, .diagram-accent, .tension { fill: none; stroke-linecap: round; }
.diagram-faint { stroke: #353a37; stroke-width: 46; }
.diagram-main { stroke: #bec4c0; stroke-width: 8; }
.diagram-accent { stroke: var(--accent); stroke-width: 3; }
.diagram-notes { fill: #737b76; font: 10px Consolas, monospace; letter-spacing: 1.3px; }
.diagram-notes line { stroke: #606863; stroke-width: 1; stroke-dasharray: 3 4; }
.diagram-notes circle { fill: var(--accent); }
.photo-frame { position: relative; overflow: hidden; aspect-ratio: 1.5; display: flex; align-items: center; justify-content: center; background: #d8dcd8; }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(19,27,25,.45), transparent 46%, rgba(216,233,112,.16)); mix-blend-mode: multiply; pointer-events: none; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.85); mix-blend-mode: multiply; }
.photo-tag { position: absolute; z-index: 2; left: 22px; bottom: 20px; padding: 8px 10px; color: var(--ink); background: var(--accent); font: 9px Consolas, monospace; letter-spacing: .1em; }
.scan-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: 62%; width: 1px; background: rgba(216,233,112,.85); box-shadow: 0 0 25px rgba(216,233,112,.5); }
.shoe-field { fill: url(#mesh); stroke: #5f6863; stroke-width: 1; }
#mesh path { stroke: #303632; stroke-width: 1; }
.tension { stroke: #9da59f; stroke-width: 2; stroke-dasharray: 4 7; }
.diagram-accent-dot { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }

.manifesto { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 100px clamp(24px, 7vw, 108px); color: var(--ink); background: var(--accent); }
.manifesto p { margin-bottom: 25px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.manifesto h2 { margin: 0; font-size: clamp(54px, 9vw, 140px); line-height: .84; letter-spacing: -.07em; font-weight: 500; }
.manifesto em { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; }

.preorder-band { min-height: 500px; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; padding: clamp(70px, 9vw, 135px) clamp(24px, 7vw, 108px); background: radial-gradient(circle at 80% 30%, #2a2e2b, #111313 43%, #0b0c0c); border-bottom: 1px solid var(--line); }
.preorder-band h2 { margin: 0 0 12px; font-size: clamp(58px, 8vw, 120px); line-height: .85; letter-spacing: -.07em; font-weight: 400; }
.preorder-band div > p:last-child { color: #818783; }
.price-block { display: flex; flex-direction: column; align-items: flex-end; gap: 28px; }
.price-block strong { font-size: 48px; font-weight: 400; letter-spacing: -.05em; }
.button-light { min-width: 240px; color: var(--ink); background: var(--paper); }
.button-light span { margin-left: 35px; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 90px clamp(24px, 7vw, 108px) 42px; background: #080909; }
.footer-wordmark { font-size: clamp(30px, 4vw, 60px); align-self: start; }
.footer-links { display: flex; justify-content: flex-end; gap: 35px; color: #949a96; font-size: 13px; }
.footer-links a:hover { color: var(--paper); }
.site-footer > p { grid-column: 1 / -1; margin: 70px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: #5d625f; font-size: 10px; letter-spacing: .05em; }

.account-view { min-height: 100svh; padding: 35px clamp(22px, 5vw, 70px); background: radial-gradient(circle at 18% 38%, #202523, #0a0b0b 50%); }
.back-button { color: #9ba19d; background: none; border: 0; cursor: pointer; font-size: 12px; letter-spacing: .08em; }
.back-button:hover { color: var(--paper); }
.auth-layout { width: min(1180px, 100%); min-height: calc(100svh - 100px); margin: 0 auto; display: grid; grid-template-columns: 1fr 460px; gap: 10vw; align-items: center; }
.auth-context h1 { margin-bottom: 25px; font-size: clamp(70px, 9vw, 138px); line-height: .8; letter-spacing: -.08em; font-weight: 400; }
.auth-context > p:last-child { max-width: 470px; color: #969c98; font-size: 17px; line-height: 1.7; }
.auth-card { padding: clamp(28px, 4vw, 48px); color: #181a19; background: #f1f2ee; }
.auth-tabs { display: flex; margin: -10px 0 45px; border-bottom: 1px solid #c9ccc8; }
.auth-tabs button { flex: 1; padding: 15px 8px; color: #797e7a; background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.auth-tabs button[aria-selected="true"] { color: #131514; border-color: #131514; }
.auth-card h2 { margin-bottom: 8px; font-size: 30px; letter-spacing: -.04em; }
.auth-card > p { color: #6e7470; font-size: 13px; }
.auth-card form { margin-top: 32px; }
.field { display: grid; gap: 8px; margin-bottom: 19px; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input { width: 100%; height: 48px; padding: 0 13px; color: #111; background: transparent; border: 1px solid #bfc3be; border-radius: 0; }
.field input:focus { border-color: #4f554f; outline: 2px solid #87905b; outline-offset: 1px; }
.form-error { min-height: 18px; margin: -5px 0 12px; color: #a22b24 !important; font-size: 12px !important; }
.auth-submit { width: 100%; }
.auth-note { margin: 18px 0 0; text-align: center; font-size: 10px !important; }

.dashboard-view { padding: 0; }
.dashboard-shell { width: min(1220px, 100%); min-height: 100svh; margin: 0 auto; padding: 0 clamp(22px, 5vw, 60px) 90px; }
.dashboard-header { height: 100px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.dashboard-welcome { padding: 90px 0 60px; }
.dashboard-welcome h1 { margin-bottom: 20px; font-size: clamp(48px, 6vw, 86px); line-height: .92; letter-spacing: -.06em; font-weight: 400; }
.dashboard-welcome p:last-child { max-width: 600px; color: #919793; line-height: 1.6; }
.order-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 390px; background: #f0f1ed; color: #111313; }
.order-image { overflow: hidden; background: #d9dcd8; }
.order-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.04); mix-blend-mode: multiply; }
.order-detail { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 70px); }
.order-status { margin-bottom: 45px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.order-status i { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #879b22; }
.order-detail h2 { margin: 0 0 5px; font-size: clamp(42px, 5vw, 72px); letter-spacing: -.06em; }
.order-detail > p { color: #6d726e; }
.order-detail dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 0; padding-top: 20px; border-top: 1px solid #c9cdc8; }
.order-detail dl div { display: grid; gap: 7px; }
.order-detail dt { color: #777c78; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.order-detail dd { margin: 0; font-size: 12px; }
.order-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 45px 0 0; }
.order-steps li { display: flex; gap: 16px; padding: 20px 25px; border-top: 1px solid #424744; color: #727874; }
.order-steps li > span { font: 10px Consolas, monospace; }
.order-steps li div { display: grid; gap: 5px; }
.order-steps strong { color: #c6cac7; font-size: 13px; }
.order-steps small { font-size: 11px; }
.order-steps .complete { border-color: var(--accent); }
.order-steps .complete > span, .order-steps .complete strong { color: var(--accent); }

@media (max-width: 900px) {
  .site-header nav a { display: none; }
  .hero { grid-template-columns: 1fr; align-content: start; padding-top: 135px; }
  .hero-copy { z-index: 4; }
  .hero h1 { font-size: clamp(58px, 14vw, 100px); }
  .hero-stage { height: 52vh; min-height: 380px; margin: -25px -6vw 0; }
  .finish-control { bottom: 52px; }
  .scroll-cue { display: none; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 190px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .feature-row, .feature-row-reverse { grid-template-columns: 1fr; min-height: 0; gap: 55px; }
  .feature-row-reverse .feature-copy { order: 0; }
  .feature-copy { max-width: 550px; }
  .feature-number { margin-bottom: 35px; }
  .auth-layout { grid-template-columns: 1fr; gap: 45px; padding: 100px 0 60px; }
  .auth-context h1 { font-size: 84px; }
  .auth-card { width: min(480px, 100%); justify-self: center; }
}

@media (max-width: 600px) {
  .site-header { height: 74px; padding-inline: 20px; }
  .site-header nav { gap: 0; }
  .hero { min-height: 900px; padding: 112px 20px 60px; }
  .hero h1 { line-height: .88; }
  .hero-intro { font-size: 15px; line-height: 1.55; }
  .hero-actions { gap: 9px; }
  .button { min-height: 48px; padding-inline: 16px; font-size: 12px; }
  .hero-stage { height: 390px; min-height: 0; margin: -3px -20px 0; }
  .hero-stage::before { inset: 11% -10%; }
  .stage-label { left: 20px; right: 20px; }
  .finish-control { right: 20px; bottom: 20px; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 150px; padding: 24px 20px; }
  .stat strong { font-size: 48px; }
  .stat span { font-size: 9px; }
  .engineering { padding-block: 90px; }
  .section-heading { margin-bottom: 75px; }
  .section-heading h2 { font-size: 48px; }
  .feature-row { padding-block: 75px; }
  .feature-copy h3 { font-size: 40px; }
  .diagram-visual { margin-inline: -24px; }
  .manifesto { min-height: 540px; }
  .preorder-band { grid-template-columns: 1fr; min-height: 580px; align-content: center; }
  .price-block { align-items: flex-start; }
  .site-footer { grid-template-columns: 1fr; gap: 55px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; gap: 20px; }
  .site-footer > p { margin-top: 20px; }
  .account-view { padding-inline: 20px; }
  .auth-layout { padding-top: 80px; }
  .auth-context h1 { font-size: 64px; }
  .auth-context > p:last-child { font-size: 14px; }
  .auth-card { padding: 28px 22px; }
  .dashboard-shell { padding-inline: 20px; }
  .dashboard-welcome { padding-top: 70px; }
  .order-card { grid-template-columns: 1fr; }
  .order-image { min-height: 230px; }
  .order-detail dl { gap: 10px; }
  .order-steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
