/* Звездочёт — public landing styles.
 *
 * Static surface, no build step. Visual language mirrors the product:
 * - tokens are a copy of web/src/styles/tokens.css + typography.css
 *   (source of truth; update together with web when tokens change);
 * - ambient reproduces web PlanetaryAmbientBackground (Saturn baseline);
 * - timeline demo reproduces web CurrentPeriodTimeline geometry/labels;
 * - sections follow the approved design/landing-wireframe-v0.10.html.
 */

:root {
  color-scheme: dark;
  /* === copied from web/src/styles/tokens.css === */
  --bg-primary: #090b11;
  --surface-primary: #10131c;
  --surface-elevated: #161a25;
  --text-primary: #f2f0ea;
  --text-secondary: #a3a8b9;
  --stellar-accent: #a6a7ff;
  --stellar-strong: #747bff;
  --border-subtle: #30364a;
  --border-accent: #7379b4;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --radius-sm: 10px; --radius-md: 16px; --radius-lg: 24px; --radius-pill: 999px;
  --focus-ring: 2px solid #c5c7ff;
  --motion-reveal: 900ms;
  --planet-accent: var(--stellar-accent);
  --planet-glow: #737cff;
  --planet-ambient: #171d35;
  --planet-orbit: #62698d;
  /* === copied from web/src/styles/typography.css === */
  --font-ui: Arial, Helvetica, sans-serif;
  --font-editorial: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { background: var(--bg-primary); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-ui);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }

.shell {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 92px;
}

/* Frame mirrors web .app-frame: an isolated stacking context that contains
   the ambient layer, so its negative z-index paints above the page
   background instead of being covered by it. */
.frame {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

/* === Ambient (web PlanetaryAmbientBackground) === */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 92% 0%, var(--planet-ambient), transparent 48%),
    radial-gradient(ellipse at 40% 650px, color-mix(in srgb, var(--planet-glow) 7%, transparent), transparent 40%);
}
.orbits {
  position: absolute; top: 0; right: 0;
  width: max(100%, 700px); max-height: 1250px;
  stroke: var(--planet-orbit); stroke-width: .7; opacity: .55;
}
.orbits .fat { stroke-width: 7; opacity: .15; }
.star { fill: var(--planet-accent); stroke: none; }
.cross { stroke: var(--text-primary); }
.twinkle { fill: var(--stellar-accent); opacity: 0; filter: drop-shadow(0 0 4px var(--planet-glow)); }
@media (prefers-reduced-motion: no-preference) {
  .glow { animation: breathe 24s ease-in-out infinite alternate; }
  .twinkle { animation: twinkle-star 14s ease-in-out infinite; }
}
@keyframes breathe { from { opacity: .6; } to { opacity: 1; } }
@keyframes twinkle-star {
  0% { opacity: 0; }
  6% { opacity: .9; }
  14% { opacity: .2; }
  22% { opacity: .75; }
  34% { opacity: 0; }
  100% { opacity: 0; }
}

/* === Brand header === */
.brand-header {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--text-primary);
  font-size: clamp(.85rem, 2vw, 1.15rem);
  letter-spacing: .32em; white-space: nowrap;
}
.brand-mark { width: 64px; height: 52px; flex: none; color: var(--text-primary); }
.tagline {
  margin: 0; color: var(--text-secondary);
  font-size: .65rem; line-height: 1.6; letter-spacing: .25em; text-transform: uppercase;
}

.content { padding-top: 24px; }

