/* ── Reset & base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:    #111213;
  --sur:   #1a1c1e;
  --bdr:   #252a2c;
  --cop:   #b87333;
  --txt:   #e8ddd4;
  --mut:   #7a6a52;
  --dim:   #3a3a3a;
  --err:   #f87171;
  --max:   1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Roboto Slab', serif;
  line-height: 1.2;
  color: var(--txt);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 0.5rem; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }

p { color: var(--txt); }

.mono {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }

.btn-primary {
  background: var(--cop);
  color: var(--bg);
  border: 1px solid var(--cop);
}

.btn-outline {
  background: transparent;
  color: var(--txt);
  border: 1px solid var(--bdr);
}
.btn-outline:hover { border-color: var(--mut); opacity: 1; }

.btn-app-store {
  background: var(--sur);
  color: var(--txt);
  border: 1px solid var(--bdr);
  font-size: 0.7rem;
  padding: 10px 16px;
}

/* ── Header / Nav ────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--bdr);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--txt);
}
.wordmark span {
  font-weight: 700;
  color: var(--cop);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 100px 0 80px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--mut);
  max-width: 560px;
  margin: 0 auto 36px;
  font-family: 'DM Sans', sans-serif;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pricing-note {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--mut);
  letter-spacing: 0.03em;
}

/* ── Section labels ──────────────────────────────────────── */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--cop);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Features ────────────────────────────────────────────── */
.features {
  background: var(--bg);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--bdr);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--sur);
  padding: 36px 28px;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--mut);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── How it works ────────────────────────────────────────── */
.how-it-works { padding: 80px 0; }

.how-it-works h2 { margin-bottom: 40px; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--bdr);
}
.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--cop);
  letter-spacing: 0.05em;
  min-width: 24px;
  padding-top: 3px;
}

.step-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--txt);
  margin: 0;
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--bdr);
}

.pricing-card {
  display: inline-block;
  background: var(--sur);
  border: 1px solid var(--bdr);
  border-radius: 14px;
  padding: 48px 56px;
  text-align: center;
  min-width: 340px;
}

.price-amount {
  font-family: 'Roboto Slab', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--txt);
  line-height: 1;
  margin-bottom: 4px;
}

.price-period {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--mut);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.price-trial {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--cop);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.pricing-card .btn-primary {
  width: 100%;
  text-align: center;
  margin-bottom: 28px;
}

.feature-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--mut);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list li::before {
  content: '–';
  color: var(--cop);
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--bdr);
  padding: 40px 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--mut);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--txt); }

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--dim);
  letter-spacing: 0.03em;
}

/* ── Inner pages (privacy, support) ─────────────────────── */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--bdr);
  margin-bottom: 64px;
}

.page-header .section-label { margin-bottom: 8px; }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.prose {
  max-width: 680px;
}

.prose h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--txt);
  margin: 40px 0 12px;
  font-family: 'DM Sans', sans-serif;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  color: var(--mut);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.prose p:last-child { margin-bottom: 0; }

.prose a {
  color: var(--cop);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Support / FAQ ───────────────────────────────────────── */
.support-intro {
  max-width: 560px;
  margin-bottom: 64px;
}

.support-intro p {
  color: var(--mut);
  font-size: 1rem;
  margin-top: 12px;
}

.contact-block {
  background: var(--sur);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 64px;
  max-width: 480px;
}

.contact-block .mono {
  color: var(--mut);
  margin-bottom: 8px;
}

.contact-block a {
  font-size: 1.1rem;
  color: var(--cop);
  font-family: 'DM Mono', monospace;
}

.faq-list {
  max-width: 680px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--bdr);
}
.faq-item:first-child { border-top: 1px solid var(--bdr); }

.faq-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--txt);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--mut);
  line-height: 1.7;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero { padding: 72px 0 60px; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-width: 0;
    width: 100%;
    padding: 36px 28px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-inner .btn-app-store {
    display: none;
  }
}
