/* The website's shared styles: home page (src/server/home-page.server.ts),
   /support and /privacy. Same palette as the app's dark theme. */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/BricolageGrotesque_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #0b0f22;
  --surface: #141a36;
  --border: #262d52;
  --text: #ece9f6;
  --text-2: #a9a6c2;
  --gold: #e8b670;
  --gold-soft: #f3c9a5;
  --violet: #5b4bb7;
  --radius: 20px;
  color-scheme: dark;
}
* { 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, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, .brand { font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.links { display: flex; gap: 20px; font-size: 15px; }
nav.links a { color: var(--text-2); text-decoration: none; }
nav.links a:hover { color: var(--text); }

.hero {
  text-align: center; padding: 48px 0 32px;
  background:
    radial-gradient(45% 40% at 50% 26%, rgba(232, 182, 112, 0.20), transparent 70%),
    radial-gradient(70% 55% at 50% 30%, rgba(91, 75, 183, 0.28), transparent 75%);
}
.hero .icon { width: 132px; height: 132px; border-radius: 30px; margin: 0 auto 24px; box-shadow: 0 0 70px rgba(232, 182, 112, 0.35); }
.hero h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.02em; text-wrap: balance; }
.hero p.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--text-2); max-width: 600px; margin: 0 auto 28px; }
/* Official badges at the same width (Google's PNG is cropped to its artwork). Their shapes differ, so heights differ by a few px; never stretch them.
   Each "coming soon" label sits in the flow under its own badge, so when the badges stack on a phone the label stays with its badge. */
.stores { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; gap: 20px 24px; }
.badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; }
.badge-apple, .badge-play { width: 190px; height: auto; }
.badge.soon img { opacity: 0.6; }
.badge small { font-size: 14px; font-weight: 600; color: var(--gold); white-space: nowrap; }
a.badge { text-decoration: none; }
a.badge:hover img { filter: brightness(1.1); }
.pills { margin-top: 28px; color: var(--text-2); font-size: 15px; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 28px 20px 12px; scroll-snap-type: x mandatory; max-width: 1080px; margin: 0 auto; }
.shots img { width: 230px; flex: 0 0 auto; border-radius: 18px; scroll-snap-align: center; border: 1px solid var(--border); }

section.block { padding: 48px 0; border-top: 1px solid var(--border); }
section.block h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.01em; }
section.block > .wrap > p { color: var(--text-2); margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 6px; background: rgba(232, 182, 112, 0.18); color: var(--gold-soft); margin-left: 6px; vertical-align: 2px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.plan ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.plan .price { font-size: 32px; font-weight: 700; }
.plan .price small { font-size: 16px; font-weight: 400; color: var(--text-2); }
.plan .also { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.plan.pro { border-color: var(--gold); box-shadow: 0 0 40px rgba(232, 182, 112, 0.10); }

.doc h1 { font-size: 36px; margin: 24px 0 4px; }
.doc .meta { color: var(--text-2); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: #d3d1e2; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p, .faq details ul { margin: 10px 0 0; }
.contact { background: var(--surface); border: 1px solid var(--gold); border-radius: var(--radius); padding: 20px; margin: 8px 0 28px; }

footer.bottom { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--text-2); font-size: 14px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.bottom a { color: var(--text-2); }
footer.bottom .fine { flex-basis: 100%; font-size: 12px; }

@media (max-width: 520px) {
  nav.links { gap: 14px; font-size: 14px; }
  nav.links a[href="/#features"] { display: none; }
  .shots img { width: 190px; }
}
@media (max-width: 400px) {
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  nav.links { gap: 12px; font-size: 13px; }
}
