/* ==========================================================================
   Amulet — main stylesheet
   Sections: fonts · tokens · base · header · buttons · vault · platform
             · everet (with the preview request form) · footer · motion
   ========================================================================== */

/* ---------- Fonts (Geist, SIL OFL 1.1, self-hosted variable woff2) ---------- */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Arial tuned to Geist's metrics (measured in the browser): no layout jump while Geist loads */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 103.37%;
  ascent-override: 97.71%;
  descent-override: 29.02%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --svh: 1vh;                  /* small-viewport height unit, with a fallback for older browsers */
  --bg: #0a0a0b;
  --bg-raised: #0f0f11;
  --bg-legal: #0d0d0f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ededf0;
  --text-2: #b4b4bc;
  --text-3: #8e8e96;
  --accent: #e0a030;           /* the deck's amber — the only accent */
  --error: #f0a093;
  --field-border: #66666b;     /* ≥ 3:1 against the form panel */

  --font: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 60px;
  --radius-panel: 22px;
  --radius-field: 12px;

  --vault-size: min(calc(54 * var(--svh)), 80vw, 600px);
  --vault-distance: calc(150 * var(--svh));    /* scroll length of the opening */
}
@supports (height: 1svh) {
  :root { --svh: 1svh; }
}
@media (min-width: 768px) {
  :root { --header-h: 72px; --vault-distance: calc(170 * var(--svh)); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(224, 160, 48, 0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: #f4f4f6; color: #0a0a0b; font-size: 0.875rem; font-weight: 500; text-decoration: none;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.site-header.is-solid {
  background: rgba(10, 10, 11, 0.74);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header__brand { display: inline-flex; padding: 10px; margin: -10px; border-radius: 10px; color: var(--text); }
.site-header__mark { width: 26px; height: auto; }
.site-header__actions { display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; color: var(--text-2); white-space: nowrap;
}
.status__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 479.98px) { .status { display: none; } }
.header-everet {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  font-size: 0.8125rem; color: #e4e5ff; text-decoration: none; white-space: nowrap;
  border: 1px solid rgba(154, 156, 255, 0.45); background: rgba(154, 156, 255, 0.1);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.header-everet:hover { background: rgba(154, 156, 255, 0.2); border-color: #b9beff; color: #ffffff; }
.header-everet:focus-visible { outline: 2px solid #b9beff; outline-offset: 3px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.button--light { background: #f4f4f6; color: #0a0a0b; }
.button--light:hover { background: #ffffff; }
.button--light:active { transform: translateY(1px); }
.button--dark { background: #0a0a0b; color: #ffffff; border-color: rgba(255, 255, 255, 0.42); }
.button--dark:hover { background: #18181b; border-color: rgba(255, 255, 255, 0.7); }
.button--dark:active { transform: translateY(1px); }
.button--small { min-height: 44px; padding: 0 20px; font-size: 0.875rem; }
.button[disabled] { cursor: progress; opacity: 0.7; }

/* ==========================================================================
   The vault
   Default styles = the vault already open (no JS, or reduced motion).
   With html.motion the stage is pinned and the opening follows the scroll:
   main.js drives the custom properties below (0 → 1).
   ========================================================================== */
.vault__stage {
  --intro: 0; --wheel: 1; --bolts: 1; --unseat: 1; --swing: 1; --light: 1; --dolly: 0; --fade: 0; --reveal: 1;
  position: relative;
}
.vault__hero {
  position: relative;
  min-height: calc(100 * var(--svh));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(28px, calc(5 * var(--svh)), 52px);
  padding: calc(var(--header-h) + 24px) var(--gutter) 72px;
  overflow: hidden;
}

.vault__scene {
  position: relative; flex: none;
  width: var(--vault-size); height: var(--vault-size); aspect-ratio: 1;
  perspective: 2400px;
  /* --tilt-*: a few degrees following the pointer (desktop, motion allowed) */
  transform: perspective(1600px) rotateX(calc(var(--tilt-y, 0) * 1deg)) rotateY(calc(var(--tilt-x, 0) * 1deg)) scale(calc(1 + var(--dolly) * 3));
  opacity: calc(1 - var(--fade));
}
.vault__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vault__interior, .vault__light, .vault__door { position: absolute; inset: 10%; border-radius: 50%; }
.vault__interior {
  background: radial-gradient(circle at 50% 50%, #101012 0%, #060607 72%);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.9);
}
.vault__light {
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 246, 232, 0.95) 0%, rgba(246, 222, 184, 0.6) 20%,
    rgba(224, 160, 48, 0.16) 46%, rgba(224, 160, 48, 0) 70%);
  opacity: calc(var(--light) * 0.8);
}
.vault__indicator { fill: #2a2a30; transition: fill 0.9s var(--ease); }
.vault__stage.is-unlocked .vault__indicator { fill: var(--accent); }

.vault__door {
  transform-origin: 100% 50%;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--unseat) * 26px)) rotateY(calc(var(--swing) * 112deg));
}
.vault__door-face { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* Thickness: stacked discs behind the face make the door read as solid metal when it swings */
.vault__door-layer, .vault__door-back { position: absolute; inset: 3%; border-radius: 50%; }
.vault__door-layer { background: #141417; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.vault__door-layer:nth-child(1) { transform: translateZ(-4px); background: #1b1b20; }
.vault__door-layer:nth-child(2) { transform: translateZ(-8px); background: #18181c; }
.vault__door-layer:nth-child(3) { transform: translateZ(-12px); background: #151519; }
.vault__door-layer:nth-child(4) { transform: translateZ(-16px); background: #131316; }
.vault__door-layer:nth-child(5) { transform: translateZ(-20px); background: #111114; }
.vault__door-layer:nth-child(6) { transform: translateZ(-24px); background: #0f0f11; }
.vault__door-layer:nth-child(7) { transform: translateZ(-28px); background: #0c0c0e; box-shadow: 0 34px 80px rgba(0, 0, 0, 0.7); }
.vault__door-back {
  transform: translateZ(-30px) rotateY(180deg);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background:
    radial-gradient(circle at 50% 50%, #1d1d22 0 14%, transparent 14.3%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 9.6%, rgba(255, 255, 255, 0.04) 9.7% 9.9%),
    radial-gradient(circle at 62% 34%, #202026, #0b0b0d 72%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.vault__wheel { transform-origin: 400px 400px; transform: rotate(calc(var(--wheel) * -150deg)); }
.vault__bolt { transform: translateY(calc(var(--bolts) * 15px)); }
.vault__mark { color: #ededf0; }

.vault__intro {
  text-align: center;
  opacity: calc(1 - var(--intro));
  transform: translateY(calc(var(--intro) * -18px));
}
.vault__title { display: grid; justify-items: center; gap: clamp(18px, calc(2.6 * var(--svh)), 26px); font-weight: inherit; }
.vault__wordmark { width: clamp(192px, 16vw, 248px); height: auto; color: var(--text); }
.vault__line {
  font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.375rem);
  font-weight: 450; line-height: 1.1; letter-spacing: -0.022em;
  color: var(--text);
}
.vault__cue { display: none; }

/* ---------- Platform (revealed inside the vault) ---------- */
.vault__platform { padding: 8px var(--gutter) clamp(24px, 4vw, 48px); display: grid; justify-items: center; }
.platform {
  width: min(100%, 1040px);
  background: linear-gradient(180deg, #111114 0%, #0d0d0f 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 50px 120px -50px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.platform__notice {
  display: flex; align-items: center; gap: 12px;
  padding: 12px clamp(18px, 2.4vw, 28px);
  font-size: 0.8125rem; line-height: 1.45; color: var(--text-2);
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
}
.platform__notice::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.platform__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
  padding: 22px clamp(18px, 2.4vw, 28px) 16px;
}
.platform__title {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem); font-weight: 500; letter-spacing: -0.012em; line-height: 1.3;
}
.platform__mark { flex: none; width: 18px; height: auto; color: var(--text); }

.positions { font-variant-numeric: tabular-nums; }
/* Phones: two compact lines per strategy: "NVDA NVIDIA …   ● Active" / "100% at maturity · Jun 2027   In gain" */
.position {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "under under status" "prot mat perf";
  gap: 6px 0;
  align-items: center;
  padding: 13px clamp(16px, 2.4vw, 28px);
  border-top: 1px solid var(--line);
  font-size: 0.9375rem; line-height: 1.35;
}
.positions__head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.position__underlying { grid-area: under; display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.position__protection { grid-area: prot; }
.position__maturity { grid-area: mat; }
.position__performance { grid-area: perf; justify-self: end; padding-left: 12px; }
.position__protection, .position__maturity { font-size: 0.8125rem; color: var(--text-2); white-space: nowrap; }
.position__maturity::before { content: "·"; margin-inline: 8px; color: var(--text-3); }
.position__status { grid-area: status; justify-self: end; display: flex; align-items: center; gap: 14px; padding-left: 12px; }
.ticker { font-weight: 600; letter-spacing: 0.015em; }
.company { color: var(--text-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.position__protection strong { font-weight: 600; color: var(--text); }

/* Performance: a qualitative state only, never a figure */
.perf {
  display: inline-flex; align-items: center;
  min-height: 24px; padding: 0 10px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap;
}
.perf--gain { color: var(--text); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); }
.perf--stable { color: var(--text-2); border-color: rgba(255, 255, 255, 0.16); }
.perf--target { color: #ffffff; background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.6); }
.perf--none { min-height: 0; padding: 0; color: var(--text-3); font-weight: 400; }
@media (max-height: 700px) and (max-width: 819.98px) {
  .position { padding-block: 10px; }
  .platform__notice { padding-block: 9px; }
  .platform__head { padding-block: 14px 10px; }
}
@media (max-width: 819.98px) {
  .term-bar { display: none; }
}

.state { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; white-space: nowrap; color: var(--text); }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text); }
.state--active::before { background: var(--accent); }
.state--opening::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-2); }
.state--matured { color: var(--text-2); }
.state--matured::before { background: var(--text-3); }

/* Term progress: time elapsed to maturity — never performance */
.term-bar { position: relative; width: 72px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.term-bar > span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: rgba(237, 237, 240, 0.72); }
.term-bar[data-elapsed="0.08"] > span { width: 8%; }
.term-bar[data-elapsed="0.33"] > span { width: 33%; }
.term-bar[data-elapsed="0.67"] > span { width: 67%; }
.term-bar[data-elapsed="0.83"] > span { width: 83%; }
.term-bar[data-elapsed="1"] > span { width: 100%; background: rgba(237, 237, 240, 0.4); }

@media (min-width: 820px) {
  .positions__head { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .position {
    grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.5fr);
    grid-template-areas: "under prot mat perf status";
    gap: 20px;
    padding-block: 16px;
  }
  .position--head { padding-block: 10px 9px; font-size: 0.75rem; letter-spacing: 0.02em; color: var(--text-3); }
  .position__protection, .position__maturity { font-size: inherit; }
  .position__maturity { color: var(--text); }
  .position__maturity::before { content: none; }
  .position__performance { justify-self: start; padding-left: 0; }
  .position__status { justify-self: stretch; padding-left: 0; }
  .state { min-width: 6.2em; }
  .term-bar { flex: 1; width: auto; max-width: 110px; }
}

/* ---------- EVERET (what the vault opens onto) ---------- */
.everet {
  --everet: #9a9cff;
  --everet-hi: #b9beff;
  position: relative;
  padding-block: clamp(88px, 12vw, 168px) clamp(40px, 7vw, 96px);
  scroll-margin-top: calc(var(--header-h) + 16px);
  overflow: hidden;
}
.everet__grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
@media (min-width: 900px) { .everet__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.everet__title { font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.5rem); font-weight: 350; line-height: 1.02; letter-spacing: -0.04em; }
.everet__name { background: linear-gradient(100deg, #ffffff 25%, var(--everet-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 0.02em; }
.everet__lead { margin-top: 22px; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.55; color: var(--text-2); }
.everet__desc { margin-top: 18px; max-width: 46ch; font-size: 1rem; line-height: 1.65; color: var(--text-3); }
.everet__cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 15px 22px 15px 26px;
  border-radius: 999px; text-decoration: none; font-size: 1rem; font-weight: 500; color: #0b0b14;
  background: linear-gradient(120deg, #d9dcff, var(--everet-hi) 45%, var(--everet));
  box-shadow: 0 10px 34px rgba(124, 116, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.everet__cta:hover { transform: translateY(-1px); box-shadow: 0 14px 42px rgba(124, 116, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.everet__cta:focus-visible { outline: 2px solid var(--everet-hi); outline-offset: 4px; }
.everet__cta-url { padding-left: 12px; border-left: 1px solid rgba(11, 11, 20, 0.22); font-weight: 400; color: rgba(11, 11, 20, 0.7); }
.everet__cta-arrow { transition: transform 0.2s var(--ease); }
.everet__cta:hover .everet__cta-arrow { transform: translateX(3px); }
.everet .everet-form { margin-top: 26px; }
.everet__note { margin-top: 18px; font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--text-3); }

.everet__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.everet__halo { position: absolute; width: 460px; height: 460px; max-width: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(124, 116, 255, 0.34) 0, rgba(124, 116, 255, 0.12) 42%, transparent 68%); pointer-events: none; }

/* Phone: titanium rim, black bezel; its right side faces the viewer in this tilt */
.everet-phone {
  position: relative;
  width: 258px;
  aspect-ratio: 420 / 874;
  padding: 3px;
  border-radius: 40px;
  background: linear-gradient(150deg, #c9cad0 0%, #6a6b6e 10%, #2e2f32 28%, #17181a 52%, #3b3c40 78%, #9a9ca3 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.33),
    1px 0.3px 0 #d9dade, 2px 0.6px 0 #b9bac0, 3px 1px 0 #9a9ca3, 4px 1.3px 0 #85878d, 5px 1.6px 0 #6f7175,
    6px 1.9px 0 #5e6064, 7px 2.2px 0 #4d4f53, 8px 2.6px 0 #3d3f43, 9px 2.9px 0 #2f3134, 10px 3.2px 0 #232426,
    11px 3.5px 0 #17181a, 11px 3.5px 0 1px #000,
    24px 46px 80px -20px #000, 0 0 120px rgba(124, 116, 255, 0.2);
  transform: perspective(1600px) rotateY(-20deg) rotateX(6deg) rotateZ(5deg);
}
.everet-phone__bezel { height: 100%; padding: 7px; border-radius: 37px; background: #000; box-shadow: inset 0 0 0 1px #2e2f32; }
.everet-phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 30px;
  display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(ellipse 90% 55% at 50% 0%, #2a2b2f 0, transparent 70%), #000;
}
.everet-phone__status { align-self: stretch; display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 2px 20px 0 24px; font-size: 9.5px; font-weight: 600; color: #fff; position: relative; }
.everet-phone__island { position: absolute; left: 50%; top: 7px; width: 74px; height: 21px; margin-left: -37px; border-radius: 12px; background: #000; box-shadow: 0 0 0 1px #141516; }
.everet-phone__icons { display: flex; align-items: flex-end; gap: 1.5px; }
.everet-phone__icons i { width: 2px; background: #fff; border-radius: 1px; }
.everet-phone__icons i:nth-child(1) { height: 3px; }
.everet-phone__icons i:nth-child(2) { height: 5px; }
.everet-phone__icons i:nth-child(3) { height: 7px; }
.everet-phone__icons b { width: 14px; height: 7px; margin-left: 4px; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 2px; }
.everet-phone__orb {
  width: 92px; height: 92px; margin-top: 34%; border-radius: 50%;
  background: radial-gradient(ellipse at 30% 20%, #fff 0, #dfe1ff 6%, #8e90b4 16%, #3d3f5a 34%, #17182a 60%, #454767 82%, #c6cbff 96%);
  box-shadow: 0 0 38px rgba(124, 116, 255, 0.6), 0 0 90px rgba(124, 116, 255, 0.25);
}
.everet-phone__logo { width: 62%; height: auto; margin-top: 30px; mix-blend-mode: screen; overflow: hidden; }
.everet-phone__tag { margin-top: 16px; padding: 5px 12px; border: 1px solid rgba(154, 156, 255, 0.35); border-radius: 999px; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--everet-hi); }
.everet-phone__home { position: absolute; left: 50%; bottom: 7px; width: 84px; height: 3.5px; margin-left: -42px; border-radius: 2px; background: rgba(237, 237, 240, 0.85); }
@media (max-width: 899px) { .everet__visual { min-height: 460px; } .everet-phone { width: 220px; } }

/* ---------- Investor preview request (Formspree) ---------- */
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field__input {
  width: 100%; min-height: 50px; padding: 13px 16px;
  font-size: 1rem; line-height: 1.4; color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--field-border); border-radius: var(--radius-field);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field__input:hover { border-color: #808086; }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__error { margin-top: 10px; font-size: 0.8125rem; color: var(--error); }
.form__status { font-size: 0.9375rem; color: var(--text-2); }
.form__status:empty { display: none; }
.everet-form { position: relative; margin-top: 34px; max-width: 540px; }
.everet-form__row { display: flex; flex-wrap: wrap; gap: 10px; }
.everet-form__input { flex: 1 1 220px; width: auto; }
.everet-form__input:focus { outline: none; border-color: var(--everet); background: rgba(255, 255, 255, 0.05); box-shadow: 0 0 0 3px rgba(154, 156, 255, 0.22); }
.everet-form .form__status { margin-top: 12px; }
.everet-form[data-state="success"] .form__status { color: var(--text); }
.everet-form[data-state="error"] .form__status { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px;
  padding-block: clamp(36px, 5vw, 56px);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 46ch; }
.site-footer__wordmark { width: 192px; height: auto; color: var(--text); }
.site-footer__about { font-size: 0.9375rem; line-height: 1.6; color: var(--text-2); }
.site-footer__everet { font-size: 0.9375rem; line-height: 1.6; color: var(--text-2); }
.site-footer__everet a { color: #b9beff; text-decoration: none; border-bottom: 1px solid rgba(185, 190, 255, 0.5); padding-bottom: 1px; white-space: nowrap; }
.site-footer__everet a:hover { color: #ffffff; border-bottom-color: #ffffff; }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 0.875rem; color: var(--text-2); }
.legal { background: var(--bg-legal); border-top: 1px solid var(--line); padding-block: 32px 44px; }
.legal p { max-width: 118ch; font-size: 0.75rem; line-height: 1.65; letter-spacing: 0.005em; color: var(--text-3); }
.legal p + p { margin-top: 12px; }

/* ---------- 404 ---------- */
.not-found { min-height: calc(100 * var(--svh) - 130px); display: grid; align-items: center; padding-block: calc(var(--header-h) + 48px) 96px; }
.not-found__inner { display: grid; justify-items: center; gap: 22px; text-align: center; }
.not-found__mark { width: 56px; height: auto; color: var(--text); margin-bottom: 10px; }
.not-found__title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 450; letter-spacing: -0.026em; line-height: 1.05; }
.not-found__text { max-width: 34ch; color: var(--text-2); font-size: 1.0625rem; margin-bottom: 12px; }

/* ==========================================================================
   Motion (html.motion = JS on and no reduced-motion preference)
   ========================================================================== */
.motion .vault__track { height: calc(100 * var(--svh) + var(--vault-distance)); }
.motion .vault__stage {
  --intro: 0; --wheel: 0; --bolts: 0; --unseat: 0; --swing: 0; --light: 0; --dolly: 0; --fade: 0; --reveal: 0;
  position: sticky; top: 0; height: calc(100 * var(--svh)); overflow: hidden;
}
.motion .vault__hero { position: absolute; inset: 0; min-height: 0; }
.motion .vault__scene { cursor: pointer; will-change: transform, opacity; }
.motion .vault__door { will-change: transform; }
.motion .vault__platform {
  position: absolute; inset: 0;
  align-content: center;
  padding: calc(var(--header-h) + 16px) var(--gutter) 24px;
  opacity: var(--reveal);
  transform: translateY(calc((1 - var(--reveal)) * 32px)) scale(calc(0.965 + var(--reveal) * 0.035));
  pointer-events: none;
}
.motion .vault__stage.is-open .vault__platform { pointer-events: auto; }

.motion .vault__cue {
  display: block; position: absolute; left: 50%; bottom: 26px;
  width: 1px; height: 46px; overflow: hidden;
  opacity: calc(1 - var(--intro) * 4);
}
.motion .vault__cue::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(237, 237, 240, 0), rgba(237, 237, 240, 0.7));
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

.motion .term-bar > span { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) 0.3s; }
.motion .vault__stage.is-open .term-bar > span { transform: none; }

.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.motion .reveal.is-visible { opacity: 1; transform: none; }
.motion .form.reveal { transition-delay: 0.12s; }

@media (prefers-reduced-motion: no-preference) {
  html.motion { scroll-behavior: smooth; }
}
.everet-phone__icons .sys { display: block; flex: none; width: 45px; height: 8px; }