.landing {
  position: relative;
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  padding: clamp(12px, 3vw, 28px) 0 var(--space-7);
  /* Decorative ::before/::after intentionally bleed past the edges, as in
     web/src/components/acquisition/Acquisition.module.css. */
  overflow: hidden;
}
.landing::before {
  content: ""; position: absolute; top: -180px; right: clamp(-260px, -14vw, -120px);
  width: min(860px, 82vw); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--stellar-accent) 50%, transparent);
  box-shadow:
    0 0 0 18px color-mix(in srgb, var(--planet-orbit) 10%, transparent),
    0 0 0 42px color-mix(in srgb, var(--planet-orbit) 6%, transparent),
    inset 0 0 90px color-mix(in srgb, var(--stellar-accent) 10%, transparent);
  opacity: .55; pointer-events: none;
}
.landing::after {
  content: ""; position: absolute; inset: -40px 0 auto; height: 640px;
  background:
    radial-gradient(circle at 10% 14%, #f2f0ea 0 2px, transparent 3px),
    radial-gradient(circle at 78% 10%, #f2f0ea 0 1px, transparent 2px),
    radial-gradient(circle at 92% 46%, #f2f0ea 0 2px, transparent 3px),
    radial-gradient(circle at 84% 78%, #f2f0ea 0 1px, transparent 2px),
    radial-gradient(circle at 28% 34%, #a6a7ff 0 1px, transparent 2px),
    radial-gradient(circle at 12% 70%, #f2f0ea 0 1px, transparent 2px);
  opacity: .72; pointer-events: none;
}
.hero, .section, .final, .footer { position: relative; z-index: 1; }
/* Grid children may shrink below content size (product-wide minmax(0) idiom):
   long editorial words must wrap, not widen the page. */
.landing > *, .hero-copy > *, .section > *, .product-demo > *,
.calc-proof > *, .compare > *, .demo-card > *, .preview > * { min-width: 0; }

/* === Shared type === */
.label {
  color: var(--stellar-accent);
  font: 400 .78rem/1.75 var(--font-ui);
  letter-spacing: .34em; text-transform: uppercase;
}
.label-rule { display: block; width: 40px; height: 1px; background: var(--stellar-accent); }

/* === Hero === */
.hero {
  display: grid; grid-template-columns: minmax(0, 790px) minmax(120px, 1fr);
  align-items: end; gap: clamp(20px, 4vw, 56px);
  min-height: min(650px, calc(100vh - 150px));
}
.hero-copy { display: grid; gap: clamp(18px, 3vw, 28px); align-content: center; max-width: 790px; }
.hero h1 {
  max-width: 900px; color: var(--text-primary);
  font: 400 clamp(3.9rem, 8vw, 6.4rem)/.98 var(--font-editorial);
  letter-spacing: 0; text-wrap: balance;
}
.lead {
  max-width: 760px;
  color: color-mix(in srgb, var(--text-primary) 86%, var(--text-secondary));
  font: 400 clamp(1.4rem, 2.7vw, 2.1rem)/1.34 var(--font-editorial);
}
.hero-positioning {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 18px;
  max-width: 760px; padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--border-accent) 52%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-primary) 52%, transparent);
}
.hero-positioning-mark {
  width: 18px; height: 18px; margin-top: 5px; border-radius: 50%;
  border: 1px solid var(--stellar-accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--stellar-strong) 55%, transparent);
}
.hero-positioning strong {
  display: block; margin-bottom: 8px; color: var(--text-primary);
  font: 400 clamp(1.45rem, 2.6vw, 2rem)/1.2 var(--font-editorial);
}
.hero-positioning p { max-width: 680px; color: var(--text-secondary); line-height: 1.6; }
.side-note {
  display: grid; gap: 18px; justify-items: start; padding: 0 0 108px 32px;
  border-left: 1px solid color-mix(in srgb, var(--planet-orbit) 80%, transparent);
}
.side-note span { width: 34px; height: 1px; background: var(--stellar-accent); }
.side-note p {
  color: var(--stellar-accent); font: .8rem/1.75 var(--font-ui);
  letter-spacing: .34em; text-transform: uppercase;
}

/* Development status (issue #218): honest state instead of a live-app CTA.
   Quieted product language: orbit dot + muted pill, never a call to action. */
.dev-status {
  display: inline-flex; align-items: center; gap: 12px;
  justify-self: start;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid color-mix(in srgb, var(--border-accent) 45%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface-primary) 52%, transparent);
  color: var(--text-secondary);
  font-size: .9rem; line-height: 1.5;
}
.dev-status-dot {
  width: 10px; height: 10px; flex: none; border-radius: 50%;
  background: var(--stellar-accent);
  box-shadow: 0 0 12px var(--planet-glow);
}
@media (prefers-reduced-motion: no-preference) {
  .dev-status-dot { animation: dev-pulse 3.6s ease-in-out infinite; }
}
@keyframes dev-pulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

/* === Sections === */
.section {
  display: grid; gap: var(--space-6);
  padding: clamp(64px, 8vw, 108px) 0;
  border-top: 1px solid color-mix(in srgb, var(--border-accent) 30%, transparent);
}
.section-head { display: grid; gap: 18px; max-width: 820px; }
.section h2, .final h2 {
  color: var(--text-primary);
  font: 400 clamp(2.7rem, 6vw, 5.4rem)/1 var(--font-editorial);
  text-wrap: balance;
}
.section-intro {
  max-width: 760px; color: var(--text-secondary);
  font: 400 clamp(1.05rem, 2vw, 1.35rem)/1.65 var(--font-ui);
}

/* === Period preview + timeline (web CurrentPeriodTimeline geometry) === */
.preview {
  overflow: hidden; display: grid; gap: 18px; min-height: 430px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid color-mix(in srgb, var(--border-accent) 62%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-elevated) 70%, transparent), color-mix(in srgb, var(--bg-primary) 70%, transparent)),
    radial-gradient(circle at 50% 76%, color-mix(in srgb, var(--stellar-strong) 12%, transparent), transparent 42%);
  box-shadow: inset 0 0 60px color-mix(in srgb, #000 36%, transparent);
}
.preview-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; }
.event-name {
  margin: 12px 0 0; color: var(--stellar-accent);
  font: .95rem/1.7 var(--font-ui); letter-spacing: .34em; text-transform: uppercase;
}
.preview-note {
  color: var(--stellar-accent); font: .8rem/1.75 var(--font-ui);
  letter-spacing: .34em; text-transform: uppercase;
}
.timeline { position: relative; margin: 0; min-height: clamp(220px, 32vw, 290px); }
.timeline-svg { width: 100%; height: auto; display: block; overflow: visible; }
.tl-track { stroke: var(--planet-orbit); stroke-width: 1.4; fill: none; }
.tl-inner { stroke: var(--planet-orbit); stroke-width: .7; stroke-dasharray: 1 3; fill: none; opacity: .68; }
.tl-tick { stroke: var(--planet-orbit); stroke-width: .75; }
.tl-active {
  fill: none; stroke-width: 4.6; stroke-linecap: round;
  filter: drop-shadow(0 0 7px var(--planet-glow));
}
.tl-marker { fill: var(--stellar-accent); }
.tl-now {
  fill: var(--text-primary); stroke: var(--stellar-accent); stroke-width: 2.4;
  filter: drop-shadow(0 0 7px var(--planet-glow));
}
.tl-pulse {
  fill: color-mix(in srgb, var(--planet-glow) 20%, transparent);
  stroke: var(--stellar-accent); stroke-width: .6;
}
.tl-leader { stroke: color-mix(in srgb, var(--planet-orbit) 60%, transparent); stroke-width: .7; stroke-dasharray: 3 5; }
.tl-date { fill: var(--text-primary); font: 14px var(--font-editorial); }
.tl-small { fill: var(--stellar-accent); font: 7.5px var(--font-ui); letter-spacing: 1.7px; }
@media (prefers-reduced-motion: no-preference) {
  .tl-active { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tl-draw var(--motion-reveal) ease-out both; }
  .tl-pulse { transform-box: fill-box; transform-origin: center; animation: tl-twinkle 3.6s ease-in-out infinite; }
}
@keyframes tl-draw { to { stroke-dashoffset: 0; } }
@keyframes tl-twinkle {
  0%, 100% { opacity: .3; transform: scale(1); }
  50% { opacity: .85; transform: scale(1.3); }
}
.intensity {
  justify-self: center; max-width: 780px;
  color: color-mix(in srgb, var(--text-primary) 70%, var(--stellar-accent));
  font-size: .82rem; letter-spacing: .21em; line-height: 1.8; text-align: center; text-transform: uppercase;
}

