/* Design tokens (from Figma: DigitalNerd HQ / Style System) */
:root {
  --primary-50: #e8e7ec;
  --primary-100: #b7b5c4;
  --primary-200: #9591a8;
  --primary-500: #180f41;
  --primary-900: #0a061b;
  --secondary-50: #fdedee;
  --secondary-500: #ef4d50;
  --green-200: #1fc16b;
  --neutral-200: #e8e8e8;
  --off-white-50: #fefefe;
  --off-white-100: #fcfdfd;
  --off-white-700: #afafaf;
  --off-white-800: #878888;
  --border-muted: #b5b5b5;
  --card-fill: rgba(102, 102, 102, 0.1);

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-button: "Geist", "Inter", system-ui, sans-serif;

  --container: 960px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--primary-500);
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Typography */
.eyebrow {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  color: var(--secondary-500);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -1.28px;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.92px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.section-head--wide { gap: 12px; }
.section-head--wide .h2 { max-width: 614px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn img { width: 16px; height: 16px; flex-shrink: 0; }

.btn--pill {
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-button);
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
}

.btn--red { background: var(--secondary-500); color: #fff; }
.btn--navy { background: var(--primary-500); color: var(--primary-50); padding-block: 10px; }

.btn--plan {
  width: 100%;
  min-width: 64px;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 12px;
}

.btn--plan-light { background: var(--secondary-50); color: var(--primary-500); }
.btn--plan-red { background: var(--secondary-500); color: var(--primary-50); }

/* Nav */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1029px, 100% - 2 * var(--gutter));
  margin: 20px auto 0;
  padding: 8px 0;
}

.nav__logo img { width: 89px; height: 44px; object-fit: cover; }

.nav__links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--off-white-100);
}

.nav__links a:hover { color: var(--secondary-500); }

/* Hero */
/* The hero fade is wider than the image; keep it from widening the page */
main { overflow-x: clip; }

.hero {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin: 80px auto 0;
  padding-block: 40px;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.members { display: flex; align-items: center; gap: 8px; }
.members__avatars { display: flex; }

.members__avatars img {
  width: 32px;
  height: 32px;
  border: 1px solid var(--off-white-50);
  border-radius: 52px;
  object-fit: cover;
}

.members__avatars img + img { margin-left: -12px; }

.members p {
  font-weight: 500;
  font-size: 12px;
  color: var(--off-white-700);
}

.hero__title {
  max-width: 592px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -2.56px;
  color: #f6f7f7;
}

.hero__lead {
  max-width: 656px;
  margin-bottom: 2px; /* 26px total gap to the button */
  font-weight: 500;
  font-size: 15px;
  color: var(--primary-100);
}

.hero__showcase {
  position: relative;
  margin-top: 100px;
}

.hero__frame {
  position: relative;
  aspect-ratio: 960 / 647;
  overflow: hidden;
}

.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__slide--fit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

/* Crop of the screenshot as framed in Figma */
.hero__slide:not(.hero__slide--fit) img {
  position: absolute;
  left: -0.04%;
  top: -1.38%;
  width: 119.41%;
  max-width: none;
  height: 102.84%;
}

.hero__fade {
  position: absolute;
  left: 50%;
  top: 59.5%;
  width: 125%;
  height: 57.8%;
  transform: translateX(-50%);
  background: linear-gradient(to top, var(--primary-500) 37.788%, rgba(24, 15, 65, 0) 89.033%);
  pointer-events: none;
}

.hero__arrows {
  position: absolute;
  left: 50%;
  top: 51.8%;
  width: calc(100% + 64px);
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.hero__arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 4px;
  border: 1px solid #fff;
  border-radius: 99px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.32) 15.139%, rgba(26, 26, 26, 0.4));
  cursor: pointer;
  pointer-events: auto;
}

.hero__arrow img { width: 24px; height: 24px; }

.hero__dots {
  position: absolute;
  left: 50%;
  top: 90.6%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #fac8c9;
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.hero__dot.is-active { width: 64px; background: var(--secondary-500); }

/* Proof */
.proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  margin-top: 80px;
  padding: 80px var(--gutter);
  background: #fff;
}

.proof .h2 { color: var(--primary-900); }
.proof__title { max-width: 310px; }
.proof .section-head { gap: 3.2px; }

