:root {
  --cream: #FFF9F0;
  --deep-blue: #073B4C;
  --pop-orange: #FF6B35;
  --sun-yellow: #FFD166;
  --soft-red: #EF476F;
  --energy-blue: #118AB2;
  --ink-soft: rgba(7, 59, 76, 0.75);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--deep-blue);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

/* Paper grain, 5% — the guidelines put it on every large cream surface. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

header img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 2px solid var(--deep-blue);
  box-shadow: 4px 4px 0 var(--deep-blue);
}

header a {
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--deep-blue);
  text-decoration: none;
}

nav { margin-left: auto; display: flex; gap: 16px; font-weight: 800; }
nav a { color: var(--deep-blue); text-decoration: none; }
nav a:hover { color: var(--soft-red); }

h1, h2 {
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: 40px; margin: 0 0 8px; }
h2 { font-size: 24px; margin: 32px 0 8px; }

.lede { color: var(--ink-soft); font-size: 18px; margin: 0 0 24px; }

.card {
  background: #fff;
  border: 2px solid var(--deep-blue);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--deep-blue);
  padding: 22px 24px;
  margin: 24px 0;
}

.card.callout { box-shadow: 6px 6px 0 var(--pop-orange); }

.card h2:first-child { margin-top: 0; }

ul { padding-left: 20px; }
li { margin: 6px 0; }

a { color: var(--energy-blue); font-weight: 700; }

.pill {
  display: inline-block;
  background: var(--sun-yellow);
  color: var(--deep-blue);
  border: 2px solid var(--deep-blue);
  border-radius: 50px;
  padding: 6px 14px;
  font-weight: 800;
  text-decoration: none;
}

hr {
  border: 0;
  border-top: 2px dashed rgba(7, 59, 76, 0.25);
  margin: 36px 0;
}

footer { color: var(--ink-soft); font-size: 14px; }

@media (max-width: 480px) {
  h1 { font-size: 32px; }
  nav { gap: 12px; font-size: 14px; }
  .card { padding: 18px; }
}
