/* =========================================
   YEELEN LANDING PAGE
   Light, Sahel-inspired, editorial and optimistic.
========================================= */

:root {
  --site-paper: #fffaf5;
  --site-cream: #f7eee4;
  --site-sand: #dec0a0;
  --site-sand-deep: #c99873;

  --site-gold: #d6a14a;
  --site-gold-soft: #edc985;

  --site-terracotta: #a85b3b;
  --site-terracotta-dark: #7a4434;

  --site-acacia: #5f624c;
  --site-sky: #c9d1da;

  --site-ink: #2a1d19;
  --site-muted: #75635b;
  --site-border: #dcc9b8;

  --font-body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-display:
    "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 50px rgba(79, 48, 34, 0.11);

  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--site-ink);
  background: var(--site-paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.shell {
  width: min(calc(100% - 36px), var(--shell));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 12px;

  color: var(--site-acacia);

  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.11em;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

h1 {
  max-width: 850px;
  margin: 0;

  font-size: clamp(3.2rem, 9vw, 6.9rem);
  line-height: 0.91;
}

h2 {
  margin: 0;

  font-size: clamp(2.4rem, 6vw, 4.7rem);
  line-height: 0.96;
}

.section {
  padding: 82px 0;
}

.section--sand {
  background: var(--site-cream);
  border-block: 1px solid var(--site-border);
}

.section--cream {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(214, 161, 74, 0.16),
      transparent 27%
    ),
    var(--site-cream);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading > p:not(.kicker) {
  max-width: 650px;
  margin: 18px 0 0;

  color: var(--site-muted);

  font-size: 1.08rem;
  line-height: 1.65;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center > p:not(.kicker) {
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;

  border-bottom: 1px solid rgba(228, 211, 179, 0.78);

  background: rgba(255, 250, 245, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
}

.brand__mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand__word {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav__links a,
.site-footer nav a {
  color: var(--site-muted);
  text-decoration: none;

  font-size: 0.98rem;
  font-weight: 700;
}

.nav__links a:hover,
.site-footer nav a:hover {
  color: var(--site-ink);
}

/* Buttons */

.button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 21px;

  border: 1px solid transparent;
  border-radius: var(--radius-pill);

  text-align: center;
  text-decoration: none;

  font-weight: 800;

  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

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

.button--small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.95rem;
}

.button--gold {
  background: var(--site-gold);
  color: var(--site-ink);
  box-shadow: 0 10px 24px rgba(217, 165, 30, 0.22);
}

.button--ghost {
  border-color: var(--site-border);
  background: rgba(255, 255, 255, 0.66);
  color: var(--site-ink);
}

.button--dark {
  background: #241915;
  color: white;
}

.button--terracotta {
  background: var(--site-terracotta);
  color: white;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;

  padding: 98px 0 112px;

  background: linear-gradient(180deg, #fffaf5 0%, #f8eee6 67%, #ead4c3 100%);
}

.hero__sun {
  position: absolute;
  top: 38px;
  right: -85px;

  width: 360px;
  height: 360px;

  border-radius: 50%;

  background: rgba(214, 161, 74, 0.3);
  box-shadow:
    0 0 0 55px rgba(214, 161, 74, 0.075),
    0 0 0 115px rgba(168, 91, 59, 0.035);
}

.hero__grid {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 70px;
}

.hero__lead {
  max-width: 680px;
  margin: 27px 0 0;

  color: var(--site-muted);

  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 30px;
}

.hero__note {
  margin: 18px 0 0;

  color: var(--site-muted);

  font-size: 0.98rem;
  font-weight: 700;
}

.hero::after {
  content: "";
  position: absolute;
  right: -7%;
  bottom: -70px;
  width: 62%;
  height: 190px;
  pointer-events: none;
  opacity: 0.72;
  background: #8d513b;
  clip-path: polygon(
    0 78%,
    10% 70%,
    22% 73%,
    32% 52%,
    45% 51%,
    54% 31%,
    70% 34%,
    78% 15%,
    100% 11%,
    100% 100%,
    0 100%
  );
}

/* Hero card stack */

.hero-showcase {
  position: relative;
  min-height: 540px;
}

.mini-page {
  position: absolute;

  width: min(340px, 78vw);

  overflow: hidden;

  border: 1px solid rgba(111, 70, 54, 0.16);
  border-radius: 28px;

  background: white;
  box-shadow: var(--shadow-soft);
}

.mini-page img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.mini-page__body {
  display: grid;
  gap: 5px;
  padding: 20px 22px 24px;
}

.mini-page__body span {
  color: var(--site-acacia);

  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mini-page__body strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
}

.mini-page__body small {
  color: var(--site-muted);
  font-size: 0.9rem;
}

.mini-page--front {
  z-index: 2;
  top: 6px;
  left: 10px;

  transform: rotate(-3deg);
}

.mini-page--back {
  right: 0;
  bottom: 0;

  transform: rotate(5deg);
}

.mini-page--back img {
  object-position: center 20%;
}

/* Story */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 70px;
}

.story-copy {
  max-width: 650px;
}

.story-copy p {
  margin: 0 0 18px;

  color: var(--site-muted);

  font-size: 1.08rem;
  line-height: 1.72;
}

.story-copy strong {
  color: var(--site-terracotta-dark);
}

/* Examples carousel */

.section-heading--row {
  max-width: none;

  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading--row > div:first-child {
  max-width: 760px;
}

.carousel-buttons {
  display: flex;
  gap: 8px;
}

.carousel-button {
  width: 46px;
  height: 46px;

  border: 1px solid var(--site-border);
  border-radius: 50%;

  cursor: pointer;

  background: white;
  color: var(--site-ink);

  font-size: 1.15rem;
}

.example-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 46%);
  gap: 18px;

  overflow-x: auto;

  padding: 4px 4px 24px;

  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.example-carousel::-webkit-scrollbar {
  display: none;
}

.example-card {
  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);

  background: #fffaf5;
  box-shadow: 0 10px 28px rgba(78, 47, 33, 0.07);

  scroll-snap-align: start;
}

.example-card__visual {
  position: relative;

  height: 340px;
  overflow: hidden;

  background: var(--site-sand);
}

.example-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-card__visual--gambia img {
  object-position: center 24%;
}

.example-card__visual--mexico img {
  object-position: center 22%;
}

.example-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;

  padding: 8px 11px;

  border-radius: var(--radius-pill);

  background: rgba(255, 250, 245, 0.94);

  font-size: 0.8rem;
  font-weight: 800;
}

.example-card__body {
  padding: 24px;
}

.example-card__eyebrow {
  margin: 0 0 7px;

  color: var(--site-acacia);

  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.example-card h3 {
  margin: 0;

  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.example-card__body > p:not(.example-card__eyebrow) {
  min-height: 74px;
  margin: 14px 0 18px;

  color: var(--site-muted);

  line-height: 1.55;
}

.example-card__meta {
  display: flex;
  gap: 8px;

  margin-bottom: 18px;
}

.example-card__meta span {
  padding: 6px 9px;

  border-radius: var(--radius-pill);

  background: var(--site-cream);
  color: var(--site-muted);

  font-size: 0.8rem;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--site-terracotta-dark);

  font-weight: 800;
  text-decoration: none;
}

.example-card--possibility {
  display: grid;
  align-content: center;

  background:
    radial-gradient(
      circle at 72% 20%,
      rgba(217, 165, 30, 0.22),
      transparent 25%
    ),
    var(--site-cream);
}

.possibility-mark {
  padding: 34px 24px 0;
}

.possibility-mark svg {
  display: block;
  width: 92px;
  height: 92px;
}

/* Capabilities */

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

.capability-grid article {
  min-height: 230px;

  padding: 24px;

  border: 1px solid var(--site-border);
  border-radius: var(--radius-md);

  background: rgba(255, 253, 248, 0.82);
}

.capability-grid article > span {
  display: inline-grid;
  width: 35px;
  height: 35px;

  place-items: center;

  border-radius: 50%;

  background: var(--site-gold-soft);

  font-size: 0.75rem;
  font-weight: 800;
}

.capability-grid h3 {
  margin: 34px 0 10px;

  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}

.capability-grid p {
  margin: 0;

  color: var(--site-muted);

  line-height: 1.55;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;

  padding: 24px;

  border-top: 3px solid var(--site-gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);

  background: var(--site-cream);
}

.steps__number {
  display: inline-grid;
  width: 38px;
  height: 38px;

  place-items: center;

  border-radius: 50%;

  background: var(--site-terracotta);
  color: white;

  font-weight: 800;
}

.steps h3 {
  margin: 3px 0 8px;

  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
}

.steps p {
  margin: 0;

  color: var(--site-muted);

  line-height: 1.6;
}

/* Pricing */

.section--pricing {
  background: linear-gradient(180deg, #fffaf5 0%, #f5e8dd 50%, #e5c8b4 100%);
  border-top: 1px solid var(--site-border);
}

.fare-grid {
  max-width: 980px;
  margin-inline: auto;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.fare-card {
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  border: 2px solid var(--site-ink);
  border-radius: 18px;

  background: white;
}

.fare-card--featured {
  border-color: var(--site-terracotta-dark);
  box-shadow: var(--shadow-soft);
}

.fare-card__badge {
  position: absolute;
  top: 0;
  right: 0;

  padding: 10px 16px;

  border-radius: 0 0 0 14px;

  background: var(--site-terracotta-dark);
  color: white;

  font-size: 0.86rem;
  font-weight: 800;
}

.fare-card__header {
  padding: 30px 28px 22px;
  border-bottom: 1px solid var(--site-border);
}

.fare-card__label {
  margin: 0 0 8px;

  color: var(--site-acacia);

  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fare-card__header h3 {
  margin: 0;

  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.95;
}

.fare-card__header h3 span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
}

/* Launch pricing */

.fare-card__pricing {
  display: grid;
  gap: 5px;

  margin: 4px 0 0;
}

.fare-card__regular-price {
  margin: 0;

  color: var(--site-muted);

  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.fare-card__regular-price del {
  margin-left: 4px;

  color: #74645d;

  font-size: 1.2rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--site-terracotta);
}

.fare-card__promo-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.fare-card__promo-price strong {
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 9vw, 5rem);
  font-weight: 700;
  line-height: 0.92;

  color: var(--site-ink);
}

.fare-card__promo-price span {
  color: var(--site-muted);

  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fare-card__promo-note {
  width: fit-content;
  margin: 5px 0 0 !important;
  padding: 7px 10px;

  border-radius: 999px;

  background: rgba(214, 161, 74, 0.18);
  color: var(--site-terracotta-dark) !important;

  font-size: 0.82rem !important;
  font-weight: 800;
  line-height: 1.2 !important;
}

.fare-card--featured .fare-card__promo-note {
  background: rgba(168, 91, 59, 0.12);
}

.fare-card__header p:last-child {
  margin: 12px 0 0;

  color: var(--site-muted);

  line-height: 1.5;
}

.fare-list {
  flex: 1;

  display: grid;
  gap: 0;

  margin: 0;
  padding: 12px 28px 22px;

  list-style: none;
}

.fare-list li {
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: start;
  gap: 10px;

  padding: 11px 0;

  border-bottom: 1px solid #eee4d2;

  line-height: 1.35;
}

.fare-list li:last-child {
  border-bottom: 0;
}

.fare-list li > span {
  display: inline-grid;
  width: 24px;
  height: 24px;

  place-items: center;

  border-radius: 50%;

  font-size: 0.9rem;
  font-weight: 900;
}

.fare-list .is-included > span {
  background: #e2eee1;
  color: #4f6f4f;
}

.fare-list .is-not-included {
  color: #9a8c80;
}

.fare-list .is-not-included > span {
  background: #efeae3;
  color: #8a7d70;
}

.fare-card__footer {
  padding: 18px 28px 28px;
  border-top: 1px solid var(--site-border);
  background: #fffdf8;
}

.fare-card__footer .button {
  width: 100%;
}

.update-pack {
  max-width: 980px;
  margin: 22px auto 0;

  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 30px;

  padding: 25px 28px;

  border: 1px solid var(--site-border);
  border-radius: var(--radius-md);

  background: rgba(255, 253, 248, 0.8);
}

.update-pack h3 {
  margin: 0;

  font-family: var(--font-display);
  font-size: 2rem;
}

.update-pack > p {
  margin: 0;

  color: var(--site-muted);

  line-height: 1.6;
}

.pricing-note {
  max-width: 880px;
  margin: 16px auto 0;

  color: var(--site-muted);

  text-align: center;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Custom domain add-on */

.domain-addon {
  max-width: 980px;
  margin: 18px auto 0;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;

  padding: 24px 26px;

  border: 1px solid var(--site-border);
  border-radius: var(--radius-md);

  background:
    linear-gradient(135deg, rgba(214, 161, 74, 0.1), rgba(168, 91, 59, 0.08)),
    #fffaf5;
}

.domain-addon__icon {
  display: grid;
  width: 54px;
  height: 54px;

  place-items: center;

  border-radius: 50%;

  background: var(--site-gold);
  color: var(--site-ink);

  font-size: 1.6rem;
  font-weight: 800;
}

.domain-addon__copy h3 {
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1;
}

.domain-addon__copy > p:not(.kicker) {
  margin: 9px 0 0;

  color: var(--site-muted);

  font-size: 1rem;
  line-height: 1.58;
}

.domain-addon__copy strong {
  color: var(--site-terracotta-dark);
}

.domain-addon__note {
  font-size: 0.92rem !important;
  font-weight: 700;
}

.domain-addon__button {
  min-width: 220px;
}

@media (max-width: 760px) {
  .domain-addon {
    grid-template-columns: auto 1fr;
  }

  .domain-addon__button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .domain-addon {
    grid-template-columns: 1fr;
  }

  .domain-addon__icon {
    width: 48px;
    height: 48px;
  }
}

/* Final CTA */

.final-cta {
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(201, 209, 218, 0.55),
      transparent 30%
    ),
    linear-gradient(135deg, #f8eee6, #dfb897);
}

.final-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: 70px;
}

.final-cta__action p {
  margin: 0 0 20px;

  color: var(--site-muted);

  line-height: 1.65;
}

.final-cta__action small {
  display: block;
  margin-top: 12px;

  color: var(--site-muted);
  line-height: 1.5;
}

/* Footer */

.site-footer {
  padding: 34px 0;

  background: #241915;
  color: #fff8eb;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand--footer .brand__word {
  color: #fff8eb;
}

.site-footer p {
  margin: 0;

  color: #d4c6b7;

  text-align: center;
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer nav a {
  color: #d4c6b7;
}

/* Accessibility */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--site-sky);
  outline-offset: 4px;
}

/* Responsive */

@media (max-width: 860px) {
  .nav {
    grid-template-columns: auto 1fr;
  }

  .nav__links {
    display: none;
  }

  .nav > .button {
    justify-self: end;
  }

  .hero {
    padding-top: 72px;
  }

  .hero__grid,
  .story-grid,
  .final-cta__grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-showcase {
    min-height: 500px;
  }

  .mini-page--front {
    left: 5%;
  }

  .mini-page--back {
    right: 6%;
  }

  .capability-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fare-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .update-pack {
    max-width: 620px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header .button--small {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.78rem;
  }

  .brand__word {
    font-size: 1.28rem;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    padding: 58px 0 76px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .hero__lead {
    font-size: 1.02rem;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .mini-page {
    width: 72%;
  }

  .mini-page img {
    height: 245px;
  }

  .mini-page--front {
    left: 0;
  }

  .mini-page--back {
    right: 0;
  }

  .section-heading--row {
    align-items: start;
  }

  .carousel-buttons {
    display: none;
  }

  .example-carousel {
    grid-auto-columns: 88%;
  }

  .example-card__visual {
    height: 300px;
  }

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

  .capability-grid article {
    min-height: auto;
  }

  .fare-card__header,
  .fare-list,
  .fare-card__footer {
    padding-inline: 21px;
  }

  .fare-card__header h3 {
    font-size: 3rem;
  }

  .update-pack {
    padding: 21px;
  }

  .final-cta__grid {
    gap: 28px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

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

  .button {
    transition: none;
  }
}