/* === Value details (Сейчас / Почему / Что дальше) === */
.value-bridge { display: grid; gap: 12px; max-width: 820px; margin-top: 10px; }
.value-bridge h3 {
  color: var(--text-primary);
  font: 400 clamp(2.3rem, 5vw, 4.5rem)/1 var(--font-editorial);
  text-wrap: balance;
}
.value-details { display: grid; gap: 14px; }
.value-item {
  border: 1px solid color-mix(in srgb, var(--border-accent) 50%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-primary) 66%, transparent);
  overflow: hidden;
}
.value-item[open] {
  border-color: color-mix(in srgb, var(--stellar-accent) 72%, transparent);
  background: color-mix(in srgb, var(--surface-elevated) 78%, transparent);
  box-shadow: 0 0 28px #737cff28, inset 0 1px 0 #ffffff18;
}
.value-summary {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 28px;
  min-height: 128px; padding: 22px 38px; cursor: pointer; list-style: none;
}
.value-summary::-webkit-details-marker { display: none; }
.chev { width: 30px; color: var(--stellar-accent); transition: transform 180ms; }
.value-item[open] .value-summary .chev { transform: rotate(90deg); }
.feature-icon {
  display: grid; place-items: center; width: 86px; aspect-ratio: 1;
  border: 1px solid var(--border-accent); border-radius: 50%;
}
.feature-icon span {
  width: 18px; aspect-ratio: 1; border-radius: 50%;
  background: var(--stellar-accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--stellar-accent) 80%, transparent);
}
.feature-icon.starshape span {
  width: 34px; border-radius: 0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.feature-icon.orbitshape span {
  width: 54px; height: 54px;
  border: 1px dashed var(--stellar-accent); background: transparent;
}
.feature-body { display: grid; gap: 8px; }
.feature-title { color: var(--text-primary); font: 400 clamp(2rem, 3.4vw, 2.8rem)/1.05 var(--font-editorial); }
.feature-text {
  color: color-mix(in srgb, var(--text-primary) 72%, var(--text-secondary));
  font: 400 clamp(1.05rem, 1.8vw, 1.35rem)/1.45 var(--font-editorial);
}
.value-more { padding: 0 38px 28px 178px; }
.value-more p { max-width: 760px; color: var(--text-secondary); line-height: 1.65; }

/* === Compare === */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.surface {
  display: grid; gap: var(--space-4); min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, color-mix(in srgb, var(--surface-elevated) 85%, transparent), color-mix(in srgb, var(--surface-primary) 85%, transparent));
}
.surface.fact { border-color: var(--border-accent); }
.surface h3 { color: var(--text-primary); font: 400 clamp(1.7rem, 3.4vw, 2.5rem)/1.08 var(--font-editorial); }
.surface p { color: var(--text-secondary); line-height: 1.65; }
.quote { font: 400 clamp(1.35rem, 2.5vw, 2rem)/1.35 var(--font-editorial); color: var(--text-primary); }

