:root {
  --bg: #1a1a1a;
  --surface: #242424;
  --surface-2: #2e2e2e;
  --surface-3: #383838;
  --text: #ededed;
  --text-2: #b8b8b8;
  --text-3: #8a8a8a;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #ffc72c;
  --gold-light: #ffd454;
  --gold-dark: #e6b028;
  --success: #4ade80;
  --negative: #ef4444;
  --mixed: #f59e0b;
  --neutral: #9e9e9e;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 0 40px rgba(255, 199, 44, 0.2);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: min(1180px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 199, 44, 0.08), transparent 28%),
    linear-gradient(180deg, #171717 0%, #1a1a1a 20%, #151515 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

.container {
  width: var(--content-width);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 120px 0;
}

.display,
h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.03em;
}

.display {
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.1;
}

p {
  margin: 0;
}

.lead,
.story-copy p,
.trust__copy p,
.feature-card p,
.faq-item p,
.cta__wrap p,
.section-intro__list p {
  color: var(--text-2);
  line-height: 1.75;
  font-size: 1.03rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(255, 199, 44, 0.55);
}

.eyebrow--small {
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.eyebrow--small::before {
  width: 28px;
}

.page-glow {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.8;
}

.page-glow--top {
  top: -100px;
  left: 8%;
  width: 320px;
  height: 320px;
  background: rgba(255, 199, 44, 0.12);
}

.page-glow--mid {
  top: 34%;
  right: 6%;
  width: 260px;
  height: 260px;
  background: rgba(255, 199, 44, 0.08);
}

.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 48px 0 72px;
}

.hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.hero__copy {
  max-width: 560px;
}

.lead {
  margin-top: 24px;
  max-width: 540px;
  font-size: 1.1rem;
}

.hero__meta {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 0.95rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.store-buttons--center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #161616;
  box-shadow: 0 14px 30px rgba(255, 199, 44, 0.22);
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-dark {
  background: rgba(36, 36, 36, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.btn-dark:hover {
  border-color: rgba(255, 199, 44, 0.3);
}

.store-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero-stack {
  position: relative;
  width: min(100%, 620px);
  min-height: 660px;
}

.phone-shell {
  position: relative;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(56, 56, 56, 0.95), rgba(28, 28, 28, 0.96));
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  overflow: hidden;
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 199, 44, 0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.phone-shell__screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-shell--hero {
  position: absolute;
  top: 20px;
  left: 50%;
  width: clamp(280px, 40vw, 360px);
  aspect-ratio: 10 / 20.8;
  transform: translateX(-50%);
}

.phone-shell--large {
  width: min(100%, 370px);
  aspect-ratio: 10 / 20.6;
}

.phone-shell--medium {
  width: min(100%, 300px);
  aspect-ratio: 10 / 20.6;
}

.hero-card {
  position: absolute;
  max-width: 220px;
  padding: 18px 18px 17px;
  border-radius: var(--radius-md);
  background: rgba(29, 29, 29, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.hero-card p {
  color: var(--text-2);
  line-height: 1.55;
  font-size: 0.95rem;
}

.hero-card__label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card__label--accent {
  color: var(--gold);
}

.hero-card--left {
  top: 82px;
  left: 0;
}

.hero-card--right {
  top: 126px;
  right: 0;
}

.hero-card--bottom {
  right: 48px;
  bottom: 34px;
}

.hero__scroll {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  color: var(--text-3);
  font-size: 0.9rem;
}

.section-intro {
  padding-top: 52px;
  padding-bottom: 40px;
}

.section-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.section-intro__list {
  display: grid;
  gap: 16px;
  padding-top: 24px;
}

.story-block {
  min-height: 170vh;
  padding: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
}

.story-copy {
  padding: 18vh 0 10vh;
}

.story-copy p + p {
  margin-top: 18px;
}

.story-visual {
  position: relative;
}

.sticky-panel {
  position: sticky;
  top: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(46, 46, 46, 0.78), rgba(24, 24, 24, 0.92)),
    radial-gradient(circle at top, rgba(255, 199, 44, 0.12), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.panel-glow {
  position: absolute;
  top: 14%;
  right: 8%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 199, 44, 0.12);
  filter: blur(44px);
}

.floating-quote {
  position: absolute;
  right: 22px;
  bottom: 48px;
  width: min(280px, 48%);
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: rgba(20, 20, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.floating-quote__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.floating-quote p {
  color: var(--text-2);
  line-height: 1.6;
  font-size: 0.95rem;
}

.transform-flow {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(220px, auto) minmax(180px, 0.95fr);
  gap: 24px;
  align-items: center;
  width: 100%;
}

.transform-list {
  display: grid;
  gap: 12px;
}

.transform-note,
.chapter-preview,
.chapter-card,
.trust-card,
.feature-card,
.stats-card {
  background: rgba(27, 27, 27, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.transform-note {
  padding: 14px 15px;
}

.transform-note span {
  display: block;
  font-weight: 600;
  line-height: 1.4;
}

.transform-note small {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.transform-core {
  position: relative;
  display: flex;
  justify-content: center;
}

.transform-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 210px;
  height: 210px;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  filter: brightness(0) saturate(100%) invert(79%) sepia(69%) saturate(742%) hue-rotate(356deg) brightness(104%) contrast(102%);
}

.chapter-preview {
  padding: 20px;
}

.chapter-preview__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chapter-preview p,
.chapter-card p,
.trust-card p,
.feature-card p {
  margin-top: 12px;
  color: var(--text-2);
  line-height: 1.65;
}

.chapter-rail {
  position: absolute;
  right: 18px;
  display: grid;
  gap: 14px;
  width: min(270px, 42%);
}

.chapter-card {
  padding: 16px;
}

.chapter-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text-3);
  font-size: 0.8rem;
}

.sticky-panel--chapters .phone-shell {
  transform: translateX(-70px);
}

.sticky-panel--stats {
  padding: 26px;
}

.stats-frame {
  width: 100%;
  border-radius: calc(var(--radius-xl) - 6px);
  background:
    linear-gradient(180deg, rgba(56, 56, 56, 0.55), rgba(21, 21, 21, 0.95)),
    radial-gradient(circle at top right, rgba(255, 199, 44, 0.12), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.stats-frame__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.stats-frame__header h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.stats-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 199, 44, 0.14);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.stats-card {
  padding: 18px;
}

.stats-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.stats-card__head span {
  font-size: 1rem;
  font-weight: 600;
}

.stats-card__head small,
.stats-footnote {
  color: var(--text-3);
  font-size: 0.78rem;
  line-height: 1.5;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  height: 140px;
  padding-top: 10px;
}

.bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 12px;
  height: calc(var(--bar-height, 8) * 1%);
  border-radius: 12px 12px 4px 4px;
  background: rgba(255, 199, 44, 0.45);
  transform-origin: bottom;
}

.bar--peak {
  background: var(--gold);
  box-shadow: 0 0 24px rgba(255, 199, 44, 0.18);
}

.bar i {
  position: absolute;
  bottom: -28px;
  font-style: normal;
  color: var(--text-3);
  font-size: 0.74rem;
}

.sentiment-line {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  min-height: 140px;
}

.sentiment-dot {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
  transform: scale(0.6);
}

.sentiment-dot--positive {
  background: var(--success);
}

.sentiment-dot--negative {
  background: var(--negative);
}

.sentiment-dot--mixed {
  background: var(--mixed);
}

.sentiment-dot--neutral {
  background: var(--neutral);
}

.word-cloud {
  position: relative;
  min-height: 140px;
}

.word {
  position: absolute;
  color: rgba(255, 199, 44, 0.85);
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.02em;
}

.word--xl {
  top: 20px;
  left: 8%;
  font-size: 2.15rem;
}

.word--lg:nth-of-type(2) {
  top: 72px;
  left: 46%;
  font-size: 1.9rem;
}

.word--md {
  top: 26px;
  right: 12%;
  font-size: 1.35rem;
}

.word--lg:nth-of-type(4) {
  bottom: 18px;
  left: 20%;
  font-size: 1.75rem;
}

.word--sm {
  bottom: 24px;
  right: 16%;
  font-size: 1.05rem;
}

.stats-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stats-metrics strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.stats-metrics span {
  color: var(--text-3);
  font-size: 0.82rem;
}

.consistency-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.consistency-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  box-shadow: 0 0 18px rgba(255, 199, 44, 0.2);
}

.trust {
  padding-top: 120px;
}

.trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.trust__cards,
.feature-grid {
  display: grid;
  gap: 16px;
}

.trust__cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-card,
.feature-card {
  padding: 24px;
}

.section-heading {
  max-width: 680px;
}

.feature-grid {
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq__wrap {
  max-width: 880px;
}

.faq-item {
  margin-top: 14px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(29, 29, 29, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 600;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

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

.faq-item p {
  margin-top: 14px;
}

.help-links {
  margin-top: 20px;
  color: var(--text-2);
}

.help-links a {
  color: var(--gold);
}

.cta {
  padding-top: 100px;
  padding-bottom: 110px;
  background:
    radial-gradient(circle at top, rgba(255, 199, 44, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(36, 36, 36, 0.32), rgba(26, 26, 26, 0));
}

.cta__wrap {
  text-align: center;
  max-width: 760px;
}

.cta__wrap p {
  max-width: 540px;
  margin: 18px auto 0;
}

.footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-3);
  font-size: 0.92rem;
}

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

.footer__links a:hover {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

@media (max-width: 1100px) {
  .hero__wrap,
  .section-intro__grid,
  .story-grid,
  .trust__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: none;
  }

  .hero-stack {
    min-height: 580px;
  }

  .story-block {
    min-height: auto;
    padding: 44px 0;
  }

  .story-copy {
    padding: 0;
  }

  .sticky-panel {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .story-visual {
    margin-top: 20px;
  }

  .trust__cards,
  .feature-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .hero {
    padding-top: 26px;
  }

  .hero__wrap {
    min-height: auto;
  }

  .hero-stack {
    min-height: 510px;
  }

  .hero-card {
    max-width: 180px;
    padding: 14px 14px 13px;
  }

  .hero-card p {
    font-size: 0.87rem;
  }

  .transform-flow,
  .trust__cards,
  .feature-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .chapter-rail {
    position: relative;
    right: auto;
    width: 100%;
    margin-top: 22px;
  }

  .sticky-panel--chapters .phone-shell {
    transform: none;
  }

  .floating-quote {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 88px 0;
  }

  .hero-stack {
    min-height: 460px;
  }

  .phone-shell--hero {
    width: min(72vw, 320px);
  }

  .hero-card--left,
  .hero-card--right {
    top: auto;
    bottom: 14px;
    max-width: 150px;
  }

  .hero-card--left {
    left: 0;
  }

  .hero-card--right {
    right: 0;
  }

  .hero-card--bottom {
    right: 50%;
    bottom: 140px;
    transform: translateX(50%);
    width: min(230px, 72%);
    max-width: none;
  }

  .btn {
    width: 100%;
  }

  .stats-frame {
    padding: 18px;
  }

  .stats-frame__header {
    flex-direction: column;
  }

  .stats-metrics strong {
    font-size: 1.7rem;
  }

  .bar-chart {
    gap: 8px;
  }

  .word--xl {
    font-size: 1.75rem;
  }

  .word--lg:nth-of-type(2) {
    font-size: 1.5rem;
  }

  .word--lg:nth-of-type(4) {
    font-size: 1.35rem;
  }

  .word--md {
    font-size: 1.1rem;
  }

  .footer__links {
    gap: 12px;
  }
}

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

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

  .btn,
  .sentiment-dot,
  .bar,
  .hero-card,
  .chapter-card,
  .word {
    transition: none !important;
    animation: none !important;
  }
}
