:root {
  --bg: #070910;
  --cream: #f3ead7;
  --cream-dim: #b7b1a4;
  --gold: #e4c27a;
  --gold-deep: #c9963a;
  --ink: #16130e;
  --violet: #b7b0ef;
  --line: rgba(243, 234, 215, 0.12);
  --header-h: 74px;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --mono: Consolas, "Cascadia Mono", "Courier New", monospace;
  --wide: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-lock {
  overflow: hidden;
}

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: rgba(228, 194, 122, 0.35);
  color: #fff;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  padding: 0.6rem 0.9rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus {
  top: 0.8rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wide), calc(100% - 3.5rem));
  margin-inline: auto;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(900px 560px at 88% -8%, rgba(126, 146, 214, 0.18), transparent 62%),
    radial-gradient(720px 480px at 6% 108%, rgba(190, 146, 72, 0.09), transparent 58%),
    radial-gradient(520px 420px at 48% 36%, rgba(46, 58, 102, 0.22), transparent 70%),
    var(--bg);
}

.sky-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(186, 202, 236, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(186, 202, 236, 0.045) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(ellipse at 50% 28%, #000 12%, transparent 72%);
}

.starfield {
  position: absolute;
  inset: 0;
  animation: field-drift 90s ease-in-out infinite alternate;
}

.starfield span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.72;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.65);
  animation: twinkle 5.5s ease-in-out infinite;
}

.starfield span:nth-child(3n) {
  width: 1px;
  height: 1px;
  opacity: 0.4;
  box-shadow: none;
}

.starfield span:nth-child(4n) {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(228, 194, 122, 0.8);
}

.starfield span:nth-child(5n) {
  width: 3px;
  height: 3px;
  background: #d5def8;
}

.starfield span:nth-child(1) { top: 12%; left: 18%; }
.starfield span:nth-child(2) { top: 22%; left: 74%; animation-delay: -1.2s; }
.starfield span:nth-child(3) { top: 8%; left: 52%; animation-delay: -2s; }
.starfield span:nth-child(4) { top: 30%; left: 28%; animation-delay: -3s; }
.starfield span:nth-child(5) { top: 18%; left: 88%; animation-delay: -0.6s; }
.starfield span:nth-child(6) { top: 42%; left: 12%; animation-delay: -2.4s; }
.starfield span:nth-child(7) { top: 48%; left: 64%; animation-delay: -1.6s; }
.starfield span:nth-child(8) { top: 58%; left: 36%; animation-delay: -3.4s; }
.starfield span:nth-child(9) { top: 66%; left: 82%; animation-delay: -0.8s; }
.starfield span:nth-child(10) { top: 72%; left: 20%; animation-delay: -2.8s; }
.starfield span:nth-child(11) { top: 80%; left: 54%; animation-delay: -1.1s; }
.starfield span:nth-child(12) { top: 14%; left: 40%; animation-delay: -4s; }
.starfield span:nth-child(13) { top: 36%; left: 92%; animation-delay: -2.2s; }
.starfield span:nth-child(14) { top: 86%; left: 70%; animation-delay: -3.6s; }
.starfield span:nth-child(15) { top: 54%; left: 8%; animation-delay: -0.4s; }
.starfield span:nth-child(16) { top: 26%; left: 60%; animation-delay: -1.8s; }
.starfield span:nth-child(17) { top: 90%; left: 30%; animation-delay: -2.6s; }
.starfield span:nth-child(18) { top: 6%; left: 8%; animation-delay: -3.2s; }

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(7, 9, 16, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

@supports (backdrop-filter: blur(16px)) {
  .site-header.is-scrolled {
    background: rgba(7, 9, 16, 0.72);
    backdrop-filter: blur(16px);
  }
}

.bar {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
  background: #05060a;
  border: 1px solid rgba(228, 194, 122, 0.35);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.42);
}

