@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Sora:wght@300;400;500;600;700&display=swap");
@import url("assets/brand/ion-lens/tokens.css");

:root {
  --hero-photo: url("assets/brand/ion-lens/hero-america-night.jpg");
  --page-gutter: clamp(20px, 4vw, 56px);
  --measure: 40rem;
}
html[data-sky="day"],
html[data-sky="dawn"] {
  --hero-photo: url("assets/brand/ion-lens/hero-america-day.jpg");
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--vacuum);
  color: var(--ink, var(--contrail));
  transition: background-color var(--sky-ms, 900ms) ease, color var(--sky-ms, 900ms) ease;
}

body {
  font-family: var(--font);
  line-height: 1.5;
  min-height: 100%;
}

img { max-width: 100%; height: auto; }
a { color: var(--spark); text-decoration: none; }
a:hover { color: var(--tropopause); }
a:focus-visible,
button:focus-visible,
.cta:focus-visible,
.plank:focus-visible {
  outline: 2px solid var(--spark);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: var(--night);
  color: var(--contrail);
  padding: 8px 12px;
}

.site-header {
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding: 16px var(--page-gutter);
}

.site-header:not(.horizon-bar) {
  position: sticky;
  background: color-mix(in srgb, var(--vacuum) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 244, 248, 0.08);
}

.site-header.horizon-bar {
  position: absolute;
  background: linear-gradient(to bottom, rgba(5, 7, 12, 0.72), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--contrail);
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 1.35rem;
  min-height: 52px;
  line-height: 1;
}
.brand img,
.brand svg,
.lens {
  width: 52px;
  height: 52px;
  display: block;
  flex: 0 0 52px;
}
.brand .ai {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--spark);
  border: 1px solid rgba(232,184,74,0.55);
  padding: 0 7px;
  height: 1.35em;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1;
}

.nav-fold {
  position: relative;
}
.nav-fold > summary {
  display: none;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  color: var(--contrail);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  padding: 0 14px;
}
.nav-fold > summary::-webkit-details-marker { display: none; }

nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  color: var(--contrail);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}
nav a[aria-current="page"] {
  color: var(--spark);
}

.home .orbit-scroll {
  height: auto;
}
.home .dome {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
}
.home .site-header.horizon-bar {
  position: fixed;
}
.home .dome-photo { display: none; }

.planet {
  position: absolute;
  left: 50%;
  top: 62%;
  z-index: 1;
  width: min(155vh, 170vw);
  height: min(155vh, 170vw);
  transform: translate(-50%, -42%);
  border-radius: 50%;
  overflow: hidden;
  background: #02040a;
  box-shadow:
    0 0 0 1px rgba(120, 190, 230, 0.22),
    0 0 90px 28px rgba(70, 150, 210, 0.16),
    inset -28px -22px 70px rgba(0, 0, 0, 0.45);
}
.planet-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.planet.webgl .planet-tex,
.planet.webgl .planet-lit {
  display: none;
}
.planet-tex {
  position: absolute;
  inset: 0;
  background-repeat: repeat-x;
  background-size: 200% 100%;
  background-position: var(--earth-spin, 28%) 50%;
}
.planet-day {
  background-image: url("assets/brand/ion-lens/earth-day.jpg");
}
.planet-night {
  background-image: url("assets/brand/ion-lens/earth-night.jpg");
  opacity: var(--earth-night, 0);
  mix-blend-mode: screen;
  transition: opacity 0.35s ease;
}
.planet-lit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.08), transparent 36%),
    radial-gradient(circle at 72% 70%, rgba(0,0,0,0.06), rgba(0,0,0,0.2) 78%);
}

.dome {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  background: var(--vacuum);
  display: flex;
  flex-direction: column;
}

