:root {
  color-scheme: dark;
  --canvas: #07090b;
  --canvas-soft: #0b0e11;
  --surface: #0f1317;
  --surface-raised: #151a1f;
  --parchment: #f3e8c5;
  --ink: #f6f1df;
  --muted: #a1a9ad;
  --quiet: #727b80;
  --gold: #c99143;
  --gold-bright: #e2b365;
  --teal: #63b78b;
  --danger: #d76558;
  --hairline: rgba(228, 235, 232, 0.13);
  --hairline-strong: rgba(228, 235, 232, 0.22);
  --content: 72rem;
  --reading: 43rem;
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--canvas); }
body {
  margin: 0;
  min-width: 20rem;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, .price, .remedy, .proof-copy h2, .preview-stage h3 {
  font-family: var(--serif);
  color: var(--parchment);
  font-weight: 500;
  text-wrap: balance;
}
h1 { margin-bottom: 1rem; font-size: clamp(3.2rem, 16vw, 6.6rem); line-height: 0.93; letter-spacing: -0.055em; }
h2 { margin-bottom: 1rem; font-size: clamp(2.25rem, 10vw, 4.5rem); line-height: 1.02; letter-spacing: -0.035em; }
h3 { margin-bottom: 0.45rem; font-size: 1.15rem; line-height: 1.25; }
p { color: var(--muted); }

.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; z-index: 100; left: 1rem; top: 0.5rem; transform: translateY(-160%); padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: var(--parchment); color: var(--canvas); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #f0dca7; outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hairline);
  background: rgba(7, 9, 11, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner { position: relative; display: flex; min-height: 4.25rem; max-width: var(--content); margin: 0 auto; padding: 0.65rem 1rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.65rem; color: var(--parchment); font-weight: 750; text-decoration: none; letter-spacing: -0.015em; }
.brand img { width: 2.5rem; height: 2.5rem; border-radius: 0.72rem; }
.menu-toggle { min-width: 3.2rem; min-height: 2.75rem; padding: 0 0.85rem; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); font-weight: 700; }
.primary-nav { position: absolute; top: calc(100% + 0.45rem); left: 1rem; right: 1rem; display: none; flex-direction: column; gap: 0.25rem; padding: 0.65rem; border: 1px solid var(--hairline-strong); border-radius: var(--radius); background: #0d1114; box-shadow: 0 1.5rem 4rem rgba(0,0,0,0.4); }
.primary-nav.is-open { display: flex; }
.primary-nav a, .legal-nav a { display: flex; min-height: 2.75rem; align-items: center; padding: 0.5rem 0.75rem; color: var(--muted); font-weight: 680; text-decoration: none; border-radius: 0.65rem; }
.primary-nav .nav-cta { background: var(--gold); color: #080a0c; justify-content: center; }
.legal-nav { display: flex; gap: 0.25rem; }

.section-shell { width: min(100%, var(--content)); margin: 0 auto; padding: 5.5rem 1.25rem; }
.eyebrow { margin-bottom: 0.75rem; color: var(--muted); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.22em; line-height: 1.35; text-transform: uppercase; }
.section-intro { max-width: 46rem; }

.hero { display: grid; gap: 3.25rem; overflow: hidden; padding-top: 4.25rem; padding-bottom: 4rem; }
.hero-copy { max-width: 42rem; }
.room-line { margin-bottom: 0.45rem; color: var(--parchment); font-weight: 750; letter-spacing: 0.02em; }
.room-line span { padding: 0 0.32rem; color: var(--gold); }
.hero-method { margin-bottom: 1.15rem; color: var(--gold-bright); font-size: 1.1rem; font-weight: 750; }
.hero-lede { max-width: 34rem; font-size: 1.08rem; }
.hero-actions { display: flex; margin-top: 1.6rem; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.button { display: inline-flex; min-height: 3.25rem; padding: 0.78rem 1.15rem; align-items: center; justify-content: center; border: 1px solid var(--hairline); border-radius: 999px; font-weight: 800; text-decoration: none; }
.button-muted { color: var(--muted); background: var(--surface); }
.button-gold { background: var(--gold); border-color: transparent; color: #080a0c; }
.text-link { min-height: 2.75rem; display: inline-flex; align-items: center; gap: 0.45rem; color: var(--parchment); font-weight: 750; text-decoration: none; }
.hero-stage { position: relative; width: min(100%, 30rem); margin-inline: auto; padding-inline: 1rem; }
.phone-frame { overflow: hidden; border: 1px solid var(--hairline-strong); border-radius: 2.2rem; background: #000; box-shadow: 0 2.5rem 7rem rgba(0,0,0,0.55); }
.phone-frame img { width: 100%; }
.hero-orin { position: absolute; right: -0.25rem; bottom: 12%; width: 7.4rem; aspect-ratio: 1; border: 3px solid var(--gold); border-radius: 50%; box-shadow: 0 1rem 3rem rgba(0,0,0,0.55); }

.problem-section { border-top: 1px solid var(--hairline); }
.problem-section > h2 { max-width: 55rem; }
.doubt-grid { display: grid; margin-top: 2.5rem; gap: 1.7rem; }
.doubt-grid article { padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
.doubt-grid h3 { color: var(--parchment); }
.doubt-grid p { margin-bottom: 0; }
.game-mark { display: inline-grid; width: 2.25rem; height: 2.25rem; margin-bottom: 0.8rem; place-items: center; border: 1px solid var(--hairline); border-radius: 50%; color: var(--gold-bright); }
.remedy { max-width: 52rem; margin: 3rem 0 0; font-size: clamp(1.8rem, 7vw, 3rem); line-height: 1.08; }

.room-preview { background: var(--canvas-soft); border-block: 1px solid var(--hairline); }
.room-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3rem; margin: 2rem 0 1.25rem; padding: 0.3rem; border: 1px solid var(--hairline); border-radius: 1rem; background: #090c0f; }
.room-tabs button { display: flex; min-height: 3rem; padding: 0.5rem 0.35rem; align-items: center; justify-content: center; gap: 0.35rem; border: 0; border-radius: 0.72rem; background: transparent; color: var(--muted); font-size: 0.86rem; font-weight: 800; }
.room-tabs button[aria-selected="true"] { background: var(--parchment); color: #080a0c; }
.preview-stage { overflow: hidden; border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--surface); }
.preview-stage [role="tabpanel"] { display: grid; gap: 1.5rem; padding: 1.3rem; }
.preview-stage h3 { margin-bottom: 0.75rem; font-size: 2rem; }
.preview-stage img { width: min(100%, 25rem); max-height: 37rem; margin-inline: auto; object-fit: cover; object-position: top; border: 1px solid rgba(255,255,255,0.12); border-radius: 1.4rem; }

.orin-section { display: grid; gap: 2.5rem; align-items: center; }
.orin-section > img { width: min(75%, 19rem); margin-inline: auto; border: 3px solid var(--gold); border-radius: 50%; }
.method-steps { margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: method; }
.method-steps li { counter-increment: method; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 0.9rem; padding: 1rem 0; border-top: 1px solid var(--hairline); }
.method-steps li::before { content: counter(method); grid-row: span 2; display: grid; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: 50%; background: var(--gold); color: #090b0d; font-weight: 900; }
.method-steps strong { color: var(--parchment); }
.method-steps span { color: var(--muted); }

.proof-section { display: grid; gap: 3rem; align-items: center; border-top: 1px solid var(--hairline); }
.proof-copy { max-width: 38rem; }
.proof-copy h2 { font-size: clamp(2.45rem, 11vw, 4.8rem); }
.feature-list { margin: 1.75rem 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 0.65rem 0 0.65rem 1.5rem; color: var(--muted); border-top: 1px solid var(--hairline); }
.feature-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.proof-image { width: min(100%, 28rem); margin-inline: auto; }
.proof-image img, .progress-visual img { width: 100%; max-height: 44rem; object-fit: cover; object-position: top; border: 1px solid rgba(255,255,255,0.14); border-radius: 2rem; box-shadow: 0 2rem 6rem rgba(0,0,0,0.36); }

.progress-section { border-block: 1px solid var(--hairline); background: var(--canvas-soft); }
.progress-visual { width: min(100%, 31rem); margin: 2.5rem auto 0; }
.evidence-strip { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.evidence-strip span { padding: 0.9rem 0; border-top: 1px solid var(--hairline); color: var(--parchment); font-weight: 700; }

.pricing-section { text-align: center; }
.pricing-section .section-intro { margin-inline: auto; }
.pricing-status { display: inline-flex; min-height: 2.5rem; padding: 0.55rem 0.9rem; align-items: center; border: 1px solid var(--hairline); border-radius: 999px; color: var(--gold-bright); font-size: 0.83rem; font-weight: 800; }
.price-grid { display: grid; gap: 1rem; margin-top: 2rem; text-align: left; }
.price-card { position: relative; padding: 1.5rem; border-top: 1px solid var(--hairline-strong); }
.price-card p { margin-bottom: 0.25rem; }
.price-card .price-name { color: var(--parchment); font-weight: 800; }
.price { margin: 0.2rem 0 !important; font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-family: var(--sans); font-size: 1.25rem; vertical-align: top; }
.price-featured { padding: 1.5rem; border: 1px solid rgba(201,145,67,0.7); border-radius: var(--radius); background: #13130f; }
.price-badge { display: inline-flex; padding: 0.28rem 0.55rem; border-radius: 999px; background: var(--gold); color: #090b0d !important; font-size: 0.72rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; }
.pricing-note { max-width: 38rem; margin: 1.5rem auto 0; font-size: 0.88rem; }

.motivation-section { min-height: 31rem; display: flex; align-items: flex-end; background-image: linear-gradient(rgba(7,9,11,0.18), rgba(7,9,11,0.92)), url("/assets/images/observatory.webp"); background-position: center; background-size: cover; }
.motivation-section > div { max-width: 53rem; padding: 1.25rem; border-left: 3px solid var(--gold); background: rgba(7,9,11,0.82); }
.motivation-section h2 { font-size: clamp(2rem, 8vw, 3.8rem); }
.final-cta { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
.final-cta img { width: 6rem; margin-bottom: 1.35rem; border-radius: 1.45rem; }
.final-cta p:not(.eyebrow) { max-width: 34rem; }
.final-cta .button { margin-top: 1rem; }

.site-footer { display: grid; gap: 1.5rem; max-width: var(--content); margin: 0 auto; padding: 2.5rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--hairline); }
.footer-brand img { width: 2.25rem; height: 2.25rem; }
.site-footer > div p { margin: 0.4rem 0 0; font-size: 0.9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.site-footer nav a { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--muted); }
.copyright { margin: 0; color: var(--quiet); font-size: 0.82rem; }

.legal-page { min-height: 70vh; max-width: var(--reading); padding-top: 4rem; }
.legal-page h1 { font-size: clamp(3rem, 14vw, 5.5rem); }
.legal-lede { margin-bottom: 3rem; color: var(--parchment); font-size: 1.15rem; }
.legal-page section { padding: 1.5rem 0; border-top: 1px solid var(--hairline); }
.legal-page section h2 { margin-bottom: 0.55rem; font-family: var(--sans); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.legal-page section p:last-child { margin-bottom: 0; }
.legal-page a { color: var(--parchment); }
.support-page > .button { margin: -1rem 0 3rem; }
.support-grid { display: grid; }
.support-links { margin-top: 2rem; }

@media (hover: hover) and (pointer: fine) {
  .primary-nav a:hover, .legal-nav a:hover, .site-footer a:hover { color: var(--parchment); }
  .button-gold:hover, .primary-nav .nav-cta:hover { background: var(--gold-bright); }
  .room-tabs button:hover:not([aria-selected="true"]) { background: var(--surface-raised); color: var(--parchment); }
  .text-link:hover { color: var(--gold-bright); }
}

@media (min-width: 44rem) {
  .section-shell { padding-inline: 2rem; padding-block: 7rem; }
  .header-inner { padding-inline: 2rem; }
  .menu-toggle { display: none; }
  .primary-nav { position: static; display: flex; flex-direction: row; align-items: center; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .primary-nav .nav-cta { padding-inline: 1rem; }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.72fr); min-height: 47rem; align-items: center; padding-top: 5.5rem; }
  .hero-stage { width: 100%; }
  .doubt-grid { grid-template-columns: repeat(3, 1fr); }
  .preview-stage [role="tabpanel"] { grid-template-columns: minmax(0, 0.9fr) minmax(17rem, 0.65fr); padding: 2rem; align-items: center; }
  .orin-section { grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.1fr); }
  .proof-section { grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr); }
  .proof-reverse .proof-copy { order: 2; }
  .proof-reverse .proof-image { order: 1; }
  .progress-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr); gap: 3rem; align-items: center; }
  .progress-section .evidence-strip { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .site-footer { grid-template-columns: 1fr auto; padding-inline: 2rem; }
  .site-footer .copyright { grid-column: 1 / -1; }
  .support-grid { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

@media (min-width: 70rem) {
  .hero { padding-inline: 2.5rem; }
  .proof-section { gap: 7rem; }
  .room-tabs { max-width: 42rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .room-tabs button, .button, .primary-nav a, .text-link { transition: background-color 170ms ease, color 170ms ease, transform 170ms ease; }
  .button:active, .room-tabs button:active { transform: scale(0.98); }
  .preview-stage [role="tabpanel"] { animation: room-settle 180ms ease-out; }
  @keyframes room-settle { from { opacity: 0; transform: translateY(0.35rem); } to { opacity: 1; transform: translateY(0); } }
}

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