:root {
  --red: #be303a;
  --red-dark: #9e222c;
  --ink: #282424;
  --muted: #655e57;
  --ivory: #f8f5ee;
  --line: #e5ded2;
  color: var(--ink);
  font: 16px/1.6 "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; z-index: 1; background: white; padding: 12px; }
.skip:focus { top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { background: var(--red); color: white; }
.header-inner, .header-inner nav { display: flex; align-items: center; }
.header-inner { min-height: 82px; justify-content: space-between; gap: 18px; }
.header-inner nav { gap: clamp(16px, 3vw, 38px); flex-wrap: wrap; }
.header-inner nav a { text-decoration: none; font-weight: 650; }
.header-inner nav a:hover { text-decoration: underline; }
.logo { display: block; width: 157px; height: auto; }

.hero { background: var(--ivory); border-bottom: 1px solid var(--line); }
.hero-cover { width: min(86%, 960px); margin-inline: auto; }
.hero-cover img { display: block; width: 100%; height: auto; }
.hero-actions { text-align: center; padding-block: clamp(24px, 4vw, 40px); }
.hero-actions p { max-width: 64ch; margin: 0 auto; font-size: clamp(1.1rem, 2.5vw, 1.3rem); }
.hero-actions .campaign-title { max-width: 28ch; margin: 0 auto 20px; font-size: clamp(1.65rem, 3.7vw, 2.55rem); color: var(--red-dark); line-height: 1.18; }
.hero-actions .campaign-invitation { margin-top: 14px; font-size: 1.05rem; color: var(--muted); }
.hero-link { display: inline-block; margin-top: 16px; color: var(--red-dark); font-weight: 700; text-underline-offset: 4px; }
h1, h2 { margin: 0; line-height: 1.06; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
p { margin: 16px 0 0; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
}
.primary { background: var(--red); color: white; margin-top: 24px; box-shadow: 0 4px 12px #be303a20; }
.primary:hover { background: var(--red-dark); }
.primary:focus-visible { outline-color: var(--red-dark); }
.kit-photo { display: block; width: 100%; height: auto; }
.participation {
  padding-block: clamp(42px, 6vw, 76px);
}
.participation-details { margin-top: 24px; }
.participation > h2::after { content: ""; display: block; width: 64px; height: 3px; background: #bf954a; margin-top: 15px; }
.participation-action { text-align: center; }
.contact-link { margin-top: 12px; color: var(--muted); }
.contact-link a { color: var(--red-dark); font-weight: 700; text-underline-offset: 3px; }
.gift { max-width: 660px; margin: clamp(36px, 5vw, 56px) auto 0; overflow: hidden; border-radius: 8px; background: var(--ivory); border: 1px solid var(--line); }
.steps { display: grid; gap: 14px; margin: 0; padding: 0; counter-reset: participation-step; }
.steps li { position: relative; list-style: none; counter-increment: participation-step; padding: 22px 16px 22px 58px; border: 1px solid var(--line); border-top: 3px solid #bf954a; border-radius: 6px; background: #fdfbf7; box-shadow: 0 5px 16px #4b301008; }
.steps li::before {
  content: counter(participation-step);
  position: absolute;
  top: 17px;
  left: 15px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-weight: 750;
}
.steps h3 { margin: 0; font-size: 1.22rem; line-height: 1.25; }
.steps p { margin: 5px 0 0; }
.steps a { color: var(--red-dark); text-underline-offset: 3px; }
.site-footer { background: #2a2a2a; color: white; padding-block: 34px 18px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr auto; gap: 26px; }
.footer-inner h2 { font-size: 1.05rem; letter-spacing: normal; margin-bottom: 6px; }
.footer-inner address { font-style: normal; }
.footer-inner nav { display: grid; gap: 4px; }
.legal { border-top: 1px solid #595959; padding-top: 14px; margin-top: 24px; color: #e4e4e4; font-size: .9rem; }

@media (min-width: 801px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 700px) {
  .hero-cover { width: 100%; }
  .wrap { width: min(100% - 36px, 1120px); }
  .header-inner { flex-wrap: wrap; padding-block: 12px; gap: 8px 20px; }
  .header-inner nav { gap: 8px 16px; font-size: .92rem; }
  .logo { width: 135px; }
  .footer-inner { grid-template-columns: 1fr; }
}
