:root {
  --bg: #0a0607;
  --bg-2: #120a0c;
  --line: rgba(252, 165, 165, 0.14);
  --text: #f5ecec;
  --muted: #a08a8a;
  --accent: #ef4444;
  --accent-2: #fecaca;
  --accent-hot: #dc2626;
  --accent-deep: #991b1b;
  --accent-glow: rgba(239, 68, 68, 0.35);
  --amber: var(--accent);
  --amber-2: var(--accent-2);
  --violet: #f43f5e;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 14px;
  --header: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--amber);
  color: #1a0808;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.hatch {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 12px,
    rgba(239, 68, 68, 0.28) 12px,
    rgba(239, 68, 68, 0.28) 13px
  );
  z-index: 0;
}

.burrow-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  z-index: 0;
  animation: drift 28s var(--ease) infinite alternate;
}

.burrow-a {
  width: 380px;
  height: 380px;
  background: var(--accent);
  top: -80px;
  left: -60px;
}

.burrow-b {
  width: 320px;
  height: 320px;
  background: var(--accent-deep);
  bottom: 5%;
  right: -40px;
  animation-delay: -10s;
}

@keyframes drift {
  to {
    transform: translate(24px, -30px) scale(1.06);
  }
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.scrolled {
  background: rgba(10, 6, 7, 0.9);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.logo img {
  border-radius: 8px;
  object-fit: cover;
}

.logo-accent {
  color: var(--amber);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--amber-2);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 0.28rem;
  font-size: 0.72rem;
  line-height: 1;
  max-width: 11rem;
}

.lang-switch-link {
  color: var(--muted);
  transition: color 0.2s;
}

.lang-switch-link:hover {
  color: var(--amber-2);
}

.lang-switch-link.is-active {
  color: var(--muted);
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}

.lang-switch-sep {
  color: var(--muted);
  opacity: 0.35;
  font-size: 0.75em;
  user-select: none;
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--amber);
  color: #fff !important;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(18, 10, 12, 0.65);
  position: relative;
  z-index: 1;
}

.ticker::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
  z-index: 2;
}

.ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(105deg, transparent 40%, rgba(239, 68, 68, 0.07) 50%, transparent 60%);
  animation: ticker-shine 7s linear infinite;
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 0.55rem 0;
  will-change: transform;
  animation: ticker-scroll 38s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-shrink: 0;
  padding-inline: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticker-group span {
  white-space: nowrap;
  animation: ticker-glow 5s ease-in-out infinite;
}

.ticker-group span:nth-child(2n) {
  animation-delay: 0.6s;
}

.ticker-group span:nth-child(3n) {
  animation-delay: 1.2s;
}

.ticker-group span::before {
  content: "◆ ";
  color: var(--violet);
  animation: ticker-diamond 2.8s ease-in-out infinite;
}

.ticker-group span:nth-child(odd)::before {
  animation-delay: 0.35s;
}

@keyframes ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes ticker-shine {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes ticker-diamond {
  0%,
  100% {
    opacity: 0.55;
    text-shadow: none;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(244, 63, 94, 0.45);
  }
}

@keyframes ticker-glow {
  0%,
  100% {
    color: var(--muted);
  }
  50% {
    color: rgba(254, 202, 202, 0.92);
  }
}

.hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 5rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 1rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 800;
}

h1 em {
  font-style: normal;
  color: var(--amber);
  text-decoration: none;
  text-shadow: 0 0 28px var(--accent-glow);
}

.deck {
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 1.5rem;
}

.deck-center {
  text-align: center;
  margin-inline: auto;
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.cta-center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, background 0.22s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-amber {
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  color: #fff;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.28);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(239, 68, 68, 0.4);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  border-color: rgba(239, 68, 68, 0.45);
}

.metric-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.metric-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--amber-2);
}

.trace-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(165deg, rgba(239, 68, 68, 0.08), rgba(10, 6, 7, 0.92));
  padding: 1.15rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.trace-card-worm {
  position: relative;
  overflow: hidden;
}

