:root {
  color-scheme: light;
  --brand: #e1547b;
  --accent: #fa6c8d;
  --ink: #342832;
  --muted: #806373;
  --line: #f2e3e9;
  --bg: #fbf7fa;
  --paper: #ffffff;
  --mint: #29a788;
  --blue: #5474d8;
  --shadow: 0 22px 70px rgba(59, 35, 48, 0.12);
}

.challenge-landing {
  padding-top: clamp(24px, 4vw, 42px);
}

.challenge-landing-hero {
  display: grid;
  min-height: clamp(430px, 62vw, 620px);
  align-items: end;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #2d1e29, #e1547b);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.challenge-landing-copy {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: clamp(28px, 6vw, 62px);
  color: #fff;
}

.challenge-landing-copy .eyebrow {
  color: #ffd6e1;
}

.challenge-landing-copy h2 {
  margin: 0;
  font-size: clamp(36px, 7vw, 76px);
  line-height: 0.94;
}

.challenge-landing-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.challenge-landing-meta,
.challenge-actions,
.challenge-link-row,
.challenge-countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.challenge-landing-meta span,
.challenge-countdown span,
.challenge-countdown b {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 7px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.challenge-countdown span {
  background: rgba(255, 255, 255, 0.2);
}

.challenge-landing-body {
  display: grid;
  gap: clamp(22px, 4vw, 36px);
  padding-top: clamp(26px, 5vw, 48px);
}

.challenge-section-block {
  display: grid;
  gap: 16px;
}

.challenge-section-block h3,
.challenge-form-wrap h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
}

.challenge-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.challenge-info-card,
.challenge-faq-item,
.challenge-form-wrap {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 16px 46px rgba(59, 35, 48, 0.08);
}

.challenge-info-card {
  display: grid;
  gap: 9px;
  min-height: 150px;
  align-content: start;
  padding: 20px;
}

.challenge-info-card strong {
  font-size: 18px;
}

.challenge-info-card span,
.challenge-faq-item p,
.challenge-form-result span {
  color: var(--muted);
  line-height: 1.55;
}

.challenge-faq-list {
  display: grid;
  gap: 12px;
}

.challenge-faq-item {
  padding: 18px 20px;
}

.challenge-faq-item summary {
  cursor: pointer;
  font-weight: 800;
}

.challenge-faq-item p {
  margin: 12px 0 0;
}

.challenge-link-row {
  align-items: center;
}

.challenge-form-wrap {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
}

.challenge-form-wrap[hidden] {
  display: none;
}

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

.challenge-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.challenge-form input,
.challenge-form select,
.challenge-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: 0;
}

.challenge-form textarea {
  min-height: 120px;
  resize: vertical;
}

.challenge-form .wide {
  grid-column: 1 / -1;
}

.challenge-consent {
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
}

.challenge-consent input {
  width: 18px;
  height: 18px;
}

.challenge-honeypot {
  position: absolute;
  left: -10000px;
}

.challenge-form-result {
  display: grid;
  gap: 8px;
}

.challenge-form-result a {
  width: fit-content;
  color: var(--brand);
  font-weight: 900;
}

.successText {
  color: var(--mint);
}

.errorText {
  color: #d0354f;
}

@media (max-width: 780px) {
  .challenge-landing {
    padding-inline: 14px;
  }

  .challenge-landing-hero {
    border-radius: 24px;
  }

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

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

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 22px);
  padding: 14px clamp(16px, 5vw, 64px);
  border-bottom: 1px solid rgba(242, 227, 233, 0.82);
  background: rgba(251, 247, 250, 0.86);
  backdrop-filter: blur(22px);
}