.stage {
  position: relative;
  z-index: 6;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 6.2rem var(--page-gutter) 1.2rem;
  width: min(46rem, 100%);
  margin: 0 auto;
}
.stage .kicker {
  margin: 0 0 1.35rem;
  letter-spacing: -0.03em;
  text-transform: none;
  font-size: clamp(1.85rem, 4.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  background: linear-gradient(90deg, #5ee7f0, #f5fbff, #e8b84a, #ff6a3d, #5ee7f0);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: kicker-flow 8s linear infinite;
}
.stage .demo-plank,
.stage .demo-out {
  width: min(40rem, 100%);
  background: color-mix(in srgb, var(--night) 42%, transparent);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 0 0 1px rgba(232, 184, 74, 0.14) inset,
    0 12px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--contrail);
}
.stage .demo-plank {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  min-height: 54px;
  height: auto;
  max-height: 6.4rem;
  padding: 14px 22px 14px 18px;
  white-space: normal;
  overflow: hidden;
  text-align: left;
  border-radius: 28px;
}
.stage .demo-plank .demo-text {
  flex: 1 1 auto;
  min-width: 0;
  max-height: 5.6rem;
  overflow-x: auto;
  overflow-y: auto;
  white-space: pre-wrap;
  text-overflow: clip;
  scrollbar-width: thin;
}
.stage .bridge {
  margin: 1.15rem 0 1rem;
  max-width: 42rem;
  font-size: clamp(1.45rem, 3.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--contrail);
  text-wrap: balance;
}
.stage .bridge .arr {
  color: var(--spark);
  font-weight: 700;
  padding: 0 0.12em;
}
.search-ico {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 2px solid color-mix(in srgb, var(--contrail) 55%, transparent);
  border-radius: 50%;
}
.search-ico::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -1px;
  background: color-mix(in srgb, var(--contrail) 55%, transparent);
  transform: rotate(45deg);
  border-radius: 1px;
}
.stage .demo-out {
  display: none;
  margin: 0;
  max-width: 40rem;
  min-height: 0;
  max-height: none;
  overflow: visible;
  padding: 16px 20px;
  text-align: left;
  font: 400 0.9rem/1.45 var(--font);
  white-space: pre-wrap;
  opacity: 1;
  border-radius: 22px;
}
.stage .demo-out.is-on {
  display: block;
}
.stage .cta-row {
  margin-top: 1.25rem;
  justify-content: center;
}
.feats {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  max-width: 36rem;
  text-align: left;
  color: color-mix(in srgb, var(--contrail) 88%, transparent);
  font-size: 0.9rem;
  line-height: 1.45;
}
.feats li {
  margin: 0 0 0.5rem;
  padding-left: 1.1rem;
  position: relative;
}
.feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spark);
}
.home .site-footer {
  position: relative;
  z-index: 6;
  max-width: none;
  background: none;
  border: 0;
  padding: 4px var(--page-gutter) 8px;
  gap: 2px;
}
.home .site-footer .mark {
  margin: 0;
}
.home .dome-overlay {
  background: linear-gradient(
    to top,
    rgba(5, 7, 12, 0.7) 0,
    rgba(5, 7, 12, 0.35) 2.4rem,
    transparent 3.6rem
  );
}

.dome-photo {
  position: absolute;
  inset: 0;
  background: var(--hero-photo) var(--earth-x) var(--earth-y) / cover no-repeat;
  opacity: var(--hero-opacity);
  pointer-events: none;
}

.dome-overlay {
  position: absolute;
  inset: 0;
  background: var(--dome-overlay);
  pointer-events: none;
}

.haze {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 18%;
  height: 42%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,179,90,0.28), transparent 62%);
  opacity: var(--haze-opacity);
  pointer-events: none;
  animation: haze-breathe 10s ease-in-out infinite;
}

.sun {
  position: absolute;
  left: var(--sun-x);
  top: var(--sun-y);
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffdf0, #ffe38a 38%, var(--spark) 58%, rgba(232,184,74,0) 72%);
  box-shadow: 0 0 36px 14px rgba(232,184,74,0.42);
  opacity: var(--sun-opacity);
  pointer-events: none;
  will-change: left, top, opacity;
  transition: left 15s linear, top 15s linear, opacity var(--sky-ms) ease;
  z-index: 4;
}

.moon {
  position: absolute;
  left: var(--moon-x);
  top: var(--moon-y);
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #f4f7fb, #c5ced6 42%, #7b868f 70%, #3e4650 100%);
  box-shadow: 0 0 14px 4px rgba(200, 220, 230, 0.28);
  opacity: var(--moon-opacity);
  pointer-events: none;
  will-change: left, top, opacity;
  transition: left 15s linear, top 15s linear, opacity var(--sky-ms) ease;
  z-index: 4;
}
.home .sun,
.home .moon {
  display: block;
  transition: left 0.08s linear, top 0.08s linear, opacity 0.25s ease;
}

