:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #5d6270;
  --line: #e4e2db;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --accent-soft: #e6ecfd;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a21;
    --text: #eef0f4;
    --muted: #9aa1b0;
    --line: #262a33;
    --accent: #7aa2ff;
    --accent-ink: #0f1115;
    --accent-soft: #1b2440;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Bricolage Grotesque", Inter, sans-serif; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .2em; color: var(--text); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.accent { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.eyebrow { text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; font-weight: 600; color: var(--muted); margin: 0 0 1rem; }

/* header / footer */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; color: var(--text); font-size: 1.1rem; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
nav { display: flex; gap: 20px; }
nav a { color: var(--text); font-weight: 500; font-size: .95rem; }
.site-footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 28px 0; color: var(--muted); font-size: .9rem; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.foot p { margin: 0; }
.foot a { color: var(--muted); }

/* sections */
.hero { padding: 88px 20px 48px; }
.page-head { padding: 64px 20px 8px; }
.section { margin-top: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.section-head h2 { margin: 0; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

/* app cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--accent); }
.card img { border-radius: 16px; flex: none; width: 72px; height: 72px; }
.card p { margin: 0 0 8px; font-size: .95rem; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }

/* app page */
.app-hero { display: flex; gap: 32px; align-items: center; padding-top: 64px; flex-wrap: wrap; }
.app-icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.app-hero h1 { margin-top: 12px; }
.app-hero .lead { margin: 0; }
.features { padding-left: 1.2em; }
.features li { margin: .35em 0; }

/* video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* blog posts list */
.posts { display: grid; gap: 12px; margin-bottom: 8px; }
.post-item { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--text); }
.post-item:hover { text-decoration: none; border-color: var(--accent); }
.post-item time { color: var(--muted); font-size: .85rem; }

/* long text: privacy policies, posts */
.prose { padding-top: 56px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.prose h2 { font-size: 1.2rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }

@media (max-width: 560px) {
  nav { gap: 14px; }
  .brand { font-size: 1rem; }
  .hero { padding-top: 56px; }
  .grid { grid-template-columns: 1fr; }
  .app-hero { gap: 20px; padding-top: 40px; }
  .app-icon { width: 96px; height: 96px; border-radius: 22px; }
}

/* marketing */
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.perks li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.feature { display: flex; gap: 28px; align-items: center; background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--text); }
.feature:hover { text-decoration: none; border-color: var(--accent); }
.feature img { width: 112px; height: 112px; border-radius: 24px; flex: none; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.feature h2 { margin-bottom: .3em; }
.feature p.muted { margin: 0 0 16px; max-width: 560px; }
.feature .eyebrow { margin-bottom: .4rem; color: var(--accent); }
.cta { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; text-align: center; }
.cta p { max-width: 520px; margin: 0 auto; }
.cta .actions { justify-content: center; }
@media (max-width: 560px) {
  .feature { flex-direction: column; align-items: flex-start; padding: 22px; gap: 18px; }
  .feature img { width: 88px; height: 88px; border-radius: 20px; }
}

/* store badge + screenshots */
.store-badge { display: inline-block; margin: 8px 0 16px; }
.store-badge img { height: 50px; width: auto; }
.store-badge:hover { filter: brightness(1.15); }
.app-hero .store-badge { margin: 0; }
.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
.shots img { flex: none; height: 460px; width: auto; aspect-ratio: auto; border-radius: 22px; border: 1px solid var(--line); scroll-snap-align: start; background: var(--surface); }
@media (max-width: 560px) {
  .shots img { height: 380px; border-radius: 18px; }
}
