:root {
  --cream: #f7f0df;
  --paper: #fffaf0;
  --ink: #171710;
  --muted: #6e665a;
  --lemon: #efef38;
  --lemon-deep: #d8df17;
  --magenta: #c40067;
  --magenta-dark: #7e003f;
  --green: #173f2b;
  --line: rgba(23, 23, 16, 0.16);
  --shadow: 0 28px 80px rgba(68, 37, 17, 0.13);
  --radius: 26px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(239, 239, 56, .34), transparent 31rem),
    radial-gradient(circle at 96% 68%, rgba(196, 0, 103, .12), transparent 34rem),
    linear-gradient(145deg, #fffaf0 0%, #f4ead7 100%);
  font-family: "Montserrat", Arial, sans-serif;
  overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.ambient-one {
  width: 18rem;
  height: 18rem;
  right: -8rem;
  top: 7rem;
  border: 1.6rem solid rgba(239, 239, 56, .38);
}

.ambient-two {
  width: 12rem;
  height: 12rem;
  left: -6rem;
  bottom: 10rem;
  background: rgba(196, 0, 103, .08);
}

.site-header {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong {
  display: block;
  letter-spacing: .045em;
  font-size: .84rem;
  font-weight: 900;
}
.brand sup { font-size: .48rem; }
.brand small {
  display: block;
  margin-top: .18rem;
  color: var(--muted);
  font-size: .66rem;
}

.step-status {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.step-status span:last-child {
  color: var(--ink);
  padding: .48rem .62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, .72);
}

.oracle-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: calc(100vh - 150px);
  display: grid;
  align-items: center;
  padding: 3.5rem 0 4rem;
}

.screen { width: 100%; }
.screen-enter { animation: rise-in .52s var(--ease) both; }

.registration-gate { width: 100%; }

.gate-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .72fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.gate-intro h1 {
  max-width: 760px;
  font-size: clamp(3.25rem, 7.2vw, 6.7rem);
}

.gate-benefits {
  display: grid;
  gap: .7rem;
  max-width: 650px;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.gate-benefits li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
  color: #3f3a31;
  line-height: 1.5;
}

.gate-benefits li::before {
  content: "✦";
  flex: 0 0 auto;
  color: var(--magenta);
}

.gate-form-card {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: rgba(255, 250, 240, .96);
  box-shadow: 10px 11px 0 var(--lemon), 16px 17px 0 var(--magenta), var(--shadow);
}

.gate-form-card h2 {
  margin-bottom: .65rem;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.gate-form-lead {
  margin-bottom: 1.15rem;
  color: #3f3a31;
  font-size: 1rem;
  line-height: 1.55;
}

.kajabi-form-shell {
  position: relative;
  padding-top: .25rem;
}

.oracle-entry-form {
  display: grid;
  gap: .8rem;
}

.oracle-entry-form input[type="text"],
.oracle-entry-form input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: .85rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font: 500 1rem/1.3 "Montserrat", Arial, sans-serif;
}

.oracle-entry-form input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--magenta) 35%, transparent);
  outline-offset: 2px;
}

.oracle-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: .6rem;
  align-items: start;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}

.oracle-consent input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--magenta);
}

.oracle-entry-submit,
.form-retry {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: .9rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--lemon);
  box-shadow: 5px 5px 0 var(--ink);
  font: 900 .78rem/1.2 "Montserrat", Arial, sans-serif;
  letter-spacing: .05em;
  cursor: pointer;
}

.oracle-entry-submit:disabled {
  cursor: wait;
  opacity: .64;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.form-retry {
  min-height: 46px;
  background: transparent;
  box-shadow: none;
}

.form-status[hidden],
.form-retry[hidden] {
  display: none;
}

.kajabi-bridge {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.kajabi-bridge iframe {
  display: block;
  width: 1px;
  height: 1px;
  border: 0;
}

.gate-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.15rem;
  color: var(--magenta);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--magenta);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  max-width: 850px;
  margin-bottom: 1.2rem;
  font-family: "Playfair Display", Georgia, serif;
  line-height: .99;
  letter-spacing: -.045em;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.5rem, 6vw, 5.4rem); }

h1 em, h2 em {
  color: var(--magenta);
  font-weight: 700;
}

.lead {
  max-width: 700px;
  margin-bottom: 1.85rem;
  color: #3f3a31;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.72;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 390px);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.hero-copy { position: relative; z-index: 2; }

.hero-card-wrap {
  position: relative;
  width: min(100%, 360px);
  justify-self: center;
  transform: rotate(3deg);
}

.hero-card-wrap::before,
.hero-card-wrap::after {
  content: "";
  position: absolute;
  inset: 5% 2%;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--magenta);
  z-index: -1;
  transform: rotate(-8deg) translate(-18px, 9px);
}
.hero-card-wrap::after {
  background: var(--lemon);
  transform: rotate(7deg) translate(14px, -2px);
  z-index: -2;
}