.brand-name {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.nav-sec,
.nav-ext {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-ext {
  margin-left: auto;
}

.site-nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.site-nav a:hover {
  color: var(--cream);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(243, 234, 215, 0.22);
  background: transparent;
  color: var(--cream);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--cream);
  position: relative;
  transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -5px; }
.burger::after { top: 5px; }

.site-header.nav-open .burger { background: transparent; }
.site-header.nav-open .burger::before { top: 0; transform: rotate(45deg); }
.site-header.nav-open .burger::after { top: 0; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-buy {
  background: linear-gradient(180deg, #f8f2e6 0%, #e4c27a 58%, #d4b06a 100%);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(212, 168, 84, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.btn-buy:hover {
  box-shadow: 0 14px 32px rgba(212, 168, 84, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 234, 215, 0.28);
}

.btn-ghost:hover {
  border-color: rgba(243, 234, 215, 0.62);
  background: rgba(243, 234, 215, 0.06);
}

.header-buy {
  min-height: 42px;
  padding: 0.6rem 1rem;
  flex: none;
}

.copy-btn.is-copied {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 1.5rem) 0 3.5rem;
  display: flex;
  align-items: center;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2rem;
  align-items: center;
  width: min(1240px, calc(100% - 3.5rem));
}

.eyebrow {
  margin: 0 0 1.15rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.15rem, 5.05vw, 5.45rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: var(--cream);
}

.hero h1 .line {
  display: block;
}

.hero h1 .gold {
  color: var(--gold);
}

.lede {
  margin: 1.4rem 0 0;
  max-width: 28ch;
  color: var(--cream-dim);
  font-size: 1.12rem;
  line-height: 1.55;
}

.spec {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  list-style: none;
  margin: 1.5rem 0 1.6rem;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.spec li {
  display: inline-flex;
  align-items: center;
}

.spec li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 0.75rem;
  border-radius: 50%;
  background: var(--gold);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.disclaimer {
  margin: 1rem 0 0;
  max-width: 36ch;
  color: var(--cream-dim);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  width: min(100%, 640px);
  margin-left: auto;
}

.hero-glow,
.orbit,
.sparks {
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle, rgba(228, 194, 122, 0.2), rgba(126, 146, 214, 0.08) 42%, transparent 70%);
  filter: blur(6px);
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(228, 194, 122, 0.28);
}

.orbit-1 {
  width: 92%;
  height: 34%;
  left: 4%;
  top: 34%;
  animation: spin 52s linear infinite;
}

.orbit-2 {
  width: 70%;
  height: 78%;
  left: 16%;
  top: 12%;
  border-color: rgba(176, 192, 236, 0.22);
  animation: spin 74s linear infinite reverse;
}

.orbit-3 {
  width: 84%;
  height: 84%;
  left: 8%;
  top: 8%;
  border-color: rgba(243, 234, 215, 0.12);
  animation: spin 96s linear infinite;
}

.orbit-3 span {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.sparks span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  animation: rise 9s ease-in-out infinite alternate;
}

.sparks span:nth-child(1) { top: 16%; left: 18%; }
.sparks span:nth-child(2) { top: 24%; left: 78%; background: var(--gold); animation-delay: -2s; }
.sparks span:nth-child(3) { top: 70%; left: 12%; width: 2px; height: 2px; animation-delay: -4s; }
.sparks span:nth-child(4) { top: 78%; left: 72%; background: #c9d4ff; animation-delay: -1s; }
.sparks span:nth-child(5) { top: 40%; left: 8%; width: 2px; height: 2px; animation-delay: -3s; }
.sparks span:nth-child(6) { top: 12%; left: 52%; background: var(--gold); animation-delay: -5s; }
.sparks span:nth-child(7) { top: 62%; left: 86%; width: 2px; height: 2px; animation-delay: -2.5s; }
.sparks span:nth-child(8) { top: 86%; left: 40%; animation-delay: -6s; }

.float {
  position: relative;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.float img {
  display: block;
  width: 100%;
  height: auto;
}

.models {
  padding: 5.5rem 0 4rem;
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr;
  gap: 1rem;
  align-items: stretch;
}

.model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(243, 234, 215, 0.1);
  background: rgba(14, 18, 30, 0.72);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.model-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 234, 215, 0.28);
  box-shadow: var(--shadow);
}

.model-card.is-selected {
  border-color: rgba(228, 194, 122, 0.6);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(228, 194, 122, 0.14), transparent 52%),
    rgba(12, 14, 24, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.model-card.is-selected:hover {
  transform: translateY(-8px);
  border-color: rgba(228, 194, 122, 0.85);
}

.mark {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
}

.mark-luna {
  width: 176px;
  height: 176px;
  border-radius: 28px;
  overflow: hidden;
  background: #05060a;
  box-shadow: 0 0 0 1px rgba(228, 194, 122, 0.28), 0 16px 40px rgba(0, 0, 0, 0.28);
}

.mark-luna img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.08);
}

.symbol-astra {
  width: 72px;
  height: 72px;
  fill: #d9d4ff;
  stroke: #b7b0ef;
  stroke-width: 1.4;
  filter: drop-shadow(0 0 10px rgba(155, 147, 230, 0.65));
}

.symbol-astra path {
  fill: none;
}

.symbol-sol {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}

.symbol-sol .core {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #fff8ea, #f0b14a 42%, #d4782a 78%);
  box-shadow: 0 0 18px rgba(240, 177, 74, 0.75);
  position: relative;
  z-index: 1;
}

.symbol-sol .rays {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(240, 177, 74, 0.9) 0 8deg, transparent 8deg 28deg);
  mask: radial-gradient(circle, transparent 36%, #000 40%, #000 58%, transparent 62%);
  opacity: 0.85;
}

.model-card h3 {
  margin: 1.4rem 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.model-card.is-selected h3 {
  font-size: 1.7rem;
}

.tagline {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--cream-dim);
}

.selected-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7f0e2, #e4c27a);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.swipe-hint {
  display: none;
  margin: 0.8rem 0 0;
  color: var(--cream-dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.verdict {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.2rem;
  text-align: center;
}

.verdict p {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.verdict p:last-child {
  color: var(--gold);
}

.story {
  padding: 7.5rem 0 6rem;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.story-stanza {
  margin: 0;
}

.story-line {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.5vw, 4.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.story-stanza + .story-stanza {
  margin-top: 1.45em;
}

.story-note {
  margin: 2.6rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.35;
}

.story-prose {
  margin: 1.35rem 0 0;
  max-width: 34rem;
  color: var(--cream-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

.moon-stage {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(228, 194, 122, 0.32);
  animation: spin 36s linear infinite;
}

.ring-a { inset: 2%; }
.ring-b {
  inset: 10% -4%;
  border-color: rgba(176, 192, 236, 0.28);
  animation-duration: 54s;
  animation-direction: reverse;
}

.ring span {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.moon {
  position: relative;
  z-index: 1;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #fff 0%, #f6f1e6 18%, #d9d3c6 46%, #b7b9c6 74%, #8d93a8 100%);
  box-shadow:
    inset -18px -12px 30px rgba(58, 68, 102, 0.28),
    0 0 80px rgba(206, 218, 255, 0.2);
}

.crater {
  position: absolute;
  border-radius: 50%;
  background: rgba(92, 98, 122, 0.18);
  box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.35);
}

.c1 { width: 18%; height: 18%; top: 28%; left: 26%; }
.c2 { width: 10%; height: 10%; top: 54%; left: 50%; }
.c3 { width: 7%; height: 7%; top: 40%; left: 62%; }
.c4 { width: 13%; height: 13%; top: 62%; left: 30%; }

.twins {
  padding: 2rem 0 5rem;
}

.twin-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.shift {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}

.shift-day {
  background:
    radial-gradient(80% 55% at 50% 115%, rgba(214, 140, 48, 0.42), transparent 62%),
    linear-gradient(180deg, #14110e 0%, #2a1b10 100%);
  border-right: 1px solid rgba(243, 234, 215, 0.1);
}

.shift-night {
  background:
    radial-gradient(42% 36% at 78% 18%, rgba(150, 170, 230, 0.22), transparent 70%),
    linear-gradient(180deg, #070910 0%, #12182a 100%);
}

.shift-copy {
  position: relative;
  z-index: 1;
  padding: 4.5rem 8% 2rem;
}

.shift h3 {
  margin: 0;
  font-size: clamp(4.2rem, 8vw, 7.4rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.shift-day h3,
.shift-day p {
  color: #f6e7c8;
}

.shift p {
  margin: 0.8rem 0 0;
  font-family: var(--mono);
  letter-spacing: 0.22em;
  font-size: 0.82rem;
}

.shift-night h3,
.shift-night p {
  color: #e7eefc;
}

.sun {
  position: absolute;
  left: 50%;
  bottom: -90px;
  width: min(340px, 70%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fff6e4, #f0b14a 36%, #d36a2e 72%, rgba(211, 106, 46, 0) 74%);
  box-shadow: 0 0 90px rgba(240, 170, 70, 0.38);
}

.sun-rays {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 8deg, rgba(255, 214, 150, 0.45) 0 6deg, transparent 6deg 24deg);
  mask: radial-gradient(circle, transparent 42%, #000 48%, transparent 70%);
  opacity: 0.45;
}

.moon-mini {
  position: absolute;
  width: min(190px, 36%);
  aspect-ratio: 1;
  right: 9%;
  top: 11%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 34%, #fff, #dfe5f2 42%, #a7b0c6 78%);
  box-shadow:
    inset -12px -8px 18px rgba(70, 80, 110, 0.25),
    0 0 50px rgba(190, 206, 255, 0.22);
}

.shift-stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.75;
}

.shift-stars span:nth-child(1) { top: 18%; left: 12%; }
.shift-stars span:nth-child(2) { top: 30%; left: 28%; background: var(--gold); }
.shift-stars span:nth-child(3) { top: 62%; left: 18%; }
.shift-stars span:nth-child(4) { top: 74%; left: 70%; }
.shift-stars span:nth-child(5) { top: 22%; left: 58%; width: 3px; height: 3px; }

.twin-mid {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(280px, 46%);
  transform: translate(-50%, -50%);
  padding: 1.35rem 1.1rem;
  text-align: center;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(7, 9, 16, 0.62);
  box-shadow: var(--shadow);
}

@supports (backdrop-filter: blur(12px)) {
  .twin-mid {
    background: rgba(7, 9, 16, 0.5);
    backdrop-filter: blur(12px);
  }
}

.twin-mid h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.shift-moral {
  margin: 0;
  padding-top: 3.2rem;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.45;
}

.trade {
  padding: 4.5rem 0 3rem;
}

.panel {
  width: min(760px, 100%);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 28px;
  border: 1px solid rgba(243, 234, 215, 0.14);
  background: rgba(12, 16, 28, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow);
}

@supports (backdrop-filter: blur(18px)) {
  .panel {
    background: rgba(12, 16, 28, 0.66);
    backdrop-filter: blur(18px);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.32rem 0.65rem 0.32rem 0.55rem;
  border: 1px solid rgba(228, 194, 122, 0.5);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.panel h2 {
  margin: 0.9rem 0 0;
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.chain {
  margin: 0.45rem 0 0;
  color: var(--cream-dim);
  letter-spacing: 0.14em;
  font-size: 0.92rem;
}

.ca-block {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.ca-label {
  margin: 0 0 0.55rem;
  color: var(--cream-dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ca-row code {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 14, 0.55);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.chart-section {
  padding: 2.5rem 0 4.5rem;
}

.chart-shell {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(243, 234, 215, 0.12);
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(126, 146, 214, 0.12), transparent 60%),
    rgba(8, 12, 22, 0.88);
  box-shadow: var(--shadow);
}

.chart-plot {
  position: absolute;
  inset: 0;
}

.chart-plot svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-plot line,
.chart-plot path {
  vector-effect: non-scaling-stroke;
}

.chart-plot line {
  stroke: rgba(186, 202, 236, 0.12);
  stroke-width: 1;
}

.chart-plot path {
  fill: none;
  stroke: rgba(228, 194, 122, 0.8);
  stroke-width: 1.5;
}

.chart-message {
  position: relative;
  z-index: 1;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  gap: 0.9rem;
  background: radial-gradient(ellipse at center, rgba(8, 12, 22, 0.88) 0%, rgba(8, 12, 22, 0.55) 38%, transparent 68%);
}

.chart-message h2 {
  margin: 0;
  max-width: 10em;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.text-link {
  color: var(--gold);
  text-underline-offset: 0.22em;
}

.text-link:hover {
  color: var(--cream);
}

.dex-frame {
  display: none;
  width: 100%;
  height: 640px;
  border: 0;
  background: #0b1020;
}

.chart-shell.is-live .chart-fallback {
  display: none;
}

.chart-shell.is-live .dex-frame {
  display: block;
}

.banner {
  margin: 0;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
  background: #070910;
}

.terminal-section {
  padding: 5rem 0 6rem;
}

.term {
  width: min(760px, 100%);
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(243, 234, 215, 0.12);
  background: rgba(8, 11, 18, 0.88);
  box-shadow: var(--shadow);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.dots {
  display: inline-flex;
  gap: 0.35rem;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243, 234, 215, 0.28);
}

.term-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--cream-dim);
}

.term-body {
  min-height: 292px;
  padding: 1.15rem 1.2rem 1.4rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.95rem;
  line-height: 1.75;
}

.term-line {
  margin: 0;
  white-space: nowrap;
}

.pr { color: var(--gold); margin-right: 0.35rem; }
.k { color: #9eb0d4; }
.v { color: var(--cream); }
.v.dim { color: var(--violet); }
.v.hot { color: var(--gold); }

.cursor {
  display: inline-block;
  width: 0.55ch;
  height: 0.95em;
  margin-left: 0.28rem;
  background: var(--gold);
  transform: translateY(2px);
  animation: blink 1.05s steps(1) infinite;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-mark {
  display: block;
  color: rgba(243, 234, 215, 0.92);
  font-size: clamp(4.4rem, 20vw, 14.5rem);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.82;
  text-decoration: none;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer-mark {
    background: linear-gradient(180deg, #f7f1e4 8%, #e4c27a 62%, rgba(228, 194, 122, 0.28));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.footer-name {
  margin: 1.1rem 0 0;
  letter-spacing: 0.18em;
  font-size: 0.92rem;
}

.footer-tag {
  margin: 0.35rem 0 0;
  color: var(--gold);
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem 1.4rem;
  margin-top: 1.8rem;
}

.footer-link {
  color: var(--cream-dim);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--cream);
}

.footer-disclaimer {
  max-width: 62ch;
  margin: 1.8rem 0 0;
  color: var(--cream-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--d, 0s);
}

.js .term-line {
  opacity: 0;
}

.js .term-line.is-on {
  opacity: 1;
  transition: opacity 0.45s ease;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

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

@keyframes field-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-22px, -16px, 0); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.9; }
}

@keyframes rise {
  from { transform: translate3d(0, 6px, 0); opacity: 0.35; }
  to { transform: translate3d(4px, -12px, 0); opacity: 0.95; }
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    width: min(var(--wide), calc(100% - 3rem));
  }

  .hero-visual {
    order: 2;
    max-width: 520px;
    margin: 0.5rem auto 0;
  }

  .hero {
    align-items: flex-start;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-buy {
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1.25rem 1rem;
    background: #070910;
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .nav-sec,
  .nav-ext {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-ext {
    margin-left: 0;
  }

  .site-nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(243, 234, 215, 0.08);
    font-size: 1.12rem;
    color: var(--cream);
  }

  .model-grid {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.2rem 0 0.8rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(228, 194, 122, 0.45) transparent;
  }

  .model-card {
    flex: 0 0 min(82vw, 340px);
    min-height: 0;
    scroll-snap-align: center;
  }

  .mark-luna {
    width: 148px;
    height: 148px;
  }

  .swipe-hint {
    display: block;
  }

  .verdict {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    text-align: left;
  }
}

@media (max-width: 800px) {
  .wrap,
  .hero-grid {
    width: min(var(--wide), calc(100% - 2.25rem));
  }

  .story {
    padding: 4.5rem 0 3.5rem;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .moon-stage {
    order: -1;
    width: min(100%, 280px);
    margin-bottom: 0.5rem;
  }

  .twin-grid,
  .shift {
    min-height: 0;
  }

  .shift {
    min-height: 380px;
  }

  .shift-day {
    border-right: 0;
    border-bottom: 1px solid rgba(243, 234, 215, 0.1);
  }

  .twin-grid {
    grid-template-columns: 1fr;
  }

  .twin-mid {
    position: static;
    transform: none;
    width: auto;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 1.6rem 1.25rem;
  }

  .shift-copy {
    padding: 3rem 1.4rem 2rem;
  }

  .moon-mini {
    width: 120px;
    top: 1.4rem;
    right: 1rem;
  }
}

@media (max-width: 700px) {
  :root {
    --header-h: 66px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1.1rem);
    padding-bottom: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 16vw, 4.7rem);
  }

  .hero h1 .w {
    display: block;
  }

  .lede {
    font-size: 1.05rem;
  }

  .cta-row,
  .panel-actions {
    flex-direction: column;
  }

  .cta-row .btn,
  .panel-actions .btn,
  .ca-row .copy-btn {
    width: 100%;
    min-height: 52px;
  }

  .ca-row {
    flex-direction: column;
    align-items: stretch;
  }

  .models,
  .trade,
  .terminal-section {
    padding-top: 3.6rem;
    padding-bottom: 3.2rem;
  }

  .chart-message,
  .chart-shell {
    min-height: 420px;
  }

  .chart-shell.is-live .dex-frame {
    height: 520px;
  }

  .term-body {
    font-size: 0.78rem;
    min-height: 250px;
  }

  .footer-nav .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
  }

  .header-buy {
    padding: 0.55rem 0.7rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal,
  .js .term-line {
    opacity: 1 !important;
    transform: none !important;
  }
}