/* === Calculation proof === */
.calc-proof { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch; }
.calc-core {
  display: grid; gap: 20px; padding: clamp(26px, 4vw, 44px);
  border: 1px solid color-mix(in srgb, var(--border-accent) 68%, transparent);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-elevated) 82%, transparent), color-mix(in srgb, var(--surface-primary) 80%, transparent)),
    radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--planet-glow) 18%, transparent), transparent 32%);
}
.calc-core h3 { color: var(--text-primary); font: 400 clamp(2rem, 4vw, 3.25rem)/1.05 var(--font-editorial); }
.calc-core > p { color: var(--text-secondary); line-height: 1.65; }
.calc-mark {
  display: inline-flex; align-items: center; gap: 12px;
  width: max-content; max-width: 100%; padding: 9px 13px;
  border: 1px solid var(--border-accent); border-radius: var(--radius-pill);
  color: var(--stellar-accent); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Container-adaptive: 3 in a row only when each tile keeps its content
   width (minmax(0,1fr) let them shrink until words clipped at every
   viewport below ~1600px). */
.calc-core .calc-grid { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
.calc-tile {
  display: grid; gap: 7px; padding: 18px;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface-primary) 74%, transparent);
}
.calc-tile small { color: var(--stellar-accent); letter-spacing: .12em; text-transform: uppercase; }
.calc-tile strong { color: var(--text-primary); font: 400 1.28rem/1.25 var(--font-editorial); }
.calc-equation {
  padding: 18px; border-left: 3px solid var(--stellar-accent);
  background: color-mix(in srgb, var(--surface-elevated) 60%, transparent);
  color: var(--text-primary); font-family: var(--font-ui); line-height: 1.7;
}
.calc-aside {
  display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-primary) 72%, transparent);
}
.calc-aside h3 { color: var(--text-primary); font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--font-editorial); }
.calc-aside-copy { color: var(--text-secondary); line-height: 1.7; }
.trust {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 22px 24px; border-left: 3px solid var(--stellar-accent);
  background: color-mix(in srgb, var(--surface-elevated) 58%, transparent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.trust-mark {
  width: 42px; height: 42px; border: 1px solid var(--border-accent); border-radius: 50%;
  display: grid; place-items: center; color: var(--stellar-accent);
}
.trust p { color: var(--text-secondary); line-height: 1.65; }
.trust-strong { color: var(--text-primary); }

/* === Product demo === */
.product-preview-section { padding-top: clamp(42px, 6vw, 72px); }
.demo-card-wide { width: min(880px, 100%); justify-self: center; }
.demo-card {
  display: grid; gap: var(--space-5); padding: clamp(22px, 3vw, 34px);
  border: 1px solid color-mix(in srgb, var(--border-accent) 58%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-elevated) 74%, transparent), color-mix(in srgb, var(--bg-primary) 70%, transparent)),
    radial-gradient(circle at 16% 12%, color-mix(in srgb, var(--planet-glow) 20%, transparent), transparent 32%);
  box-shadow: inset 0 1px 0 #ffffff10, 0 20px 60px #03050c40;
}
.demo-top { display: flex; justify-content: space-between; gap: 16px; }
.badge {
  width: fit-content; padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--stellar-accent) 64%, transparent);
  border-radius: var(--radius-pill); color: var(--stellar-accent);
  font: 600 .7rem/1.2 var(--font-ui); letter-spacing: .08em; text-transform: uppercase;
}
.demo-card h3 { color: var(--text-primary); font: 400 clamp(1.9rem, 3vw, 2.8rem)/1.12 var(--font-editorial); }
.horizons {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  padding: 6px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface-primary) 72%, transparent);
}
.horizon {
  display: grid; place-items: center;
  min-height: 44px; padding: 8px 12px; border-radius: var(--radius-pill);
  color: var(--text-secondary);
}
.horizon.active {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--stellar-accent) 18%, var(--surface-elevated));
  box-shadow: 0 0 20px color-mix(in srgb, var(--planet-glow) 28%, transparent);
}
.change-list { display: grid; gap: 12px; }
.change {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 18px 20px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface-primary) 76%, transparent);
}
.change-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--stellar-accent); box-shadow: 0 0 12px var(--planet-glow);
}
.change strong { color: var(--text-primary); font: 400 1.28rem/1.2 var(--font-editorial); }
.change span { color: var(--text-secondary); font-size: .9rem; }
.change > div > span { font-size: .9rem; }
.next-transition {
  display: grid; grid-template-columns: 1fr auto; gap: 14px;
  padding-top: 18px; border-top: 1px solid var(--border-subtle);
}
.next-transition strong { color: var(--text-primary); font: 400 1.3rem/1.2 var(--font-editorial); }
.next-transition > span { color: var(--stellar-accent); }