.trace-frame {
  position: absolute;
  inset: 10px;
  border: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.35), transparent) 1;
  pointer-events: none;
  opacity: 0.6;
  animation: trace-frame-pulse 4.5s ease-in-out infinite;
}

.trace-sigil {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.trace-sigil-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(239, 68, 68, 0.45);
}

.trace-sigil-orbit-a {
  animation: trace-orbit 5s linear infinite;
}

.trace-sigil-orbit-b {
  inset: 10px;
  border-style: solid;
  border-color: rgba(244, 63, 94, 0.25);
  animation: trace-orbit 3.2s linear infinite reverse;
}

.trace-sigil-core {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-2), var(--accent-deep));
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.55);
  animation: trace-core-beat 2.2s ease-in-out infinite;
}

.trace-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.15rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  animation: trace-live-blink 1.4s step-end infinite;
}

.trace-status-swap {
  animation: trace-status-swap 0.42s var(--ease);
}

.trace-progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.trace-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--violet));
  transition: width 0.85s var(--ease);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

.trace-card-worm .trace-log li {
  opacity: 0;
  transform: translateX(10px);
  animation: none;
  border-left: 2px solid transparent;
  padding-left: 0.35rem;
  margin-left: -0.35rem;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.35s, background 0.35s;
}

.trace-card-worm .trace-log li.trace-line-visible {
  opacity: 1;
  transform: none;
}

.trace-card-worm .trace-log li.trace-line-active {
  border-left-color: var(--accent);
  background: rgba(239, 68, 68, 0.06);
  color: var(--text);
}

.trace-card-worm .trace-log li.trace-line-active time {
  color: var(--accent-2);
}

@keyframes trace-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes trace-core-beat {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.88);
    opacity: 0.85;
  }
}

@keyframes trace-live-blink {
  50% {
    opacity: 0.25;
  }
}

@keyframes trace-status-swap {
  from {
    opacity: 0.35;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes trace-frame-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.75;
  }
}

.trace-head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
}

.trace-state {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.trace-sub {
  margin: 0.2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pulse-label {
  animation: pulse-label 0.45s var(--ease);
}

@keyframes pulse-label {
  from {
    opacity: 0.4;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.trace-log {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--muted);
}

.trace-log li {
  opacity: 0;
  animation: trace-in 0.5s var(--ease) forwards;
}

.trace-log li:nth-child(1) {
  animation-delay: 0.15s;
}
.trace-log li:nth-child(2) {
  animation-delay: 0.35s;
}
.trace-log li:nth-child(3) {
  animation-delay: 0.55s;
}
.trace-log li:nth-child(4) {
  animation-delay: 0.75s;
}
.trace-log li:nth-child(5) {
  animation-delay: 0.95s;
}

.trace-log time {
  color: var(--violet);
  margin-right: 0.35rem;
}

.trace-cursor::after {
  content: "▮";
  animation: blink 1s step-end infinite;
  color: var(--amber);
  margin-left: 0.25rem;
}

@keyframes trace-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-rise > * {
  opacity: 0;
  animation: rise 0.65s var(--ease) forwards;
}

.hero-rise .kicker {
  animation-delay: 0.04s;
}
.hero-rise h1 {
  animation-delay: 0.1s;
}
.hero-rise .deck {
  animation-delay: 0.16s;
}
.hero-rise .hero-cta {
  animation-delay: 0.22s;
}
.hero-rise .metric-row {
  animation-delay: 0.28s;
}

.hero-rise-delay {
  animation: rise 0.7s var(--ease) 0.2s forwards;
  opacity: 0;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section-title {
  max-width: 560px;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.signal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--bg-2);
  transition: transform 0.28s var(--ease), border-color 0.28s;
}

.signal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 68, 68, 0.35);
}

.signal-card-wide {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(190, 18, 60, 0.1), var(--bg-2));
}

.signal-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.signal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 0.75rem;
}

.bento-cell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: var(--bg-2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.bento-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.bento-tall {
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.bento-id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--violet);
  letter-spacing: 0.12em;
}

.bento-cell h3 {
  margin: 0.35rem 0 0.25rem;
  font-size: 1rem;
}

