:root {
  --ink: #16181f;
  --ink-soft: #4a4f5d;
  --paper: #fbf7ec;
  --paper-strong: #fffdf7;
  --olive: #6b7b3a;
  --olive-dark: #33401d;
  --gold: #daa520;
  --gold-light: #ffe27a;
  --blue: #12214a;
  --violet: #28164b;
  --stone: #d8c9a5;
  --line: rgba(22, 24, 31, 0.14);
  --shadow: 0 20px 60px rgba(15, 20, 36, 0.22);
  --max: 1180px;
  color-scheme: light;
  font-family: Nunito, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

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

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

input:focus-visible {
  outline-offset: 0;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 18, 35, 0.72);
  color: #fff;
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand span {
  font-size: 1.12rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-select {
  min-height: 40px;
  min-width: 92px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0 10px;
  font-weight: 900;
}

.language-select option {
  color: var(--ink);
}

.nav-cta,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

.nav-cta {
  background: var(--gold-light);
  color: #2a1c04;
  padding: 10px 16px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 99px;
  background: currentColor;
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  position: relative;
}

.mobile-toggle span::before {
  top: -7px;
}

.mobile-toggle span::after {
  top: 5px;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 13, 28, 0.94) 0%, rgba(9, 13, 28, 0.76) 42%, rgba(9, 13, 28, 0.2) 100%),
    url("/assets/images/hero-scripture.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  background: linear-gradient(0deg, var(--paper) 0%, rgba(251, 247, 236, 0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 150px 24px 86px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 40px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.48;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-cta {
  background: linear-gradient(180deg, #ffe57d, #ffc423);
  color: #2a1c04;
  padding: 14px 22px;
  box-shadow: 0 14px 32px rgba(255, 196, 35, 0.3);
}

.primary-cta:hover,
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(255, 196, 35, 0.38);
}

.primary-cta:active,
.nav-cta:active {
  transform: translateY(1px);
  box-shadow: 0 8px 20px rgba(255, 196, 35, 0.22);
}

.secondary-cta {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 13px 18px;
}

.secondary-cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
}

/* Google Play install badge (official asset, self-hosted). */
.store-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.store-badge img {
  display: block;
  height: 56px;
  width: auto;
}

.store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.store-badge:active {
  transform: translateY(1px);
}

.store-badge-large img {
  height: 67px;
}

.install-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.install-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.launch-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(300px, 1fr);
  gap: 16px;
  align-items: end;
}

.hero-character-stage {
  min-height: 590px;
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  isolation: isolate;
}

.hero-character-stage::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 10%;
  bottom: 8px;
  height: 34px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 70%);
}

.character-spotlight {
  align-self: end;
  width: min(360px, 32vw);
  max-height: 620px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.42));
}

.phone-stack {
  position: relative;
  min-height: 590px;
}

.phone {
  position: absolute;
  width: min(250px, 42vw);
  overflow: hidden;
  border: 8px solid #0e111a;
  border-radius: 28px;
  background: #0e111a;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.phone-primary {
  right: 18px;
  bottom: 0;
  z-index: 2;
}

.phone-secondary {
  right: 150px;
  bottom: 42px;
  z-index: 1;
  opacity: 0.88;
  transform: rotate(-5deg) scale(0.88);
}

.stats-strip {
  max-width: var(--max);
  margin: -36px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(18px);
  padding: 18px;
}

.stat strong {
  display: block;
  color: var(--olive-dark);
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.stat span {
  color: var(--ink-soft);
  font-weight: 700;
}

.david-showcase {
  border-top: 1px solid rgba(22, 24, 31, 0.08);
  border-bottom: 1px solid rgba(22, 24, 31, 0.08);
  background:
    radial-gradient(circle at 18% 18%, rgba(218, 165, 32, 0.12), rgba(218, 165, 32, 0) 34%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.88), rgba(239, 229, 207, 0.9));
}

.david-showcase-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 24px;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.champion-feature-art {
  min-height: 560px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 24, 31, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(221, 178, 89, 0.32), rgba(221, 178, 89, 0) 45%),
    linear-gradient(180deg, #2d1c14, #0e1118);
  box-shadow: 0 26px 64px rgba(31, 26, 12, 0.18);
}

.champion-feature-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(8, 10, 18, 0.72), rgba(8, 10, 18, 0));
  pointer-events: none;
}

