:root { --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { overflow: hidden; background: #15130F; font-family: 'Hanken Grotesk', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
#root { height: 100%; }

.cs-stage { position: fixed; inset: 0; overflow: hidden; }
.cs-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.cs-vignette { position: absolute; inset: 0; pointer-events: none; }

.cs-theme-toggle { position: absolute; top: calc(18px + env(safe-area-inset-top)); right: calc(18px + env(safe-area-inset-right)); z-index: 15; width: 42px; height: 42px; border-radius: 50%; border: 1px solid; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; pointer-events: auto; transition: transform 0.2s ease, opacity 0.2s ease; opacity: 0.72; }
.cs-theme-toggle:hover { opacity: 1; transform: rotate(15deg); }

.cs-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; padding: 24px; }
.cs-center { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
@media (prefers-reduced-motion: no-preference) { .cs-center { animation: cs-rise 0.9s cubic-bezier(.2,.7,.3,1) both; } }
@keyframes cs-rise { from { transform: translateY(16px); } to { transform: none; } }

.cs-eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.42em; text-transform: uppercase; font-weight: 500; margin-left: 0.42em; }

.cs-wm { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.04em; line-height: 1; display: inline-flex; align-items: flex-end; position: relative; }
.cs-dot { width: 0.16em; height: 0.16em; border-radius: 50%; margin-left: 0.1em; margin-bottom: 0.07em; display: inline-block; align-self: flex-end; }
.cs-tm { font-size: 0.16em; font-weight: 500; align-self: flex-start; margin-left: 0.1em; margin-top: 0.15em; opacity: 0.65; font-family: 'Hanken Grotesk', sans-serif; letter-spacing: 0; }

.cs-tagline { font-size: clamp(15px, 2.3vw, 21px); font-weight: 400; max-width: 26ch; margin: 0; line-height: 1.5; text-wrap: pretty; }

.cs-cta { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; padding: 13px 22px 13px 24px; border-radius: 999px; text-decoration: none; margin-top: 4px; transition: transform 0.15s ease, box-shadow 0.2s ease; box-shadow: 0 6px 20px rgba(0,0,0,0.18); border: none; cursor: pointer; }
.cs-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,0.24); }
.cs-arr { transition: transform 0.15s ease; }
.cs-cta:hover .cs-arr { transform: translateX(3px); }

.cs-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px max(24px, env(safe-area-inset-left)) calc(18px + env(safe-area-inset-bottom)); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; pointer-events: none; }
.cs-hint { opacity: 0.92; }
@media (max-width: 600px) { .cs-foot { font-size: 9.5px; letter-spacing: 0.12em; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); } }

/* ---- waitlist modal ---- */
.cs-backdrop { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 24px; pointer-events: auto; }
@media (prefers-reduced-motion: no-preference) { .cs-backdrop { animation: cs-fade 0.18s ease both; } .cs-modal { animation: cs-pop 0.24s cubic-bezier(.2,.7,.3,1) both; } }
@keyframes cs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cs-pop { from { transform: translateY(10px) scale(0.98); } to { transform: none; } }
.cs-modal { position: relative; width: min(460px, 100%); border: 1px solid; border-radius: 22px; padding: 34px 30px 26px; box-shadow: 0 40px 90px rgba(0,0,0,0.45); text-align: left; }
.cs-x { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border: none; background: transparent; cursor: pointer; font-size: 14px; line-height: 1; border-radius: 50%; transition: opacity 0.15s ease; }
.cs-x:hover { opacity: 0.6; }
.cs-modal-eb { margin-bottom: 12px; }
.cs-mt { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 26px; letter-spacing: -0.025em; margin: 0 0 6px; line-height: 1.08; }
.cs-mp { font-size: 14.5px; line-height: 1.5; margin: 0 0 22px; text-wrap: pretty; }
.cs-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; position: relative; }
.cs-lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.72; }
.cs-field input { font-family: 'Hanken Grotesk', sans-serif; font-size: 15px; padding: 11px 13px; border: 1px solid; border-radius: 11px; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; width: 100%; }
.cs-field input::placeholder { color: var(--cs-ph); }
.cs-field input:focus { border-color: var(--cs-bud); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cs-bud) 22%, transparent); }
.cs-field input.cs-err { border-color: #E5484D; }
.cs-phone { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.cs-ccwrap { position: relative; display: flex; }
.cs-cc { font-family: 'Hanken Grotesk', sans-serif; font-size: 15px; padding: 11px 26px 11px 12px; border: 1px solid; border-radius: 11px; outline: none; cursor: pointer; width: 104px; -webkit-appearance: none; appearance: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.cs-cc:focus { border-color: var(--cs-bud); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cs-bud) 22%, transparent); }
.cs-cc option { color: #15130F; }
.cs-ccwrap::after { content: '\25BE'; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 11px; opacity: 0.5; }
.cs-msg { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: #E5673A; text-transform: uppercase; }
.cs-formerr { font-size: 13px; line-height: 1.45; color: #E5673A; margin: 2px 0 14px; }
.cs-submit { width: 100%; margin-top: 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; padding: 14px; border: none; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform 0.12s ease, filter 0.15s ease; }
.cs-submit:hover:not(:disabled) { filter: brightness(1.05); }
.cs-submit:active:not(:disabled) { transform: translateY(1px); }
.cs-submit:disabled { opacity: 0.7; cursor: default; }
.cs-fine { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; margin: 14px 0 2px; line-height: 1.6; }
.cs-success { text-align: center; padding: 8px 4px 4px; }
.cs-check { width: 52px; height: 52px; border: 2px solid; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 6px auto 18px; }
.cs-success .cs-mp { margin-bottom: 22px; }
@media (max-width: 460px) { .cs-row2 { grid-template-columns: 1fr; gap: 0; } .cs-modal { padding: 30px 22px 22px; } }