.proof__row {
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.proof__row--1 { gap: 48px; align-items: flex-start; }
.proof__row--2 { gap: 42px; align-items: flex-start; }
.proof__row--3 { gap: 100px; align-items: center; }

.proof__row img {
  width: var(--w);
  height: auto;
  min-width: 0;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding-block: 80px;
  background: #000;
}

.testimonials .section-head { gap: 4px; padding-inline: var(--gutter); }
.testimonials__title { max-width: 543px; }

.testimonials__track {
  display: flex;
  gap: 20px;
  width: 100%;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonials__track::-webkit-scrollbar { display: none; }

/* Auto margins centre the cards when they fit, without clipping the start when they scroll */
.testimonials__track > :first-child { margin-left: auto; }
.testimonials__track > :last-child { margin-right: auto; }

/* Member videos are portrait, so the cards are portrait too */
.testimonial-card {
  position: relative;
  flex: 0 0 min(306px, 75vw);
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 24px;
  background: var(--card-fill);
  scroll-snap-align: center;
}

.testimonial-card video,
.testimonial-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.testimonial-card figcaption {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 24px 48px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.testimonial-card figcaption strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.92px;
}

.testimonial-card figcaption span { font-size: 15px; color: var(--off-white-700); }

/* Who it's for */
.who {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px var(--gutter);
  background: #000;
}

.who .section-head { margin-bottom: 24px; } /* 64px to cards */

.who__cards {
  display: flex;
  gap: 20px;
}

.who-card {
  width: 470px;
  min-height: 355px;
  padding: 63px 30px 40px;
  border: 1px solid;
  border-radius: 24px;
  background: var(--card-fill);
}

.who-card--yes { border-color: var(--green-200); }
.who-card--no { border-color: var(--secondary-500); }

.who-card__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  font-size: 15px;
}

.who-card--no .who-card__list { margin-top: 39px; }

.who-card__list li { display: flex; align-items: center; gap: 8px; }
.who-card__list img { width: 20px; height: 20px; flex-shrink: 0; }

.who__quote { font-size: 15px; text-align: center; }

/* What's inside */
.inside {
  display: flex;
  flex-direction: column;
  gap: 72px;
  width: min(1040px, 100% - 2 * var(--gutter));
  margin: 80px auto 0;
}

.inside__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 12px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 360px;
  padding: 32px 20px;
  overflow: hidden;
  border: 1px solid;
  border-radius: 12px;
}

.feature--top { border-color: var(--primary-200); }
.feature--bottom { border-color: var(--border-muted); }

.feature__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.feature__text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.72px;
}

.feature__text p { font-size: 12px; }
.feature--top .feature__text p { color: var(--neutral-200); }
.feature--bottom .feature__text p { color: var(--off-white-700); }

/* Concentric ring icon */
.ring { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.ring > span { position: absolute; border-radius: 50%; }

.ring__l1 {
  inset: 0;
  background: linear-gradient(to bottom, rgba(204, 204, 204, 0.1), rgba(204, 204, 204, 0));
}

.ring__l2 {
  inset: 0;
  border: 1px solid rgba(181, 181, 181, 0.3);
  background: linear-gradient(to bottom, rgba(204, 204, 204, 0.1), rgba(204, 204, 204, 0));
}

.ring__l3 {
  inset: 12px;
  border: 1px solid rgba(181, 181, 181, 0.3);
  background: linear-gradient(to bottom, rgba(102, 102, 102, 0.2), rgba(204, 204, 204, 0));
}

.ring__core {
  inset: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(181, 181, 181, 0.3);
  background: rgba(102, 102, 102, 0.3);
}

.ring__core img { width: 28px; height: 28px; }
.ring__core .ring__cash { width: 24px; height: 24px; }

/* Monetize Skills orbit */
.orbit { position: relative; width: 236.4px; height: 195px; flex-shrink: 0; }
.orbit .ring--center { position: absolute; left: 52.2px; top: 63px; }

.sat {
  position: absolute;
  display: grid;
  place-items: center;
  width: 43.2px;
  height: 43.2px;
  border: 0.6px solid var(--primary-200);
  border-radius: 50%;
  background: rgba(102, 102, 102, 0.2);
}

.sat img { width: 28.8px; height: 28.8px; }
.sat .sat__sm { width: 24px; height: 24px; }

/* Tile grid icon */
.tiles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 284.2px;
  flex-shrink: 0;
}

.tiles__row { display: flex; justify-content: center; gap: 5px; }

.tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 43.2px;
  height: 43.2px;
  border: 0.6px solid var(--primary-200);
  border-radius: 4px;
}

