/*
 * Shared design system for getchecklist.app.
 * Linked from every page (<link rel="stylesheet" href="/styles.css">) so the
 * tokens, typography, top nav, Download button and footer are IDENTICAL across
 * the site. Page-specific layout stays in each page's own small <style> block.
 * The nav/footer MARKUP is generated from scripts/site-nav.mjs.
 */

:root {
  --ink: #0a0a0f;
  --ink2: #54585f;
  --ink3: #9aa0a8;
  --tint: #0a84ff;
  --tint2: #5e5ce6;
  --grad: linear-gradient(135deg, #0a84ff, #5e5ce6);
  --green: #34c759;
  --line: #ececf1;
  --card: #fff;
  --bg: #f7f8fc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, system-ui, "Segoe UI", Inter, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* Note: generic `.wrap`/`.wrapn` width stays page-owned (pages set their own
   content max-width). Here we only lay out the nav/footer wrappers. */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Top navigation (identical on every page) ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(247, 248, 252, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
/* Pin the nav/footer inner width here (more specific than a page's generic
   `.wrap`) so the bar is identical on every page regardless of its content width. */
nav .wrap, nav .wrapn {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--ink2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--tint); }

/* ---- App Store download button (hero / CTAs) ---- */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 0.15s;
}
.appstore:hover { transform: translateY(-2px); color: #fff; }
.appstore .l1 { display: block; font-size: 10px; line-height: 1; opacity: 0.85; }
.appstore .l2 { display: block; font-size: 17px; line-height: 1.15; font-weight: 700; }

/* ---- Footer (identical on every page) ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--ink3);
  font-size: 14px;
  margin-top: 40px;
}
footer .wrap, footer .wrapn {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer a { color: var(--ink2); margin-left: 18px; }
footer a:hover { color: var(--ink); }
