:root {
  --bg: #111116;
  --bg-elevated: #16161c;
  --surface: #1c1c22;
  --gold: #cbb06a;
  --ivory: #f0ebe0;
  --text: #f4f3f6;
  --text-secondary: #a8a3b0;
  --text-muted: #6c6778;
  --border: #2e2c36;
  --radius: 16px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(17, 17, 22, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ivory);
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(203, 176, 106, 0.12),
    transparent 55%
  );
  pointer-events: none;
}

.hero h1 {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 1rem;
}

.hero .tagline {
  position: relative;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
}

.hero .lead {
  position: relative;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: #111116;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ivory);
  border: 1px solid var(--border);
}

.btn.disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.badge-soon {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(203, 176, 106, 0.2);
  color: var(--gold);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  margin-left: 0.25rem;
}

/* Features */
.features {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  text-align: center;
  margin: 0 0 2.5rem;
  letter-spacing: 0.08em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-card .emoji {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--ivory);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Download */
.download {
  padding: 4rem 0 5rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(28, 28, 34, 0.6));
}

.download p {
  color: var(--text-secondary);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.store-btn {
  min-width: 200px;
  justify-content: center;
}

/* Legal pages */
.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 2rem;
  margin: 0 0 1.5rem;
}

.legal-page h2 {
  font-size: 1.1rem;
  color: var(--ivory);
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }
}