.brand,
.actions,
.nav,
.language {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  font-size: 19px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.nav {
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.actions {
  gap: 12px;
}

.language {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.language button {
  padding: 8px 11px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.language button.active {
  background: var(--brand);
  color: #fff;
}

.admin-link,
.store-link,
.primary,
.secondary,
.tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 11px 17px;
  font-weight: 800;
}

.admin-link,
.store-link,
.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.store-link {
  min-height: 36px;
  padding: 8px 13px;
  color: var(--brand);
  font-size: 13px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(34px, 7vw, 92px);
  overflow: hidden;
  min-height: min(760px, calc(100svh - 96px));
  padding: clamp(38px, 6vw, 72px) clamp(18px, 7vw, 92px) clamp(28px, 5vw, 58px);
  background: #fbf7fa;
}

.hero::before {
  position: absolute;
  inset: auto -8vw -32vw auto;
  width: min(62vw, 720px);
  aspect-ratio: 1;
  content: "";
  background: url("./assets/icon.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.hero-copy,
.hero-device {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7.2vw, 88px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.04;
}

.hero-text,
.section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 28px;
}

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

.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 36px rgba(225, 84, 123, 0.22);
}

.tertiary {
  min-height: 38px;
  padding: 9px 4px;
  color: var(--muted);
}

.hero-device {
  display: grid;
  justify-items: center;
  flex: 0 0 min(34vw, 326px);
  min-width: 282px;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 340px);
}

.phone-shell {
  position: relative;
  width: min(100%, 318px);
  aspect-ratio: 1284 / 2778;
  border: clamp(8px, 1vw, 11px) solid #211a20;
  border-radius: clamp(34px, 4vw, 54px);
  background: #211a20;
  box-shadow:
    0 38px 76px rgba(59, 35, 48, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: clamp(30px, 3.6vw, 48px);
  background: #fff;
}

.carousel-btn {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(225, 84, 123, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand);
  box-shadow: 0 14px 28px rgba(59, 35, 48, 0.13);
  cursor: pointer;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.carousel-btn:hover {
  background: #fff;
  box-shadow: 0 18px 34px rgba(59, 35, 48, 0.18);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel-btn.prev {
  left: -22px;
}

.carousel-btn.next {
  right: -22px;
}

.screen-slider {
  position: absolute;
  inset: 0;
}

.screen-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  transition: opacity 700ms ease, transform 900ms ease;
  transform: translateX(10px);
}

.screen-slider img.active {
  opacity: 1;
  transform: translateX(0);
}

.screen-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}

.screen-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #e9d4dd;
  transition: width 260ms ease, background-color 260ms ease;
}

.screen-dots .active {
  width: 22px;
  background: var(--brand);
}

.section {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 7vw, 92px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  align-items: center;
  gap: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stats,
.cards,
.steps {
  display: grid;
  gap: 16px;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
}

.stats div,
.cards article,
.steps div {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(59, 35, 48, 0.05);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 24px;
}

.stats span {
  color: var(--muted);
  line-height: 1.45;
}

.cards {
  grid-template-columns: repeat(2, 1fr);
}

.cards article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cards article:first-child {
  background: #fff;
}

.cards article:last-child {
  background: #f7fffc;
}

.seo-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.seo-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff8fb;
  color: var(--brand);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
}

.tag {
  width: fit-content;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff0f4;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.tag.mint {
  background: #e9fbf5;
  color: var(--mint);
}

.timeline {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1fr);
  gap: 34px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.steps span {
  color: var(--blue);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 20px;
}

.steps p {
  margin-bottom: 0;
  font-size: 15px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 7vw, 92px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.support-page {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 7vw, 92px) clamp(54px, 8vw, 96px);
}

.support-hero {
  max-width: 900px;
}

.support-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.support-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(59, 35, 48, 0.05);
}

.support-card-wide {
  grid-column: 1 / -1;
}

.support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff0f4;
  color: var(--brand);
  font-weight: 800;
}

.support-card h2 {
  font-size: 24px;
}

.support-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.support-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.support-card a {
  color: var(--brand);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro,
  .timeline,
  .seo-section,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    display: grid;
    justify-items: center;
    min-height: auto;
    text-align: center;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
  }

  .hero-device {
    width: min(100%, 318px);
  }

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

@media (max-width: 560px) {
  .site-header {
    position: static;
    padding: 14px 16px;
  }

  .actions {
    width: auto;
    margin-left: auto;
  }

  .hero,
  .section,
  .support-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 38px;
    line-height: 1;
  }

  .hero-text,
  .section p {
    font-size: 16px;
  }

  .nav {
    gap: 10px;
    font-size: 13px;
  }

  .admin-link,
  .store-link,
  .primary,
  .secondary,
  .tertiary {
    min-height: 40px;
    padding: 10px 14px;
  }

  .hero-device {
    min-width: 0;
    width: min(100%, 250px);
  }

  .phone-stage {
    width: min(100%, 250px);
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .carousel-btn.prev {
    left: -14px;
  }

  .carousel-btn.next {
    right: -14px;
  }

  .cards article {
    min-height: 260px;
  }

  .stats div,
  .cards article,
  .steps div,
  .support-card {
    padding: 18px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer div {
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .brand span {
    display: none;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
  }
}
