:root {
  --font-main: "News Gothic", "Arial Narrow", Arial, sans-serif;
  --color-text: #282b24;
  --color-muted: #717568;
  --color-paper: #f7f6f1;
  --color-footer: #e8e9e1;
  --color-button: #343b30;
  --color-line: #cccfc5;
  --color-white: #fff;
  --container: 1620px;
  --gutter: clamp(24px, 7.8125vw, 150px);
  --space: 32px;
}

/* 2. Reset. */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; }
button { border: 0; }
img, picture { display: block; max-width: 100%; }
img { height: auto; }

/* 3. Lokalne webfonty — przeglądarka pobiera tylko używaną rodzinę. */
@font-face { font-family: "News Gothic"; src: url("./fonts/newsgothic-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "News Gothic"; src: url("./fonts/newsgothic-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }


/* 4. Podstawowe elementy HTML. */
html { font-family: var(--font-main); color: var(--color-text); background: var(--color-paper); }
body { font-size: 28px; line-height: 1.4; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.15; }
h1 { font-size: 76px; }
h2 { font-size: 68px; }
h3 { font-size: 36px; }
h4 { font-size: 30px; }
h5 { font-size: 26px; }
h6 { font-size: 24px; }
p + p { margin-top: var(--space); }
a { color: inherit; text-underline-offset: .2em; }
button, .button, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 68px; padding: 18px 34px; background: var(--color-button); color: var(--color-white); font: 700 24px/1.2 var(--font-main); text-align: center; text-decoration: none; text-transform: uppercase; cursor: pointer; }
button:hover, .button:hover, .btn:hover { filter: brightness(1.15); }
:focus-visible { outline: 3px solid #a97723; outline-offset: 5px; }
.button-light { color: var(--color-text); background: var(--color-paper); }
.container { width: calc(100% - var(--gutter) * 2); max-width: var(--container); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 12px; left: 12px; padding: 12px; background: var(--color-paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.eyebrow { font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: .22em; text-transform: uppercase; }
.noclick {cursor:default!important}
.noclick:hover {background:var(--color-paper)!important;filter:none!important}

/* 5. Strona konkursowa. */
.hero { position: relative; color: var(--color-white); background: #4f554b; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; padding-block: 166px 72px; }
.logo { position: absolute; top: 100px; right: 16px; width: 293px; }
.hero h1 { width: 700px; max-width: 46%; margin-top: 68px; }
.hero-intro { max-width: 580px; margin-top: 42px; font-size: 36px; line-height: 1.28; }
.hero .button { margin-top: 62px; }
.prizes { padding-block: 92px 96px; }
.prizes-heading { max-width: 612px; padding-bottom: 40px; border-bottom: 1px solid var(--color-line); }
.prizes-heading .eyebrow { color: var(--color-muted); font-size: 24px; }
.prizes-heading h2 { margin-top: 24px; }
.prizes-copy{display:grid;grid-template-columns:minmax(0,612fr) minmax(0,640fr);column-gap:clamp(32px,calc(100% - 1252px),368px);row-gap:60px;margin-top:44px}
.prizes-copy>*{min-width:0}
.prizes-copy > p { margin: 0; }
.prizes-copy > p:nth-child(2) { grid-column: 1; }
.infusion { grid-column: 2; grid-row: 1; }
.prize-values { display: flex; justify-content: space-between; gap: 30px; padding-top: 65px; border-top: 1px solid var(--color-line); }
.prize-values dt { font-size: 24px; text-transform: uppercase; color: var(--color-muted); }
.prize-values dd { margin-top: 12px; font-size: 26px; }
.prize-values strong { display: block; margin-top: 8px; font-size: 60px; font-weight: 400; line-height: 1.1; }
.footer { background: var(--color-footer); }
.footer-content { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-block: 76px 120px; }
.footer p { max-width: 650px; font-size: 36px; line-height: 1.3; }
.footer .button { width: 360px; min-height: 92px; flex-shrink: 0; }

/* 6. Podstrona regulaminu. */
.legal { max-width: 1000px; padding-block: 70px; }
.legal-logo { display: inline-block; margin-bottom: 50px; font-weight: 700; text-decoration: none; }
.legal h1 { margin-bottom: 30px; font-size: 60px; }
.legal h2 { margin-block: 40px 16px; font-size: 36px; }
.legal .button { margin-top: 40px; }
.notice { padding: 24px; border-left: 4px solid var(--color-muted); background: var(--color-footer); }

/* 7. Mniejsze ekrany i układ mobilny z projektu PSD. */
@media (min-width: 601px) and (max-width: 1500px) {
  body { font-size: 24px; }
  .hero-content { padding-block: 9vw 5vw; }
  .logo { top: 5.2vw; width: 15.3vw; }
  .hero h1 { margin-top: 3.5vw; }
  .hero-intro { font-size: clamp(23px, 1.875vw, 36px); max-width: 36%; margin-top: 2.2vw; }
  .hero .button { margin-top: 3.2vw; }
  .eyebrow { font-size: 22px; }
  .prizes-copy { column-gap: 8%; row-gap: 40px; }
  .prizes-heading { max-width: 40%; }
  h2 { font-size: clamp(36px, 3.55vw, 68px); }
  .prizes { padding-block: 64px; }
  .prize-values { padding-top: 36px; }
  .footer p { font-size: 28px; }
  .footer .button { width: 28%; }
}
@media (max-width: 600px) {
  :root { --gutter: 40px; }
  body { font-size: 22px; line-height: 1.22; }
  h1 { font-size: 42px; }
  h2 { font-size: 40px; }
  h3 { font-size: 30px; }
  .hero-content { padding-block: 80px 43px; }
  .logo { top: 37px; right: -3px; width: 80px; }
  .eyebrow { font-size: 16px; letter-spacing: .2em; }
  .hero h1 { max-width: 100%; width: 346px; margin-top: 49px; }
  .hero-intro { max-width: none; margin-top: -9px; font-size: 22px; line-height: 1.29; }
  .hero .button { margin-top: 40px; }
  button, .button, .btn { min-height: 46px; padding: 13px 30px; font-size: 16px; }
  .hero .button { min-width: 229px; }
  .prizes { padding-block: 51px 52px; }
  .prizes-heading { max-width: none; padding-bottom: 33px; }
  .prizes-heading .eyebrow { font-size: 18px; }
  .prizes-heading h2 { margin-top: 18px; }
  .prizes-copy { display: block; margin-top: 33px; }
  .prizes-copy > p + p { margin-top: 30px; }
  .prize-values { margin-top: 54px; padding-top: 47px; gap: 20px; }
  .prize-values dt { font-size: 18px; font-weight: 700; }
  .prize-values dd { margin-top: 10px; font-size: 20px; }
  .prize-values strong { margin-top: 20px; font-size: 52px; white-space: nowrap; }
  .footer-content { display: block; padding-block: 32px 35px; }
  .footer p { font-size: 26px; line-height: 1.2; }
  .footer .button { width: 100%; min-height: 50px; margin-top: 40px; }
  .legal { padding-block: 32px; }
  .legal h1 { font-size: 44px; }
  .legal h2 { font-size: 30px; }
}
@media (max-width: 380px) {
  :root { --gutter: 24px; }
  .hero-intro { font-size: 21px; }
  .hero h1 { margin-top: 60px; }
  .prize-values strong { font-size: 44px; }
}
