:root {
  color-scheme: dark;
  --bg: #0C0C0C;
  --bg-elevated: #141414;
  --bg-card: #161616;
  --fg: #F2F2F4;
  --muted: #9A9AA3;
  --faint: #6E6E76;
  --border: #26262A;
  --gold: #C9A86A;
  --gold-soft: #E0C48A;
  --gold-dim: #8A7344;
  --radius: 18px;
  --max: 68rem;
  --text: 40rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--bg-elevated);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  background: rgba(12, 12, 12, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--fg); text-decoration: none; }
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.brand-mark {
  font-size: 0.95rem;
}
.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  font-size: 0.92rem;
}
.nav a:hover { color: var(--fg); text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.narrow {
  max-width: var(--text);
  margin: 0 auto;
}

.hero {
  padding: 5.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 10% auto;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(201,168,106,0.12), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 3.5rem 0 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 650;
  margin: 0 0 1.1rem;
}
.hero .sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.badge-store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.05rem;
  border-radius: 12px;
  background: #1a1a1c;
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 0.92rem;
  font-weight: 500;
}
.badge-store:hover {
  border-color: var(--gold-dim);
  color: var(--fg);
  text-decoration: none;
}
.badge-store .apple {
  font-size: 1.35rem;
  line-height: 1;
}
.badge-store .stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.badge-store .stack small {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.hint {
  color: var(--faint);
  font-size: 0.85rem;
}

/* Phone mockup */
.phone {
  width: min(280px, 70vw);
  margin: 0 auto;
  aspect-ratio: 9 / 19.2;
  border-radius: 42px;
  background: linear-gradient(160deg, #1c1c1e 0%, #0a0a0a 100%);
  border: 2px solid #2e2e32;
  box-shadow:
    0 0 0 1px #111,
    0 40px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  padding: 12px;
}
.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #050505;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,168,106,0.18), transparent 45%),
    linear-gradient(180deg, #151515 0%, #0C0C0C 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 2.5rem 1.25rem 1.5rem;
  text-align: center;
}
.phone-screen img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.phone-screen .app-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.phone-screen .dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.5rem;
}
.phone-screen .dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.35;
}
.phone-screen .dots span:nth-child(2) { opacity: 0.7; }
.phone-screen .dots span:nth-child(3) { opacity: 1; }
.phone-caption {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--faint);
  font-size: 0.85rem;
}

.section {
  padding: 5rem 0;
}
.section.tight { padding: 3.5rem 0; }
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  font-weight: 650;
}
.section .lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 2.5rem;
}
.section-label {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.85rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: #3a3a40; }
.card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(201,168,106,0.1);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.promise {
  background: linear-gradient(180deg, rgba(201,168,106,0.06), transparent 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .promise-grid { grid-template-columns: 1fr; }
}
.promise ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.promise li {
  display: flex;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.promise li:last-child { border-bottom: 0; }
.promise li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(201,168,106,0.12);
}

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
}
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.15rem 1.1rem;
}
details[open] { border-color: #35353b; }
summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 560;
  letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1;
}
details[open] summary::after { content: "-"; }
details p {
  margin: 0 0 1.05rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta {
  text-align: center;
  padding: 4.5rem 0 5rem;
}
.cta h2 { margin-bottom: 0.75rem; }
.cta p { color: var(--muted); margin: 0 auto 1.5rem; max-width: 28rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
}
.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--faint);
  font-size: 0.88rem;
}
.site-footer nav {
  display: flex;
  gap: 1.25rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold-soft); }

/* Legal pages */
.legal {
  padding: 3.5rem 0 4rem;
}
.legal header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.legal .brand-line {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.legal h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0;
}
.legal .updated {
  color: var(--faint);
  font-size: 0.9rem;
  margin-top: 0.7rem;
}
.legal h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.7rem;
  letter-spacing: -0.01em;
}
.legal p, .legal li { color: #d0d0d6; }
.legal ul, .legal ol { padding-left: 1.2rem; }
.legal li { margin: 0.35rem 0; }
.legal footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.88rem;
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
