/* Closer to home (Ria) landing — Ria orange, peach and FinComBank teal, aligned with the campaign banners */
.cth-landing {
  --cth-orange: #ff6200;
  --cth-orange-deep: #e55400;
  --cth-peach: #ffdcc8;
  --cth-peach-soft: #fff3ec;
  --cth-teal: #11a39b;
  --cth-teal-deep: #0b7f79;
  --cth-mint-soft: #eef7f7;
  --cth-ink: #141414;
  --cth-muted: #545a62;
  --cth-line: rgba(20, 20, 20, 0.1);
  --cth-soft: #f6f7f8;
  --cth-white: #ffffff;
  --cth-radius: 24px;
  --cth-radius-sm: 14px;
  --cth-shadow: 0 18px 44px rgba(20, 20, 20, 0.09);
  --cth-max: 1120px;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--cth-ink);
  line-height: 1.6;
  background: var(--cth-white);
  overflow-x: clip;
}

.cth-landing *,
.cth-landing *::before,
.cth-landing *::after {
  box-sizing: border-box;
}

.cth-landing img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cth-landing :where(h1, h2, h3, p, ul, ol) {
  margin: 0;
  padding: 0;
}

.cth-landing :where(ul, ol) {
  list-style: none;
}

html:has(.cth-landing) {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:has(.cth-landing) {
    scroll-behavior: auto;
  }
}

.cth-container {
  width: min(100% - 32px, var(--cth-max));
  margin-inline: auto;
}

.cth-landing section[id] {
  scroll-margin-top: 108px;
}

.cth-landing [data-cth-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  transition-delay: calc(var(--cth-i, 0) * 80ms);
}