.bento-cell p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.strain-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.strain-col {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: var(--bg-2);
  transition: opacity 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}

.strain-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.strain-col li {
  padding: 0.4rem 0;
  color: var(--muted);
  display: flex;
  gap: 0.45rem;
}

.strain-col li::before {
  content: "›";
  color: var(--amber);
}

.strain-win {
  border-color: rgba(239, 68, 68, 0.45);
  background: linear-gradient(160deg, rgba(239, 68, 68, 0.12), var(--bg-2));
}

.strain-compare:has(.strain-col:hover) .strain-dim {
  opacity: 0.5;
}

.strain-win.is-lit {
  animation: strain-glow 1s var(--ease) 1;
}

@keyframes strain-glow {
  from {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  }
  to {
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.22), 0 20px 48px rgba(0, 0, 0, 0.4);
  }
}

#compare.strain-lines-visible .strain-col li,
#strain.strain-lines-visible .strain-col li {
  opacity: 0;
  animation: compare-li 0.45s var(--ease) forwards;
}

#compare.strain-lines-visible .strain-dim li:nth-child(1),
#strain.strain-lines-visible .strain-dim li:nth-child(1) {
  animation-delay: 0.05s;
}
#compare.strain-lines-visible .strain-dim li:nth-child(2),
#strain.strain-lines-visible .strain-dim li:nth-child(2) {
  animation-delay: 0.1s;
}
#compare.strain-lines-visible .strain-dim li:nth-child(3),
#strain.strain-lines-visible .strain-dim li:nth-child(3) {
  animation-delay: 0.15s;
}
#compare.strain-lines-visible .strain-dim li:nth-child(4),
#strain.strain-lines-visible .strain-dim li:nth-child(4) {
  animation-delay: 0.2s;
}
#compare.strain-lines-visible .strain-win li:nth-child(1),
#strain.strain-lines-visible .strain-win li:nth-child(1) {
  animation-delay: 0.12s;
}
#compare.strain-lines-visible .strain-win li:nth-child(2),
#strain.strain-lines-visible .strain-win li:nth-child(2) {
  animation-delay: 0.17s;
}
#compare.strain-lines-visible .strain-win li:nth-child(3),
#strain.strain-lines-visible .strain-win li:nth-child(3) {
  animation-delay: 0.22s;
}
#compare.strain-lines-visible .strain-win li:nth-child(4),
#strain.strain-lines-visible .strain-win li:nth-child(4) {
  animation-delay: 0.27s;
}

@keyframes compare-li {
  to {
    opacity: 1;
    transform: translateX(0);
  }
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item[open] .faq-body {
  grid-template-rows: 1fr;
}

.faq-body > div {
  overflow: hidden;
  padding: 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  opacity: 0;
  transition: opacity 0.3s, padding 0.35s;
}

.faq-item[open] .faq-body > div {
  padding: 0 1.15rem 1rem;
  opacity: 1;
}

.cta-panel {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(2rem, 5vw, 3rem);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(220, 38, 38, 0.14), var(--bg-2));
}

.cta-panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.cta-panel p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-tags {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 2rem 1.5rem;
  padding-bottom: 1.75rem;
}

.footer-brand .logo {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.footer-domain {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-2);
  letter-spacing: 0.06em;
}

.footer-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 28ch;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-bottom a {
  color: var(--accent-2);
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.price-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: transform 0.22s var(--ease), border-color 0.22s;
}

.price-strip-item:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 68, 68, 0.4);
}

.price-strip-item-hot {
  border-color: rgba(239, 68, 68, 0.45);
  background: linear-gradient(165deg, rgba(239, 68, 68, 0.1), var(--bg-2));
}

