:root {
  --bg: #0b0d11;
  --surface: #16181d;
  --surface-raised: #1f2228;
  --border: #2c2f36;
  --text: #ffffff;
  --text-dim: #a0a0ab;
  --accent: #ffd60a;
  --record: #ff3b30;
  --radius: 14px;
  --max: 760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Soft yellow glow behind the homepage banner */
body.home {
  background:
    radial-gradient(ellipse 900px 420px at 50% 300px, rgba(255, 214, 10, 0.11), transparent 70%) no-repeat,
    var(--bg);
}

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--text-dim); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 32px 0 32px; }
.hero .feature {
  display: block; width: 100%; height: auto; margin-bottom: 28px;
  border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,.6);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero h1 { font-size: 40px; line-height: 1.15; margin: 24px 0 8px; letter-spacing: -0.02em; }
.hero p { color: var(--text-dim); font-size: 19px; margin: 0 auto; max-width: 520px; }

/* Store buttons */
.stores { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-width: 180px;
  background: #000; color: var(--text); border: 1px solid #5a5d66; border-radius: 12px;
  padding: 8px 18px; text-decoration: none; font-size: 20px; font-weight: 600; line-height: 1.1;
}
.store:hover { border-color: var(--text); }
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; text-align: left; }
.store small { font-size: 11px; font-weight: 400; letter-spacing: 0.02em; }

h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.02em; margin: 40px 0 8px; }
h2 { font-size: 24px; line-height: 1.3; margin: 40px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.lede { color: var(--text-dim); font-size: 18px; }
.muted { color: var(--text-dim); font-size: 15px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 24px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.card h3 { margin-top: 0; }
.card p { color: var(--text-dim); margin: 0; font-size: 16px; }
.card .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }

.callout {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

.button {
  display: inline-block; background: var(--accent); color: #000; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
}
.button:hover { filter: brightness(1.08); }

/* FAQ */
details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 18px; margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--text-dim); }
details[open] summary::after { content: "–"; }
details > *:not(summary) { color: #d6d6dc; }
details > *:last-child { padding-bottom: 6px; }

kbd {
  font: inherit; font-size: 0.9em; background: var(--surface-raised); border: 1px solid var(--border);
  border-radius: 6px; padding: 1px 6px;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 64px; padding: 24px 0 40px; color: var(--text-dim); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: var(--text-dim); }

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  h1 { font-size: 28px; }
}
