:root {
  --ac: #3FB79B;
  --ink: #F3F1ED;
  --sub: #9E9C96;
  --faint: #6E6C67;
  --ln: rgba(255, 255, 255, .09);
  --ln2: rgba(255, 255, 255, .055);
  --sf: rgba(255, 255, 255, .028);
  --red: #D9574A;
  --amb: #C2914F;
  --nl: #B0938C;
  --hot: #FF6B36;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #000; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: #F3F1ED; text-decoration: none; }
::selection { background: #F3F1ED; color: #000; }

@keyframes sk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes sk-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes sk-pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sk-draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }

.nav-link:hover { color: #F3F1ED; }

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px -16px rgba(255, 255, 255, .55);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .03);
}

.tab-btn:hover { border-color: rgba(255, 255, 255, .32); }

.arch-row:hover {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .05);
}

.stage-card { cursor: default; }

/* CTA arrow: visible at rest, retraces itself on hover (echoes the sk-draw chart-line motif) */
@keyframes cta-redraw {
  from { stroke-dashoffset: 32px; }
  to { stroke-dashoffset: 0px; }
}
.cta-arrow-path {
  stroke-dasharray: 32px;
  stroke-dashoffset: 0px;
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
  transform-origin: center;
}
.btn-primary:hover .cta-arrow-path {
  transform: translate(2px, -2px);
  animation: cta-redraw .45s ease-out;
}

/* Roadmap arrows: a signal pulse traveling stage to stage */
.road-arrow { display: inline-flex; align-self: center; }
@keyframes road-pulse {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(19px); opacity: 0; }
}
.road-pulse { animation: road-pulse 2.6s ease-in-out infinite; transform-box: fill-box; }
.road-arrow-2 .road-pulse { animation-delay: .55s; }
.road-arrow-3 .road-pulse { animation-delay: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  .cta-arrow-path { transition: none; }
  .btn-primary:hover .cta-arrow-path { animation: none; }
  .road-pulse { animation: none; opacity: 1; transform: translateX(9px); }
}

/* Custom cursor: a scanning reticle that locks tight over interactive elements */
html.sk-cursor-on,
html.sk-cursor-on * {
  cursor: none !important;
}

/* Form fields keep their native caret/pointer — the reticle hides over them */
html.sk-cursor-on input,
html.sk-cursor-on textarea {
  cursor: text !important;
}
html.sk-cursor-on select,
html.sk-cursor-on button {
  cursor: pointer !important;
}
html.sk-cursor-field .sk-cursor-dot,
html.sk-cursor-field .sk-cursor-ring {
  opacity: 0;
}

.sk-cursor-dot,
.sk-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  transition: opacity .2s ease;
}

.sk-cursor-dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(63,183,155,.9), 0 0 9px 2px rgba(63,183,155,.85), 0 0 2px rgba(0,0,0,.4);
}

.sk-cursor-ring svg {
  margin: -20px 0 0 -20px;
  display: block;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  filter: drop-shadow(0 0 5px rgba(63,183,155,.75)) drop-shadow(0 0 1px rgba(0,0,0,.5));
}

.sk-cursor-circle {
  fill: none;
  stroke: var(--ac);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
  opacity: .9;
  transform-origin: 20px 20px;
  animation: sk-cursor-spin 7s linear infinite;
  transition: stroke-dasharray .25s ease, opacity .25s ease, stroke-width .25s ease;
}

.sk-cursor-bracket {
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform-origin: 20px 20px;
  transform: scale(.82);
  transition: opacity .22s ease, transform .28s cubic-bezier(.2,.7,.2,1);
}

@keyframes sk-cursor-spin { to { transform: rotate(360deg); } }

html.sk-cursor-target .sk-cursor-circle {
  stroke-dasharray: none;
  stroke-width: 1.8;
  opacity: 1;
  animation-play-state: paused;
}
html.sk-cursor-target .sk-cursor-ring svg { transform: scale(.72); }
html.sk-cursor-target .sk-cursor-bracket {
  opacity: 1;
  transform: scale(1);
}

html.sk-cursor-down .sk-cursor-dot { transform-origin: center; }
html.sk-cursor-down .sk-cursor-ring svg { transform: scale(.58); }

html.sk-cursor-hidden .sk-cursor-dot,
html.sk-cursor-hidden .sk-cursor-ring {
  opacity: 0;
}

/* Early-access / apply section */
.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(63, 183, 155, .32);
  border-radius: 99px;
  background: rgba(63, 183, 155, .07);
  font: 500 11.5px/1 'Spline Sans Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ac);
}
.beta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac);
  animation: sk-pulse 2.4s ease-in-out infinite;
}

.apply-step {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sub);
}
.apply-step-n {
  flex: none;
  font: 600 11px/1 'Spline Sans Mono', monospace;
  letter-spacing: .1em;
  color: var(--ac);
}

.apply-card {
  border: 1px solid var(--ln);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9);
}

/* Honeypot — real people never see or tab into this; bots fill it and get dropped */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 14px; }

.field-label {
  font: 600 9.5px/1 'Spline Sans Mono', monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}

