@font-face {
  font-family: 'Oakes Grotesk';
  src: url('/fonts/OakesGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oakes Grotesk';
  src: url('/fonts/OakesGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oakes Grotesk';
  src: url('/fonts/OakesGrotesk-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oakes Grotesk';
  src: url('/fonts/OakesGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabriela Stencil';
  src: url('/fonts/GabrielaStencil-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham Narrow';
  src: url('/fonts/GothamNarrow-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham Narrow';
  src: url('/fonts/GothamNarrow-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-peach: #ffb15e;
  --bg-peach-soft: #ffd7a8;
  --bg-dark: #050505;
  --panel-light: rgba(255, 244, 229, 0.72);
  --panel-strong: rgba(255, 246, 234, 0.9);
  --ink: #101010;
  --ink-soft: rgba(16, 16, 16, 0.72);
  --line: rgba(16, 16, 16, 0.16);
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.82);
  --contrast: #ffcf8a;
  --danger: #b5232f;
  --success: #17663f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-peach);
}

body {
  margin: 0;
  font-family: 'Oakes Grotesk', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg-peach);
}

h2 {
  font-family: 'Gabriela Stencil', Georgia, "Times New Roman", serif;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  font-family: 'Gotham Narrow', 'Oakes Grotesk', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .16s ease, opacity .16s ease, background-color .16s ease;
}

.header-link,
.button-primary,
.button-secondary {
  background: #161616;
  color: #fff;
}

.header-link:hover,
.button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.button-wide {
  width: 100%;
}

.hero {
  padding: 26px 0 18px;
  background: var(--bg-peach);
}

.hero-wrap {
  display: grid;
  gap: 28px;
}

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.hero-figure {
  width: min(960px, 100%);
}

.hero-meta {
  text-align: center;
  color: rgba(16, 16, 16, 0.76);
  font-size: 13px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-dark {
  background: #050505;
  color: #fff;
  padding: 56px 0;
}

.section-peach {
  background: var(--bg-peach);
  color: var(--ink);
  padding: 56px 0 72px;
}

.section-title {
  margin: 0;
  text-align: center;
  font-family: 'Gabriela Stencil', Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 0.96;
  font-weight: 700;
  text-transform: uppercase;
}

.section-subtitle {
  margin: 14px auto 0;
  max-width: 700px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}

.steps-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  color: var(--bg-peach);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  font-weight: 700;
  font-family: 'Gabriela Stencil', Georgia, "Times New Roman", serif;
}

.step-card h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.34;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Oakes Grotesk', Arial, sans-serif;
}

.step-card p {
  margin: 8px 0 0;
  color: var(--white-soft);
  font-size: 14px;
  line-height: 1.55;
}

.form-layout {
  display: grid;
  justify-items: center;
}

.form-card,
.campaign-state-card {
  width: min(760px, 100%);
  background: transparent;
  padding: 0;
}

.campaign-state-card {
  text-align: center;
  justify-items: center;
}

.form-card-header {
  margin-bottom: 26px;
  text-align: center;
}

.form-card-header h2,
.campaign-state-card h2,
.modal-card h2,
.winners-block h2 {
  margin: 0;
  font-family: 'Gabriela Stencil', Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 0.96;
  text-transform: uppercase;
}

.form-card-header p,
.campaign-state-card p {
  margin: 14px auto 0;
  max-width: 680px;
  color: rgba(16, 16, 16, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field,
.upload-field {
  display: grid;
  gap: 8px;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field-full {
  grid-column: 1 / -1;
}

.field span,
.upload-field > span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Gotham Narrow', 'Oakes Grotesk', Arial, sans-serif;
  color: rgba(16, 16, 16, 0.82);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 6px 16px 0 16px;
  border: 0;
  background: #fff7ef;
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.12);
}

.field textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(16, 16, 16, 0.32);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  box-shadow: inset 0 0 0 2px rgba(181, 35, 47, 0.45);
  background: #fff0f1;
}

.upload-dropzone {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 24px 18px;
  background: transparent;
  border: 0;
  text-align: center;
}

.upload-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-dropzone strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  background: #161616;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Gotham Narrow', 'Oakes Grotesk', Arial, sans-serif;
  text-transform: uppercase;
}

.upload-dropzone small {
  color: rgba(16, 16, 16, 0.78);
  font-size: 12px;
}

.upload-field.is-invalid .upload-dropzone strong {
  background: var(--danger);
}

.consent-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.consent-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.consent-item input {
  margin-top: 3px;
}

.consent-item span {
  color: rgba(16, 16, 16, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.consent-item a {
  font-weight: 700;
}

.consent-item.is-invalid span {
  color: var(--danger);
}

.form-feedback {
  min-height: 24px;
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.form-feedback.is-error {
  color: var(--danger);
}

.form-feedback.is-success {
  color: var(--success);
}

.form-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.form-actions .button {
  min-width: min(320px, 100%);
}

.faq-layout {
  display: grid;
  justify-items: center;
}

.faq-list {
  width: min(860px, 100%);
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-family: 'Oakes Grotesk', Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 24px;
  line-height: 1;
  transition: transform .18s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  padding: 0 0 18px;
}

.faq-panel p {
  margin: 0;
  color: var(--white-soft);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 32px 28px;
  background: #fff7ef;
  color: var(--ink);
}

.modal-card p {
  margin: 14px 0 0;
  color: rgba(16, 16, 16, 0.78);
  line-height: 1.6;
}

.modal-card-wide {
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.modal-actions {
  margin-top: 20px;
}

.winners-block {
  display: grid;
  gap: 18px;
}

.winners-block > p {
  margin: 0;
  color: rgba(16, 16, 16, 0.78);
}

.winners-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.winner-group {
  padding: 20px;
  background: rgba(255, 177, 94, 0.18);
  border: 1px solid rgba(16, 16, 16, 0.12);
}

.winner-group h3 {
  margin: 0 0 14px;
  font-family: 'Gotham Narrow', 'Oakes Grotesk', Arial, sans-serif;
  text-transform: uppercase;
}

.winner-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.winner-list li {
  padding-top: 10px;
  border-top: 1px solid rgba(16, 16, 16, 0.12);
}

.winner-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .hero {
    padding-bottom: 14px;
    background: var(--bg-peach);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 24px);
  }

  .header-link,
  .button {
    width: 100%;
  }

  .section-dark,
  .section-peach {
    padding: 36px 0 44px;
  }

  .hero {
    padding: 18px 0 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .winners-groups {
    grid-template-columns: 1fr;
  }
}
