:root {
  color-scheme: dark;
  --bg: #09040f;
  --bg-soft: #12091c;
  --surface: #1a0f27;
  --surface-2: #241332;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #fff9ff;
  --muted: #c8bbd0;
  --muted-2: #9a8aa5;
  --violet: #8a3ffc;
  --violet-2: #5f23d7;
  --pink: #ff4fc8;
  --coral: #ff7f9b;
  --glow: rgba(190, 64, 255, 0.36);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --shell: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(91, 26, 136, 0.2), transparent 32rem),
    radial-gradient(circle at 92% 28%, rgba(255, 50, 190, 0.08), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

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

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

h1,
h2,
h3 {
  text-wrap: balance;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  color: #1a0924;
  background: #fff;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(9, 4, 15, 0.68);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(9, 4, 15, 0.9);
}

.header-inner {
  width: var(--shell);
  height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  box-shadow: 0 8px 24px rgba(183, 58, 255, 0.3);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.brand-mark circle {
  fill: #fff;
  stroke: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.primary-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  transition: color 160ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--coral), var(--pink));
  transition: transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--text);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button,
.wide-cta {
  min-height: 48px;
  border: 0;
  cursor: pointer;
  font-weight: 850;
}

.header-cta {
  justify-self: end;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(129, 50, 224, 0.9), rgba(78, 25, 118, 0.88));
  box-shadow: 0 14px 34px rgba(84, 21, 130, 0.24);
  transition: transform 160ms ease, border-color 160ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
}

.hero {
  position: relative;
  width: var(--shell);
  min-height: 100svh;
  margin: 0 auto;
  padding: 112px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero-glow-one {
  top: 8%;
  left: -26%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(107, 34, 193, 0.22), transparent 67%);
}

.hero-glow-two {
  right: -18%;
  bottom: 0;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(255, 55, 179, 0.14), transparent 68%);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.portrait-stage {
  position: relative;
  width: min(100%, 650px);
  height: clamp(440px, 55vw, 610px);
  margin: 0 auto;
  perspective: 1100px;
}

.portrait-stage::before {
  position: absolute;
  inset: 15% 13% -2%;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background: rgba(159, 52, 255, 0.22);
  filter: blur(60px);
}

.portrait-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  height: 88%;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background: #1c1028;
  box-shadow: var(--shadow);
  transition: transform 700ms cubic-bezier(.2, .72, .2, 1), opacity 700ms ease, filter 700ms ease, z-index 0ms 350ms;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}

.portrait-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(to top, rgba(15, 5, 25, 0.22), transparent 35%);
}

.portrait-card.is-center {
  z-index: 3;
  opacity: 1;
  border-color: rgba(162, 70, 255, 0.92);
  transform: translate(-50%, -50%) translateZ(30px);
  filter: saturate(1.04);
}

.portrait-card.is-left {
  z-index: 1;
  opacity: 0.55;
  transform: translate(-50%, -50%) translateX(-56%) rotateY(10deg) scale(0.82);
  filter: saturate(0.72) brightness(0.76);
}

.portrait-card.is-right {
  z-index: 1;
  opacity: 0.55;
  transform: translate(-50%, -50%) translateX(56%) rotateY(-10deg) scale(0.82);
  filter: saturate(0.72) brightness(0.76);
}

.portrait-note {
  position: absolute;
  bottom: 8.5%;
  left: 50%;
  z-index: 6;
  transform: translateX(-50%);
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  color: #eadfed;
  background: rgba(15, 7, 21, 0.7);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
}

