/* Wealthy — landing page
   Quiet-luxury editorial. Onyx ground, champagne-gold hairlines, emerald depth.
   Display: Fraunces (high optical contrast). Body/labels: Jost (geometric, deco). */

:root {
  --onyx: #0E120F;
  --onyx-2: #0B0F0C;
  --onyx-3: #12180F;
  --emerald: #0F5C3E;
  --emerald-deep: #0A3A28;
  --gold: #C9A45E;
  --gold-soft: #D8BE86;
  --ivory: #F2ECDE;
  --ivory-dim: #B9B2A0;
  --sage: #7E8C7C;
  --line: rgba(201, 164, 94, 0.22);
  --line-soft: rgba(242, 236, 222, 0.08);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  font-synthesis: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--onyx);
  color: var(--ivory);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ── grain overlay ───────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── type primitives ─────────────────────────────────────────── */
.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ivory);
  font-optical-sizing: auto;
}
h1.display { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h1.display em { color: var(--gold); font-weight: 300; }
.display--md { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.display--lg { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }

.eyebrow {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.74rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); font-weight: 400; margin-bottom: 1.6rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow__rule { width: 2.4rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); display: inline-block; }
.eyebrow--center .eyebrow__rule:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

.lede { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ivory-dim); max-width: 42ch; margin-top: 1.6rem; }
.lede--center { margin-inline: auto; text-align: center; }
.body { font-size: 1.05rem; color: var(--ivory-dim); max-width: 44ch; margin-top: 1.3rem; }
.index {
  font-size: 0.76rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.3rem; font-weight: 400;
}

.wordmark {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.5rem;
  color: var(--gold); letter-spacing: 0.02em;
}
.wordmark--sm { font-size: 1.3rem; }

/* ── nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem clamp(1.2rem, 5vw, 3.2rem);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 15, 12, 0.92);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom-color: var(--line);
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ivory-dim); transition: color 0.3s;
}
.nav__links a:hover { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.7rem 1.5rem; border-radius: 100px; transition: all 0.35s var(--ease);
}
.btn--ghost { border: 1px solid var(--line); color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--onyx); border-color: var(--gold); }

/* ── store badges ────────────────────────────────────────────── */
.badges { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.badges--center { justify-content: center; margin-top: 2.8rem; }
.store-badge { transition: transform 0.35s var(--ease), filter 0.35s var(--ease); filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5)); }
.store-badge:hover { transform: translateY(-3px); filter: drop-shadow(0 10px 26px rgba(201,164,94,0.28)); }
/* height is set on the <img> tag; width follows the (shared) aspect ratio, so both badges match. */
.store-badge img { width: auto; display: block; }
.store-badge--soon { opacity: 0.5; cursor: default; display: inline-flex; align-items: center; gap: 0.5rem; }
.store-badge__soon-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

/* ── hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(8rem, 16vh, 12rem) clamp(1.2rem, 5vw, 3.2rem) 5rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.hero__glow {
  position: absolute; top: 18%; right: -6%; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(15,92,62,0.55), rgba(201,164,94,0.12) 42%, transparent 68%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}
.hero__copy { position: relative; z-index: 2; }
.hero__device { position: relative; z-index: 1; display: flex; justify-content: center; }

/* ── device bezel (page composes the frame; screenshot used as-is) ── */
.device {
  position: relative; width: min(300px, 74vw); aspect-ratio: 1320 / 2868;
  padding: 0.5rem; border-radius: 2.7rem;
  background: linear-gradient(160deg, #1c211b, #050605 60%);
  box-shadow:
    inset 0 0 0 1.5px rgba(201,164,94,0.32),
    inset 0 2px 3px rgba(255,255,255,0.06),
    0 40px 80px -30px rgba(0,0,0,0.85);
}
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: 2.25rem; }
.device__island {
  position: absolute; top: 0.95rem; left: 50%; transform: translateX(-50%);
  width: 30%; height: 1.05rem; background: #04060c; border-radius: 1rem; z-index: 3;
}
.device--sm { width: min(264px, 70vw); }
.device__halo {
  position: absolute; inset: -12% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,94,0.22), rgba(15,92,62,0.18) 45%, transparent 70%);
  filter: blur(28px);
}