.champion-feature-art img {
  width: 100%;
  height: 560px;
  object-fit: contain;
  object-position: center bottom;
  padding: 26px 16px 0;
}

.david-showcase-copy .eyebrow {
  color: #9a6a12;
}

.david-showcase-copy h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.david-showcase-copy p {
  color: var(--ink-soft);
  font-size: 1.14rem;
  line-height: 1.62;
}

.champion-variant-list {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.champion-variant {
  min-height: 112px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(22, 24, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.76);
  padding: 12px;
  box-shadow: 0 14px 34px rgba(31, 26, 12, 0.08);
}

.champion-variant img {
  width: 78px;
  height: 88px;
  object-fit: contain;
  object-position: center bottom;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 56%),
    linear-gradient(180deg, #f6e7bf, #d5c39b);
  border-radius: 8px;
}

.champion-variant strong {
  display: block;
  color: var(--olive-dark);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 1000;
}

.champion-variant span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-weight: 800;
  line-height: 1.35;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.6;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.experience-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(31, 26, 12, 0.08);
}

.experience-card strong {
  display: block;
  color: var(--olive-dark);
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.experience-card p {
  color: var(--ink-soft);
  line-height: 1.58;
}

.screens-band {
  background: #101827;
  color: #fff;
}

.screens-band .section-heading h2 {
  color: #fff;
}

.screens-band .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.screens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.screen-shot {
  overflow: hidden;
  border: 8px solid #0b0e16;
  border-radius: 30px;
  background: #0b0e16;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.screen-shot:nth-child(2) {
  margin-top: 42px;
}

.screen-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.modes {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.mode-panel {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  color: #fff;
  background: #0f1524;
}

.mode-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.mode-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 22, 0.12), rgba(10, 13, 22, 0.9));
}

.mode-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 28px;
}

.mode-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.mode-content p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.mode-list {
  display: grid;
  gap: 14px;
}

.mode-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 22px;
}

.mode-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--olive-dark);
}

.mode-item p {
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 0;
}

.study-band {
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(18, 33, 74, 0.96), rgba(51, 64, 29, 0.88)),
    url("/assets/images/hero-scripture.webp") center / cover no-repeat;
}

.study-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 94px 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 42px;
  align-items: center;
}

.study-copy h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.study-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
  line-height: 1.62;
}

.study-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.study-secondary {
  color: #fff;
}

.study-console {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.1);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  padding: 22px;
}

.study-console-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.study-console-header span {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.study-console-header strong {
  text-align: right;
  font-size: 1.05rem;
}

.study-meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.study-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6ee7a0, var(--gold-light));
}

.study-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.study-metric-grid div,
.study-member {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 10, 18, 0.22);
}

.study-metric-grid div {
  padding: 16px;
}

.study-metric-grid strong {
  display: block;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}

.study-metric-grid span,
.study-member span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.study-member-list {
  display: grid;
  gap: 10px;
}

.study-member {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
}

.study-member span {
  margin-top: 0;
  color: #fff;
}

.study-member strong {
  color: var(--gold-light);
  text-align: right;
}

.study-member.needs-nudge strong {
  color: #6ee7a0;
}

.collection-gallery {
  display: grid;
  gap: 18px;
}

.collection-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.collection-stat {
  border: 1px solid rgba(22, 24, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
  padding: 16px;
}

.collection-stat strong {
  display: block;
  color: var(--olive-dark);
  font-size: 1.85rem;
  line-height: 1;
}

.collection-stat span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-weight: 900;
}

.collection-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.collection-lane {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.collection-lane-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.collection-lane-heading > span {
  border: 1px solid rgba(22, 24, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--olive-dark);
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-lane.is-premium .collection-lane-heading > span {
  border-color: rgba(154, 106, 18, 0.22);
  background: rgba(255, 226, 122, 0.22);
}

.collection-lane-heading h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.1;
}

.collection-lane-heading p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.portrait-collage {
  display: grid;
  grid-auto-flow: dense;
  gap: 10px;
}

.portrait-collage.is-base {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: 86px;
}

.portrait-collage.is-premium {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 102px;
}

.portrait-token {
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.portrait-token.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.portrait-token-inner {
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 24, 31, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 54%),
    linear-gradient(145deg, #fffaf0, #d9cba8);
  box-shadow: 0 18px 34px rgba(31, 26, 12, 0.1);
  transform: rotate(0deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.portrait-token-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0) 44%, rgba(26, 23, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(14, 11, 7, 0.18));
}

.portrait-token.is-premium .portrait-token-inner {
  border-color: rgba(255, 226, 122, 0.28);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 226, 122, 0.25), rgba(255, 226, 122, 0) 54%),
    linear-gradient(145deg, #182343, #21172d);
  box-shadow: 0 20px 40px rgba(18, 15, 35, 0.18);
}

.portrait-token.is-premium .portrait-token-inner::after {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 226, 122, 0.12), rgba(255, 226, 122, 0) 42%, rgba(6, 7, 16, 0.36) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 7, 14, 0.34));
}