.cth-landing [data-cth-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cth-landing [data-cth-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Banner */
.cth-banner {
  display: block;
  line-height: 0;
  text-decoration: none !important;
  background: var(--cth-white);
}

.cth-banner .header-banner-desktop,
.cth-banner .header-banner-mobile {
  width: 100%;
  height: auto;
}

.cth-banner .header-banner-mobile {
  display: none;
}

@media only screen and (max-width: 576px) {
  .cth-banner .header-banner-desktop {
    display: none;
  }

  .cth-banner .header-banner-mobile {
    display: block;
  }
}

/* Type */
.cth-eyebrow {
  margin: 0 0 0.6rem !important;
  color: var(--cth-orange-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cth-eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.cth-section {
  padding: clamp(3.25rem, 6vw, 4.75rem) 0;
}

.cth-section__head {
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.cth-section__head--center {
  margin-inline: auto;
  text-align: center;
}

.cth-section__title {
  color: var(--cth-ink);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cth-section__lead {
  margin-top: 0.75rem !important;
  color: var(--cth-muted);
  font-size: 1.05rem;
}

/* Buttons — site link styles must not leak in */
.cth-landing .cth-btn,
.cth-landing .cth-btn:hover,
.cth-landing .cth-btn:visited,
.cth-landing .cth-btn:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  background-image: none;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.cth-landing .cth-btn:hover {
  transform: translateY(-1px);
}

.cth-landing .cth-btn:focus-visible {
  outline: 3px solid var(--cth-teal);
  outline-offset: 3px;
}

.cth-landing .cth-btn--primary,
.cth-landing .cth-btn--primary:visited {
  background-color: var(--cth-orange);
  border-color: var(--cth-orange);
  color: var(--cth-white) !important;
}

.cth-landing .cth-btn--primary:hover,
.cth-landing .cth-btn--primary:active {
  background-color: var(--cth-orange-deep);
  border-color: var(--cth-orange-deep);
  color: var(--cth-white) !important;
}

.cth-landing .cth-btn--ghost,
.cth-landing .cth-btn--ghost:visited {
  background-color: transparent;
  border-color: rgba(20, 20, 20, 0.22);
  color: var(--cth-ink) !important;
}

.cth-landing .cth-btn--ghost:hover,
.cth-landing .cth-btn--ghost:active {
  background-color: var(--cth-white);
  border-color: var(--cth-ink);
  color: var(--cth-ink) !important;
}

.cth-landing .cth-btn--light,
.cth-landing .cth-btn--light:visited {
  background-color: var(--cth-white);
  border-color: var(--cth-white);
  color: var(--cth-ink) !important;
}

.cth-landing .cth-btn--light:hover,
.cth-landing .cth-btn--light:active {
  background-color: var(--cth-peach-soft);
  border-color: var(--cth-peach-soft);
  color: var(--cth-ink) !important;
}

/* Hero */
.cth-hero {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(255, 98, 0, 0.14), transparent 60%),
    radial-gradient(ellipse 45% 80% at 0% 100%, rgba(17, 163, 155, 0.1), transparent 60%),
    var(--cth-peach-soft);
  text-align: center;
}

.cth-hero__inner {
  max-width: 48rem;
  margin-inline: auto;
}

.cth-hero__title {
  margin: 0 0 1.15rem !important;
  color: var(--cth-ink);
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cth-hero__title em {
  font-style: normal;
  color: var(--cth-orange);
  white-space: nowrap;
}

.cth-hero__lead {
  max-width: 44rem;
  margin: 0 auto 1.75rem !important;
  color: var(--cth-muted);
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.cth-nowrap {
  white-space: nowrap;
}

.cth-period {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.9rem;
  padding: 0.75rem 1.4rem 0.75rem 0.8rem;
  border-radius: 999px;
  background: var(--cth-white);
  border: 1px solid rgba(255, 98, 0, 0.22);
  box-shadow: 0 10px 26px rgba(255, 98, 0, 0.1);
  text-align: left;
}

.cth-period__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--cth-white);
  background: var(--cth-orange);
}

.cth-period__icon svg {
  width: 22px;
  height: 22px;
}

.cth-period__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.cth-period__label {
  color: var(--cth-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.cth-period__text strong {
  color: var(--cth-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.cth-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Prizes */
.cth-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  max-width: 1040px;
  margin-inline: auto;
  border-radius: calc(var(--cth-radius) + 4px);
  background: var(--cth-white);
  border: 1px solid var(--cth-line);
  box-shadow: var(--cth-shadow);
  overflow: hidden;
}

/* The source image has a white frame around the peach panel (≈4.2% left, 4.3% right, 7.1% top); it is cropped away here */
.cth-showcase__media {
  position: relative;
  min-width: 0;
  background: #ffddc9;
  overflow: hidden;
}

.cth-showcase__media::before {
  content: "";
  display: block;
  padding-top: 63.4%;
}

.cth-landing .cth-showcase__media img {
  position: absolute;
  left: -4.54%;
  bottom: 0;
  width: 109.2%;
  max-width: none;
  height: auto;
  clip-path: inset(7.2% 0 0 0);
}

.cth-showcase__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.cth-badge {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: var(--cth-white);
  background: var(--cth-orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cth-showcase__title {
  margin-bottom: 0.25rem !important;
  color: var(--cth-ink);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cth-showcase__text {
  color: var(--cth-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.cth-showcase__monthly {
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: var(--cth-radius-sm);
  background: var(--cth-mint-soft);
  border: 1px solid rgba(17, 163, 155, 0.18);
}

.cth-showcase__label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--cth-teal-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cth-showcase__amount {
  margin-bottom: 0.15rem !important;
  color: var(--cth-ink);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}

.cth-showcase__amount small {
  color: var(--cth-teal-deep);
  font-size: 0.55em;
  letter-spacing: 0;
}

.cth-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.95rem !important;
}

.cth-month {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  background: var(--cth-white);
  border: 1px solid rgba(17, 163, 155, 0.16);
  text-align: center;
}

.cth-month__name {
  color: var(--cth-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.cth-month__value {
  color: var(--cth-teal-deep);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

/* How to participate */
.cth-join {
  background: var(--cth-soft);
}

.cth-channels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: center;
  max-width: 880px;
  margin-inline: auto;
}

.cth-channel {
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: var(--cth-radius);
  background: var(--cth-white);
  border: 1px solid var(--cth-line);
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.05);
  text-align: center;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.cth-channel:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 98, 0, 0.35);
  box-shadow: var(--cth-shadow);
}

.cth-channel__icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  border-radius: 18px;
  color: var(--cth-orange);
  background: var(--cth-peach-soft);
}

.cth-channel__icon svg {
  width: 28px;
  height: 28px;
}

.cth-channel__title {
  margin-bottom: 0.35rem !important;
  color: var(--cth-ink);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cth-channel__text {
  color: var(--cth-muted);
  font-size: 0.98rem;
}

.cth-channels__or {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--cth-white);
  background: var(--cth-ink);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cth-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 880px;
  margin: 1.75rem auto 0 !important;
  padding: 1rem 1.25rem;
  border-radius: var(--cth-radius-sm);
  color: var(--cth-teal-deep);
  background: rgba(17, 163, 155, 0.1);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
}

.cth-note__check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--cth-white);
  background: var(--cth-teal);
}

.cth-note__check svg {
  width: 18px;
  height: 18px;
}

/* iPhone conditions */
.cth-grand__card {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: calc(var(--cth-radius) + 6px);
  color: var(--cth-white);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, var(--cth-teal) 0%, var(--cth-teal-deep) 100%);
  box-shadow: 0 24px 56px rgba(11, 127, 121, 0.25);
  overflow: hidden;
}

.cth-grand__head {
  max-width: 46rem;
}

.cth-grand__title {
  margin-bottom: 0.9rem !important;
  color: var(--cth-white);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cth-grand__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.7;
}

.cth-grand__lead strong {
  color: var(--cth-white);
  font-weight: 800;
}

.cth-grand__done {
  display: inline-block;
  margin-top: 1.75rem !important;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  color: var(--cth-ink);
  background: var(--cth-white);
  font-weight: 800;
}

/* Close */
.cth-close {
  padding: clamp(3.25rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  background: var(--cth-peach);
  text-align: center;
}

.cth-close__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.cth-close__title {
  max-width: 18em;
  margin: 0 0 1.75rem !important;
  color: var(--cth-ink);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.cth-close__title::before,
.cth-close__title::after {
  content: none !important;
  display: none !important;
}

.cth-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 900px) {
  .cth-showcase {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .cth-channels {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .cth-channel {
    width: 100%;
  }

  .cth-showcase__monthly {
    padding: 1rem 0.85rem;
  }

  .cth-months {
    gap: 0.4rem;
  }

  .cth-month {
    padding: 0.55rem 0.3rem;
  }

  .cth-month__name {
    font-size: 0.8rem;
  }

  .cth-period {
    border-radius: var(--cth-radius-sm);
  }

  .cth-hero__actions,
  .cth-close__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .cth-hero__actions .cth-btn,
  .cth-close__actions .cth-btn {
    width: 100%;
  }

  .cth-grand__done {
    border-radius: var(--cth-radius-sm);
  }
}
