:root {
  --bg: #f4f4f2;
  --panel-strong: rgba(255, 255, 255, 0.94);
  --text: #111111;
  --muted: #66676b;
  --line: rgba(17, 17, 17, 0.1);
  --warn-text: #8b2e20;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), transparent 24%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.05), transparent 24%),
    linear-gradient(160deg, #f7f7f5 0%, #efefee 52%, #fafaf9 100%);
  color: var(--text);
  font-family: "Avenir Next", "Nunito Sans", "Segoe UI", sans-serif;
}

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

button {
  font: inherit;
}

.page {
  min-height: 100vh;
  padding: 18px 14px 64px;
}

.container {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.hero,
.sectionCard {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.hero {
  padding: 24px 20px 22px;
  text-align: center;
}

.logoWrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.logo {
  width: min(250px, 64vw);
  height: auto;
}

.heroTitle {
  margin: 0;
  font-size: clamp(2.7rem, 9vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.heroTitleLead {
  display: block;
}

.typewordWrap {
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
  min-height: 1.15em;
  padding-bottom: 0.12em;
  vertical-align: bottom;
  white-space: nowrap;
}

.typeword {
  display: inline-block;
  line-height: 1.1;
  padding-bottom: 0.06em;
}

.typewordCursor {
  display: inline-block;
  margin-left: -0.04em;
  color: #111111;
  line-height: 1.1;
  animation: heroCursor 0.9s steps(1, end) infinite;
}

.typewordFlag {
  display: inline-block;
  margin-left: 0.06em;
  margin-right: 0.02em;
  font-size: 0.82em;
  line-height: 1;
  transform: translateY(-0.12em);
}

.heroCopy {
  width: min(620px, 100%);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.teamButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.92);
  border-radius: 999px;
  background: linear-gradient(180deg, #151515 0%, #060606 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 30px rgba(0, 0, 0, 0.18);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.teamButton:hover {
  transform: translateY(-1px);
}

.teamButton:disabled {
  cursor: progress;
  opacity: 0.72;
}

.peopleBarCard {
  width: min(620px, 100%);
  margin: 16px auto 0;
  padding-top: 2px;
}

.peopleBarHeader {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.peopleJoinedText {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
}

.counterNumber {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.progressMeta {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.peopleProgressBar {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.peopleProgressFill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #111111;
  transition: width 220ms ease;
}

.challengeCountdown {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
}

.consentMeta {
  min-height: 24px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.consentError {
  color: var(--warn-text);
}

.sectionCard {
  padding: 20px 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  margin: 0 auto 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.askSection {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 246, 242, 0.98) 100%);
  color: var(--text);
}

.askBackdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 0, 0, 0.04), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.05), transparent 30%);
  opacity: 1;
}

.askInner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.askEyebrow {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.askTitle {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(1.8rem, 5.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.askCopy {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.66;
}

.documentaryBody .emailLink {
  color: #000;
  font-weight: 600;
}

.documentaryTopline {
  display: flex;
  justify-content: center;
}

.documentaryLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1.18fr);
  gap: 22px;
  align-items: center;
}

.documentaryCopy {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: start;
  padding-left: 10px;
  text-align: left;
}

.documentaryTitle {
  max-width: 11ch;
  font-size: clamp(1.78rem, 4.5vw, 2.7rem);
}

.documentaryBody {
  max-width: 34ch;
}

.documentaryMedia {
  display: grid;
  gap: 12px;
}

.documentaryPreview {
  display: block;
  text-decoration: none;
}

.documentaryFrame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 40px rgba(0, 0, 0, 0.08);
}

.documentaryThumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
  background: #f2f2ee;
}

.documentaryOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
}

.documentaryBadge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.documentaryLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111111;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.documentaryLinkMobile {
  display: none;
}

.accountabilityCard {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 0, 0, 0.035), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 247, 243, 0.98) 100%);
}

.accountabilityCard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.03), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 42%);
  opacity: 0.9;
}

.accountabilityTopline,
.accountabilityLayout {
  position: relative;
  z-index: 1;
}

.accountabilityTopline {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.accountabilityLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: 26px;
  align-items: start;
}

.accountabilityData {
  display: grid;
  gap: 18px;
}

.accountabilityHero {
  display: grid;
  gap: 8px;
  padding: 4px 0 0;
}

.accountabilitySubHero {
  padding-top: 18px;
}

.accountabilityHeroHeader {
  margin-bottom: 0;
}

.accountabilityHeroBar {
  margin-top: -2px;
}

.accountabilityProgressNote {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.accountabilityGrid {
  display: grid;
}

.accountabilityCopy {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-self: end;
  justify-items: start;
  padding-top: 2px;
  text-align: left;
}

.accountabilityEyebrow {
  margin: 0;
}

.accountabilityTitle {
  display: grid;
  max-width: 9ch;
}

.accountabilityTitleLine,
.peopleStoryTitleLine {
  display: block;
}

.accountabilityBody {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.66;
}

.peopleStorySection {
  padding-bottom: 32px;
}

.peopleStoryCopy {
  padding-left: 10px;
  padding-bottom: 8px;
}

.peopleStoryTitle {
  max-width: none;
  line-height: 1.02;
}

.peopleStoryBody {
  max-width: 31ch;
}

.peopleStoryFrame {
  min-height: 100%;
}

.peopleStorySlides {
  position: relative;
}

.peopleStorySlide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}

.peopleStorySlide:first-child {
  position: relative;
}

.peopleStorySlideActive {
  opacity: 1;
}

.peopleStoryDots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.peopleStoryDot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition:
    transform 200ms ease,
    background 200ms ease;
}

.peopleStoryDotActive {
  background: rgba(255, 255, 255, 0.96);
  transform: scale(1.15);
}

@media (min-width: 820px) {
  .page {
    padding: 28px 18px 78px;
  }

  .container {
    gap: 18px;
  }

  .heroTitle {
    font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  }

  .hero {
    padding: 32px 28px 28px;
  }

  .sectionCard {
    padding: 24px;
  }

  .logo {
    width: min(290px, 74vw);
  }
}

@media (max-width: 760px) {
  .accountabilityTopline {
    margin-bottom: 14px;
  }

  .accountabilityLayout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .accountabilityData {
    order: 2;
  }

  .accountabilityCopy {
    order: 1;
    justify-self: auto;
  }

  .accountabilityTitle {
    max-width: 11ch;
  }

  .accountabilityBody {
    max-width: 52ch;
  }

  .askTitle {
    max-width: none;
  }

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

  .documentaryCopy,
  .peopleStoryCopy {
    padding-left: 0;
  }

  .peopleStoryBody {
    max-width: 38ch;
  }

  .peopleStoryTitle {
    display: block;
  }

  .peopleStoryTitleLine {
    display: inline;
  }

  .documentaryLink {
    width: 100%;
  }

  .documentaryCopy .documentaryLink {
    display: none;
  }

  .documentaryLinkMobile {
    display: inline-flex;
  }

  .accountabilityHero {
    gap: 7px;
    padding: 2px 0 14px;
  }

  .accountabilityProgressNote {
    font-size: 0.78rem;
    line-height: 1.42;
  }
}

@media (max-width: 640px) {
  .challengeCountdown {
    text-align: center;
  }
}

@keyframes heroCursor {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}