.tile img { width: 24px; height: 24px; }
.tiles--muted .tile { border-color: var(--off-white-800); }
.tile--glow { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(153, 153, 153, 0)); }
.tile--glow img { width: 28.8px; height: 28.8px; }

/* Rounded-square icon */
.squircle {
  position: relative;
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  overflow: hidden;
  border: 1px solid rgba(181, 181, 181, 0.3);
  border-radius: 24px;
  background: linear-gradient(to bottom, rgba(204, 204, 204, 0.1), rgba(204, 204, 204, 0));
}

.squircle img { position: absolute; left: 51.7px; top: 51.7px; width: 28.8px; height: 28.8px; }

/* Pricing */
.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  width: min(1040px, 100% - 2 * var(--gutter));
  margin: 80px auto;
}

.pricing__plans { display: flex; align-items: flex-start; gap: 20px; }

.plan {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 323.333px;
  padding: 24px;
  border: 0.4px solid var(--primary-50);
  border-radius: 6px;
  background: rgba(51, 51, 51, 0.1);
}

.plan--featured {
  border-color: #ef6a6c;
  box-shadow: 0 0 40px rgba(239, 106, 108, 0.42);
}

.plan__head { display: flex; flex-direction: column; gap: 6px; color: var(--primary-50); }

.plan__name {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}

.plan__badge {
  padding: 3px 6px;
  border-radius: 8px;
  background: var(--secondary-500);
  font-size: 12px;
}

.plan__price { display: flex; align-items: flex-end; gap: 6px; white-space: nowrap; }

.plan__price strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.92px;
}

.plan__price span { font-size: 15px; color: #fff; }

.plan__features { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.plan__features li { display: flex; align-items: flex-start; gap: 8px; }
.plan__features img { width: 20px; height: 20px; flex-shrink: 0; }

/* FAQ + footer share the white backdrop behind the footer's rounded corners */
/* Stacked cards: each panel pins once its bottom reaches the viewport and the next one slides over it.
   `top` is set per panel in script.js so panels taller than the screen still pin at their bottom edge. */
[data-stack] {
  position: sticky;
  top: 0;
  transform-origin: center top;
  will-change: transform;
}

.pricing[data-stack] { z-index: 1; }
.faq[data-stack] { z-index: 2; }
.footer[data-stack] { z-index: 3; }

.faq,
.footer { box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.18); }

.faq {
  border-radius: 64px 64px 0 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
  padding: 60px var(--gutter) 230px;
  color: var(--primary-900);
}

.faq__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.faq__eyebrow { font-weight: 500; font-size: 19px; color: var(--secondary-500); }

.faq__list { display: flex; flex-direction: column; gap: 20px; width: min(783px, 100%); }

.faq__item {
  border-bottom: 1px solid var(--neutral-200);
  border-radius: 12px;
  background: var(--card-fill);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.92px;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary img { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s ease; }
.faq__item[open] summary img { transform: rotate(180deg); }

.faq__item p {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

/* Footer */
.footer {
  padding: 80px var(--gutter);
  border-radius: 64px 64px 0 0;
  background: var(--secondary-500);
  color: #000;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 67px;
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.newsletter { display: flex; flex-direction: column; align-items: center; gap: 42px; }

.newsletter__title {
  max-width: 450px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 45px;
  line-height: 1;
  letter-spacing: -1.8px;
  text-align: center;
}

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

.newsletter__form input {
  width: 360px;
  padding: 18px 24px;
  border: 1px solid var(--border-muted);
  border-radius: 50px;
  background: #fff;
  color: #000;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.48px;
}

.newsletter__form input::placeholder { color: #000; }
.newsletter__form input:focus { outline: 2px solid var(--primary-500); outline-offset: 2px; }

.footer__links {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
}

.footer__cols { display: flex; gap: 64px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }

.footer__heading {
  margin-bottom: 12px; /* 20px total below heading */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.64px;
}

.footer a:hover { text-decoration: underline; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
  font-size: 12px;
}

.footer__legal { display: flex; gap: 20px; }

.footer__socials { display: flex; gap: 12px; }

.footer__socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99px;
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer__socials a:hover { background: #fff; color: var(--secondary-500); }

/* Checkout modal */
.checkout {
  width: min(488px, 100% - 2 * var(--gutter));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #333;
}

.checkout::backdrop {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.checkout__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--neutral-200);
}

.checkout__head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.92px;
}

.checkout__close {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.checkout__close img { width: 24px; height: 24px; }

.checkout__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px;
}

.checkout__row { display: flex; gap: 20px; }
.checkout__row .field { flex: 1 1 0; min-width: 0; }

.field { display: flex; flex-direction: column; gap: 4px; }

.field span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.64px;
}

.field input {
  width: 100%;
  padding: 16px;
  border: 1px solid #a4a4a4;
  border-radius: 6px;
  color: #333;
  font-family: var(--font-body);
  font-size: 15px;
}

.field input::placeholder { color: #777; }
.field input:focus { outline: 2px solid var(--secondary-500); outline-offset: -1px; border-color: transparent; }

.checkout__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 4px; /* 24px total above the button */
  padding: 14px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--secondary-500);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.64px;
}

.checkout__submit:hover { filter: brightness(1.08); }
.checkout__submit img { width: 24px; height: 24px; }

/* Thank-you page (Paystack redirects here after payment) */
.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 100vh;
  padding: 48px var(--gutter);
}

.thanks__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(560px, 100%);
  padding: 48px 32px;
  border: 1px solid var(--border-muted);
  border-radius: 32px;
  background: var(--card-fill);
  text-align: center;
}

