@font-face {
  font-family: Fredoka;
  src: url("fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("fonts/nunito-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --cream: #FFF8E8;
  --paper: #ffffff;
  --ink: #17324D;
  --leaf: #13854A;
  --sprout: #13854A;
  --leaf-deep: #0F6A3A;
  --leaf-soft: #E7F6EE;
  --gold: #FFC83D;
  --line: #E7DCC4;
  color: var(--ink);
  background: #F3EBD4;
  font-family: Nunito, "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.45;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--leaf-deep); }
a:focus-visible, .skip:focus {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(40rem, 100%);
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.landing {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.penny { width: 112px; height: auto; display: block; }
.wordmark {
  font-family: Fredoka, "Trebuchet MS", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}
header .wordmark { font-size: 1.6rem; }
h1, h2, h3, .free, nav a, .store-badge {
  font-family: Fredoka, "Trebuchet MS", sans-serif;
}
h1 {
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.landing h1 { max-width: 14em; }
.free {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--leaf-deep);
}

.store-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: fit-content;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  padding: 10px 16px;
}
.store-badge span:first-child { font-weight: 700; }
.store-badge span:last-child { color: var(--leaf-deep); font-weight: 700; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
nav, .landing nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  text-underline-offset: 3px;
}
nav a[aria-current="page"] { text-decoration: underline; }

.banner {
  background: var(--leaf-soft);
  border: 2px solid var(--leaf);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0;
  font-weight: 700;
}
.prose h1 { max-width: none; margin-top: 8px; }
.prose h2 { font-size: 1.25rem; margin: 1.5rem 0 0.4rem; }
.prose h3 { font-size: 1.05rem; margin: 1.2rem 0 0.3rem; }
.prose p, .prose li { font-size: 1.05rem; margin-top: 0.7rem; }
.prose ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.prose hr { border: 0; border-top: 2px solid var(--line); margin: 1.4rem 0; }
footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 2px solid var(--line);
}
footer p { margin-top: 8px; }