.price-strip-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.price-strip-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.compare-tabs {
  display: none;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.compare-tab {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.compare-tab.is-active {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.12);
  color: var(--text);
}

.faq-search {
  display: block;
  margin-bottom: 1rem;
}

.faq-search input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.faq-search input::placeholder {
  color: var(--muted);
}

.faq-search input:focus {
  outline: none;
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.faq-item[hidden] {
  display: none;
}

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

.handoff-flow {
  padding-bottom: 2.5rem;
}

.handoff-flow-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.handoff-flow-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.handoff-diagram {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.handoff-node {
  display: block;
  padding: 0.85rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: center;
  color: var(--accent-2);
}

.handoff-node-mid {
  color: var(--text);
}

.handoff-node-end {
  border-color: rgba(239, 68, 68, 0.4);
}

.handoff-caption {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
}

.handoff-arrow {
  width: 1.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  position: relative;
  animation: handoff-arrow-pulse 2s ease-in-out infinite;
}

.handoff-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--accent);
}

@keyframes handoff-arrow-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.pricing-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 0.65rem 0 calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 6, 7, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.pricing-sticky-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-sticky-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  margin-right: auto;
  letter-spacing: -0.02em;
}

.btn-compact {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

.page-pricing {
  padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
}

.page-pricing:has(.pricing-sticky:not([hidden])) {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.trace-sigil-sm {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.trace-sigil-sm .trace-sigil-orbit-b {
  inset: 7px;
}

.trace-sigil-sm .trace-sigil-core {
  inset: 16px;
}

.page-error .error-main {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 0;
}

.error-code {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.error-main h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.error-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 42ch;
}

.btn:focus-visible,
.compare-tab:focus-visible,
.plan-ticket:focus-within,
.faq-item summary:focus-visible,
.nav a:focus-visible,
.price-strip-item:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal .reveal-head {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible .reveal-head {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible.reveal-stagger > *,
.reveal.visible .reveal-stagger > * {
  opacity: 1;
  transform: none;
}

.reveal.visible.reveal-stagger > *:nth-child(1),
.reveal.visible .reveal-stagger > *:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal.visible.reveal-stagger > *:nth-child(2),
.reveal.visible .reveal-stagger > *:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal.visible.reveal-stagger > *:nth-child(3),
.reveal.visible .reveal-stagger > *:nth-child(3) {
  transition-delay: 0.15s;
}
.reveal.visible.reveal-stagger > *:nth-child(4),
.reveal.visible .reveal-stagger > *:nth-child(4) {
  transition-delay: 0.2s;
}
.reveal.visible.reveal-stagger > *:nth-child(5),
.reveal.visible .reveal-stagger > *:nth-child(5) {
  transition-delay: 0.25s;
}
.reveal.visible.reveal-stagger > *:nth-child(6),
.reveal.visible .reveal-stagger > *:nth-child(6) {
  transition-delay: 0.3s;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--bg-2);
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Home — layout & motion */
.page-home .jump-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  padding: 0 0 1.5rem;
  position: sticky;
  top: calc(var(--header) + 0.35rem);
  z-index: 5;
}

.jump-rail a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(10, 6, 7, 0.82);
  backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s, transform 0.22s var(--ease);
}

.jump-rail a:hover,
.jump-rail a.is-active {
  color: var(--accent-2);
  border-color: rgba(239, 68, 68, 0.45);
  transform: translateY(-1px);
}

.about-split {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.about-lead {
  position: sticky;
  top: calc(var(--header) + 3.5rem);
}

.about-stats {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.about-stats li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.55rem 0.75rem;
  border-left: 2px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.04);
  border-radius: 0 8px 8px 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible .about-stats li {
  opacity: 1;
  transform: none;
}

.reveal.visible .about-stats li:nth-child(1) {
  transition-delay: 0.15s;
}
.reveal.visible .about-stats li:nth-child(2) {
  transition-delay: 0.25s;
}
.reveal.visible .about-stats li:nth-child(3) {
  transition-delay: 0.35s;
}

.about-stats strong {
  font-family: var(--font-display);
  color: var(--accent-2);
  min-width: 4.5rem;
}

.signal-timeline {
  position: relative;
  display: grid;
  gap: 0.85rem;
  --timeline-rail: 0.6875rem;
  --timeline-dot: 10px;
  padding-left: 1.75rem;
}

.signal-timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--timeline-rail) - 1px);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(239, 68, 68, 0.08));
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.9s var(--ease);
}

