:root {
  --black: #000;
  --ink: #0d0b07;
  --gold: #e4ae38;
  --gold-pale: #f5d987;
  --gold-deep: #9c6a12;
  --bone: #efebe1;
  --ash: #8c8678;
  --line: rgba(228, 174, 56, 0.22);
  --wedge-off: #221c0f;

  --wide: 125%;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
}

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

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

body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--gold); color: var(--black); padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; }

h1, h2, h3 { font-stretch: var(--wide); margin: 0; line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }

section { padding: clamp(72px, 11vw, 140px) var(--gutter); max-width: var(--max); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 30px; }
.brand-name { font-stretch: var(--wide); font-weight: 800; font-size: 1rem; color: var(--gold); }
.brand-name span { font-weight: 400; color: var(--bone); }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
.site-header nav a { text-decoration: none; color: var(--ash); }
.site-header nav a:hover { color: var(--bone); }

.nav-cta {
  display: inline-block;
  color: var(--black) !important;
  background: linear-gradient(120deg, var(--gold-pale), var(--gold) 55%, var(--gold-deep));
  font-weight: 700; text-decoration: none;
  padding: 10px 18px; border-radius: 999px;
}
.nav-cta:hover { filter: brightness(1.08); }

@media (max-width: 760px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .brand-name span { display: none; }
}

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(40px, 7vw, 96px);
}
.hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lede { color: var(--ash); font-size: 1.15rem; max-width: 34em; margin: 28px 0 36px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; line-height: 1.1; font-weight: 700; font-size: 1.05rem;
}
.store small { display: block; font-weight: 400; font-size: .72rem; color: var(--ash); }
.store svg { width: 24px; height: 24px; fill: var(--gold); }
.store[aria-disabled="true"] { opacity: .4; filter: grayscale(.6); cursor: not-allowed; user-select: none; }
.soon-note { margin: 0 0 14px; color: var(--gold); font-weight: 600; font-size: .95rem; }
.soon {
  margin: 0; padding: 12px 24px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--gold-pale); font-weight: 600;
}

/* the demo */
.demo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }

.gauge-wrap { position: relative; width: 100%; max-width: 480px; }
.gauge { width: 100%; height: auto; overflow: visible; }
.gauge path { fill: var(--wedge-off); transition: fill .25s ease; }
.gauge path.on { fill: url(#gold); }
.gauge.done path.on { filter: drop-shadow(0 0 6px rgba(245, 217, 135, .45)); }
.readout {
  position: absolute; left: 0; right: 0; bottom: 0;
  text-align: center; line-height: 1;
}
.readout output {
  display: block; font-stretch: var(--wide); font-weight: 850;
  font-size: clamp(3rem, 9vw, 4.6rem); color: var(--bone);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.readout span { color: var(--ash); font-size: .95rem; }
.readout b { color: var(--bone); font-weight: 600; }

.move { width: 100%; max-width: 420px; display: grid; gap: 8px; font-size: .85rem; color: var(--ash); text-align: center; }
.move input { width: 100%; accent-color: var(--gold); height: 28px; cursor: grab; }

.demo figcaption { color: var(--ash); font-size: .95rem; min-height: 1.6em; text-align: center; }
.demo figcaption.met { color: var(--gold-pale); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 32px; }
  .lede { margin: 20px 0 28px; }
}

/* ---------- points ---------- */
.points h2 { max-width: 14em; }
.point-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.point-list > div { border-top: 1px solid var(--line); padding-top: 22px; }
.point-list p { color: var(--ash); margin: 12px 0 0; max-width: 32em; }
@media (max-width: 820px) { .point-list { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- privacy ---------- */
.privacy {
  max-width: none;
  background: var(--ink);
  border-block: 1px solid var(--line);
}
.privacy > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; }
.privacy p { color: var(--ash); font-size: 1.1rem; margin: 20px auto 0; }

/* ---------- closer ---------- */
.closer { text-align: center; display: grid; justify-items: center; gap: 28px; padding-bottom: 96px; }
.closer img { width: 96px; }
.motto {
  margin: 0; font-stretch: var(--wide); font-weight: 850;
  font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold) 35%, var(--gold-pale) 55%, var(--gold) 75%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-cta.big { padding: 14px 26px; font-size: 1.05rem; }

/* ---------- footer ---------- */
.site-footer {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line); color: var(--ash); font-size: .9rem; text-align: center;
}
.site-footer p { margin: 0; }

.more { margin-top: 24px !important; }
.more a, .maker a { color: var(--gold); text-underline-offset: 3px; }
.maker { margin: 0; color: var(--ash); font-size: .95rem; }

/* ---------- long-form document (privacy policy) ---------- */
.doc { max-width: calc(46rem + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) 96px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 850; }
.doc .updated { color: var(--ash); margin: 16px 0 48px; }
.doc h2 { font-size: 1.35rem; margin: 48px 0 12px; }
.doc p, .doc li { color: #cfcabd; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc a { color: var(--gold); text-underline-offset: 3px; }
.doc .note { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; color: var(--ash); }