/* ── gold emblem + stat row ──────────────────────────────────── */
.emblem {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 160% at 50% 50%, rgba(15,92,62,0.18), var(--onyx-2) 62%);
  padding: clamp(3.5rem, 8vh, 6rem) clamp(1.2rem, 5vw, 3.2rem);
  display: flex; flex-direction: column; align-items: center; gap: 2.4rem;
}
.emblem__glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  width: 38vw; height: 38vw; max-width: 460px; max-height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,94,0.4), rgba(201,164,94,0.08) 45%, transparent 70%);
  filter: blur(26px); pointer-events: none; z-index: 0;
}
.emblem__coin { position: relative; z-index: 1; line-height: 0; }
.emblem__coin img {
  width: clamp(150px, 21vw, 232px); height: auto; display: block;
  filter: drop-shadow(0 18px 44px rgba(0,0,0,0.6)) drop-shadow(0 0 30px rgba(201,164,94,0.25));
  animation: coin-spin 36s linear infinite;
}
@keyframes coin-spin { to { transform: rotate(360deg); } }

.marks {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.1rem 2.2rem;
}
.marks span {
  font-size: 0.82rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ivory-dim);
  white-space: nowrap;
}
.marks__dot { color: var(--gold); letter-spacing: 0 !important; font-size: 0.7rem; }

/* ── feature sections ────────────────────────────────────────── */
.feature {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(4.5rem, 10vh, 8rem) clamp(1.2rem, 5vw, 3.2rem);
  display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.feature--reverse .feature__media { order: 2; }
.feature__media { display: flex; justify-content: center; }
.feature__copy { max-width: 30rem; }

/* ── ritual quote ────────────────────────────────────────────── */
.ritual {
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(15,92,62,0.5), transparent 60%),
    linear-gradient(180deg, var(--emerald-deep), #07140e);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(5rem, 12vh, 9rem) clamp(1.4rem, 6vw, 4rem);
}
.ritual__inner { max-width: 940px; margin: 0 auto; text-align: center; }
.ritual__mark { color: var(--gold); font-size: 1.6rem; margin-bottom: 1.8rem; letter-spacing: 0.4em; }
.ritual__quote {
  font-weight: 300; font-style: italic; font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.28; color: var(--ivory);
}

/* ── download cta ────────────────────────────────────────────── */
.get { padding: clamp(6rem, 14vh, 10rem) clamp(1.2rem, 5vw, 3.2rem); text-align: center; }
.get__inner { max-width: 760px; margin: 0 auto; }
.get .display { margin-top: 0.4rem; }

/* ── footer ──────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--line); background: var(--onyx-2);
  padding: clamp(2.6rem, 6vw, 4rem) clamp(1.2rem, 5vw, 3.2rem);
}
.foot__row {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.foot__row--legal { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); }
.foot__contact { display: flex; align-items: center; gap: 1rem; }
.foot__label { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.copy-pill {
  display: inline-flex; align-items: center; gap: 0.7rem; cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: 100px;
  padding: 0.55rem 1.1rem; color: var(--gold);
  font-family: 'Jost', sans-serif; font-size: 0.9rem; letter-spacing: 0.04em;
  transition: all 0.35s var(--ease);
}
.copy-pill:hover { border-color: var(--gold); background: rgba(201,164,94,0.08); }
.copy-pill__icon { font-size: 1rem; opacity: 0.8; }
.foot__links { display: flex; gap: 1.6rem; }
.foot__links a { font-size: 0.84rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-dim); transition: color 0.3s; }
.foot__links a:hover { color: var(--gold); }
.foot__copy { font-size: 0.82rem; color: var(--sage); letter-spacing: 0.06em; }

/* ── snackbar ────────────────────────────────────────────────── */
.snackbar {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 200%);
  z-index: 9500; background: linear-gradient(160deg, #1a201a, #0b0f0c);
  color: var(--gold-soft); border: 1px solid var(--gold);
  padding: 0.85rem 1.5rem; border-radius: 100px; font-size: 0.9rem; letter-spacing: 0.04em;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.9);
  opacity: 0; transition: transform 0.55s var(--ease), opacity 0.45s var(--ease); pointer-events: none;
}
.snackbar--show { transform: translate(-50%, 0); opacity: 1; }

/* ── responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 7rem; gap: 3.5rem; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .eyebrow { justify-content: center; }
  .lede, .body { margin-inline: auto; }
  .badges { justify-content: center; }
  .hero__device { order: -1; }
  .feature { grid-template-columns: 1fr; text-align: center; gap: 2.8rem; }
  .feature--reverse .feature__media { order: 0; }
  .feature__copy { max-width: 38rem; margin-inline: auto; }
  .feature__media { order: -1; }
  .index { text-align: center; }
}
@media (max-width: 520px) {
  .foot__row { flex-direction: column; align-items: flex-start; }
  .copy-pill__mail { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .emblem__coin img { animation: none; }
  .store-badge:hover, .copy-pill:hover { transform: none; }
}
