:root {
  color-scheme: dark;
  --background: #050506;
  --background-elevated: #0b0b0d;
  --background-soft: #111115;
  --surface: #101014;
  --surface-strong: #19191f;
  --surface-warm: #17130a;
  --border: #2a2a31;
  --border-strong: #3a3529;
  --text: #f5f1e8;
  --text-muted: #a7a097;
  --text-subtle: #6f6a63;
  --gold: #d8b15a;
  --gold-deep: #8d6a24;
  --amber: #f2c46d;
  --steel: #a7b0b7;
  --success: #60d394;
  --crimson: #b8473e;
  --black: #000000;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family:
    "Avenir Next", "Aptos", "Helvetica Neue", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(216, 177, 90, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 177, 90, 0.04) 1px, transparent 1px);
  background-size: 76px 76px;
  content: "";
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  pointer-events: none;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

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

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

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 28px;
  background: rgba(5, 5, 6, 0.82);
  border-bottom: 1px solid rgba(42, 42, 49, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-sigil {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--gold-deep);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(216, 177, 90, 0.24), transparent 58%),
    var(--surface);
  color: var(--gold);
  font-family:
    "Avenir Next Condensed", "Bahnschrift", "Aptos Display", sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a,
.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 177, 90, 0.65), transparent);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 74px;
  align-items: center;
  padding: 52px 0 42px;
}

.hero-copy-block {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  line-height: 18px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
.store-name,
.feature-number,
.ritual-row span {
  font-family:
    "Avenir Next Condensed", "Bahnschrift", "Aptos Display", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: 80px;
  line-height: 84px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 640px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 34px;
  font-weight: 600;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-actions-compact {
  justify-content: flex-end;
  margin-top: 0;
}

.store-badge {
  display: inline-flex;
  min-width: 186px;
  min-height: 58px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: #090805;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.store-badge:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-1px);
}

.store-badge-secondary {
  border-color: var(--border-strong);
  background: rgba(16, 16, 20, 0.76);
  color: var(--text);
}

.store-badge-secondary:hover {
  background: var(--surface-strong);
  border-color: var(--gold-deep);
}

.store-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-badge > span {
  display: grid;
  gap: 1px;
}

.store-kicker,
.store-name {
  display: block;
  line-height: 1;
}

.store-kicker {
  font-size: 12px;
  font-weight: 800;
}

.store-name {
  font-size: 18px;
  font-weight: 900;
}

.hero-metrics {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--border);
}

.hero-metrics div {
  min-height: 86px;
  padding: 16px;
  background: rgba(16, 16, 20, 0.84);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--text);
  font-family:
    "Avenir Next Condensed", "Bahnschrift", "Aptos Display", sans-serif;
  font-size: 30px;
  line-height: 32px;
  font-weight: 900;
}

.hero-metrics span {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-stage {
  position: relative;
  min-height: 520px;
}

.product-stage::before {
  position: absolute;
  inset: 46px 36px 42px 10px;
  border: 1px solid rgba(216, 177, 90, 0.16);
  background:
    linear-gradient(90deg, rgba(216, 177, 90, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(216, 177, 90, 0.09) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  transform: skewY(-4deg);
}

.phone-shell {
  position: absolute;
  top: 0;
  right: 52px;
  width: 252px;
  height: 514px;
  padding: 12px;
  border: 1px solid rgba(167, 176, 183, 0.24);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    #080809;
  box-shadow:
    0 44px 90px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(216, 177, 90, 0.16);
  border-radius: 32px;
  background:
    linear-gradient(180deg, #050506, #0a0a0c 58%, #050506),
    var(--background);
  padding: 16px;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-subtle);
  font-size: 11px;
  line-height: 14px;
  font-weight: 800;
}

.app-hero {
  margin-top: 44px;
}

.phone-eyebrow {
  color: var(--gold);
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-hero h2 {
  margin-top: 10px;
  font-size: 30px;
  line-height: 34px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-hero p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
}

.progress-track {
  height: 8px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-strong);
}

.progress-track span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.choice-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.choice.selected {
  border-color: var(--gold);
  background: var(--surface-warm);
}

.choice strong,
.choice small {
  display: block;
}

.choice strong {
  color: var(--text);
  font-size: 15px;
  line-height: 20px;
  font-weight: 900;
}

.choice small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.choice b {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.choice.selected b {
  border-color: var(--gold);
  background:
    linear-gradient(135deg, transparent 46%, var(--black) 48%, var(--black) 56%, transparent 58%),
    var(--gold);
}

.streak-card,
.focus-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(216, 177, 90, 0.24);
  background: rgba(16, 16, 20, 0.9);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.streak-card {
  left: 0;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
  padding: 14px;
  border-radius: 14px;
}

.flame {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px 999px 999px 8px;
  background: linear-gradient(145deg, var(--amber), var(--crimson));
  transform: rotate(-45deg);
}

.flame::after {
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: var(--background);
  content: "";
}

.streak-card strong,
.streak-card span,
.focus-card span,
.focus-card strong {
  display: block;
}

.streak-card strong {
  font-size: 18px;
  line-height: 22px;
  font-weight: 900;
}

.streak-card span,
.focus-card span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.focus-card {
  right: 0;
  bottom: 52px;
  width: 244px;
  padding: 16px;
  border-radius: 16px;
}

.focus-card strong {
  margin-top: 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 23px;
  font-weight: 900;
}

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}

.section-intro {
  max-width: 760px;
}

.section-intro h2,
.ritual-copy h2,
.download-panel h2,
.legal h1 {
  margin-top: 14px;
}

h2 {
  font-size: 44px;
  line-height: 50px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-intro p:not(.eyebrow),
.ritual-copy p:not(.eyebrow),
.download-panel p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 29px;
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
}

.feature {
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--surface);
}

.feature:nth-child(2) {
  border-color: rgba(96, 211, 148, 0.28);
}

.feature:nth-child(3) {
  border-color: rgba(167, 176, 183, 0.28);
}

.feature:nth-child(4) {
  border-color: rgba(184, 71, 62, 0.28);
}

.feature-number {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--gold);
  font-size: 15px;
  line-height: 18px;
  font-weight: 900;
}

h3 {
  margin-top: 22px;
  font-size: 24px;
  line-height: 29px;
  font-weight: 900;
}

.feature p,
.legal p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 25px;
  font-weight: 500;
}

