@font-face {
  font-family: "Spline Sans";
  src: url("assets/fonts/spline-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Spline Sans";
  src: url("assets/fonts/spline-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Spline Sans";
  src: url("assets/fonts/spline-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Spline Sans";
  src: url("assets/fonts/spline-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --page-bg: #f4f2f4;
  --hero-bg: #f4ff0a;
  --card-bg: #460099;
  --text: #3b007d;
  --white: #ffffff;
  --divider: rgba(255, 255, 255, 0.4);
  --shadow: 0 22px 60px rgba(70, 0, 153, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Spline Sans", sans-serif;
  background: var(--page-bg);
  color: var(--text);
}

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

.page-shell {
  overflow: clip;
}

.hero {
  position: relative;
  background: var(--hero-bg);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 96%);
}

.hero__inner,
.steps,
.story {
  width: min(100%, 1344px);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero__inner {
  padding-top: 48px;
  padding-bottom: 180px;
  text-align: center;
}

.campaign-logo {
  display: block;
  width: clamp(150px, 20vw, 320px);
  height: auto;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
}

.hero__copy {
  width: min(100%, 960px);
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 1.2rem + 2.3vw, 3.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero p {
  width: min(100%, 940px);
  margin: 0 auto;
  font-size: clamp(1rem, 0.84rem + 0.55vw, 1.625rem);
  line-height: 1.6;
}

.steps {
  margin-top: -82px;
  position: relative;
  z-index: 1;
}

.steps__card {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 80px;
  padding: 72px 72px 64px;
  border-radius: 40px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  color: var(--white);
}

.steps__intro h2 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2rem, 1.2rem + 1.8vw, 3rem);
  font-weight: 700;
  line-height: 1.02;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq__item {
  border-bottom: 1px solid var(--divider);
  padding-bottom: 14px;
}

.faq__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faq__question {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.faq__number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--card-bg);
  font-size: 0.95rem;
  font-weight: 700;
  flex: none;
}

.faq__label {
  font-size: 1.25rem;
  line-height: 1.35;
}

.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  transition: grid-template-rows 220ms ease, opacity 220ms ease, margin-top 220ms ease;
  margin-top: 16px;
  opacity: 1;
}

.faq__answer[hidden] {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
}

.faq__answer > * {
  overflow: hidden;
}

.faq__answer p {
  margin: 0 0 14px 46px;
  max-width: 36ch;
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

.story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding-top: 78px;
  padding-bottom: 120px;
}

.story-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 34px;
  margin-bottom: 28px;
}

.story-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 1.25rem + 0.9vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
}

.story-card p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.6;
}

.site-footer {
  background: var(--hero-bg);
  color: var(--text);
}

.site-footer__inner {
  width: min(100%, 1344px);
  margin: 0 auto;
  padding: 28px 24px 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
  line-height: 1.5;
}

.site-footer__meta {
  display: grid;
  gap: 6px;
}

.site-footer__meta p {
  margin: 0;
  max-width: 42ch;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(59, 0, 125, 0.2);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.32);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(59, 0, 125, 0.45);
  background: rgba(255, 255, 255, 0.6);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 1100px) {
  .hero {
    clip-path: polygon(0 0, 100% 0, 100% 84%, 0 96%);
  }

  .hero__inner {
    padding-bottom: 140px;
  }

  .steps__card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 40px;
  }

  .steps__intro h2 {
    max-width: 12ch;
  }
}

@media (max-width: 820px) {
  .hero__inner,
  .steps,
  .story {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__inner {
    padding-top: 32px;
    padding-bottom: 120px;
  }

  .steps {
    margin-top: -56px;
  }

  .steps__card {
    padding: 32px 24px;
    border-radius: 28px;
  }

  .faq__question {
    gap: 12px;
  }

  .faq__label {
    font-size: 1rem;
  }

  .faq__answer p {
    margin-left: 42px;
    font-size: 0.95rem;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .story-card__image {
    height: 100%;
  }

  .story-card__media {
    border-radius: 26px;
    margin-bottom: 20px;
  }

  .story-card p {
    font-size: 1rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px 28px;
    font-size: 0.95rem;
  }

  .site-footer__socials {
    margin-top: 4px;
  }
}
