@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --kobalt: #1b3a8c;
  --granat: #14224a;
  --szary-niebieski: #40507a;
  --szkliwo: #f5f8fc;
  --biel: #ffffff;
  --ochra: #d9a21b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--szkliwo);
  color: var(--granat);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.45;
}

header {
  display: flex;
  justify-content: center;
  padding: 3.5rem 1rem;
  background: url("/wzor.svg") center / 160px;
  border-bottom: .5rem solid var(--kobalt);
}

.talerz {
  display: grid;
  place-items: center;
  width: min(25rem, 86vw);
  aspect-ratio: 1;
  background: var(--biel);
  border: .9rem dotted var(--kobalt);
  border-radius: 50%;
  outline: .4rem solid var(--biel);
}

h1 {
  margin: 0;
  color: var(--kobalt);
  font-size: clamp(3.4rem, 15vw, 5.6rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.02em;
  text-align: center;
}

main {
  width: min(76rem, 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wstep {
  max-width: 34rem;
  margin: 3rem auto 1rem;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.25;
  text-align: center;
}

section { margin-top: 3.5rem; }

h2 {
  margin: 0 0 1.1rem;
  padding-bottom: .7rem;
  color: var(--kobalt);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  background: radial-gradient(circle, var(--kobalt) 2.5px, transparent 3px) left bottom / 14px 6px repeat-x;
}

ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

li { display: flex; }

a {
  display: block;
  width: 100%;
  padding: .85rem 1rem .95rem;
  color: inherit;
  background: var(--biel);
  border: 2px solid var(--kobalt);
  border-radius: .35rem;
  text-decoration: none;
}

a strong {
  display: block;
  color: var(--kobalt);
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.2;
}

a span {
  display: block;
  margin-top: .3rem;
  color: var(--szary-niebieski);
  font-size: .95rem;
  line-height: 1.3;
}

a:hover { background: var(--kobalt); }
a:hover strong, a:hover span { color: var(--biel); }
a:focus-visible { outline: .25rem solid var(--ochra); outline-offset: .15rem; }

footer {
  width: min(76rem, 100%);
  margin: 4rem auto 0;
  padding: 0 1.25rem 3rem;
  color: var(--szary-niebieski);
  font-size: .95rem;
}

footer p { max-width: 42rem; margin: 0; }