.signal-timeline.is-drawn::before {
  transform: scaleY(1);
}

.signal-timeline .signal-card {
  position: relative;
}

.signal-timeline .signal-card::before {
  content: "";
  position: absolute;
  left: calc(var(--timeline-rail) - 1.75rem - var(--timeline-dot) / 2);
  top: 50%;
  transform: translateY(-50%);
  width: var(--timeline-dot);
  height: var(--timeline-dot);
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  animation: timeline-dot 2.4s ease-in-out infinite;
  animation-play-state: paused;
}

.signal-timeline.is-drawn .signal-card::before {
  animation-play-state: running;
}

.signal-timeline .signal-card:nth-child(2)::before {
  animation-delay: 0.4s;
}

.signal-timeline .signal-card:nth-child(3)::before {
  animation-delay: 0.8s;
}

.signal-timeline .signal-card-wide {
  grid-column: auto;
}

@keyframes timeline-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(239, 68, 68, 0);
  }
}

.route-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: route;
}

.route-steps li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.15rem;
  background: var(--bg-2);
  overflow: hidden;
}

.route-steps li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(239, 68, 68, 0.06) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: route-sheen 5s ease-in-out infinite;
  pointer-events: none;
}

.route-steps li:nth-child(2)::after {
  animation-delay: 1.6s;
}

.route-steps li:nth-child(3)::after {
  animation-delay: 3.2s;
}

.route-num {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-2);
  margin-bottom: 0.65rem;
}

.route-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.route-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.route-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.65rem;
  width: 0.65rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  z-index: 2;
  animation: route-pulse 2s ease-in-out infinite;
}

.route-steps li:nth-child(2)::before {
  animation-delay: 0.35s;
}

@keyframes route-sheen {
  0%,
  70%,
  100% {
    transform: translateX(-100%);
  }
  35% {
    transform: translateX(100%);
  }
}

@keyframes route-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}


.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card .fx-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  transition: width 0.45s var(--ease);
}

.feature-card:hover .fx-bar {
  width: 100%;
}

.feature-card.fx-tilt:hover {
  transform: translateY(-4px) rotate(-0.35deg);
}

.feature-card.fx-shift:hover {
  transform: translateY(-3px) translateX(3px);
}

.feature-card.fx-pulse:hover {
  animation: card-pulse 0.9s var(--ease) 1;
}

@keyframes card-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.25);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(239, 68, 68, 0);
  }
}

.strain-compare-animated {
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}

.compare-vs {
  display: grid;
  place-items: center;
  padding: 0 0.25rem;
}

.compare-vs span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px dashed rgba(239, 68, 68, 0.45);
  animation: vs-spin 12s linear infinite;
}

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

.cta-panel {
  position: relative;
  overflow: hidden;
}

.cta-panel::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle at 30% 30%, rgba(239, 68, 68, 0.08), transparent 45%);
  animation: cta-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cta-drift {
  to {
    transform: translate(8%, 6%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-timeline .signal-card::before,
  .route-steps li::after,
  .route-steps li::before,
  .trace-sigil-orbit-a,
  .trace-sigil-orbit-b,
  .trace-sigil-core,
  .trace-live-dot,
  .trace-frame,
  .compare-vs span,
  .cta-panel::after {
    animation: none;
  }
}

/* Pricing */
.pricing-page {
  padding-bottom: 4rem;
}

.pricing-intro {
  text-align: center;
  padding: 3rem 0 2rem;
}

.text-amber {
  color: var(--amber);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.tier-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s;
}

.tier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.tier-featured {
  border-color: rgba(239, 68, 68, 0.5);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.1), var(--bg-2));
}

.tier-tag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--amber);
  color: #1a0808;
  font-weight: 700;
}

/* Plan card motion (pricing — not thinking-orbs) */
.plan-ticket {
  overflow: visible;
  --plan-speed: 1;
}

.plan-has-scan {
  overflow: hidden;
}

.page-pricing .tier-tag {
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
}

.plan-vein {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
  pointer-events: none;
}

