/* Tooner's cartoon look: cream paper, thick ink outlines, hard offset shadows. */
:root {
  --ink: #211c2b;
  --paper: #fff5de;
  --surface: #ffffff;
  --muted: rgba(33, 28, 43, 0.68);
  --yellow: #ffd13d;
  --blue: #8cc7ff;
  --green: #66db7a;
  --red: #ff7366;
  --on-accent: #211c2b;
  --dots: rgba(33, 28, 43, 0.07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f7edd6;
    --paper: #1f1a2b;
    --surface: #38334d;
    --muted: rgba(247, 237, 214, 0.7);
    --dots: rgba(247, 237, 214, 0.06);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(var(--dots) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
  color: var(--ink);
  font: 600 17px/1.6 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}

main { max-width: 760px; margin: 0 auto; padding: 28px 16px 56px; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }

h1, h2, h3 { font-weight: 900; line-height: 1.15; margin: 0 0 0.4em; }
h1 { font-size: clamp(34px, 8vw, 54px); }
h2 { font-size: 24px; margin-top: 1.6em; }
h3 { font-size: 18px; margin: 0 0 0.25em; }
p, ul { margin: 0 0 1em; }
li { margin-bottom: 0.45em; }

.sticker {
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 22px;
}

.nav {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 20px; text-decoration: none; margin-right: auto;
}
.nav .brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
.nav a.pill { font-size: 15px; }

.pill {
  display: inline-block;
  padding: 8px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  font-weight: 800;
}
.pill:active { transform: translate(3px, 3px); box-shadow: none; }
.pill.yellow { background: var(--yellow); color: var(--on-accent); }
.pill.green { background: var(--green); color: var(--on-accent); }
.pill.blue { background: var(--blue); color: var(--on-accent); }

.hero { text-align: center; padding: 12px 0 8px; }
.hero img {
  width: 132px; height: 132px; border-radius: 30px;
  border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
}
.hero .title {
  display: inline-block; margin: 26px 0 10px; padding: 10px 26px;
  background: var(--yellow); color: var(--on-accent);
  border: 3px solid var(--ink); border-radius: 999px; box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-2deg);
}
.hero .title h1 { margin: 0; }
.hero p { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 auto 1em; }

/* Four cards: two by two, or one column on phones, so no row is left with a gap. */
.features { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); margin: 32px 0; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.features .sticker { padding: 18px; }
.features p { color: var(--muted); margin: 0; font-size: 15.5px; }
.badge {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px;
  border: 3px solid var(--ink); border-radius: 50%; box-shadow: 2px 2px 0 var(--ink);
  font-size: 19px; color: var(--on-accent);
}

.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--ink); }
.updated { color: var(--muted); font-size: 15px; }

.faq { display: grid; gap: 16px; }
.faq .sticker { padding: 18px 20px; box-shadow: 4px 4px 0 var(--ink); }
.faq p { color: var(--muted); margin: 0; }

footer {
  margin-top: 44px; text-align: center; font-size: 14px; color: var(--muted);
}
footer a { margin: 0 8px; }
