/* ─────────────────────────────────────────
   Roohbrew website — shared styles
   ─────────────────────────────────────────
   Mirrors the iOS app's design tokens so the web feels of-a-piece with
   the product. Mobile-first, ~480px primary reading width, scales up
   gracefully on tablet/desktop. Single CSS file across all three pages
   (landing, privacy, terms) — they're small enough that splitting
   would be premature.

   Palette + typography map 1:1 to src/index.css in the iOS bundle. If
   you change colours there, change them here too. */

:root {
  --sand:        #fdfaf7;
  --clay:        #f2e9e1;
  --stone:       #4a4a4a;
  --stone-light: #7a7a7a;
  --warm:        #d4a574;
  --warm-light:  #e8c9a0;
  --sage:        #8b9a7b;
  --rose:        #c4918a;

  --serif: 'Libre Baskerville', Georgia, serif;
  --sans:  'Inter', -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html {
  /* Reserve symmetric gutters so the scrollbar doesn't shift centered
     content a few px off the true visual middle. */
  scrollbar-gutter: stable both-edges;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--sand);
  color: var(--stone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ─── Hero ───────────────────────────────── */

.hero {
  text-align: center;
  padding: 32px 0 56px;
}

.brand-mark {
  display: inline-block;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--stone);
  margin: 0 0 12px;
}

.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--stone-light);
  margin: 0 0 36px;
  font-weight: 400;
}

/* ─── App Store badge (hand-rolled, no Apple-asset dependency) ─ */

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 12px 22px 12px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 120ms ease;
}

.app-store-badge:hover { transform: translateY(-1px); }
.app-store-badge:active { transform: translateY(0); }

.app-store-badge svg { width: 18px; height: 22px; flex-shrink: 0; }

.app-store-badge .label-line-1 {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.8;
  margin-bottom: -2px;
}

.app-store-badge .label-line-2 {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ─── Section: what it is ─────────────────── */

.section {
  padding: 40px 0;
  border-top: 1px solid var(--clay);
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone-light);
  margin: 0 0 20px;
}

.prose p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
  color: var(--stone);
  margin: 0 0 18px;
}

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

/* ─── How it works (three steps) ──────────── */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}

@media (min-width: 600px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.step {
  background: #fff;
  border: 1px solid var(--clay);
  border-radius: 16px;
  padding: 22px 20px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--warm);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--stone);
  margin: 0 0 8px;
}

.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--stone-light);
  margin: 0;
}

/* ─── Footer ──────────────────────────────── */

.footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--clay);
  font-size: 13px;
  color: var(--stone-light);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer a {
  color: var(--stone-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}

.footer a:hover {
  color: var(--stone);
  border-bottom-color: var(--warm);
}

.footer .dot { color: var(--clay); }

.footer-email {
  width: 100%;
  margin-top: 6px;
}

.copyright {
  width: 100%;
  font-size: 11px;
  color: var(--stone-light);
  opacity: 0.65;
  margin-top: 14px;
}

/* ─── Sub-pages (privacy, terms) ─────────── */

.subpage-header {
  text-align: left;
  padding: 16px 0 32px;
}

.subpage-header .back {
  display: inline-block;
  font-size: 13px;
  color: var(--stone-light);
  text-decoration: none;
  margin-bottom: 24px;
}

.subpage-header .back:hover { color: var(--stone); }

.subpage-header h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--stone);
  margin: 0 0 8px;
}

.subpage-header .last-updated {
  font-size: 12px;
  color: var(--stone-light);
  margin: 0;
}

.stub-notice {
  background: var(--warm-light);
  border: 1px solid var(--warm);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 28px 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--stone);
}

.stub-notice strong { font-weight: 700; }