.portrait-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.portrait-dots button {
  width: 8px;
  height: 8px;
  min-height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.portrait-dots button[aria-current="true"] {
  width: 26px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
}

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

.eyebrow {
  margin-bottom: 18px;
  color: #e1c6f6;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(105deg, #ffd2e8, var(--coral) 35%, var(--pink) 68%, #a974ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(105deg, #6f2df4, var(--pink));
  box-shadow: 0 14px 42px rgba(199, 49, 224, 0.28);
}

.button-quiet {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.button-quiet:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.07);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row span::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

.trust-row b {
  color: #fff;
}

.section {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 116px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 42px;
}

.section-heading h2,
.vibe-copy h2,
.safety-strip h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading .eyebrow,
.vibe-copy .eyebrow,
.safety-strip .eyebrow {
  margin-bottom: 14px;
}

.section-count {
  margin: 0 0 7px;
  color: #b49fbd;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.reason-grid {
  display: grid;
  gap: 12px;
}

.reason-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 58px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 138px;
  padding: 26px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(35, 18, 48, 0.95), rgba(24, 13, 34, 0.84));
  transition: transform 200ms ease, border-color 200ms ease;
}

.reason-card::before {
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 0;
  width: 4px;
  content: "";
  border-radius: 0 8px 8px 0;
  background: linear-gradient(to bottom, var(--pink), var(--violet));
  box-shadow: 0 0 22px rgba(255, 79, 200, 0.45);
}

.reason-card:hover {
  transform: translateX(6px);
  border-color: rgba(255, 255, 255, 0.21);
}

.reason-number {
  color: #d9c4e6;
  font-size: 0.78rem;
  font-weight: 900;
}

.reason-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, rgba(149, 52, 228, 0.58), rgba(73, 27, 105, 0.5));
  font-size: 1.35rem;
}

.reason-card h3,
.steps-list h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.reason-card p,
.steps-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.principles-band {
  width: min(930px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 79, 200, 0.34), transparent 52%),
    linear-gradient(120deg, #3b1464, #6e1e82);
  box-shadow: var(--shadow);
}

.principles-band div {
  min-height: 144px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 22px;
  text-align: center;
}

.principles-band div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.principles-band strong {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.1;
}

.principles-band span {
  color: #dfcce6;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.vibe-section {
  width: min(1060px, calc(100% - 40px));
}

.vibe-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 34px;
  padding: clamp(30px, 6vw, 68px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(36, 16, 52, 0.96), rgba(17, 8, 28, 0.96)),
    var(--surface);
  box-shadow: var(--shadow);
}

.vibe-panel::before {
  position: absolute;
  top: -190px;
  right: -140px;
  width: 460px;
  height: 460px;
  content: "";
  border-radius: 50%;
  background: rgba(207, 58, 255, 0.18);
  filter: blur(34px);
}

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

.vibe-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 22px 0 26px;
  color: var(--muted);
}

.vibe-points {
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.vibe-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #eadfed;
  font-weight: 720;
}

.vibe-points span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #f0b6e4;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.7rem;
  font-weight: 900;
}

.vibe-action-card {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 90, 218, 0.2), transparent 31%),
    linear-gradient(160deg, rgba(111, 45, 244, 0.28), rgba(18, 9, 29, 0.8));
  text-align: center;
}

.vibe-action-card p {
  position: relative;
  z-index: 3;
  margin: 18px 0 22px;
  color: var(--muted);
}

.vibe-action-card .button {
  position: relative;
  z-index: 3;
  width: 100%;
}

.vibe-symbol {
  position: relative;
  z-index: 3;
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 30px;
  background: linear-gradient(145deg, var(--violet), var(--pink));
  box-shadow: 0 0 50px rgba(202, 68, 255, 0.34);
  font-size: 2.7rem;
  transform: rotate(8deg);
}

.vibe-symbol::before {
  content: "✦";
  transform: rotate(-8deg);
}

.vibe-symbol {
  font-size: 0;
}

.vibe-symbol::before {
  font-size: 2.7rem;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 250px;
  height: 250px;
  animation: orbit-spin 12s linear infinite;
}

.orbit-two {
  width: 330px;
  height: 190px;
  transform: translate(-50%, -50%) rotate(28deg);
  animation: orbit-spin-two 15s linear infinite reverse;
}

