:root {
  --bg: #0e1219;
  --bg-2: #141a24;
  --surface: #171f2b;
  --surface-2: #1d2735;
  --border: #28323f;
  --text: #f4eede;
  --muted: #aab3c0;
  --faint: #7c8694;
  --gold: #c8a24c;
  --gold-bright: #e7cd8c;
  --gold-deep: #a6822f;
  --sans: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --serif: 'Constantia', 'Georgia', 'Cambria', serif;
  --maxw: 1080px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.gold {
  color: var(--gold);
}
img {
  display: block;
}

/* ── Nav ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.05rem;
}
.brand img {
  border-radius: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--text);
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1206;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--gold-deep);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}
.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
  border-radius: 12px;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  filter: none;
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2rem) 2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 600;
  margin: 0 0 1.2rem;
  letter-spacing: -0.01em;
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 1.8rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.cta-sub {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--faint);
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-art img {
  width: min(340px, 70vw);
  height: auto;
  border-radius: 24px;
  position: relative;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background: radial-gradient(circle at 50% 45%, rgba(200, 162, 76, 0.28), transparent 62%);
  filter: blur(8px);
}

/* ── Stat strip ────────────────────────────────────── */
.stats {
  max-width: var(--maxw);
  margin: 1rem auto 0;
  padding: 1.5rem clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats div {
  text-align: center;
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold-bright);
}
.stats span {
  font-size: 0.85rem;
  color: var(--faint);
}

/* ── Sections ──────────────────────────────────────── */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.6rem;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.section-sub.left {
  text-align: left;
  margin-left: 0;
}

/* ── Feature grid ──────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}
.card h3 {
  font-size: 1.15rem;
  margin: 0.9rem 0 0.5rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 162, 76, 0.12);
  border: 1px solid rgba(200, 162, 76, 0.3);
  color: var(--gold-bright);
}
.icon svg {
  width: 22px;
  height: 22px;
}

/* ── Notes highlight ───────────────────────────────── */
.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.notes h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 600;
  margin: 0 0 0.8rem;
}
.note-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.8);
}
.note-head {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--faint);
  margin-bottom: 0.9rem;
}
.note-overview {
  margin: 0 0 1rem;
  font-size: 1.02rem;
}
.note-bullets {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.note-bullets li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.96rem;
}
.note-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.note-bullets span {
  color: var(--faint);
  font-size: 0.85em;
}
.note-reflect {
  margin: 0;
  color: var(--gold-bright);
  font-style: italic;
  font-size: 0.95rem;
}

/* ── Download ──────────────────────────────────────── */
.download {
  text-align: center;
}
.btn-download {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}
.smartscreen {
  max-width: 30rem;
  margin: 1.2rem auto 0;
  font-size: 0.85rem;
  color: var(--faint);
}
.smartscreen strong {
  color: var(--muted);
}

/* ── Footer ────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1rem, 4vw, 2rem);
  max-width: var(--maxw);
  margin: 2rem auto 0;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.footer-note {
  max-width: 42rem;
  margin: 0 auto 1rem;
  font-size: 0.85rem;
  color: var(--faint);
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--faint);
  margin: 0;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-row {
    justify-content: center;
  }
  .hero-art {
    order: -1;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .notes {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
}
@media (max-width: 540px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