.portrait-token img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-token.tilt-1 .portrait-token-inner {
  transform: rotate(-1.4deg);
}

.portrait-token.tilt-2 .portrait-token-inner {
  transform: rotate(1.2deg);
}

.portrait-token.tilt-3 .portrait-token-inner {
  transform: rotate(-0.8deg);
}

.portrait-token.tilt-4 .portrait-token-inner {
  transform: rotate(1.6deg);
}

.portrait-token.tilt-5 .portrait-token-inner {
  transform: rotate(-1.1deg);
}

.portrait-token.tilt-6 .portrait-token-inner {
  transform: rotate(0.8deg);
}

.portrait-token:hover .portrait-token-inner {
  z-index: 2;
  transform: translateY(-3px) rotate(0deg);
  box-shadow: 0 24px 48px rgba(31, 26, 12, 0.18);
}

.reto-band {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(13, 18, 35, 0.96), rgba(18, 33, 74, 0.84)),
    url("/assets/images/reto-temple-background.webp") center / cover no-repeat;
}

.reto-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
}

.reto-copy h2 {
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  line-height: 1.02;
  margin-bottom: 16px;
}

.reto-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.6;
}

.reto-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.reto-point {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.reto-point strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.reto-point span {
  color: rgba(255, 255, 255, 0.76);
}

.reto-visual {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: center;
}

.reto-phone {
  overflow: hidden;
  border: 8px solid #0b0e16;
  border-radius: 30px;
  background: #0b0e16;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.reto-phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.reto-ui-preview {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 18, 0.44);
  padding: 18px;
  backdrop-filter: blur(16px);
}

.reto-frame {
  min-height: 190px;
  display: grid;
  place-items: center;
  background: url("/assets/images/reto-question-frame.webp") center / contain no-repeat;
  padding: 34px 32px;
  text-align: center;
  font-weight: 900;
  color: #2a1c04;
}

.reto-options {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.reto-option,
.reto-next {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: url("/assets/images/reto-option-bar.webp") center / 100% 100% no-repeat;
  color: #fff;
  font-weight: 900;
}

.reto-next {
  justify-content: center;
  background-image: url("/assets/images/reto-next-button.webp");
  color: #2a1c04;
}

.waitlist-section {
  background:
    linear-gradient(120deg, rgba(18, 33, 74, 0.94), rgba(40, 22, 75, 0.9)),
    url("/assets/images/hero-scripture.webp") center / cover no-repeat;
  color: #fff;
}

.waitlist-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.waitlist-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.waitlist-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.6;
}

.waitlist-form {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 24px;
  backdrop-filter: blur(18px);
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.waitlist-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
}

.waitlist-form input {
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 0 14px;
  width: 100%;
}

.waitlist-form button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--gold-light);
  color: #2a1c04;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.waitlist-form button:not([disabled]):hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(255, 226, 122, 0.3);
}

.waitlist-form button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.waitlist-form button.is-locked {
  cursor: default;
  opacity: 0.6;
  background: #6ee7a0;
  color: #1a3a24;
}

.consent {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 900;
}

.form-status[data-tone="success"] {
  color: #6ee7a0;
}

.form-status[data-tone="error"] {
  color: #ff9b9b;
}

.form-status[data-tone="loading"] {
  color: var(--gold-light);
}

.turnstile-slot {
  margin-top: 14px;
}

.site-footer {
  background: #11151f;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-main {
  max-width: 850px;
  margin: 0 auto;
  padding: 130px 24px 80px;
}

.legal-main h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.legal-main h2 {
  margin-top: 34px;
}

.legal-main p,
.legal-main li {
  color: var(--ink-soft);
  line-height: 1.7;
}

.support-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 128px 24px 88px;
}

