@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=DM+Mono:wght@500&display=swap');

:root {
  --bg: #f7f0dd;
  --card: #fdfaef;
  --ink: #1a2540;
  --mute: #5a6178;
  --accent: #e89c2c;
  --tint: #eae0c6;
  --ok: #5a8c56;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 22px; }

/* ── brand mark ── */
.mark {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--ink); position: relative; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.mark span { color: var(--accent); font-weight: 800; font-size: 26px; line-height: 1; }
.mark::after {
  content: ''; position: absolute; top: 8px; right: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.wordmark { font-weight: 800; font-size: 26px; letter-spacing: -1px; }
.wordmark i { color: var(--accent); font-style: normal; }

/* ── header ── */
header { padding: 22px 0; }
header .wrap { display: flex; align-items: center; gap: 12px; }

/* ── hero ── */
.hero { background: var(--ink); color: var(--bg); padding: 60px 0 70px; text-align: center; }
.hero .mark { width: 72px; height: 72px; border-radius: 21px; margin: 0 auto 22px; }
.hero .mark span { font-size: 42px; }
.hero .mark::after { top: 13px; right: 15px; width: 11px; height: 11px; }
.hero h1 { font-size: clamp(34px, 7vw, 56px); font-weight: 800; letter-spacing: -2px; line-height: 1.05; }
.hero p { color: #c9cedd; font-size: 18px; max-width: 520px; margin: 18px auto 0; }
.tag { font-family: 'DM Mono', monospace; color: var(--accent); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-top: 10px; }

/* ── store buttons ── */
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--ink); text-decoration: none;
  padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 15px;
  transition: transform .12s ease, opacity .12s ease;
}
.store:hover { transform: translateY(-2px); }
.store .glyph { font-size: 20px; }
.store .store-logo { width: 26px; height: 26px; flex: none; }
.store span { text-align: left; }
.store small { display: block; font-size: 10px; font-weight: 500; opacity: .6; text-transform: uppercase; letter-spacing: .5px; }
.store b { display: block; font-size: 16px; line-height: 1.1; }

/* ── sections ── */
section.block { padding: 56px 0; }
h2 { font-size: clamp(26px, 5vw, 36px); font-weight: 800; letter-spacing: -1px; text-align: center; }
.lead { color: var(--mute); text-align: center; max-width: 560px; margin: 12px auto 0; font-size: 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 36px; }
.feat { background: var(--card); border: 1px solid var(--tint); border-radius: 22px; padding: 24px; }
.feat .emoji { font-size: 34px; }
.feat h3 { font-size: 18px; font-weight: 700; margin: 12px 0 6px; }
.feat p { color: var(--mute); font-size: 14px; }

/* ── footer ── */
footer { background: var(--ink); color: #c9cedd; padding: 40px 0; margin-top: 20px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
footer a { color: var(--bg); text-decoration: none; font-weight: 700; font-size: 14px; }
footer a:hover { color: var(--accent); }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .copy { font-family: 'DM Mono', monospace; font-size: 12px; opacity: .6; }

/* ── legal pages ── */
.legal { padding: 50px 0 80px; max-width: 760px; }
.legal h1 { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.legal .updated { font-family: 'DM Mono', monospace; color: var(--mute); font-size: 13px; margin-top: 8px; }
.legal .intro { font-size: 17px; margin-top: 18px; }
.legal h2 { text-align: left; font-size: 20px; margin-top: 30px; }
.legal p { color: var(--mute); margin-top: 8px; font-size: 15px; }
.legal .back { display: inline-block; margin-bottom: 24px; color: var(--mute); text-decoration: none; font-weight: 700; }
.legal .back:hover { color: var(--ink); }