.plan-vein::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--accent-2), transparent);
  animation: plan-vein-drop calc(2.8s * var(--plan-speed)) ease-in-out infinite;
  opacity: 0.85;
}

.plan-glyph {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  pointer-events: none;
}

.plan-glyph-seed {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  animation: plan-seed-pulse calc(2.2s * var(--plan-speed)) ease-out infinite;
}

.plan-glyph-beacon {
  width: 46px;
  height: 46px;
}

.plan-glyph-beacon::before,
.plan-glyph-beacon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-right-color: rgba(239, 68, 68, 0.35);
  animation: plan-ring-spin calc(2.6s * var(--plan-speed)) linear infinite;
}

.plan-glyph-beacon::after {
  inset: 9px;
  border-top-color: var(--violet);
  border-right-color: transparent;
  animation-direction: reverse;
  animation-duration: calc(1.75s * var(--plan-speed));
}

.plan-glyph-thread {
  width: 52px;
  height: 28px;
  color: var(--accent);
  opacity: 0.85;
}

.plan-glyph-thread svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.plan-thread-path {
  stroke-dasharray: 14 86;
  stroke-dashoffset: 0;
  animation: plan-thread-crawl calc(2.6s * var(--plan-speed)) linear infinite;
  will-change: stroke-dashoffset;
}

.plan-ticket.plan-hover .plan-thread-path,
.plan-ticket.is-selected .plan-thread-path {
  animation-duration: calc(1.85s * var(--plan-speed));
  stroke-width: 2;
}

.plan-has-scan .plan-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    transparent 42%,
    rgba(239, 68, 68, 0.07) 50%,
    transparent 58%
  );
  transform: translateX(-120%);
  animation: plan-scan-sweep calc(4.5s * var(--plan-speed)) ease-in-out infinite;
}

.plan-glyph-reactor {
  position: relative;
  width: 58px;
  height: 58px;
  justify-self: center;
}

.plan-glyph-reactor i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-bottom-color: rgba(239, 68, 68, 0.25);
  animation: plan-ring-spin calc(3s * var(--plan-speed)) linear infinite;
}

.plan-glyph-reactor i:last-child {
  inset: 10px;
  border-top-color: var(--violet);
  border-bottom-color: transparent;
  animation-direction: reverse;
  animation-duration: calc(2.1s * var(--plan-speed));
}

.plan-ticket.plan-hover,
.plan-ticket.is-selected {
  --plan-speed: 0.72;
}

.plan-ticket.is-selected .plan-vein::after {
  opacity: 1;
  animation-duration: calc(1.9s * var(--plan-speed));
}

.plan-ticket.is-selected .plan-glyph-beacon::before,
.plan-ticket.is-selected .plan-glyph-reactor i {
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.55));
}

@keyframes plan-vein-drop {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(280%);
  }
}

@keyframes plan-seed-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}

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

@keyframes plan-thread-crawl {
  to {
    stroke-dashoffset: -100;
  }
}

@keyframes plan-scan-sweep {
  0%,
  18% {
    transform: translateX(-120%);
  }
  55% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-vein::after,
  .plan-glyph-seed,
  .plan-glyph-beacon::before,
  .plan-glyph-beacon::after,
  .plan-thread-path,
  .plan-has-scan .plan-scan,
  .plan-glyph-reactor i {
    animation: none;
  }

  .plan-has-scan .plan-scan {
    transform: none;
    opacity: 0;
  }
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

.tier-price span {
  font-size: 0.9rem;
  color: var(--muted);
}

.tier-card ul {
  flex: 1;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.tier-card li {
  padding: 0.35rem 0;
}

.tier-card .btn {
  width: 100%;
}

.tier-card.is-selected {
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35), 0 20px 50px rgba(239, 68, 68, 0.14);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 2, 0.78);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--bg-2);
  padding: 1.5rem;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.32s var(--ease);
}

.modal-redirect {
  width: min(540px, 100%);
  padding: clamp(1.35rem, 4vw, 1.75rem);
}