.support-hero {
  max-width: 860px;
  margin-bottom: 34px;
}

.support-hero h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1;
  margin-bottom: 18px;
}

.support-hero p {
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.7;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.support-actions .primary-cta {
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
}

.support-actions .secondary-cta {
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--ink);
  padding: 12px 18px;
}

.support-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 48px;
}

.support-channel,
.faq-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 42px rgba(31, 26, 12, 0.08);
}

.support-channel {
  padding: 20px;
}

.support-channel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.04rem;
}

.support-channel p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.support-channel a {
  color: var(--blue);
  font-weight: 900;
}

.support-note {
  display: inline-flex;
  margin-top: 12px;
  border-radius: 8px;
  background: rgba(107, 123, 58, 0.12);
  color: var(--olive-dark);
  padding: 7px 10px;
  font-size: 0.84rem;
  font-weight: 900;
}

.faq-section {
  display: grid;
  gap: 18px;
}

.faq-group {
  padding: 22px;
}

.faq-group h2 {
  margin: 0 0 12px;
  color: var(--ink);
}

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

.faq-item:first-of-type {
  border-top: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  color: var(--ink);
  font-weight: 900;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--olive);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p,
.faq-item ul {
  margin: 0 0 18px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.faq-item li + li {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .hero-inner,
  .modes,
  .study-layout,
  .waitlist-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 640px;
  }

  .hero-character-stage {
    min-height: 520px;
  }

  .phone-stack {
    min-height: 520px;
  }

  .david-showcase-inner {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .champion-feature-art {
    max-width: 520px;
    margin: 0 auto;
    order: 2;
  }

  .david-showcase-copy {
    order: 1;
  }

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

  .support-channel-grid {
    grid-template-columns: 1fr;
  }

  .reto-layout,
  .reto-visual {
    grid-template-columns: 1fr;
  }

  .collection-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .portrait-collage.is-base {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    height: 64px;
    padding: 0 16px;
  }

  .brand span {
    font-size: 1rem;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(13, 18, 35, 0.96);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 6px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-links.is-open {
    display: flex;
    animation: nav-slide-down 0.18s ease-out;
  }

  @keyframes nav-slide-down {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-cta {
    display: none;
  }

  .hero-inner {
    padding: 118px 16px 74px;
    gap: 24px;
  }

  .hero-visual {
    grid-template-columns: 0.7fr 1fr;
  }

  .hero-character-stage {
    min-height: 410px;
  }

  .character-spotlight {
    width: min(220px, 44vw);
    max-height: 410px;
  }

  .phone-stack {
    min-height: 410px;
  }

  .phone {
    width: min(190px, 46vw);
    border-width: 6px;
    border-radius: 22px;
  }

  .phone-primary {
    right: 0;
  }

  .phone-secondary {
    right: 88px;
    bottom: 30px;
  }

  .stats-strip,
  .screens-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .screens-grid {
    max-width: 360px;
    margin: 0 auto;
  }

  .screen-shot:nth-child(2) {
    margin-top: 0;
  }

  .section,
  .study-layout,
  .david-showcase-inner,
  .waitlist-layout {
    padding: 68px 16px;
  }

  .support-main {
    padding: 110px 16px 70px;
  }

  .support-actions {
    flex-direction: column;
  }

  .support-actions .primary-cta,
  .support-actions .secondary-cta {
    width: 100%;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .study-actions {
    flex-direction: column;
  }

  .study-actions .primary-cta,
  .study-actions .secondary-cta {
    width: 100%;
  }

  .study-console {
    padding: 16px;
  }

  .study-console-header,
  .study-member {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .study-console-header strong,
  .study-member strong {
    text-align: left;
  }

  .study-metric-grid {
    grid-template-columns: 1fr;
  }

  .collection-stats {
    grid-template-columns: 1fr;
  }

  .collection-lane-heading {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .champion-variant-list {
    grid-template-columns: 1fr;
  }

  .champion-feature-art,
  .champion-feature-art img {
    min-height: 430px;
    height: 430px;
  }

  .portrait-collage.is-base,
  .portrait-collage.is-premium {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 4px 16px 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .portrait-token,
  .portrait-token.is-featured {
    flex: 0 0 138px;
    height: 174px;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
  }

  .portrait-token.is-featured {
    flex-basis: 170px;
  }

  .reto-layout {
    padding: 68px 16px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

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