.motes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--star-opacity);
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(232,244,248,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 14%, rgba(232,244,248,0.35) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 63% 18%, rgba(232,244,248,0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 81% 28%, rgba(232,244,248,0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 47% 8%, rgba(232,244,248,0.4) 50%, transparent 51%);
}

.meteors,
.day-glints {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.meteors i {
  --ang: 24deg;
  --dist: 280px;
  position: absolute;
  width: 1.5px;
  height: 88px;
  margin: 0;
  background: linear-gradient(
    to bottom,
    rgba(232, 244, 248, 0) 0%,
    rgba(232, 244, 248, 0.12) 42%,
    rgba(255, 255, 255, 0.75) 86%,
    #fff 100%
  );
  transform-origin: 50% 0;
  animation: meteor-shot linear forwards;
  will-change: transform, opacity;
  pointer-events: none;
}
.meteors i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 7px 2px rgba(255, 255, 255, 0.7);
}
.day-glints b {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffe38a;
  box-shadow: 0 0 8px 2px rgba(255, 179, 90, 0.45);
  animation: glint-rise linear forwards;
}
html[data-sky="day"] .meteors,
html[data-sky="dawn"] .meteors { display: none; }
html[data-sky="night"] .day-glints,
html[data-sky="dusk"] .day-glints { display: none; }

.sats {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.sat {
  position: absolute;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
  margin: 0;
  line-height: 0;
  filter: drop-shadow(0 0 5px rgba(232, 244, 248, 0.45));
}
.sat svg {
  display: block;
}
.sat.iss svg { width: 38px; height: 14px; }
.sat.hubble svg { width: 22px; height: 12px; }
.sat.gold svg { width: 16px; height: 16px; }
.sat.weather svg { width: 18px; height: 14px; }
.sat.geo svg { width: 16px; height: 14px; }
.sat.train svg { width: 10px; height: 7px; }
.craft {
  position: absolute;
  z-index: 5;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  left: var(--from);
  animation: craft-pass linear forwards;
  filter: drop-shadow(0 0 4px rgba(94, 231, 240, 0.28));
  line-height: 0;
}
.craft svg,
.craft img {
  display: block;
  height: 78px;
  width: auto;
}
.craft.enterprise img { height: 70px; }
.craft.dreadnought img { height: 92px; }
.craft.falcon img { height: 72px; }
.craft.discovery img { height: 48px; }
.craft.tie img { height: 86px; }
@keyframes craft-pass {
  from { left: var(--from); opacity: 0; transform: scaleX(var(--flip, 1)) scale(var(--scale, 1)); }
  10% { opacity: 1; transform: scaleX(var(--flip, 1)) scale(var(--scale, 1)); }
  88% { opacity: 1; transform: scaleX(var(--flip, 1)) scale(var(--scale, 1)); }
  to { left: var(--to); opacity: 0; transform: scaleX(var(--flip, 1)) scale(var(--scale, 1)); }
}
.egg {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 50;
  margin: 0;
  padding: 10px 16px;
  background: rgba(5, 7, 12, 0.92);
  color: #e8f4f8;
  border: 1px solid rgba(232, 244, 248, 0.25);
  font-size: 0.88rem;
  max-width: min(28rem, 90vw);
  text-align: center;
}

.slit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--terminator) 18%, #ffc09a 50%, var(--terminator) 82%, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: slit-ignite var(--slit-ms) linear forwards, slit-breathe 6s ease-in-out 0.5s infinite;
  box-shadow: 0 0 18px 2px color-mix(in srgb, var(--terminator) 45%, transparent);
  opacity: var(--slit-opacity);
  pointer-events: none;
}

.hero-sky {
  position: relative;
  z-index: 6;
  padding: 6.5rem var(--page-gutter) 0;
  max-width: 48rem;
}

.hero-copy {
  position: relative;
  z-index: 6;
  max-width: 42rem;
}
.hero-copy .lead {
  color: color-mix(in srgb, var(--contrail) 88%, transparent);
  max-width: 36rem;
}
.hero-copy .kicker {
  margin: 0 0 10px;
  color: var(--contrail);
  letter-spacing: 0.04em;
}
.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--tropopause);
  text-wrap: balance;
}
.hero-copy .disclaimer {
  margin: 0 0 18px;
}

