@font-face {
  font-family: Fredoka;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/fredoka-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: Fredoka;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/fredoka-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: Fredoka;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/fredoka-latin-700-normal.woff2) format('woff2');
}

:root {
  --ink: #20262e;
  --paper: #fff8e8;
  --gold: #ffd75e;
  --line: #e4d8bf;
  --sky: #7ec8f2;
  --grass: #6fae3f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Fredoka, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2 {
  line-height: 1.15;
  font-weight: 700;
}

.hero {
  padding: 56px 16px 72px;
  text-align: center;
  background: linear-gradient(#4aa6e6, var(--sky) 65%, #cdeafa);
  border-bottom: 12px solid var(--grass);
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 13vw, 104px);
  color: var(--gold);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  letter-spacing: 0.01em;
}

.goat {
  width: 150px;
  margin: 0 auto -8px;
}

.tagline {
  margin: 8px 0 28px;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 0 rgb(32 38 46 / 55%);
}

.button {
  display: inline-block;
  padding: 14px 32px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  background: var(--gold);
  box-shadow: 0 5px 0 var(--ink);
}

.button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--ink);
}

.button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.button.small {
  padding: 4px 18px;
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 3px 0 var(--ink);
}

.free {
  margin: 18px 0 0;
  font-weight: 600;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.stores li {
  min-width: 150px;
  padding: 6px 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  background: rgb(255 255 255 / 55%);
}

.stores span {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.again {
  padding: 40px 16px 56px;
  text-align: center;
}

.again h2 {
  margin: 0 0 20px;
  font-size: 32px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1040px;
  margin: 48px auto;
  padding: 0 16px;
}

.shots img {
  border-radius: 20px;
  border: 3px solid var(--ink);
}

.about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 40px;
  max-width: 880px;
  margin: 0 auto 48px;
  padding: 0 16px;
}

.about h2 {
  margin: 16px 0 4px;
  font-size: 24px;
}

.about p {
  margin: 0;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--sky);
  border-bottom: 6px solid var(--grass);
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

article {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

article h1 {
  margin: 0 0 16px;
  font-size: 40px;
}

article h2 {
  margin: 28px 0 4px;
  font-size: 24px;
}

article p {
  margin: 0 0 12px;
}

footer {
  padding: 20px 16px;
  text-align: center;
  border-top: 2px solid var(--line);
}

footer p {
  margin: 0 0 4px;
}

footer a {
  margin: 0 10px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
  }
}