.field-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ln);
  border-radius: 10px;
  background: rgba(0, 0, 0, .35);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .16s ease, background .16s ease;
  color-scheme: dark;
}
.field-input::placeholder { color: #5C5A56; }
.field-input:hover { border-color: rgba(255, 255, 255, .18); }
.field-input:focus {
  outline: none;
  border-color: var(--ac);
  background: rgba(0, 0, 0, .5);
}
textarea.field-input { resize: vertical; min-height: 78px; }
.field-input.field-invalid { border-color: var(--red); }

.apply-submit {
  width: 100%;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: none;
  border-radius: 99px;
  background: #F3F1ED;
  color: #000;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.apply-submit[disabled] { opacity: .55; cursor: default; }

.apply-status {
  margin: 14px 0 0;
  font: 500 13px/1.55 'Spline Sans Mono', monospace;
  color: var(--ac);
}
.apply-status:empty { display: none; }
.apply-status.is-error { color: var(--red); }

.apply-fineprint {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--faint);
}

/* Post-submit confirmation */
.apply-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 2px;
  outline: none;
  animation: sk-pop .45s cubic-bezier(.2, .7, .2, 1);
}
.apply-success[hidden] { display: none; }

.apply-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(63, 183, 155, .32);
  background: rgba(63, 183, 155, .09);
}

.apply-success-title {
  margin: 20px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}

.apply-success-body {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--sub);
}

.apply-success-meta {
  margin: 18px 0 0;
  padding: 12px 15px;
  width: 100%;
  border: 1px solid var(--ln2);
  border-radius: 10px;
  background: rgba(0, 0, 0, .35);
  font: 400 12.5px/1.6 'Spline Sans Mono', monospace;
  color: var(--faint);
  word-break: break-word;
}
.apply-success-meta:empty { display: none; }

.apply-success-reset {
  margin: 22px 0 0;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ac);
  cursor: pointer;
  border-bottom: 1px solid rgba(63, 183, 155, .4);
  transition: color .16s ease, border-color .16s ease;
}
.apply-success-reset:hover { color: var(--ink); border-color: var(--ink); }

/* Footer wordmark: a white sheen travelling across the dot matrix.
   Stays inside the site palette -- pure white through the warm off-white
   used for body text -- so it reads as light moving over metal, not colour. */
@keyframes sheen-cycle {
  0%   { stop-color: #FFFFFF; }
  25%  { stop-color: #F3F1ED; }
  50%  { stop-color: #D2CFC8; }
  75%  { stop-color: #F3F1ED; }
  100% { stop-color: #FFFFFF; }
}
.sheen-stop { stop-color: #FFFFFF; animation: sheen-cycle 7s linear infinite; }
/* Negative delays offset each stop so the highlight reads as one moving band */
.sheen-stop-2 { animation-delay: -1.75s; }
.sheen-stop-3 { animation-delay: -3.5s; }
.sheen-stop-4 { animation-delay: -5.25s; }

#foot-logo-svg { filter: drop-shadow(0 0 7px rgba(255, 255, 255, .3)); }

@media (prefers-reduced-motion: reduce) {
  .sheen-stop { animation: none; }
  .sheen-stop-2 { stop-color: #F3F1ED; }
  .sheen-stop-3 { stop-color: #D2CFC8; }
  .sheen-stop-4 { stop-color: #F3F1ED; }
}

/* Site footer */
.site-footer { border-top: 1px solid var(--ln2); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: clamp(44px, 5vw, 64px) 26px 28px; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) auto;
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
}
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-tagline {
  margin: 0;
  max-width: 290px;
  font: 400 12.5px/1.7 'Spline Sans Mono', monospace;
  color: var(--faint);
}
.footer-email {
  font: 500 13px/1 'Spline Sans Mono', monospace;
  color: var(--ac);
  transition: color .16s ease;
}
.footer-email:hover { color: var(--ink); }

.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(38px, 6vw, 92px); }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col-title {
  margin-bottom: 3px;
  font: 600 10px/1 'Spline Sans Mono', monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #4E4C48;
}
.footer-link { font-size: 14px; color: var(--sub); transition: color .16s ease; }
.footer-link:hover { color: var(--ink); }
.footer-link.is-current { color: var(--ink); }

.footer-bottom {
  margin-top: clamp(38px, 4.5vw, 58px);
  padding-top: 22px;
  border-top: 1px solid var(--ln2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  align-items: baseline;
}
.footer-copy {
  flex: none;
  font: 400 11.5px/1.6 'Spline Sans Mono', monospace;
  color: var(--faint);
}
.footer-disclaimer {
  flex: 1;
  min-width: 260px;
  font: 400 11.5px/1.6 'Spline Sans Mono', monospace;
  color: #4E4C48;
}

/* Legal / policy pages */
.policy-section { padding: 34px 0; border-top: 1px solid var(--ln2); }
.policy-section:first-of-type { border-top: none; padding-top: 0; }
.policy-num {
  display: block;
  margin-bottom: 10px;
  font: 500 12px/1 'Spline Sans Mono', monospace;
  letter-spacing: .1em;
  color: var(--ac);
}
.policy-h2 { margin: 0 0 14px; font-size: 21px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.policy-p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.72; color: var(--sub); }
.policy-p:last-child { margin-bottom: 0; }
.policy-list { margin: 0 0 16px; padding-left: 20px; font-size: 15.5px; line-height: 1.72; color: var(--sub); }
.policy-list li { margin: 0 0 6px; }
.policy-link { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; }
.policy-link:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .sk-cursor-circle { animation: none; }
}