.card-back {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 24px;
  color: var(--ink);
  background:
    radial-gradient(circle at center, var(--lemon) 0 13%, transparent 13.5%),
    repeating-conic-gradient(from 12deg at center, rgba(196, 0, 103, .16) 0 8deg, transparent 8deg 22deg),
    linear-gradient(145deg, #fff9df, #f3d9d6);
  box-shadow: var(--shadow);
}

.card-back::before,
.card-back::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid var(--ink);
  border-radius: 18px;
}

.card-back::after {
  inset: 25px;
  border-color: rgba(196, 0, 103, .55);
}

.back-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}

.winged-lemon {
  display: block;
  width: 108px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(6px 6px 0 var(--magenta));
}

.back-inner strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.05;
}
.back-inner small {
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .045em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .deck-card:focus-visible, .brand:focus-visible {
  outline: 4px solid rgba(196, 0, 103, .3);
  outline-offset: 4px;
}

.btn-primary {
  background: var(--lemon);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn-primary:hover { box-shadow: 7px 7px 0 var(--magenta); }
.btn-dark { color: white; background: var(--ink); }
.btn-text { border-color: transparent; color: var(--magenta-dark); }

.fineprint {
  max-width: 660px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

.content-card {
  max-width: 820px;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, .86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.scene-list {
  display: grid;
  gap: .75rem;
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
}

.scene-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

.scene-list li::before {
  content: "✦";
  color: var(--magenta);
  font-size: .78rem;
  margin-top: .22rem;
}

.pause-visual {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 0 1.7rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--lemon);
  box-shadow: 0 0 0 12px rgba(239, 239, 56, .25), 0 0 0 24px rgba(196, 0, 103, .08);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.6rem;
}

.deck-heading { text-align: center; }
.deck-heading h2 { margin-left: auto; margin-right: auto; }
.deck-heading .lead { margin-left: auto; margin-right: auto; }

.deck {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(.55rem, 1.6vw, 1.25rem);
  align-items: center;
  margin: 2.4rem auto 1.4rem;
}

.deck-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 17px;
  background: transparent;
  cursor: pointer;
  perspective: 1100px;
  transition: opacity .3s ease, transform .3s ease;
}

.deck-card:disabled { cursor: default; }
.deck-card:not(:disabled):hover { transform: translateY(-8px) rotate(var(--tilt)); }
.deck-card:nth-child(odd) { --tilt: -1.5deg; }
.deck-card:nth-child(even) { --tilt: 1.5deg; }

.simple-card-back {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 310px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  overflow: hidden;
  padding: 1.2rem .7rem;
  border: 2px solid var(--ink);
  border-radius: 17px;
  color: var(--ink);
  background:
    radial-gradient(circle at center, rgba(239, 239, 56, .88) 0 17%, transparent 17.5%),
    repeating-conic-gradient(from 12deg at center, rgba(196, 0, 103, .14) 0 8deg, transparent 8deg 23deg),
    linear-gradient(145deg, #fff9df, #efd7d2);
  box-shadow: 0 16px 35px rgba(45, 32, 20, .13);
  transition: transform .2s ease, box-shadow .2s ease;
}

.simple-card-frame {
  position: absolute;
  inset: 7%;
  border: 1px solid var(--ink);
  border-radius: 12px;
  pointer-events: none;
}

.simple-card-lemon {
  position: relative;
  z-index: 1;
  display: block;
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(4px 4px 0 var(--magenta));
  transform: rotate(-6deg);
}

.simple-card-number,
.simple-card-action {
  position: relative;
  z-index: 1;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.simple-card-name {
  position: relative;
  z-index: 1;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(.78rem, 1.25vw, 1.05rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.simple-card-action {
  padding: .42rem .55rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 250, 240, .84);
}

.deck-card.selected .simple-card-back {
  transform: translateY(-8px);
  box-shadow: 0 0 0 5px var(--lemon), 0 18px 40px rgba(45, 32, 20, .18);
}

.deck-card.locked:not(.selected) { opacity: .22; transform: scale(.92); }

.deck.shuffling .deck-card:nth-child(1) { animation: shuffle-a .9s var(--ease) both; }
.deck.shuffling .deck-card:nth-child(2) { animation: shuffle-b .9s .06s var(--ease) both; }
.deck.shuffling .deck-card:nth-child(3) { animation: shuffle-a .9s .1s var(--ease) reverse both; }
.deck.shuffling .deck-card:nth-child(4) { animation: shuffle-b .9s .12s var(--ease) reverse both; }
.deck.shuffling .deck-card:nth-child(5) { animation: shuffle-a .9s .03s var(--ease) both; }
.deck.shuffling .deck-card:nth-child(6) { animation: shuffle-b .9s .09s var(--ease) both; }

@keyframes shuffle-a {
  45% { transform: translate(42%, -12px) rotate(5deg); }
}
@keyframes shuffle-b {
  45% { transform: translate(-42%, 12px) rotate(-5deg); }
}

.shuffle-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--magenta-dark);
  text-align: center;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.result-card-column {
  position: sticky;
  top: 1.25rem;
}

.result-image {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 11px 12px 0 var(--lemon), 17px 18px 0 var(--magenta), var(--shadow);
}

.result-kicker {
  margin: 2rem 0 .35rem;
  color: var(--magenta);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.result-title {
  margin-bottom: .35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.result-quality {
  margin-bottom: 2rem;
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reading-block {
  padding: 1.55rem 0;
  border-top: 1px solid var(--line);
}

.reading-block h3 {
  margin-bottom: .7rem;
  color: var(--magenta-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reading-block p,
.reading-block li {
  color: #39352f;
  font-size: 1rem;
  line-height: 1.72;
}

.manifestations { margin: .65rem 0 0; padding-left: 1.2rem; }
.manifestations li + li { margin-top: .5rem; }

.highlight-block {
  margin: 1rem 0;
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--lemon);
  box-shadow: 7px 7px 0 var(--ink);
}
.highlight-block h3 { color: var(--ink); }
.highlight-block p:last-child { margin-bottom: 0; }

.practice-card {
  background: var(--green);
  color: white;
  border-radius: 24px;
  padding: clamp(1.45rem, 4vw, 2.2rem);
  margin: 1.5rem 0;
}
.practice-card h3 { color: var(--lemon); }
.practice-card p { color: white; }

.question-card {
  padding: 1.6rem;
  border-left: 6px solid var(--magenta);
  background: rgba(196, 0, 103, .07);
}
.question-card p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
}

.completion { margin-top: 2rem; }
.completion-panel {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--ink);
  animation: rise-in .5s var(--ease) both;
}

.closing-quote {
  max-width: 730px;
  margin: 0 auto 2.2rem;
  text-align: center;
}
.closing-quote strong {
  display: block;
  margin-bottom: .6rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.03;
}
.closing-quote p { color: var(--muted); line-height: 1.65; }

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

.door {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 310px;
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
}

.door:nth-child(2) { background: #f8d9e7; }
.door-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.2rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--lemon);
  font-weight: 900;
}
.door h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
}
.door p { color: #4a443c; line-height: 1.6; }
.door .btn { width: 100%; margin-top: auto; }

.restart-wrap { margin-top: 1.5rem; text-align: center; }

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-align: center;
}

.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;
}

@media (max-width: 900px) {
  .gate-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 2.2rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 2rem; }
  .deck { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 620px; }
  .result-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 2.4rem; }
}

@media (max-width: 690px) {
  .site-header { min-height: 76px; }
  .brand small { display: none; }
  .brand strong { max-width: 150px; line-height: 1.08; }
  .step-status span:first-child { display: none; }
  .oracle-shell { padding: 2.4rem 0 3rem; align-items: start; }
  .gate-grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .gate-intro h1 { font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .gate-intro .lead { margin-bottom: 1rem; }
  .gate-benefits { margin-top: 1rem; }
  .gate-form-card { padding: 1.35rem; box-shadow: 7px 8px 0 var(--lemon), 11px 12px 0 var(--magenta); }
  .kajabi-form-shell { min-height: 240px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card-wrap { width: 230px; margin-top: 1rem; order: -1; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  h2 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .content-card { padding: 1.4rem; }
  .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 410px; gap: .85rem; }
  .simple-card-back { min-height: 225px; }
  .deck-heading h2 { margin-bottom: .65rem; }
  .deck-heading .lead { margin-bottom: .8rem; font-size: .92rem; line-height: 1.5; }
  .deck { margin-top: 1.15rem; }
  .deck-card:not(:disabled):hover { transform: none; }
  .result-layout { grid-template-columns: 1fr; }
  .result-card-column { position: relative; top: 0; width: min(82%, 330px); margin: 0 auto; }
  .result-copy { min-width: 0; }
  .door-grid { grid-template-columns: 1fr; }
  .door { min-height: 280px; }
  .site-footer { flex-wrap: wrap; gap: .45rem; padding: 1rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