.modal-eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.modal-head-stack {
  align-items: flex-start;
  margin-bottom: 1rem;
}

.modal-head-stack h2 {
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.modal-lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}

.modal-dest {
  margin: 1.15rem 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.modal-dest-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.modal-dest-host {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-2);
}

.modal-dest-copy {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}

.modal-dest-url {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.45;
  word-break: break-all;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  color: var(--muted);
}

.modal-checklist {
  margin: 0;
  padding: 0 0 0 1.15rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.modal-checklist strong {
  color: var(--text);
}

.modal-redirect .modal-actions {
  flex-direction: column-reverse;
  margin-top: 1.35rem;
}

.modal-redirect .modal-actions .btn {
  flex: none;
  width: 100%;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
}

@media (min-width: 480px) {
  .modal-redirect .modal-actions {
    flex-direction: row;
  }

  .modal-redirect .modal-actions .btn {
    flex: 1;
  }
}

.modal-backdrop.open .modal {
  transform: none;
}

.modal-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.modal:not(.modal-redirect) p {
  color: var(--muted);
  font-size: 0.92rem;
}

.modal-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.modal-actions .btn {
  flex: 1;
}

.modal-note {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.section-title-center {
  text-align: center;
  margin-inline: auto;
}

.pricing-checkout {
  padding-bottom: 4rem;
}

/* —— WormGPT pricing (unique layout) —— */
.page-pricing .pricing-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) 0 2.5rem;
}

.page-pricing .pricing-hero-copy .deck {
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.pricing-hero-logo {
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.2);
}

.power-ladder {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem 1.35rem;
  background: linear-gradient(165deg, rgba(239, 68, 68, 0.06), var(--bg-2));
}

.power-ladder-title {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.power-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr 2.5rem;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.power-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.power-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.power-fill {
  height: 100%;
  width: var(--fill, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transition: width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.power-row-hot .power-fill {
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45);
}

.power-price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
}

.power-note {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.pricing-plans {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 3rem;
}

.plan-ticket {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 1.35rem 1.35rem 1.35rem 1.6rem;
  border-left: 4px solid rgba(239, 68, 68, 0.55);
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s;
}

@media (hover: hover) and (pointer: fine) {
  .plan-ticket:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
}

.plan-ticket.is-selected {
  border-left-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.3), 0 20px 48px rgba(239, 68, 68, 0.12);
}

.plan-tier-label {
  margin: 0 0 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
}

.plan-slim .plan-ticket-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.plan-slim .plan-blurb {
  flex: 1;
  min-width: 200px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-slim .btn {
  margin-left: auto;
  width: auto;
}

.plan-duo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.plan-spotlight {
  padding-top: 2.35rem;
  border-left-width: 5px;
  background: linear-gradient(160deg, rgba(239, 68, 68, 0.12), var(--bg-2) 45%);
  transform: scale(1.02);
  z-index: 1;
}

.plan-wide {
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.08), var(--bg-2) 40%);
}

.plan-wide-grid {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 1.2fr auto auto;
  gap: 1rem 1.5rem;
  align-items: center;
}

.plan-wide-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1rem;
}

.plan-wide-grid .btn {
  justify-self: end;
  white-space: nowrap;
}

.plan-matrix-section {
  padding-bottom: 3rem;
}

.plan-matrix-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.plan-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 520px;
}

.plan-matrix th,
.plan-matrix td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.plan-matrix thead th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: rgba(239, 68, 68, 0.08);
}

.plan-matrix tbody th {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.plan-matrix tbody tr:last-child th,
.plan-matrix tbody tr:last-child td {
  border-bottom: none;
}

.plan-matrix td {
  color: var(--muted);
}

.access-steps {
  padding-bottom: 4rem;
}

.access-steps-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
}

.access-steps-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.access-steps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.85rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  align-items: start;
}

.step-num {
  grid-row: span 2;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}

.access-steps-list strong {
  font-size: 1rem;
}

.access-steps-list li > span:last-child {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.88rem;
}