.plank-wrap,
.hero-horizon {
  display: none !important;
}

.demo-plank {
  min-height: 52px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  opacity: 1;
}
.demo-plank::after {
  content: none;
}
.demo-plank.is-typing::after {
  content: "";
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: var(--spark);
  animation: caret 1s step-end infinite;
  flex: 0 0 auto;
}
.demo-label {
  margin: 14px 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--air);
}
.demo-out {
  min-height: 7rem;
  padding: 16px 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: #c9d3dc;
  font: 500 0.88rem/1.45 var(--font-mono);
  white-space: pre-wrap;
  opacity: 0.15;
}
.demo-out.is-on {
  opacity: 1;
  transition: opacity 280ms ease;
}
@keyframes caret {
  50% { opacity: 0; }
}

.plank {
  display: block;
  width: 100%;
  min-height: 52px;
  height: 52px;
  padding: 14px 18px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--night) 72%, transparent);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 0 0 1px rgba(232,184,74,0.18) inset,
    0 18px 40px rgba(0,0,0,0.35);
  color: var(--contrail);
  font: 500 0.95rem/1.3 var(--font);
  backdrop-filter: blur(10px);
}
.plank::placeholder { color: color-mix(in srgb, var(--contrail) 46%, transparent); }
.plank:focus {
  outline: none;
  border-color: var(--spark);
}

.disclaimer {
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--contrail) 72%, transparent);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
}
.chip {
  border: 1px solid var(--glass-border);
  color: var(--contrail);
  background: var(--glass);
  padding: 8px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

main {
  padding: 64px var(--page-gutter) 96px;
  max-width: 1120px;
  margin: 0 auto;
}

main.prose {
  max-width: calc(var(--measure) + 2 * var(--page-gutter));
}

main > h1,
.page-title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--tropopause);
  text-transform: none;
}

main > p,
.prose p {
  max-width: var(--measure);
}

.band {
  margin: 0 0 56px;
}
.band:last-child {
  margin-bottom: 0;
}

h1, h2 {
  font-weight: 500;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--air);
  margin: 0 0 10px;
}

.lead {
  margin: 0 0 22px;
  max-width: var(--measure);
  color: var(--contrail);
}

.pair,
.atlas,
.hangar-grid {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
}
@media (min-width: 800px) {
  .pair,
  .atlas,
  .hangar-grid { grid-template-columns: 1fr 1fr; }
}