.thanks__check {
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  padding: 16px;
  border: 2px solid rgba(31, 193, 107, 0.25);
  border-radius: 50%;
  background: rgba(31, 193, 107, 0.1);
}

.thanks__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -1.76px;
  color: #fff;
}

.thanks__title span { color: var(--secondary-500); }

.thanks__lead { margin-top: 16px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }

.thanks__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 40px;
}

.thanks__perks li {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.thanks__step {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary-500);
}

.thanks__cta { width: 100%; padding-block: 16px; font-size: 17px; }
.thanks__home { margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, 0.6); text-decoration: underline; }

@media (max-width: 600px) {
  .thanks__card { padding: 40px 20px; }
  .thanks__title { font-size: 34px; letter-spacing: -1.36px; }
}

/* Wide screens: shrink the testimonial cards so they all fit in one row */
@media (min-width: 1280px) {
  .testimonial-card { flex: 1 1 0; max-width: 306px; }
}

/* Responsive */
@media (max-width: 1100px) {
  .who__cards { flex-direction: column; width: min(470px, 100%); }
  .who-card { width: 100%; }
  .proof__row { flex-wrap: wrap; gap: 24px; }
  .proof__row img { width: min(var(--w), 42vw); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .inside__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__plans { flex-direction: column; align-items: center; }
  .footer__links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hero { margin-top: 48px; }
  .hero__title { font-size: 44px; letter-spacing: -1.76px; }
  .hero__showcase { margin-top: 56px; }
  .hero__arrows { width: calc(100% - 16px); }
  .hero__arrow { width: 40px; height: 40px; }
  .hero__arrow img { width: 20px; height: 20px; }
  .hero__dot.is-active { width: 40px; }
  .h2 { font-size: 26px; letter-spacing: -1.04px; }
  .inside__grid { grid-template-columns: 1fr; }
  .plan { width: 100%; }
  .faq { padding-bottom: 120px; }
  .faq__item summary { font-size: 18px; letter-spacing: -0.72px; }
  .newsletter__title { font-size: 34px; letter-spacing: -1.36px; }
  .newsletter__form { flex-direction: column; width: 100%; }
  .newsletter__form input { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .who-card { padding: 40px 20px; }
  .who-card__list li { align-items: flex-start; }
  .checkout__row { flex-direction: column; }

  /* Swipe rows: lay cards side by side and scroll sideways, edge to edge, with the next card peeking in */
  .proof__row,
  .who__cards,
  .inside__grid,
  .pricing__plans {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    width: calc(100% + 2 * var(--gutter));
    max-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .proof__row::-webkit-scrollbar,
  .who__cards::-webkit-scrollbar,
  .inside__grid::-webkit-scrollbar,
  .pricing__plans::-webkit-scrollbar { display: none; }

  .proof { gap: 32px; }
  .proof__row { align-items: center; }
  .proof__row img { flex: none; width: auto; height: var(--row-h); border-radius: 8px; scroll-snap-align: start; }
  .proof__row--1 { --row-h: 260px; }
  .proof__row--2 { --row-h: 200px; }
  .proof__row--3 { --row-h: 300px; }

  .who-card,
  .plan { flex: 0 0 85%; scroll-snap-align: start; }
  .feature { flex: 0 0 80%; scroll-snap-align: start; }
}