.pricing-support {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-support a {
  color: var(--amber-2);
}

.pricing-support a:hover {
  text-decoration: underline;
}

.footer-inner a {
  color: var(--amber-2);
}

@media (max-width: 960px) {
  .page-pricing .pricing-hero {
    grid-template-columns: 1fr;
  }

  .plan-duo {
    grid-template-columns: 1fr;
  }

  .plan-spotlight {
    transform: none;
  }

  .plan-wide-grid {
    grid-template-columns: 1fr;
  }

  .plan-wide-grid ul {
    grid-template-columns: 1fr;
  }

  .plan-wide-grid .btn {
    width: 100%;
    justify-self: stretch;
  }

  .plan-slim .plan-ticket-body {
    flex-direction: column;
    align-items: stretch;
  }

  .plan-slim .btn {
    margin-left: 0;
    width: 100%;
  }

  .plan-glyph-thread {
    width: 58px;
    height: 30px;
  }

  .plan-thread-path {
    stroke-width: 2;
    stroke-dasharray: 18 82;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-lead {
    position: static;
  }

  .route-steps {
    grid-template-columns: 1fr;
  }

  .route-steps li::before {
    display: none;
  }

  .compare-tabs {
    display: flex;
  }

  .strain-compare-animated {
    grid-template-columns: 1fr;
  }

  .strain-compare-animated .strain-col {
    display: none;
  }

  .strain-compare-animated .strain-col.is-tab-active {
    display: block;
  }

  .compare-vs {
    display: none;
  }

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

  .price-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .handoff-diagram {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .handoff-arrow {
    width: 2px;
    height: 1.25rem;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--accent-deep), var(--accent));
  }

  .handoff-arrow::after {
    right: -3px;
    top: auto;
    bottom: 0;
    border: 4px solid transparent;
    border-top-color: var(--accent);
    border-left-color: transparent;
  }

  .hero-layout,
  .strain-compare,
  .signal-grid {
    grid-template-columns: 1fr;
  }

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

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem;
    background: rgba(10, 6, 7, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s var(--ease), opacity 0.32s;
  }

  .nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.75rem 0.25rem;
  }

  .nav .lang-switch {
    padding: 0.65rem 0.25rem 0.25rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--line);
  }

}

.pricing-sticky {
  display: none;
}

@media (max-width: 960px) {
  .pricing-sticky:not([hidden]) {
    display: block;
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .price-strip {
    grid-template-columns: 1fr 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-stagger > *,
  .hero-rise > *,
  .hero-rise-delay {
    opacity: 1;
    transform: none;
  }

  .ticker-track,
  .ticker::before,
  .ticker-group span,
  .ticker-group span::before {
    animation: none;
  }
}

/* GEO guide & comparison pages */
.page-geo main {
  padding: 2rem 0 4rem;
}

.geo-hero {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.geo-hero .kicker {
  margin-bottom: 0.75rem;
}

.geo-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.geo-hero .deck {
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}

.geo-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .geo-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: start;
  }
}

.geo-article h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.geo-article h2:first-child {
  margin-top: 0;
}

.geo-article p,
.geo-article li {
  color: var(--muted);
}

.geo-article p strong {
  color: var(--text);
}

.geo-article ul,
.geo-article ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0 1rem;
}

.geo-article a {
  color: var(--amber-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.geo-toc {
  position: sticky;
  top: calc(var(--header) + 1rem);
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 10, 12, 0.55);
  font-size: 0.88rem;
}

.geo-toc-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.geo-toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--muted);
  text-decoration: none;
}

.geo-toc a:hover {
  color: var(--amber-2);
}

.geo-cta-bar {
  margin-top: 2.5rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 158, 11, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.geo-cta-bar p {
  margin: 0;
  max-width: 28rem;
  color: var(--text);
}

.geo-vs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
}

.geo-vs-table th,
.geo-vs-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.geo-vs-table thead th {
  background: rgba(18, 10, 12, 0.8);
  color: var(--text);
  font-weight: 600;
}

.geo-vs-table tbody th {
  color: var(--text);
  font-weight: 500;
  width: 28%;
}

.geo-more-link {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.geo-more-link a {
  color: var(--amber-2);
}