.orbit::after {
  position: absolute;
  top: 11%;
  left: 14%;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 18px var(--pink);
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-spin-two {
  to { transform: translate(-50%, -50%) rotate(388deg); }
}

.how-section {
  padding-top: 78px;
}

.steps-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.steps-list > li > span {
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
}

.wide-cta {
  width: 100%;
  min-height: 96px;
  margin-top: 30px;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(105deg, rgba(87, 35, 154, 0.94), rgba(211, 48, 173, 0.88));
  text-align: left;
  box-shadow: 0 22px 52px rgba(87, 24, 126, 0.28);
  transition: transform 180ms ease, filter 180ms ease;
}

.wide-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.wide-cta-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6d238e;
  background: #fff;
}

.wide-cta b,
.wide-cta small {
  display: block;
}

.wide-cta small {
  margin-top: 3px;
  color: #ead6ef;
  font-weight: 540;
}

.wide-cta > strong {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.safety-strip {
  width: min(1060px, calc(100% - 40px));
  margin: 10px auto 24px;
  padding: 42px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(255, 181, 211, 0.22);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(46, 19, 52, 0.92), rgba(21, 10, 28, 0.96));
}

.safety-mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  color: #fff;
  background: linear-gradient(145deg, #6025c9, #ef4db8);
  font-size: 2.1rem;
}

.safety-strip h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.safety-strip p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
}

