:root {
  --bg: #111010;
  --gold: #c4aa72;
  --cream: #e8dcc4;
  --muted: #7a7060;
  --line: #2a2724;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header { padding: 28px 0 8px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { display: inline-block; line-height: 0; text-decoration: none; }
.wordmark svg { height: 34px; width: auto; display: block; }
.wordmark text { font-family: var(--serif); font-weight: 700; }

/* Type */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin: 0;
}
h1 { font-size: 40px; letter-spacing: -0.01em; margin: 40px 0 16px; }
h2 { font-size: 26px; margin: 40px 0 10px; color: var(--gold); }
h3 { font-size: 21px; margin: 28px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 500; color: var(--cream); }

.lede { font-size: 19px; color: var(--cream); }
.meta { color: var(--muted); font-size: 15px; margin-top: -4px; }
.muted { color: var(--muted); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* Landing */
.hero { padding: 56px 0 8px; }
.hero h1 { font-size: 52px; margin: 0 0 20px; }
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.benefits { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.benefits li { padding: 22px 0; margin: 0; border-bottom: 1px solid var(--line); }
.benefits h2 { margin: 0 0 4px; font-size: 24px; color: var(--cream); }
.benefits p { margin: 0; color: var(--muted); }
.store {
  margin: 40px 0 0;
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
}

/* Steps and FAQ */
.steps { padding-left: 22px; }
.path { font-weight: 500; color: var(--cream); }
.faq h3 { color: var(--cream); }
.note {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 16px;
  margin: 24px 0;
}

/* Footer */
.site-footer {
  margin-top: 72px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.site-footer nav a { color: var(--cream); text-decoration: none; }
.site-footer nav a:hover, .site-footer nav a[aria-current="page"] { color: var(--gold); }
.site-footer p { margin: 0 0 6px; }

.support-email { overflow-wrap: anywhere; }

@media (min-width: 600px) {
  body { font-size: 18px; }
  h1 { font-size: 48px; }
  .hero { padding-top: 88px; }
  .hero h1 { font-size: 68px; }
}

/* Landing page only. Other pages keep the narrow layout. */
.wrap.wide { max-width: 1040px; }

.landing .site-header { padding-top: 24px; }
.landing main { overflow-x: clip; }

.hero-split {
  display: grid;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 24px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(36px, 13vw, 54px);
  white-space: nowrap;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 44px;
}
.hero-copy .lede { max-width: 30em; color: var(--cream); opacity: 0.88; }

.download { margin-top: 32px; }
.store-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.store-badge img { height: 50px; width: auto; display: block; }
.store-badge:hover { transform: translateY(-1px); }
.download-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.hero-art {
  margin: 0;
  position: relative;
  max-width: 420px;
  width: 100%;
  justify-self: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(closest-side, rgba(196, 170, 114, 0.22), rgba(196, 170, 114, 0) 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 22.5%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(232, 220, 196, 0.08);
  animation: settle 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes settle {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

/* How it works */
.how { padding-top: 72px; }
.section-title {
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.steps-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  border-top: 1px solid var(--line);
}
.steps-grid li {
  margin: 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.step-no {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 6px;
}
.steps-grid h3 { font-size: 28px; margin: 0 0 6px; }
.steps-grid p { margin: 0; color: var(--muted); }

/* Closing band */
.closing {
  padding-top: 88px;
  text-align: center;
}
.closing-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.25;
  color: var(--cream);
  margin: 0 0 28px;
}

@media (min-width: 600px) {
  .hero-copy h1 { font-size: 76px; }
  .closing-line { font-size: 40px; }
}

@media (min-width: 860px) {
  .hero-split {
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    padding-top: 96px;
    padding-bottom: 32px;
  }
  .hero-copy h1 { font-size: clamp(56px, 6.5vw, 72px); }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-top: 0;
  }
  .steps-grid li { border-top: 1px solid var(--gold); border-bottom: 0; padding-top: 22px; }
  .how { padding-top: 112px; }
  .closing { padding-top: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img { animation: none; }
  .store-badge { transition: none; }
}