.section-split {
  background:
    linear-gradient(90deg, rgba(216, 177, 90, 0.08), transparent 38%),
    var(--background-elevated);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 64px;
  align-items: center;
}

.ritual-board {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--border);
}

.ritual-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 88px;
  align-items: center;
  background: rgba(16, 16, 20, 0.9);
}

.ritual-row span {
  display: grid;
  height: 100%;
  place-items: center;
  border-right: 1px solid var(--border);
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.ritual-row strong {
  padding: 0 24px;
  color: var(--text);
  font-size: 24px;
  line-height: 30px;
  font-weight: 900;
}

.section-download {
  background:
    linear-gradient(180deg, transparent, rgba(216, 177, 90, 0.08)),
    var(--background);
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.download-panel > div:first-child {
  max-width: 620px;
}

.site-footer {
  padding: 28px 0;
  color: var(--text-subtle);
  font-size: 13px;
  font-weight: 700;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-page {
  padding: 76px 0 96px;
}

.legal {
  max-width: 820px;
}

.legal h1 {
  font-size: 58px;
  line-height: 64px;
  font-weight: 900;
  text-transform: uppercase;
}

.updated {
  margin-top: 14px;
  color: var(--steel);
  font-size: 14px;
  line-height: 22px;
  font-weight: 800;
}

.legal section {
  padding-top: 34px;
}

.legal h2 {
  font-size: 24px;
  line-height: 30px;
}

.legal a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .product-stage {
    min-height: 520px;
  }

  .phone-shell {
    right: calc(50% - 126px);
  }

  .streak-card {
    left: calc(50% - 230px);
  }

  .focus-card {
    right: calc(50% - 230px);
  }

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

  .feature {
    min-height: 230px;
  }

  .split-grid,
  .download-panel {
    grid-template-columns: 1fr;
    display: grid;
  }

  .store-actions-compact {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max-width), calc(100% - 36px));
  }

  .site-header {
    min-height: 66px;
    padding: 0 18px;
  }

  .brand {
    gap: 10px;
  }

  .brand-sigil {
    width: 32px;
    height: 32px;
  }

  .site-nav {
    gap: 12px;
    font-size: 12px;
  }

  .site-nav a[href="#standard"] {
    display: none;
  }

  .hero-grid {
    padding: 48px 0 42px;
  }

  h1 {
    font-size: 56px;
    line-height: 60px;
  }

  .hero-copy {
    font-size: 19px;
    line-height: 30px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .hero-metrics div {
    min-height: 68px;
  }

  .product-stage {
    min-height: 468px;
  }

  .product-stage::before {
    inset: 34px 4px 34px 4px;
  }

  .phone-shell {
    top: 0;
    right: calc(50% - 124px);
    width: 248px;
    height: 506px;
    border-radius: 36px;
  }

  .phone-screen {
    border-radius: 27px;
    padding: 16px;
  }

  .app-hero {
    margin-top: 36px;
  }

  .app-hero h2 {
    font-size: 29px;
    line-height: 33px;
  }

  .streak-card,
  .focus-card {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  h2 {
    font-size: 34px;
    line-height: 40px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
  }

  .split-grid {
    gap: 34px;
  }

  .ritual-row {
    grid-template-columns: 56px 1fr;
    min-height: 76px;
  }

  .ritual-row strong {
    padding: 0 16px;
    font-size: 20px;
    line-height: 26px;
  }

  .legal h1 {
    font-size: 42px;
    line-height: 48px;
  }
}

@media (max-width: 520px) {
  .site-nav a[href="privacy.html"] {
    display: none;
  }

  .hero-grid {
    padding: 40px 0 34px;
  }

  h1 {
    font-size: 44px;
    line-height: 48px;
  }

  .hero-copy {
    font-size: 17px;
    line-height: 26px;
  }

  .store-actions {
    gap: 10px;
  }

  .store-badge {
    width: 100%;
    min-height: 54px;
  }

  .hero-metrics {
    display: none;
  }

  .product-stage {
    position: absolute;
    right: -112px;
    bottom: 22px;
    z-index: 1;
    width: 250px;
    min-height: 0;
    height: 312px;
    opacity: 0.34;
    pointer-events: none;
  }

  .product-stage::before {
    display: none;
  }

  .phone-shell {
    right: 0;
    width: 198px;
    height: 404px;
    padding: 8px;
    border-radius: 30px;
  }

  .phone-screen {
    padding: 12px;
    border-radius: 23px;
  }

  .phone-status,
  .choice small {
    display: none;
  }

  .app-hero {
    margin-top: 34px;
  }

  .app-hero h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .app-hero p {
    font-size: 12px;
    line-height: 18px;
  }

  .choice {
    min-height: 54px;
    padding: 10px;
  }

  .choice strong {
    font-size: 13px;
  }

  .section-intro p:not(.eyebrow),
  .ritual-copy p:not(.eyebrow),
  .download-panel p {
    font-size: 16px;
    line-height: 26px;
  }

  .download-panel {
    gap: 28px;
  }

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