:root {
  --ink: #0b0b0f;
  --ember: #ff2a3d;
  --garnet: #8b1527;
  --snow: #ffffff;
  --mist: rgba(255, 255, 255, 0.72);
  --glass: rgba(139, 21, 39, 0.28);
  --line: rgba(255, 42, 61, 0.35);
  --soft: rgba(255, 255, 255, 0.06);
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", "Avenir Next", "Helvetica Neue", sans-serif;
  --display: "Georgia", "Times New Roman", serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--snow);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 42, 61, 0.22), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(139, 21, 39, 0.35), transparent 50%),
    linear-gradient(180deg, #120810 0%, var(--ink) 40%, #14060c 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-locked {
  overflow: hidden;
}

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

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

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.vault-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(11, 11, 15, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.vault-bar.is-stuck {
  background: rgba(11, 11, 15, 0.88);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.vault-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark img {
  width: min(168px, 42vw);
  height: auto;
}

.vault-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.vault-nav a {
  color: var(--mist);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.vault-nav a:hover {
  color: var(--snow);
}

.pulse-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ember), #ff5a6a 45%, var(--garnet));
  color: var(--snow);
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255, 42, 61, 0.35), 0 10px 30px rgba(255, 42, 61, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pulse-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 42, 61, 0.5), 0 14px 36px rgba(255, 42, 61, 0.4);
}

.ghost-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--snow);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ghost-cta:hover {
  background: rgba(255, 42, 61, 0.12);
  border-color: var(--ember);
}

.vault-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
}

.vault-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--snow);
}

.vault-drawer {
  display: none;
}

.myth-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
}

.myth-hero::before {
  content: "";
  position: absolute;
  inset: 8% 5% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 42, 61, 0.35), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 42, 61, 0.1);
  color: #ffb3bb;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.myth-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 1.2rem;
  max-width: 14ch;
}

.lead {
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 54ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.glass-panel {
  background: linear-gradient(160deg, rgba(139, 21, 39, 0.35), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-aside {
  padding: 1.4rem;
}

.hero-aside p {
  margin: 0;
  color: var(--mist);
}

.hero-aside p + p {
  margin-top: 1rem;
}

.block {
  padding: 3.5rem 0;
}

.block h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.block h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.muted {
  color: var(--mist);
}

.split-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.frame {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.frame figcaption {
  padding: 0.9rem 1rem;
  background: rgba(11, 11, 15, 0.85);
  color: var(--mist);
  font-size: 0.92rem;
}

.data-sheet {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.data-sheet th,
.data-sheet td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.data-sheet th {
  width: 38%;
  color: #ffb3bb;
  font-weight: 600;
  background: rgba(139, 21, 39, 0.25);
}

.data-sheet tr:last-child th,
.data-sheet tr:last-child td {
  border-bottom: 0;
}

.scoreboard {
  width: 100%;
  border-collapse: collapse;
}

.scoreboard th,
.scoreboard td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.scoreboard thead th {
  color: #ffb3bb;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.score-chip {
  display: inline-flex;
  min-width: 3.2rem;
  justify-content: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 42, 61, 0.18);
  border: 1px solid var(--line);
  font-weight: 700;
}

.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.duo-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
}

.duo-card.plus {
  background: linear-gradient(160deg, rgba(255, 42, 61, 0.18), rgba(255, 255, 255, 0.02));
}

.duo-card.minus {
  background: linear-gradient(160deg, rgba(139, 21, 39, 0.35), rgba(255, 255, 255, 0.02));
}

.duo-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--mist);
}

.step-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.7rem;
  counter-reset: step;
  margin: 1.4rem 0;
}

.step-rail li {
  list-style: none;
  padding: 1rem 0.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--mist);
  font-size: 0.9rem;
  position: relative;
  padding-top: 2.2rem;
}

.step-rail li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0.7rem;
  left: 0.8rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ember);
  color: var(--snow);
  font-size: 0.75rem;
  font-weight: 700;
}

.check-cloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}

.check-cloud li {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--mist);
}

.audience-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.audience-board article {
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.audience-board ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--mist);
}

.pay-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.pay-flow ol {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: var(--mist);
}

.pay-flow article {
  padding: 1.3rem;
  border-radius: var(--radius);
  background: rgba(139, 21, 39, 0.22);
  border: 1px solid var(--line);
}

.closing-band {
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(255, 42, 61, 0.22), rgba(11, 11, 15, 0.2)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  text-align: center;
}

.closing-band p {
  margin: 0 auto 1.2rem;
  max-width: 60ch;
  color: var(--mist);
}

.oracle-list {
  display: grid;
  gap: 0.7rem;
}

.oracle-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.oracle-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--snow);
  padding: 1rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.oracle-item button span {
  color: var(--ember);
  font-size: 1.2rem;
  line-height: 1;
}

.oracle-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.oracle-item.is-open .oracle-panel {
  max-height: 280px;
}

.oracle-panel p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--mist);
}

.oracle-item.is-open button span {
  transform: rotate(45deg);
}

.foot-vault {
  padding: 2.5rem 0 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.foot-grid p,
.foot-grid a {
  color: var(--mist);
  font-size: 0.95rem;
}

.foot-grid ul {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
}

.foot-grid li + li {
  margin-top: 0.45rem;
}

.foot-copy {
  margin-top: 1.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.crumb-box {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: rgba(11, 11, 15, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.crumb-box.is-visible {
  display: flex;
}

.crumb-box p {
  margin: 0;
  color: var(--mist);
  font-size: 0.9rem;
}

[data-fade-rise] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-fade-rise].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-stage,
  .split-visual,
  .duo-grid,
  .audience-board,
  .pay-flow,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .step-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vault-nav {
    display: none;
  }

  .vault-toggle {
    display: inline-block;
  }

  .vault-drawer {
    display: block;
    position: fixed;
    inset: 74px 1rem auto;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(11, 11, 15, 0.96);
    border: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .vault-drawer.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .vault-drawer a {
    display: block;
    padding: 0.75rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--mist);
  }
}

@media (max-width: 640px) {
  .check-cloud,
  .step-rail {
    grid-template-columns: 1fr;
  }

  .myth-hero {
    padding-top: 2.8rem;
  }

  .crumb-box {
    flex-direction: column;
    align-items: stretch;
  }

  .data-sheet th,
  .data-sheet td,
  .scoreboard th,
  .scoreboard td {
    display: block;
    width: 100%;
  }

  .data-sheet tr,
  .scoreboard tr {
    display: block;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .scoreboard thead {
    display: none;
  }
}