/* === Data section === */
.data-note { margin: 4px 0 0; color: var(--text-secondary); line-height: 1.65; }

/* === Final === */
.final {
  display: grid; justify-items: center; text-align: center; gap: 22px;
  padding: clamp(76px, 10vw, 128px) 0 42px;
  border-top: 1px solid color-mix(in srgb, var(--border-accent) 30%, transparent);
}
.final > p { max-width: 680px; color: var(--text-secondary); font-size: 1.1rem; line-height: 1.65; }
.readiness-card {
  display: grid; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 18px;
  width: min(760px, 100%); margin-top: 10px; padding: 24px 28px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--border-accent) 62%, transparent);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-elevated) 76%, transparent), color-mix(in srgb, var(--surface-primary) 72%, transparent)),
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--planet-glow) 18%, transparent), transparent 34%);
}
.readiness-card strong {
  color: var(--text-primary);
  font: 400 clamp(1.35rem, 2.6vw, 1.9rem)/1.2 var(--font-editorial);
}
.readiness-orbit {
  position: relative; width: 58px; height: 58px;
  border: 1px solid var(--border-accent); border-radius: 50%;
  box-shadow: 0 0 22px color-mix(in srgb, var(--planet-glow) 24%, transparent);
}
.readiness-orbit::before {
  content: ""; position: absolute; inset: 50% auto auto 50%;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--stellar-accent);
  transform: translate(-50%, -50%) scale(calc(1 + var(--charge) * 0.7));
  box-shadow: 0 0 14px var(--planet-glow);
}
.readiness-orbit::after {
  content: ""; position: absolute; left: -8px; top: 24px;
  width: 72px; height: 10px;
  border: 1px solid color-mix(in srgb, var(--stellar-accent) 70%, transparent);
  border-radius: 50%;
  transform: rotate(-18deg);
}