.safety-strip > a {
  padding: 10px 0;
  color: #f0c8e8;
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.faq-section {
  padding-bottom: 140px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 82px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 18px 58px 18px 0;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 820;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  right: 2px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  content: "+";
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary span {
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 900;
}

.faq-list details > p {
  max-width: 720px;
  padding: 0 24px 24px 64px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #07030c;
}

.footer-inner {
  width: var(--shell);
  min-height: 220px;
  margin: 0 auto;
  padding: 50px 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: start;
  gap: 32px;
  color: var(--muted-2);
  font-size: 0.84rem;
}

.footer-inner p {
  max-width: 520px;
  margin-bottom: 0;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner nav a:hover {
  color: #fff;
}

.footer-inner > span:last-child {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.quiz-dialog {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  padding: 0;
  overflow: hidden auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  color: var(--text);
  background: #180d24;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.68);
}

.quiz-dialog::backdrop {
  background: rgba(6, 2, 10, 0.84);
  backdrop-filter: blur(12px);
}

.dialog-shell {
  position: relative;
  min-height: 570px;
  padding: clamp(28px, 6vw, 46px);
  background:
    radial-gradient(circle at 110% -10%, rgba(191, 63, 255, 0.25), transparent 46%),
    linear-gradient(160deg, rgba(34, 16, 49, 0.98), rgba(19, 10, 28, 0.98));
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.dialog-brand {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 17px;
  background: linear-gradient(145deg, var(--violet), var(--pink));
  box-shadow: 0 14px 36px rgba(176, 58, 255, 0.3);
  font-size: 1.7rem;
}

.quiz-dialog h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.dialog-intro {
  margin-bottom: 24px;
  color: var(--muted);
}

.quiz-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
}

.quiz-progress-bar {
  width: 33.333%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  transition: width 300ms ease;
}

.quiz-counter {
  margin: 9px 0 26px;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 740;
}

.quiz-step h3,
.quiz-result h3,
.not-eligible h3 {
  margin-bottom: 18px;
  font-size: 1.4rem;
  line-height: 1.25;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-options button {
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #eee3f3;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font-weight: 760;
  text-align: left;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.quiz-options button:hover,
.quiz-options button:focus-visible {
  transform: translateX(4px);
  border-color: rgba(240, 92, 211, 0.55);
  background: rgba(190, 64, 255, 0.13);
}

.quiz-step.is-leaving {
  animation: step-out 220ms ease forwards;
}

.quiz-step.is-entering {
  animation: step-in 260ms ease both;
}

@keyframes step-out {
  to { opacity: 0; transform: translateX(-18px); }
}

@keyframes step-in {
  from { opacity: 0; transform: translateX(18px); }
}

.quiz-result,
.not-eligible {
  text-align: center;
}

.result-kicker {
  display: block;
  margin-bottom: 16px;
  color: #ecc0e5;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.result-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 25px;
  background: linear-gradient(145deg, var(--violet), var(--pink));
  box-shadow: 0 0 45px rgba(207, 63, 255, 0.32);
  font-size: 2.4rem;
  font-weight: 900;
}

.quiz-result > p,
.not-eligible > p {
  color: var(--muted);
}

.quiz-result .button,
.not-eligible .button {
  width: 100%;
  margin-top: 10px;
}

.restart-button {
  padding: 12px;
  margin-top: 10px;
  border: 0;
  color: #d7c7dd;
  background: transparent;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dialog-note {
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 0.76rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  min-height: 100vh;
  padding: 120px 0 80px;
}

.legal-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(31, 15, 45, 0.96), rgba(16, 8, 24, 0.98));
}

.legal-shell h1 {
  margin-bottom: 14px;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.legal-shell h2 {
  margin: 38px 0 10px;
  font-size: 1.35rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
}

.legal-shell a {
  color: #f3bce5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: #ead8ef;
  font-weight: 800;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 28px, 720px);
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
    grid-row: 1;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(20, 10, 30, 0.98);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 10px;
  }

  .primary-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 100px;
  }

  .hero-visual {
    order: 1;
  }

  .hero-copy {
    order: 2;
    max-width: 700px;
  }

  .portrait-stage {
    height: min(72svh, 600px);
  }

  .vibe-panel {
    grid-template-columns: 1fr;
  }

  .vibe-action-card {
    min-height: 360px;
  }

  .safety-strip {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .safety-strip > a {
    grid-column: 2;
  }

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

  .footer-inner p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 24px);
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    height: 68px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .hero {
    padding: 84px 0 64px;
  }

  .portrait-stage {
    height: 470px;
  }

  .portrait-card {
    width: 72%;
    height: 90%;
    border-radius: 23px;
  }

  .portrait-card.is-left {
    transform: translate(-50%, -50%) translateX(-35%) rotateY(8deg) scale(0.78);
  }

  .portrait-card.is-right {
    transform: translate(-50%, -50%) translateX(35%) rotateY(-8deg) scale(0.78);
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    display: grid;
  }

  .section {
    width: calc(100% - 24px);
    padding: 86px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
  }

  .section-count {
    margin: 0;
  }

  .reason-card {
    grid-template-columns: 38px 48px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 17px;
  }

  .reason-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .principles-band {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }

  .principles-band div {
    min-height: 118px;
  }

  .principles-band div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    border-left: 0;
  }

  .vibe-section {
    width: calc(100% - 24px);
  }

  .vibe-panel {
    padding: 26px 18px;
    border-radius: 28px;
  }

  .vibe-action-card {
    min-height: 340px;
    padding: 26px 18px;
  }

  .wide-cta {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 18px;
  }

  .wide-cta > strong {
    display: none;
  }

  .safety-strip {
    width: calc(100% - 24px);
    padding: 28px 20px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .safety-strip > a {
    grid-column: 1;
  }

  .faq-list summary {
    grid-template-columns: 38px minmax(0, 1fr);
    padding-right: 46px;
  }

  .faq-list details > p {
    padding-left: 52px;
  }

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

  .footer-inner p,
  .footer-inner > span:last-child {
    grid-column: 1;
  }

  .quiz-dialog {
    width: calc(100% - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 22px;
  }

  .dialog-shell {
    min-height: 540px;
    padding: 26px 20px;
  }

  .dialog-close {
    top: 14px;
    right: 14px;
  }
}

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

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

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