/* Pawlitics: the game's cartoon look on the web. Warm paper, ink outlines, sticker shadows. */
:root {
  --ink: #3e2b22;
  --ink-soft: rgba(62, 43, 34, 0.72);
  --paper: #fff4dc;
  --sky: #8fd3f7;
  --grass: #9bd86f;
  --sun: #ffd23f;
  --barn: #f06a5b;
  --berry: #c9b3f5;
  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

/* Width and height attributes reserve space while loading; CSS sizes the image. */
img { max-width: 100%; height: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 18px/1.55 var(--font);
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 2.5px solid var(--ink); }
.site-nav { display: flex; gap: 18px; font-weight: 800; font-size: 16px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; }

/* Stickers and buttons */
.sticker {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 5px 0 var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--ink);
  background: var(--grass);
  color: var(--ink);
  font: 900 19px/1 var(--font);
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}
.button:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.button:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.button.sun { background: var(--sun); }

/* Hero */
.hero { padding: 32px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-icon { width: 104px; height: 104px; border-radius: 24px; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.hero h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1; margin: 18px 0 10px; font-weight: 900; letter-spacing: -0.02em; }
.tagline { font-size: clamp(20px, 2.4vw, 25px); font-weight: 800; margin: 0 0 14px; }
.lede { color: var(--ink-soft); margin: 0 0 26px; max-width: 34em; }
.fine { color: var(--ink-soft); font-size: 15px; margin-top: 14px; }
.hero-shot { justify-self: center; width: min(100%, 320px); padding: 8px; transform: rotate(2deg); }
.hero-shot img { display: block; width: 100%; border-radius: 16px; }

/* Features */
.section { padding: 48px 0; }
.section h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 0 0 26px; font-weight: 900; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 22px; }
.feature h3 { margin: 10px 0 6px; font-size: 21px; font-weight: 900; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.chip {
  display: inline-block;
  padding: 4px 12px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sky { background: var(--sky); }
.grass { background: var(--grass); }
.sun-bg { background: var(--sun); }
.barn { background: var(--barn); }
.berry { background: var(--berry); }

/* Screenshot strip */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shots img { display: block; width: 100%; border-radius: 16px; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }

/* Call to action */
.cta { text-align: center; padding: 56px 0 64px; }
.cta h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 0 0 12px; font-weight: 900; }
.cta p { color: var(--ink-soft); max-width: 32em; margin: 0 auto 24px; }

/* Documents: privacy, terms, support */
.doc { padding: 16px 0 64px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; margin: 12px 0 6px; font-weight: 900; }
.doc .updated { color: var(--ink-soft); font-size: 15px; margin: 0 0 28px; }
.doc h2 { font-size: 24px; margin: 34px 0 8px; font-weight: 900; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.callout { padding: 20px 22px; margin: 22px 0; }
.callout p { margin: 0; color: var(--ink); }
details { border-top: 2.5px dashed rgba(62, 43, 34, 0.25); padding: 14px 0; }
details:last-of-type { border-bottom: 2.5px dashed rgba(62, 43, 34, 0.25); }
summary { cursor: pointer; font-weight: 900; font-size: 19px; }
details p { margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 3px solid var(--ink); padding: 26px 0 40px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 800; }
.site-footer span { color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-shot { transform: none; width: min(100%, 340px); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .features { grid-template-columns: 1fr; }
  .site-nav { gap: 12px; font-size: 15px; }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .hero-shot { transition: none; transform: none; }
}