/* Hidden drag-to-stage door (assets/site.js): press the planet and drag it
   across the card, past the text, to the right edge — it burns brighter with
   progress and opens the stage environment when carried all the way; released
   early, it springs back into orbit. The custom properties are registered so
   the pseudo-element planet can follow the drag, and their reset on release
   interpolates as the spring. The hold must not turn into text selection or
   an OS long-press menu on touch. */
@property --planet-shift { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --charge { syntax: "<number>"; inherits: true; initial-value: 0; }

.readiness-card {
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.readiness-orbit {
  /* The whole emblem — ring, planet and ellipse — is the draggable thing:
     it travels across the card with --planet-shift and ignites with --charge
     (drop-shadow wraps ring, planet and ellipse alike; the ring border heats
     from its base grey to the stellar accent). */
  transform: translateX(var(--planet-shift));
  border-color: color-mix(in srgb, var(--stellar-accent) calc(var(--charge) * 100%), var(--border-accent));
  touch-action: none;
  cursor: grab;
  transition: --planet-shift 340ms cubic-bezier(0.3, 0.7, 0.3, 1), --charge 340ms ease;
  filter: drop-shadow(0 0 calc(var(--charge) * 16px) var(--planet-glow));
}
.readiness-card.is-dragging .readiness-orbit {
  transition: none;
  cursor: grabbing;
}
/* Armed at the anchor: the emblem is locked and breathes before the jump —
   two slow, smooth swells over 2s (one second per beat, in step with
   PULSE_MS in site.js). Emblem halo and planet share the same clock. */
.readiness-card.is-armed .readiness-orbit {
  cursor: grabbing;
  animation: readiness-pulse 2000ms ease-in-out;
}
.readiness-card.is-armed .readiness-orbit::before {
  animation: readiness-pulse-planet 2000ms ease-in-out;
}
@keyframes readiness-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 18px var(--planet-glow)) drop-shadow(0 0 34px color-mix(in srgb, var(--planet-glow) 35%, transparent));
  }
  50% {
    filter: drop-shadow(0 0 42px var(--planet-glow)) drop-shadow(0 0 90px color-mix(in srgb, var(--planet-glow) 80%, transparent));
  }
}
@keyframes readiness-pulse-planet {
  0%, 100% { box-shadow: 0 0 14px var(--planet-glow); }
  50% {
    box-shadow: 0 0 26px var(--planet-glow), 0 0 60px color-mix(in srgb, var(--planet-glow) 75%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .readiness-card.is-armed .readiness-orbit {
    animation: none;
    filter: drop-shadow(0 0 30px var(--planet-glow)) drop-shadow(0 0 70px color-mix(in srgb, var(--planet-glow) 85%, transparent));
  }
  .readiness-card.is-armed .readiness-orbit::before {
    animation: none;
    box-shadow: 0 0 22px var(--planet-glow), 0 0 48px color-mix(in srgb, var(--planet-glow) 80%, transparent);
  }
}

/* === Footer === */
.footer {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 28px 0 0; color: var(--text-secondary);
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}

/* === Responsive: wireframe mobile overrides as real media queries === */
@media (max-width: 760px) {
  .shell { width: min(100% - 24px, 960px); }
  .brand-header { min-height: 64px; }
  .tagline { display: none; }
  .brand-mark { width: 48px; height: 42px; }
  .brand { gap: 10px; letter-spacing: .27em; font-size: .82rem; }
  .content { padding-top: 8px; }
  .landing { padding-top: 4px; gap: 34px; }
  .landing::before { top: -120px; right: -300px; width: 600px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 24px; }
  .side-note { display: none; }
  .hero h1 { font-size: clamp(3.1rem, 17vw, 4.75rem); }
  .lead { font-size: 1.45rem; }
  .hero-positioning { padding: 18px; gap: 14px; }
  .section { padding: 58px 0; }
  .section h2, .final h2 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .preview { min-height: 390px; padding: 22px 18px; border-radius: 16px; }
  .preview-head { grid-template-columns: 1fr; }
  .preview-note { display: none; }
  .timeline { min-height: 230px; }
  .intensity { font-size: .72rem; letter-spacing: .16em; }
  .value-summary { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; min-height: 104px; padding: 16px; }
  .feature-icon { width: 54px; }
  .feature-icon.orbitshape span { width: 38px; height: 38px; }
  .feature-icon.starshape span { width: 24px; }
  .feature-title { font-size: 1.75rem; }
  .feature-text { font-size: 1rem; }
  .value-more { padding: 0 16px 20px 94px; }
  .compare, .calc-proof, .calc-grid, .calc-core .calc-grid { grid-template-columns: 1fr; }
  .demo-card { padding: 20px 16px; }
  .horizon { padding-inline: 6px; font-size: .82rem; }
  .change { grid-template-columns: auto 1fr; padding: 16px; }
  .change > span:last-child { display: none; }
  .readiness-card { padding: 20px; gap: 14px; }
  .readiness-orbit { width: 48px; height: 48px; }
  .final { padding-bottom: 20px; }
  .footer { flex-direction: column; text-align: center; align-items: center; }
}

/* Extra-small screens (320px): keep tiles and headers readable, no overflow. */
@media (max-width: 380px) {
  .brand { letter-spacing: .2em; }
  .dev-status { padding: 10px 14px; font-size: .84rem; }
  .horizons { gap: 4px; }
}