.plate {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 22px 22px 22px 32px;
  min-height: 148px;
  height: 100%;
  backdrop-filter: blur(8px);
  transition: transform var(--hover-ms) var(--ease-lift), border-color var(--hover-ms) ease, background-color var(--sky-ms) ease;
}
.plate:hover { transform: perspective(600px) rotateX(4deg); border-color: color-mix(in srgb, var(--air) 35%, transparent); }
.plate .ticks {
  position: absolute;
  left: 8px;
  top: 16px;
  bottom: 16px;
  width: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
}
.plate .ticks i {
  display: block;
  width: 8px;
  height: 2px;
  background: var(--air);
  opacity: 0.85;
}
.plate.ground .ticks i:nth-child(n+2) { opacity: 0.2; }
.plate.cloud .ticks i:nth-child(n+3) { opacity: 0.2; }
.plate.stratosphere .ticks i:nth-child(n+4) { opacity: 0.2; }
.plate b,
.plate h3 {
  display: block;
  margin: 0 0 10px;
  color: var(--tropopause);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.plate p,
.ex-body {
  margin: 0;
  white-space: pre-wrap;
  font-family: var(--font-mono);
  color: #c9d3dc;
  font-size: 0.9rem;
}

.plate.lift-in {
  animation: lift-climb var(--lift-ms) var(--ease-lift) both;
}

.deals {
  grid-template-columns: 1fr;
  align-items: stretch;
  margin-top: 28px;
}
.deal {
  height: 100%;
}
@media (min-width: 900px) {
  .deals { grid-template-columns: 1fr 1fr 1fr; }
}
.deal p {
  font-family: var(--font);
  white-space: normal;
}
.deal .price {
  font-size: 1.35rem;
  color: var(--spark);
  font-family: var(--font);
  margin: 0 0 12px;
}
.deal-better {
  border-color: color-mix(in srgb, var(--spark) 55%, var(--glass-border));
}
.deal .chip {
  display: inline-flex;
  margin: 0 0 10px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 8px 0 0;
}
.plate .cta-row {
  margin-top: 18px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--spark);
  color: #1a1406;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid transparent;
}
.cta:hover { color: #1a1406; filter: brightness(1.06); }

.cta-ghost {
  background: transparent;
  color: var(--contrail);
  border: 1px solid var(--glass-border);
}
.cta-ghost:hover {
  color: var(--tropopause);
  filter: none;
  border-color: var(--spark);
}
.cta:disabled,
.cta[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  filter: none;
}
.buy-note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.legal {
  margin: 48px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(232, 244, 248, 0.08);
  max-width: var(--measure);
}
.legal h2 {
  margin: 0 0 10px;
}
.legal p {
  color: var(--muted);
  font-size: 0.9rem;
}

.about-lens {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 0 20px;
}

.tag {
  color: var(--air);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0 0 8px;
}

footer,
.site-footer {
  padding: 28px var(--page-gutter) 48px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 12px 22px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(232, 244, 248, 0.08);
  max-width: 1120px;
  margin: 0 auto;
}
.site-footer .links,
footer .links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer .mark {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  width: 100%;
  text-align: center;
  margin: 4px 0 0;
}

@keyframes slit-ignite {
  to { transform: scaleX(1); }
}
@keyframes plank-in {
  to { opacity: 1; }
}
@keyframes lift-climb {
  from { transform: translate(0, 18px); opacity: 0.2; }
  to { transform: none; opacity: 1; }
}
@keyframes slit-breathe {
  0%, 100% { filter: brightness(1); box-shadow: 0 0 14px 2px color-mix(in srgb, var(--terminator) 35%, transparent); }
  50% { filter: brightness(1.25); box-shadow: 0 0 22px 3px color-mix(in srgb, var(--terminator) 55%, transparent); }
}
@keyframes meteor-shot {
  0% { opacity: 0; transform: rotate(var(--ang)) translateY(0); }
  8% { opacity: 1; }
  72% { opacity: 0.85; }
  100% { opacity: 0; transform: rotate(var(--ang)) translateY(var(--dist)); }
}
@keyframes glint-rise {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  25% { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(-90px) scale(0.35); }
}
@keyframes haze-breathe {
  0%, 100% { opacity: var(--haze-opacity); }
  50% { opacity: calc(var(--haze-opacity) * 1.25); }
}

html[data-sky="day"] .slit {
  animation: slit-ignite var(--slit-ms) linear forwards;
}

@media (max-height: 700px) {
  .hero-sky {
    padding-top: 4.5rem;
  }
  .hero-copy h1 {
    font-size: clamp(1.45rem, 4.8vh, 2.1rem);
  }
}

@media (max-width: 720px) {
  .nav-fold > summary {
    display: inline-flex;
  }
  .nav-fold nav {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 12rem;
    padding: 8px;
    background: color-mix(in srgb, var(--vacuum) 94%, transparent);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    z-index: 30;
  }
  .nav-fold[open] nav {
    display: flex;
  }
  .nav-fold nav a {
    padding: 0 12px;
  }
  .hero-sky {
    padding: 4.5rem 20px 8px;
    max-width: none;
  }
  .hero-horizon {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin: 16px 20px 32px;
  }
  .hero-copy h1 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }
  .site-header {
    padding: 12px 20px;
  }
  main {
    padding: 48px 20px 72px;
  }
  footer,
  .site-footer {
    padding: 24px 20px 40px;
  }
}

@keyframes kicker-flow {
  to { background-position: 280% 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .home .orbit-scroll { height: auto; }
  .slit { transform: scaleX(1); }
  .plank-wrap { opacity: 1; }
  .sun, .moon { transition: none; }
  .meteors, .day-glints, .sats, .craft, .demo-plank::after { display: none; }
  .plate:hover { transform: none; }
  .stage .kicker {
    animation: none;
    background: none;
    color: var(--contrail);
    -webkit-background-clip: unset;
    background-clip: unset;
  }
}
