/* ==========================================================================
 * www.gymprofit-plationline.ro stylesheet. BEM, states prefixed `is-`, mobile first.
 * Sections 1-7 match the hub stylesheet; the landing sections follow.
 *
 * Contents:
 *  1. Fonts                     11. Calculator and results
 *  2. Tokens                    12. Testimonials
 *  3. Reset                     13. Frequently asked questions
 *  4. Layout and utilities      14. Dictionary
 *  5. Buttons                   15. Resources block
 *  6. Header and menus          16. Lead form
 *  7. Footer                    17. Mobile action bar
 *  8. Hero                      18. Consent
 *  9. Benefits and club sizes   19. Video modal
 * 10. Education sections        20. Animations
 * ========================================================================== */

/* ====== 1. FONTS ========================================================= */
/* Poppins, self hosted. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url(vendor/fonts/poppins-300.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(vendor/fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(vendor/fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(vendor/fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(vendor/fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url(vendor/fonts/poppins-800.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 900; font-display: swap; src: url(vendor/fonts/poppins-900.woff2) format("woff2"); }

/* ====== 2. TOKENS ======================================================== */
:root {
  /* The GymProfit palette */
  --gp-ink:        #020617;   /* hero background, headlines */
  --gp-ink-2:      #050a15;   /* the market reality card */
  --gp-ink-3:      #081b2e;   /* the GymProfit solution card */
  --gp-ink-4:      #081026;   /* the UPfit.plus button */
  --gp-primary:    #0f172a;   /* dark section background */
  --gp-blue-brand: #16659c;
  --gp-blue-deep:  #0f4c75;   /* the active accordion pill */
  --gp-cyan-btn:   #00a6e2;
  --gp-cyan-btn-h: #0095cc;
  --gp-surface:    #f8fafc;
  --gp-emerald:    #059669;

  /* The slate scale, at the steps used */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Accents */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --cyan-50:  #ecfeff;
  --cyan-100: #cffafe;
  --cyan-200: #a5f3fc;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --cyan-900: #164e63;
  --teal-100: #ccfbf1;
  --teal-300: #5eead4;
  --teal-700: #0f766e;
  --indigo-100: #e0e7ff;
  --indigo-700: #4338ca;
  --indigo-900: #1e3a8a;
  --sky-100:  #e0f2fe;
  --sky-700:  #0369a1;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-700: #047857;
  --emerald-900: #065f46;
  --green-100: #dcfce7;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --amber-500: #f59e0b;
  --red-400:  #f87171;
  --red-600:  #dc2626;
  --purple-400: #c084fc;
  --purple-500: #a855f7;

  /* The Antrenamente de Business palette. */
  --adb-orange:  #ff7a19;
  --adb-magenta: #ed34d5;
  --adb-blue:    #1e7aef;
  --adb-red:     #ff0000;

  /* Gradients */
  --gp-grad-cta:       linear-gradient(to right, #0099dd, #00e0ff);
  --gp-grad-cta-hover: linear-gradient(to right, #0088cc, #00ccee);
  --gp-grad-heading:   linear-gradient(to right, var(--blue-600), var(--cyan-500));
  --gp-grad-hero:      linear-gradient(to right, var(--blue-400), var(--cyan-400), var(--teal-300));
  --gp-grad-adb:       linear-gradient(to right, var(--adb-orange), var(--adb-magenta), var(--adb-blue));

  /* Layout */
  --gp-container: 80rem;     /* page container */
  --gp-scroll-offset: 8rem;  /* anchor offset, so a target clears the fixed header */
  --gp-r-lg:   0.5rem;
  --gp-r-xl:   0.75rem;
  --gp-r-2xl:  1rem;
  --gp-r-3xl:  1.5rem;
  --gp-r-4xl:  2rem;
  --gp-r-5xl:  2.5rem;
  --gp-r-pill: 9999px;
}

/* The landing's own accent, next to the GymProfit palette. */
:root {
  --lp-accent:   #a78bfa;
  --lp-accent-2: #7c3aed;
}

/* ====== 3. RESET ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* Smooth scrolling for anchor links. */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--slate-50);
  color: var(--slate-900);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Focus ring for card links. */
.hub-card:focus-visible,
.router__link:focus-visible,
.closing__link:focus-visible,
.network-card:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
  border-radius: var(--gp-r-2xl);
}

::selection { background: var(--cyan-400); color: var(--gp-ink); }

/* Anchor targets clear the fixed header. */
[id] { scroll-margin-top: var(--gp-scroll-offset); }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ====== 4. LAYOUT AND UTILITIES ========================================== */
.container {
  width: 100%;
  max-width: var(--gp-container);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { position: relative; padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

.section--white   { background: #fff; }
.section--light   { background: var(--slate-50); }
.section--surface { background: var(--gp-surface); }
.section--ink     { background: var(--gp-ink); }
.section--primary { background: var(--gp-primary); }
.section--black   { background: #000; }
.section--clip    { overflow: hidden; }

/* Section heads sit above the decorative glows. */
.section__head {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}
@media (min-width: 768px) { .section__head { margin-bottom: 4rem; } }

/* Tighter section spacing. */
.section--tight { padding: 3rem 0; }
@media (min-width: 768px) { .section--tight { padding: 4rem 0; } }

/* Minor section head: smaller and left aligned. */
.section__head--minor {
  max-width: 44rem;
  margin: 0 0 2rem;
  text-align: left;
}
.section__title--minor { margin-bottom: 0.75rem; font-size: 1.5rem; }
@media (min-width: 768px) { .section__title--minor { font-size: 2rem; } }
.section__lead--minor { margin: 0; font-size: 1rem; }

/* Long leads are left aligned on mobile. */
.section__lead--start { text-align: left; }
@media (min-width: 768px) { .section__lead--start { text-align: center; } }

.eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--gp-r-pill);
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section__title {
  margin-bottom: 1.5rem;
  color: var(--gp-ink);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .section__title { font-size: 3rem; } }

.section__lead {
  max-width: 48rem;
  margin: 0 auto;
  color: var(--slate-500);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
}

/* Gradient text, with a solid colour fallback. */
.u-grad { color: var(--blue-600); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .u-grad {
    background-image: var(--gp-grad-heading);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.u-br { display: none; }
@media (min-width: 768px) { .u-br { display: block; } }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* A thin scrollbar. */
.gp-scroll { scrollbar-width: thin; scrollbar-color: var(--slate-300) transparent; }
.gp-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.gp-scroll::-webkit-scrollbar-track { background: transparent; }
.gp-scroll::-webkit-scrollbar-thumb { border-radius: var(--gp-r-pill); background: var(--slate-300); }
.gp-scroll::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }

.gp-scroll--dark { scrollbar-color: rgb(255 255 255 / 0.2) transparent; }
.gp-scroll--dark::-webkit-scrollbar-thumb { background: rgb(255 255 255 / 0.2); }
.gp-scroll--dark::-webkit-scrollbar-thumb:hover { background: rgb(255 255 255 / 0.3); }

/* Decorative background glows. Less blur on mobile. */
.glow {
  position: absolute;
  border-radius: var(--gp-r-pill);
  pointer-events: none;
  filter: blur(60px);
  transform: translateZ(0);
}
@media (min-width: 768px) { .glow { filter: blur(100px); } }

/* ====== 5. BUTTONS ======================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--gp-r-xl);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: background-color .3s, background-image .3s, box-shadow .3s, transform .3s, color .3s;
}
.btn__arrow { transition: transform .3s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Button roles: primary (gradient), secondary (outlined), tertiary (link with arrow). */
.btn--primary {
  border-radius: var(--gp-r-2xl);
  background-image: var(--gp-grad-cta);
  color: var(--gp-ink);
  box-shadow: 0 0 30px rgb(6 182 212 / 0.4);
  letter-spacing: 0.025em;
}
.btn--primary:hover {
  background-image: var(--gp-grad-cta-hover);
  box-shadow: 0 0 40px rgb(6 182 212 / 0.6);
  transform: translateY(-4px);
}

/* Secondary buttons take their colour from the section. */
.btn--secondary {
  border: 1px solid currentColor;
  border-radius: var(--gp-r-2xl);
  background: transparent;
  color: var(--gp-ink);
}
.btn--secondary:hover { background: rgb(2 6 23 / 0.06); }
.section--ink .btn--secondary,
.section--primary .btn--secondary,
.closing .btn--secondary { color: #fff; }
.section--ink .btn--secondary:hover,
.section--primary .btn--secondary:hover,
.closing .btn--secondary:hover { background: rgb(255 255 255 / 0.1); }

.btn--block { width: 100%; }
@media (min-width: 640px) { .btn--block { width: auto; } }

/* ====== 6. HEADER AND MENUS ============================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 1rem;
  transition: padding .3s;
}
@media (min-width: 768px) { .site-header { padding: 1.5rem 1rem; } }
.site-header.is-scrolled { padding: 0.5rem 1rem; }

.site-header__pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--gp-container);
  padding: 0.5rem 1.5rem;
  border: 1px solid #fff;
  border-radius: var(--gp-r-pill);
  /* Opaque header background. */
  background: #fff;
  box-shadow: 0 20px 25px -5px rgb(2 6 23 / 0.1);
}
@media (min-width: 768px) { .site-header__pill { padding: 0.5rem 2rem; } }

.site-header__logo { flex-shrink: 0; display: flex; align-items: center; min-height: 2.75rem; }
.site-header__logo img { width: auto; height: 40px; transition: height .3s; }
@media (min-width: 768px) { .site-header__logo img { height: 60px; } }

/* Scrolled header: a full width bar on mobile, a pill on larger screens. */
@media (max-width: 767px) {
  .site-header.is-scrolled { padding: 0; }
  .site-header.is-scrolled .site-header__pill {
    border-radius: 0 0 var(--gp-r-3xl) var(--gp-r-3xl);
    border-top: 0;
  }
}

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 1rem; }
}
@media (min-width: 1280px) { .nav { gap: 2rem; } }

.nav__link {
  color: var(--slate-700);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s;
}
.nav__link:hover { color: var(--blue-500); }
/* Current page link. */
.nav__link.is-current { color: var(--blue-700); }
@media (min-width: 1024px) and (max-width: 1279px) { .nav__link { letter-spacing: 0.04em; } }
@media (min-width: 1280px) { .nav__link { font-size: 0.75rem; } }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }

/* --- The network mega menu --- */
/* Mega menu, on desktop widths. */
.network { position: relative; display: none; }
@media (min-width: 1024px) { .network { display: block; } }

.network__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem 0.625rem 1.25rem;
  border: 1px solid var(--blue-600);
  border-radius: var(--gp-r-pill);
  background: var(--blue-600);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgb(59 130 246 / 0.3);
  transition: background-color .2s, border-color .2s;
}
.network__toggle:hover { background: var(--blue-700); }
.network__toggle[aria-expanded="true"] {
  border-color: var(--slate-900);
  background: var(--slate-900);
}

.network__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem; height: 1.5rem;
  border-radius: var(--gp-r-pill);
  background: rgb(255 255 255 / 0.2);
  transition: transform .2s;
}
.network__chevron .icon { width: 0.75rem; height: 0.75rem; }
.network__toggle[aria-expanded="true"] .network__chevron { transform: rotate(180deg); }

.network__panel {
  position: absolute;
  top: 100%; right: 0;
  z-index: 10;
  width: 600px;
  /* Keeps the panel inside the viewport. */
  max-width: calc(100vw - 2rem);
  margin-top: 1rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--gp-r-3xl);
  background: #fff;
  box-shadow: 0 20px 60px -15px rgb(0 0 0 / 0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem) scale(0.95);
  transform-origin: top right;
  transition: opacity .3s, transform .3s, visibility .3s;
}
@media (min-width: 1024px) { .network__panel { width: 850px; } }
.network__panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.network__body { padding: 2rem; }

.network__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-100);
}

.network__eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--slate-400);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Panel label. */
.network__title {
  color: var(--slate-900);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.network__all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  border-radius: var(--gp-r-lg);
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.network__all:hover { background: var(--blue-100); color: var(--blue-700); }
.network__all .icon { width: 0.75rem; height: 0.75rem; transition: transform .2s; }
.network__all:hover .icon { transform: translateX(4px); }

/* Three column grid. */
.network__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  max-height: 60vh;
  padding-right: 0.5rem;
  overflow-y: auto;
}

.network-card { display: block; padding-left: 0; transition: padding-left .3s; }
.network-card:hover { padding-left: 0.5rem; }

.network-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.network-card__title {
  color: var(--slate-900);
  font-size: 1rem;
  font-weight: 700;
  transition: color .2s;
}
.network-card:hover .network-card__title { color: var(--blue-600); }

.network-card__out {
  width: 1rem; height: 1rem;
  color: var(--slate-300);
  opacity: 0;
  transition: opacity .2s, color .2s;
}
.network-card:hover .network-card__out { opacity: 1; color: var(--blue-500); }

.network-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
  color: var(--slate-500);
  font-size: 0.875rem;
  line-height: 1.6;
  transition: color .2s;
}
.network-card:hover .network-card__desc { color: var(--slate-600); }

.network-card__tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--gp-r-lg);
  background: var(--slate-50);
  color: var(--slate-600);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: background-color .2s, border-color .2s, color .2s;
}
.network-card:hover .network-card__tag {
  border-color: var(--blue-100);
  background: var(--blue-50);
  color: var(--blue-700);
}

.network__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  border-top: 1px solid var(--slate-100);
  background: var(--slate-50);
  color: var(--slate-500);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.network__live { display: flex; align-items: center; gap: 0.5rem; }
.network__dot {
  width: 0.375rem; height: 0.375rem;
  border-radius: var(--gp-r-pill);
  background: var(--green-500);
  animation: gp-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}

/* --- The mobile toggle and panel --- */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  color: var(--gp-ink);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: flex; }

/* The card scrolls, with a fade at the edge. */
.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  display: none;
  flex-direction: column;
  max-height: 78vh;
  margin-top: 0.5rem;
  padding: 0 1rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0;
  height: 2.5rem;
  border-radius: 0 0 var(--gp-r-3xl) var(--gp-r-3xl);
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), #fff);
  pointer-events: none;
}
@media (min-width: 1024px) { .mobile-menu, .mobile-menu.is-open { display: none; } }

.mobile-menu__card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  padding: 1.25rem 1.25rem 2.5rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--gp-r-3xl);
  background: #fff;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  overflow-y: auto;
}

.mobile-menu__link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--gp-r-xl);
  color: var(--slate-600);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mobile-menu__link:hover { background: var(--slate-50); color: var(--blue-500); }

/* Site list in two columns. */
.mobile-menu__group { padding-top: 0.75rem; border-top: 1px solid var(--slate-100); }
.mobile-menu__sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }

.mobile-menu__label {
  margin-bottom: 0.5rem;
  padding: 0 1rem;
  color: var(--slate-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-menu__site {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: var(--gp-r-lg);
  color: var(--slate-700);
  font-size: 0.875rem;
  font-weight: 500;
}
.mobile-menu__site:hover { background: var(--slate-50); color: var(--blue-500); }

/* ====== 7. FOOTER ======================================================== */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--slate-200);
  background: var(--slate-100);
  color: var(--slate-800);
}

/* Network links. */
.footer__network {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--slate-300);
}
.footer__network-label {
  margin-bottom: 0.75rem;
  color: var(--slate-600);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__network-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.125rem 1rem;
}
@media (min-width: 768px)  { .footer__network-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer__network-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--slate-700);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color .2s;
}
.footer__network-list a:hover { color: var(--blue-600); }

/* Publisher row. */
.footer__publisher { color: var(--slate-700); font-weight: 400; }
.footer__publisher strong { font-weight: 700; }
.footer__publisher a {
  color: var(--blue-700);
  font-weight: 600;
  border-bottom: 1px solid var(--blue-200);
  transition: color .2s, border-color .2s;
}
.footer__publisher a:hover { color: var(--blue-800); border-color: var(--blue-600); }

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  text-align: center;
}
.footer__logo { width: auto; height: 2.5rem; margin-bottom: 2rem; }

.footer__pitch {
  max-width: 32rem;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
  color: var(--slate-700);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.7;
}
@media (min-width: 768px) { .footer__pitch { font-size: 1rem; } }

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-300);
  color: var(--slate-600);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}
@media (min-width: 768px) {
  .footer__legal { flex-direction: row; justify-content: space-between; gap: 1rem; }
  .footer__legal-left { text-align: left; }
}

.footer__legal-left { display: flex; flex-direction: column; gap: 0.25rem; }
.footer__legal-left > p:first-child { color: var(--slate-700); }

/* Inline text with a link. */
.footer__made {
  color: var(--slate-600);
  font-weight: 400;
}
@media (min-width: 768px) { .footer__made { text-align: left; } }
.footer__made a { color: var(--slate-700); border-bottom: 1px solid var(--slate-300); transition: color .2s, border-color .2s; }
.footer__made a:hover { color: var(--blue-600); border-color: var(--blue-600); }
.footer__heart {
  display: inline-block;
  vertical-align: -0.05em;
  margin: 0 0.15em;
  color: var(--red-600);
  font-size: 0.75rem;
}

.footer__links { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
@media (min-width: 640px) { .footer__links { flex-direction: row; gap: 1.5rem; } }
/* Footer links as touch targets. */
.footer__links a, .footer__consent {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 600;
  transition: color .2s;
}
.footer__links a:hover, .footer__consent:hover { color: var(--blue-600); }
.footer__consent { text-decoration: underline; text-underline-offset: 3px; }

/* ====== 8. HERO ========================================================== */
.hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: var(--gp-ink);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 9rem 0 6rem; } }
@media (min-width: 1024px) { .hero { padding-top: 12rem; } }

.hero__glow--top {
  top: 0; left: 50%;
  width: 100%; height: 600px;
  transform: translateX(-50%) translateZ(0);
  background: rgb(37 99 235 / 0.2);
}
.hero__glow--bottom {
  right: 0; bottom: 0;
  width: 500px; height: 500px;
  background: rgb(6 182 212 / 0.15);
}

/* The decorative grid. */
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.375rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--gp-r-pill);
  background: rgb(15 23 42 / 0.9);
  box-shadow: 0 10px 15px -3px rgb(59 130 246 / 0.1);
  color: var(--cyan-300);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero__dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: var(--gp-r-pill);
  background: var(--cyan-400);
  box-shadow: 0 0 10px var(--cyan-400);
  animation: gp-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}

.hero__title {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  /* Text shadow for legibility over the gradient. */
  filter: drop-shadow(0 4px 4px rgb(0 0 0 / 0.5));
}
@media (min-width: 640px)  { .hero__title { font-size: 2.25rem; } }
@media (min-width: 768px)  { .hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 4.5rem; } }

.u-grad--hero { color: var(--cyan-300); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .u-grad--hero { background-image: var(--gp-grad-hero); color: transparent; }
}

/* --- Subtitle --- */
/* Left aligned on mobile. */
.hero__sub {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  color: var(--slate-300);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  text-align: left;
}
.hero__sub strong { color: #fff; font-weight: 600; }
@media (min-width: 768px) { .hero__sub { font-size: 1.25rem; text-align: center; } }

/* --- Calls to action --- */
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }

.hero__cta { justify-content: space-between; font-size: 1rem; }
@media (min-width: 640px) { .hero__cta { min-width: 280px; } }
@media (min-width: 768px) { .hero__cta { padding: 1rem 2rem; font-size: 1.125rem; } }
.hero__cta-label { display: inline-flex; align-items: center; gap: 0.75rem; }
.hero__cta-label .icon { width: 1.5rem; height: 1.5rem; }

.hero__video { font-size: 1rem; }
@media (min-width: 640px) { .hero__video { min-width: 240px; } }
@media (min-width: 768px) { .hero__video { font-size: 1.125rem; } }
.hero__video-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--gp-r-pill);
  background: rgb(255 255 255 / 0.1);
  transition: background-color .2s;
}
.hero__video-play .icon { width: 0.875rem; height: 0.875rem; }
.hero__video:hover .hero__video-play { background: var(--cyan-500); }

/* --- Proof line --- */
.hero__proof {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 auto 3.5rem;
  color: var(--slate-400);
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
}
.hero__proof strong { color: var(--slate-200); font-weight: 600; }
.hero__proof-icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; color: var(--cyan-400); }
@media (min-width: 768px) { .hero__proof { font-size: 0.875rem; } }

/* --- The three pillars --- */
.hero__pillars-title {
  margin-bottom: 1.5rem;
  color: var(--slate-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Centred through .hero__inner. */
.hero__pillars {
  display: grid;
  gap: 1.5rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .hero__pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Pillars as rows on mobile. */
/* The icon spans both rows; the text takes the remaining width. */
.hero-pillar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.875rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid;
  border-radius: var(--gp-r-2xl);
  text-align: left;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.hero-pillar__icon { grid-row: 1 / span 2; }
@media (min-width: 768px) {
  .hero-pillar {
    display: block;
    padding: 2rem;
    border-radius: var(--gp-r-3xl);
    text-align: center;
  }
  .hero-pillar__icon { grid-row: auto; }
}
.hero-pillar:hover { transform: translateY(-4px); }

.hero-pillar__accent {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  opacity: 0.5;
  transition: opacity .3s;
}
.hero-pillar:hover .hero-pillar__accent { opacity: 1; }

.hero-pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid;
  border-radius: var(--gp-r-xl);
  transition: background-color .3s;
}
.hero-pillar__icon .icon { width: 1.25rem; height: 1.25rem; }
@media (min-width: 768px) {
  .hero-pillar__icon {
    width: 3.5rem; height: 3.5rem;
    margin: 0 auto 1.25rem;
    border-radius: var(--gp-r-2xl);
  }
  .hero-pillar__icon .icon { width: 1.75rem; height: 1.75rem; }
}

.hero-pillar__title {
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .hero-pillar__title { margin-bottom: 0.75rem; font-size: 1.25rem; } }

.hero-pillar__text {
  color: var(--slate-300);
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.55;
}
@media (min-width: 768px) { .hero-pillar__text { font-size: 0.875rem; line-height: 1.7; } }
.hero-pillar__em { font-weight: 500; }

.hero-pillar--blue {
  border-color: rgb(59 130 246 / 0.2);
  background-image: linear-gradient(to bottom, rgb(30 58 138 / 0.2), var(--gp-ink));
}
.hero-pillar--blue:hover { border-color: rgb(59 130 246 / 0.4); box-shadow: 0 10px 15px -3px rgb(59 130 246 / 0.1); }
.hero-pillar--blue .hero-pillar__accent { background-image: linear-gradient(to right, transparent, var(--blue-500), transparent); }
.hero-pillar--blue .hero-pillar__icon { border-color: rgb(59 130 246 / 0.2); background: rgb(59 130 246 / 0.1); color: var(--blue-400); box-shadow: 0 0 15px rgb(59 130 246 / 0.15); }
.hero-pillar--blue:hover .hero-pillar__icon { background: rgb(59 130 246 / 0.2); }
.hero-pillar--blue .hero-pillar__em { color: var(--blue-200); }

.hero-pillar--cyan {
  border-color: rgb(6 182 212 / 0.2);
  background-image: linear-gradient(to bottom, rgb(14 116 144 / 0.2), var(--gp-ink));
}
.hero-pillar--cyan:hover { border-color: rgb(6 182 212 / 0.4); box-shadow: 0 10px 15px -3px rgb(6 182 212 / 0.1); }
.hero-pillar--cyan .hero-pillar__accent { background-image: linear-gradient(to right, transparent, var(--cyan-400), transparent); }
.hero-pillar--cyan .hero-pillar__icon { border-color: rgb(6 182 212 / 0.2); background: rgb(6 182 212 / 0.1); color: var(--cyan-400); box-shadow: 0 0 15px rgb(6 182 212 / 0.15); }
.hero-pillar--cyan:hover .hero-pillar__icon { background: rgb(6 182 212 / 0.2); }
.hero-pillar--cyan .hero-pillar__em { color: var(--cyan-200); }

.hero-pillar--emerald {
  border-color: rgb(16 185 129 / 0.2);
  background-image: linear-gradient(to bottom, rgb(6 95 70 / 0.2), var(--gp-ink));
}
.hero-pillar--emerald:hover { border-color: rgb(16 185 129 / 0.4); box-shadow: 0 10px 15px -3px rgb(16 185 129 / 0.1); }
.hero-pillar--emerald .hero-pillar__accent { background-image: linear-gradient(to right, transparent, var(--emerald-500), transparent); }
.hero-pillar--emerald .hero-pillar__icon { border-color: rgb(16 185 129 / 0.2); background: rgb(16 185 129 / 0.1); color: var(--emerald-400); box-shadow: 0 0 15px rgb(16 185 129 / 0.15); }
.hero-pillar--emerald:hover .hero-pillar__icon { background: rgb(16 185 129 / 0.2); }
.hero-pillar--emerald .hero-pillar__em { color: var(--emerald-200); }

/* --- The landing accent in the hero --- */
.lp-pill {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: var(--gp-r-pill);
  background-image: linear-gradient(to right, var(--lp-accent), #c4b5fd);
  color: var(--gp-ink);
  font-weight: 800;
}
.lp-grad { color: var(--lp-accent); }
.lp-grad--light { color: var(--lp-accent-2); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .lp-grad {
    background-image: linear-gradient(to right, var(--cyan-400), var(--teal-300) 45%, var(--lp-accent) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .lp-grad--light { background-image: linear-gradient(to right, var(--blue-600), var(--lp-accent-2)); }
}

/* --- The hero of the inner pages --- */
.page-hero {
  position: relative;
  padding: 7.5rem 0 2.5rem;
  border-bottom: 1px solid var(--slate-200);
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--slate-50) 100%);
  overflow: hidden;
}
@media (min-width: 768px) { .page-hero { padding: 10rem 0 3.5rem; } }

.page-hero__glow { top: -8rem; left: 50%; width: 40rem; height: 24rem; transform: translateX(-50%) translateZ(0); background: rgb(6 182 212 / 0.18); }
.page-hero .hero__grid-overlay {
  opacity: 0.5;
  background-image:
    linear-gradient(rgb(37 99 235 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(37 99 235 / 0.06) 1px, transparent 1px);
}
.page-hero__inner { position: relative; z-index: 1; }

.page-hero__title {
  margin-bottom: 0.75rem;
  color: var(--gp-ink);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .page-hero__title { font-size: 3rem; } }

.page-hero__lead {
  max-width: 44rem;
  color: var(--slate-600);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}
@media (min-width: 768px) { .page-hero__lead { font-size: 1.125rem; } }

/* --- The checks under the lead --- */
.hero__checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin: 1.5rem 0 3rem; }
.hero__checks li { display: inline-flex; gap: 0.5rem; align-items: center; color: var(--slate-300); font-size: 0.9375rem; font-weight: 500; }
.hero__checks .icon { width: 1.125rem; height: 1.125rem; color: var(--lp-accent); }

/* ====== 9. BENEFITS AND CLUB SIZES ====================================== */
/* Section leads on light grounds, darker than the hub's for contrast; dark sections set their own. */
.section__lead { color: var(--slate-600); }

/* --- Benefit cards --- */
.levers { display: grid; gap: 1rem; }
@media (min-width: 640px)  { .levers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .levers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lever { padding: 1.5rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-3xl); background: #fff; }
.lever__icon { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: var(--gp-r-xl); }
.lever__icon--money  { background: #fff7ed; color: #c2410c; }
.lever__icon--people { background: var(--emerald-100); color: var(--emerald-700); }
.lever__icon--ops    { background: var(--blue-50); color: var(--blue-700); }
.lever__title { margin-bottom: 0.5rem; color: var(--gp-ink); font-size: 1.0625rem; font-weight: 700; }
.lever p { color: var(--slate-600); font-size: 0.9375rem; line-height: 1.65; }

/* --- What changes by club size --- */
.sizes { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.size { position: relative; display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-3xl); background: #fff; }
.size--featured { border: 2px solid var(--blue-200); background: var(--blue-50); }
.size__badge { position: absolute; top: 0; right: 0; padding: 0.25rem 0.75rem; border-radius: 0 1.375rem 0 var(--gp-r-xl); background: var(--blue-700); color: #fff; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.size__head { display: flex; gap: 0.75rem; align-items: center; }
.size__icon { display: inline-flex; width: 2.5rem; height: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border: 1px solid var(--slate-200); border-radius: 50%; background: #fff; color: var(--blue-700); }
.size__icon .icon { width: 1.25rem; height: 1.25rem; }
.size__title { color: var(--gp-ink); font-size: 1.125rem; font-weight: 700; }
.size__list { display: grid; flex: 1; gap: 0.625rem; align-content: start; }
.size__list li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--slate-700); font-size: 0.9375rem; line-height: 1.5; }
.size__check { flex-shrink: 0; margin-top: 0.125rem; color: var(--emerald-500); }
.size__result { padding: 1rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-xl); background: var(--slate-50); color: var(--gp-ink); font-weight: 700; text-align: center; }
.size--featured .size__result { border-color: var(--blue-100); background: #fff; }
.size__result-label { display: block; margin-bottom: 0.25rem; color: var(--slate-600); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ====== 10. EDUCATION SECTIONS =========================================== */
/* --- The consultation offer --- */
.audit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 1.75rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-4xl); background: #fff; }
.audit > * { min-width: 0; }
@media (min-width: 768px)  { .audit { padding: 3rem; } }
@media (min-width: 1024px) { .audit { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 3rem; } }
.audit__lead { margin-bottom: 1.25rem; color: var(--slate-600); font-size: 1.0625rem; line-height: 1.7; }
.audit__list-title { margin-bottom: 0.75rem; color: var(--gp-ink); font-weight: 700; }
.audit__list { display: grid; gap: 0.625rem; }
.audit__list li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--slate-700); line-height: 1.55; }
.audit__tick { display: inline-flex; width: 1.5rem; height: 1.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--emerald-100); color: var(--emerald-700); }
.audit__tick .icon { width: 0.875rem; height: 0.875rem; }
.audit__card { display: grid; gap: 0.75rem; padding: 1.75rem; border-radius: var(--gp-r-3xl); background: var(--gp-ink); }
.audit__card-title { color: #fff; font-size: 1.25rem; font-weight: 800; }
.audit__card-text { color: var(--slate-300); line-height: 1.65; }
.audit__cta { margin-top: 0.5rem; }
.audit__list--rich li { font-size: 0.9375rem; }
.audit__item-title { display: block; margin-bottom: 0.125rem; color: var(--gp-ink); font-size: 1.0625rem; }
.audit__card-note { color: var(--slate-400); font-size: 0.8125rem; }

/* --- Myths --- */
.myths { display: grid; gap: 1rem; }
.myth { display: grid; overflow: hidden; border: 1px solid var(--slate-200); border-radius: var(--gp-r-3xl); }
@media (min-width: 768px) { .myth { grid-template-columns: 1fr 1.4fr; } }
.myth__old { padding: 1.25rem 1.5rem; background: var(--slate-50); }
.myth__real { padding: 1.25rem 1.5rem; background: #fff; }
.myth__label { margin-bottom: 0.375rem; color: var(--slate-500); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.myth__label--real { color: var(--emerald-700); }
.myth__old .myth__text { color: var(--slate-500); font-style: italic; }
.myth__real .myth__text { color: var(--gp-ink); font-weight: 500; }
.myth__text { font-size: 0.9375rem; line-height: 1.6; }

/* --- Security rules --- */
.gdpr { padding: 1.75rem; border: 1px solid var(--blue-100); border-radius: var(--gp-r-4xl); background: var(--blue-50); }
@media (min-width: 768px) { .gdpr { padding: 3rem; } }
.gdpr__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2rem; }
.gdpr__head .section__title--minor { margin-bottom: 0.5rem; }
.gdpr__icon { display: inline-flex; width: 3rem; height: 3rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: var(--gp-r-2xl); background: #fff; color: var(--blue-600); }
/* --- Free guides --- */
.ebook__glow--tl { top: -10%; left: -10%; width: 40%; height: 40%; background: rgb(219 234 254 / 0.5); }
.ebook__glow--br { right: -10%; bottom: -10%; width: 40%; height: 40%; background: rgb(207 250 254 / 0.5); }

.ebook {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--gp-r-4xl);
  background: #fff;
  box-shadow: 0 20px 50px -12px rgb(0 0 0 / 0.05);
  text-align: center;
}
@media (min-width: 640px) { .ebook { padding: 2.5rem; } }
@media (min-width: 768px) { .ebook { padding: 5rem; border-radius: var(--gp-r-5xl); } }

.ebook__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--blue-100);
  border-radius: var(--gp-r-pill);
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ebook__badge .icon { width: 1rem; height: 1rem; }

.ebook__lead { margin-bottom: 2.5rem; }

.ebook__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.ebook__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--gp-r-xl);
  background: var(--slate-50);
  color: var(--gp-ink);
  font-size: 0.875rem;
  font-weight: 600;
}
@media (min-width: 768px) { .ebook__pill { padding: 0.75rem 1.5rem; } }
.ebook__pill .icon { width: 1.25rem; height: 1.25rem; color: var(--blue-500); }

.ebook__cta { margin: 0 auto; }
@media (min-width: 768px) { .ebook__cta { padding: 1rem 2.5rem; } }
.ebook__note { margin-top: 1rem; color: var(--slate-500); font-size: 0.8125rem; }

/* --- The consultation card icon --- */
.audit__card-icon { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: var(--gp-r-xl); background: var(--gp-primary); color: var(--lp-accent); }
.audit__card-icon .icon { width: 1.5rem; height: 1.5rem; }

/* --- The system timeline: a line with markers, steps alternating sides on wide screens --- */
.timeline { position: relative; display: grid; gap: 3rem; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1.5rem; width: 2px; background: var(--slate-200); }
.tl { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-left: 4.5rem; }
.tl__text, .tl__visual { min-width: 0; }
.tl__marker { position: absolute; top: 0; left: 0; display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border: 1px solid var(--slate-200); border-radius: var(--gp-r-xl); background: #fff; box-shadow: 0 8px 24px rgba(2, 6, 23, 0.08); }
.tl__marker .icon { width: 1.5rem; height: 1.5rem; }
.tl__marker--blue  { color: var(--blue-700); }
.tl__marker--ink   { border-color: var(--gp-ink); background: var(--gp-ink); color: #fff; }
.tl__marker--amber { color: #c2410c; }
.tl__marker--green { border-color: var(--emerald-500); background: var(--emerald-500); color: #fff; }
.tl__text { display: grid; gap: 0.75rem; justify-items: start; }
.tl__title { color: var(--gp-ink); font-size: 1.375rem; font-weight: 800; line-height: 1.25; }
.tl__text p { color: var(--slate-600); line-height: 1.7; }
.tl__text strong { color: var(--gp-ink); }
.tl__text .tl__note { font-size: 0.875rem; font-style: italic; }
.tl__text .tl__scenario { padding: 1rem 1.25rem; border: 1px solid #fed7aa; border-radius: var(--gp-r-xl); background: #fff7ed; color: #7c2d12; font-size: 0.9375rem; text-align: left; }
.tl__text .tl__scenario strong { color: #9a3412; }
.tl__chip { display: inline-flex; gap: 0.5rem; align-items: center; padding: 0.5rem 0.875rem; border: 1px solid #dbeafe; border-radius: var(--gp-r-lg); background: var(--blue-50); color: var(--blue-700); font-size: 0.875rem; font-weight: 600; }
.tl__chip .icon { width: 1rem; height: 1rem; }
.tl__chip--ok { border-color: var(--emerald-200); background: #f3fdf8; color: var(--emerald-700); }
@media (min-width: 1024px) {
  .timeline::before { left: 50%; transform: translateX(-1px); }
  .tl { grid-template-columns: 1fr 1fr; gap: 6rem; padding-left: 0; align-items: center; }
  .tl__marker { top: 50%; left: 50%; transform: translate(-50%, -50%); }
  .tl__text { justify-items: end; text-align: right; }
  .tl:nth-child(even) .tl__text { order: 2; justify-items: start; text-align: left; }
  .tl:nth-child(even) .tl__visual { order: 1; justify-self: end; }
}
.mock { width: 100%; max-width: 24rem; padding: 1.25rem 1.5rem; border-radius: var(--gp-r-2xl); }
.mock--light { border: 1px solid var(--slate-200); background: #fff; box-shadow: 0 12px 32px rgba(2, 6, 23, 0.08); }
.mock--dark { background: var(--gp-ink); box-shadow: 0 16px 40px rgba(2, 6, 23, 0.25); }
.mock--center { display: grid; gap: 0.5rem; justify-items: center; text-align: center; }
.mock__status { display: flex; gap: 0.5rem; align-items: center; padding-bottom: 0.75rem; border-bottom: 1px solid #f1f5f9; color: var(--slate-500); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mock__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--emerald-500); }
.mock__rows { display: grid; gap: 0.625rem; margin-top: 0.75rem; }
.mock__rows div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; font-size: 0.875rem; }
.mock__rows dd { min-width: 0; overflow-wrap: anywhere; }
.mock__rows dt { color: var(--slate-500); }
.mock__rows dd { color: var(--gp-ink); font-weight: 700; text-align: right; }
.mock__head { margin-bottom: 0.75rem; color: var(--cyan-400); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mock__log { display: grid; gap: 0.5rem; color: var(--slate-200); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.875rem; }
.mock__log li { display: flex; gap: 0.5rem; align-items: center; }
.mock__log .icon { width: 1rem; height: 1rem; color: var(--lp-accent); }
.mock__badge { display: inline-flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--emerald-100); color: var(--emerald-700); }
.mock__badge .icon { width: 1.75rem; height: 1.75rem; }
.mock__big { color: var(--gp-ink); font-size: 1.125rem; font-weight: 800; }
.mock__small { color: var(--slate-500); font-size: 0.875rem; }
.days { position: relative; display: grid; gap: 1rem; padding-left: 1.5rem; }
.days::before { content: ""; position: absolute; top: 0.5rem; bottom: 0.5rem; left: 0.3125rem; border-left: 2px dashed var(--slate-300); }
.day { position: relative; display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: center; }
.day::before { content: ""; position: absolute; left: -1.5rem; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--day-color); }
.day__tag { padding: 0.25rem 0.625rem; border-radius: 6px; background: var(--day-bg); color: var(--day-ink); font-size: 0.8125rem; font-weight: 700; }
.day__txt { color: var(--slate-500); font-size: 0.8125rem; }
.day--fail  { --day-color: #ef4444; --day-bg: #fef2f2; --day-ink: #b91c1c; }
.day--retry { --day-color: #f59e0b; --day-bg: #fffbeb; --day-ink: #b45309; }
.day--ok    { --day-color: var(--emerald-500); --day-bg: #f3fdf8; --day-ink: var(--emerald-700); }

/* --- Labels above the two layers of the money trail --- */
.timeline__label,
.engine__label { display: inline-flex; gap: 0.5rem; align-items: center; margin-bottom: 1.5rem; padding: 0.375rem 0.875rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-pill); background: #fff; color: var(--slate-600); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.engine__label .icon { width: 1rem; height: 1rem; }

/* --- What the system does, on the dark panel below the timeline --- */
.engine { margin-top: 3.5rem; padding: 1.75rem; border-radius: var(--gp-r-4xl); background: var(--gp-ink); }
@media (min-width: 768px) { .engine { padding: 3rem; } }
.engine .engine__label { border-color: var(--slate-700); background: var(--gp-primary); color: var(--slate-200); }
.engine .engine__label .icon { color: var(--lp-accent); }
.engine__grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .engine__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.engine__card { padding: 1.5rem; border: 1px solid var(--slate-800); border-radius: var(--gp-r-3xl); background: var(--gp-primary); }
.engine__icon { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: var(--gp-r-xl); background: rgba(167, 139, 250, 0.14); color: var(--lp-accent); }
.engine__title { margin-bottom: 0.5rem; color: #fff; font-size: 1.0625rem; font-weight: 700; }
.engine__card p { color: var(--slate-300); font-size: 0.9375rem; line-height: 1.65; }
.engine__badges { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--slate-800); }
.engine__badges li { display: inline-flex; gap: 0.5rem; align-items: center; padding: 0.5rem 0.875rem; border-radius: var(--gp-r-lg); background: var(--gp-primary); color: var(--slate-200); font-size: 0.875rem; }
.engine__badges .icon { width: 1rem; height: 1rem; color: var(--emerald-400); }

/* --- Related tools on UPfit.plus --- */
.tools__head { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.tools__head .section__head { margin-bottom: 0; }
@media (min-width: 1024px) { .tools__head { grid-template-columns: 1fr auto; align-items: end; } }
.tools { display: grid; gap: 1rem; }
@media (min-width: 640px)  { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tools { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tool { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-3xl); background: #fff; }
.tool__icon { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; margin-bottom: 0.5rem; border-radius: var(--gp-r-xl); background: var(--cyan-50); color: var(--cyan-700); }
.tool__title { color: var(--gp-ink); font-size: 1.0625rem; font-weight: 700; }
.tool__text { flex: 1; color: var(--slate-600); font-size: 0.9375rem; line-height: 1.6; }
.tool__link { display: inline-flex; gap: 0.375rem; align-items: center; min-height: 44px; color: var(--blue-700); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.tool__link:hover { color: var(--blue-800); }

/* --- The physical wallet: intro, the four arguments, an example account feed --- */
.wallet { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.wallet > * { min-width: 0; }
@media (min-width: 1280px) { .wallet { grid-template-columns: 1.05fr 1.3fr 0.95fr; gap: 3rem; align-items: start; } }
.wallet .eyebrow { color: var(--cyan-400); }
.wallet__title { color: #fff; text-align: left; }
.wallet__text { margin-top: 1rem; color: var(--slate-300); line-height: 1.7; }
.wallet__highlight { display: grid; gap: 0.375rem; margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 3px solid var(--lp-accent); border-radius: var(--gp-r-lg); background: var(--gp-primary); }
.wallet__highlight strong { color: #fff; }
.wallet__highlight span { color: var(--slate-400); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.wallet__args-title { margin-bottom: 1.25rem; color: #fff; font-size: 1.125rem; font-weight: 700; }
.wallet__grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .wallet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wallet__arg-title { display: flex; gap: 0.625rem; align-items: center; margin-bottom: 0.5rem; color: #fff; font-size: 0.9375rem; font-weight: 700; }
.wallet__arg-icon { display: inline-flex; width: 2rem; height: 2rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: var(--gp-r-lg); background: rgba(167, 139, 250, 0.14); color: var(--lp-accent); }
.wallet__arg-icon .icon { width: 1rem; height: 1rem; }
.wallet__arg p { color: var(--slate-300); font-size: 0.875rem; line-height: 1.6; }
.feed { max-width: 26rem; padding: 1.25rem; border: 1px solid var(--slate-700); border-radius: var(--gp-r-3xl); background: var(--gp-primary); }
@media (min-width: 1280px) { .feed { max-width: none; } }
.feed__head { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--slate-800); }
.feed__label { color: var(--slate-400); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.feed__title { color: #fff; font-size: 0.9375rem; font-weight: 700; }
.feed__tag { padding: 0.25rem 0.625rem; border: 1px solid var(--slate-700); border-radius: var(--gp-r-pill); color: var(--slate-300); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.feed__rows { display: grid; gap: 0.75rem; }
.feed__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.75rem; border-radius: var(--gp-r-xl); background: rgba(255, 255, 255, 0.04); }
.feed__icon { display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: var(--gp-r-lg); background: rgba(167, 139, 250, 0.14); color: var(--lp-accent); }
.feed__icon .icon { width: 1rem; height: 1rem; }
.feed__main,
.feed__side { display: grid; gap: 0.125rem; min-width: 0; }
.feed__side { justify-items: end; }
.feed__name { color: #fff; font-size: 0.8125rem; font-weight: 700; overflow-wrap: anywhere; }
.feed__how,
.feed__time { color: var(--slate-400); font-size: 0.75rem; }
.feed__amount { color: var(--emerald-400); font-size: 0.8125rem; font-weight: 700; white-space: nowrap; }
.feed__total { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--slate-800); color: var(--slate-400); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.feed__total strong { padding: 0.25rem 0.5rem; border-radius: var(--gp-r-lg); background: rgba(255, 255, 255, 0.08); color: #fff; letter-spacing: 0; }

/* --- The reception: the time audit, the six roles, the two dialogues --- */
.timeaudit { display: grid; gap: 1.5rem; padding: 1.75rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-4xl); background: var(--slate-50); }
@media (min-width: 1024px) { .timeaudit { grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; padding: 3rem; } }
.timeaudit__title { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; color: var(--gp-ink); font-size: 1.25rem; font-weight: 700; }
.timeaudit__title .icon { flex-shrink: 0; color: var(--slate-500); }
.timeaudit__intro p { color: var(--slate-600); font-size: 0.9375rem; line-height: 1.6; }
.timeaudit__intro .timeaudit__note { margin-top: 0.5rem; color: var(--slate-600); font-size: 0.8125rem; font-style: italic; }
.timeaudit__bars { display: grid; gap: 1.75rem; }
.timebar__label { margin-bottom: 0.5rem; color: var(--slate-600); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.timebar__track { display: flex; overflow: hidden; height: 1.75rem; border-radius: var(--gp-r-lg); }
.timebar__seg + .timebar__seg { border-left: 2px solid #fff; }
.timebar__seg--w10 { flex: 0 0 10%; }
.timebar__seg--w20 { flex: 0 0 20%; }
.timebar__seg--w30 { flex: 0 0 30%; }
.timebar__seg--w40 { flex: 0 0 40%; }
.timebar__tone--a      { background: var(--slate-500); }
.timebar__tone--b      { background: var(--slate-600); }
.timebar__tone--c      { background: var(--slate-800); }
.timebar__tone--good   { background: var(--emerald-500); }
.timebar__tone--blue   { background: var(--blue-500); }
.timebar__tone--accent { background: var(--lp-accent-2); }
.timebar__legend { display: flex; flex-wrap: wrap; gap: 0.375rem 1rem; margin-top: 0.625rem; color: var(--slate-700); font-size: 0.8125rem; }
.timebar__legend li { display: inline-flex; gap: 0.375rem; align-items: center; }
.timebar__key { width: 0.625rem; height: 0.625rem; flex-shrink: 0; border-radius: 3px; }
.timebar__share { color: var(--slate-600); }

.roles { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px)  { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.role { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-3xl); background: #fff; }
.role .lever__icon { margin-bottom: 0; }
.role__title { color: var(--gp-ink); font-size: 1.0625rem; font-weight: 700; }
.role__before { color: var(--slate-600); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.role__before s { text-decoration-color: var(--red-400); }
.role__after { display: flex; gap: 0.5rem; align-items: center; padding: 0.625rem 0.75rem; border: 1px solid var(--slate-100); border-radius: var(--gp-r-lg); background: var(--slate-50); color: var(--slate-700); font-size: 0.875rem; font-weight: 700; }
.role__check { flex-shrink: 0; color: var(--emerald-500); }
.role__text { color: var(--slate-600); font-size: 0.875rem; line-height: 1.6; }

.scripts { margin-top: 3.5rem; }
.scripts__head { margin-bottom: 2rem; text-align: center; }
.scripts__title { display: inline-flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; color: var(--gp-ink); font-size: 1.25rem; font-weight: 700; }
.scripts__title .icon { flex-shrink: 0; color: var(--blue-600); }
.scripts__grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .scripts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.script { display: grid; gap: 0.5rem; align-content: start; padding: 1.5rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-3xl); background: var(--slate-50); }
.script__tag { justify-self: start; padding: 0.1875rem 0.625rem; border-radius: var(--gp-r-pill); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.script__tag--old { background: #fef2f2; color: #b91c1c; }
.script__tag--new { margin-top: 1rem; background: #f3fdf8; color: var(--emerald-700); }
.script__old { color: var(--slate-600); font-size: 0.9375rem; font-style: italic; }
.script__new { color: var(--gp-ink); font-size: 1.0625rem; font-weight: 500; line-height: 1.55; }
.reception__closing { display: flex; gap: 0.75rem; align-items: flex-start; max-width: 48rem; margin: 3rem auto 0; padding: 1.25rem 1.5rem; border-radius: var(--gp-r-3xl); background: var(--gp-ink); color: var(--slate-300); line-height: 1.6; }
.reception__closing strong { color: #fff; }
.reception__closing .icon { flex-shrink: 0; margin-top: 0.125rem; color: var(--lp-accent); }

/* --- When you do not need it, and when you do --- */
.honest { display: grid; gap: 1.5rem; padding: 1.75rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-4xl); background: #fff; }
.honest--pair { padding: 0; border: 0; background: none; }
@media (min-width: 768px) { .honest--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.honest__col--no { background: #fff; }
.honest__heading em { color: var(--red-600); font-style: normal; }
.honest__col { padding: 1.25rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-3xl); }
.honest__col-title { margin-bottom: 1rem; color: var(--gp-ink); font-size: 1.0625rem; font-weight: 700; }
.honest__col--yes { border-color: var(--blue-200); background: var(--blue-50); }
.honest__list { display: grid; gap: 0.75rem; }
.honest__list li { display: flex; gap: 0.625rem; align-items: flex-start; padding: 0.875rem 1rem; border-radius: var(--gp-r-xl); background: var(--slate-50); color: var(--slate-700); font-size: 0.9375rem; font-weight: 500; line-height: 1.45; }
.honest__col--yes .honest__list li { background: #fff; }
.honest__check { flex-shrink: 0; margin-top: 0.0625rem; color: var(--slate-400); }
.honest__check--yes { color: var(--blue-600); }

/* --- Data protection, in three columns --- */
.gdpr__cols { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .gdpr__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gdpr__col { padding: 1.5rem; border-radius: var(--gp-r-3xl); background: #fff; }
.gdpr__col-title { display: flex; gap: 0.625rem; align-items: center; margin-bottom: 1rem; color: var(--gp-ink); font-size: 1.0625rem; font-weight: 700; }
.gdpr__col-icon { display: inline-flex; width: 2.25rem; height: 2.25rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: var(--gp-r-lg); }
.gdpr__col-icon .icon { width: 1.125rem; height: 1.125rem; }
.gdpr__col--no .gdpr__col-icon        { background: #fef2f2; color: var(--red-600); }
.gdpr__col--processor .gdpr__col-icon { background: var(--blue-50); color: var(--blue-700); }
.gdpr__col--duty .gdpr__col-icon      { background: var(--emerald-100); color: var(--emerald-700); }
.gdpr__col-intro { margin-bottom: 1rem; color: var(--slate-600); font-size: 0.875rem; line-height: 1.55; }
.gdpr__col-list { display: grid; gap: 0.625rem; }
.gdpr__col-list li { position: relative; padding-left: 1.125rem; color: var(--slate-700); font-size: 0.875rem; line-height: 1.55; }
.gdpr__col-list li::before { content: ""; position: absolute; top: 0.55em; left: 0; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--slate-400); }
.gdpr__col--duty .gdpr__col-list li::before { background: var(--emerald-500); }

/* ====== 11. CALCULATOR AND RESULTS ======================================= */
.calc__head .section__title { color: #fff; }
.calc__head .section__lead { color: var(--slate-400); }
.calc__head .eyebrow { color: var(--cyan-400); }
.calc { position: relative; z-index: 1; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .calc { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; align-items: start; } }

.calc__panel { padding: 1.5rem; border: 1px solid var(--slate-800); border-radius: var(--gp-r-4xl); background: var(--gp-primary); }
@media (min-width: 768px) { .calc__panel { padding: 2rem; } }
.calc__panel-title { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--slate-800); color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

.field { margin-bottom: 1.25rem; }
.field__label { display: block; margin-bottom: 0.25rem; color: var(--slate-200); font-size: 0.875rem; font-weight: 700; }
.field__hint { display: block; margin-bottom: 0.5rem; color: var(--slate-400); font-size: 0.8125rem; line-height: 1.45; }
.field__box { position: relative; }
.field__input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 3.5rem 0.75rem 1rem;
  border: 1px solid var(--slate-700);
  border-radius: var(--gp-r-xl);
  background: var(--gp-ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.field__input::-webkit-outer-spin-button,
.field__input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.field__input:focus { border-color: var(--cyan-500); outline: 2px solid var(--cyan-500); outline-offset: 1px; }
.field__unit { position: absolute; top: 50%; right: 0.75rem; transform: translateY(-50%); color: var(--slate-400); font-size: 0.75rem; font-weight: 700; pointer-events: none; }

.calc__submit { width: 100%; min-height: 3.5rem; margin-top: 1.5rem; }

.calc__ready { display: grid; gap: 0.75rem; justify-items: center; align-content: center; min-height: 20rem; padding: 2rem; border: 1px solid var(--slate-800); border-radius: var(--gp-r-4xl); background: var(--gp-primary); text-align: center; }
.calc__ready[hidden] { display: none; }
.calc__ready-icon { display: inline-flex; width: 4rem; height: 4rem; align-items: center; justify-content: center; border: 1px solid var(--slate-700); border-radius: var(--gp-r-2xl); background: var(--slate-800); color: var(--cyan-400); }
.calc__ready-icon .icon { width: 2rem; height: 2rem; }
.calc__ready-title { color: #fff; font-size: 1.5rem; font-weight: 800; }
.calc__ready-text { max-width: 26rem; color: var(--slate-400); line-height: 1.65; }

.results { display: grid; gap: 1rem; }
.results[hidden] { display: none; }
@media (min-width: 640px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { padding: 1.5rem; border: 1px solid var(--slate-800); border-radius: var(--gp-r-3xl); background: var(--gp-primary); }
.kpi--wide { display: grid; grid-column: 1 / -1; gap: 1.25rem; }
@media (min-width: 768px) { .kpi--wide { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.kpi__label { display: block; margin-bottom: 0.375rem; color: var(--slate-400); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.kpi__label--good { color: var(--emerald-400); }
.kpi__value { color: #fff; font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .kpi__value--xl { font-size: 3.25rem; } }
.kpi__sub { margin-top: 0.5rem; color: var(--slate-400); font-size: 0.875rem; }
.kpi__sub strong { color: #fff; }

.chart { grid-column: 1 / -1; padding: 1.5rem; border: 1px solid var(--slate-800); border-radius: var(--gp-r-3xl); background: var(--gp-primary); }
.chart__title { margin-bottom: 1rem; color: #fff; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

.advice { grid-column: 1 / -1; padding: 1.5rem; border: 1px solid rgb(245 158 11 / 0.35); border-radius: var(--gp-r-3xl); background: rgb(245 158 11 / 0.08); }
.advice[hidden] { display: none; }
.advice__title { margin-bottom: 0.75rem; color: var(--amber-500); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.advice__list li { position: relative; padding-left: 1rem; color: var(--slate-200); font-size: 0.9375rem; line-height: 1.6; }
.advice__list li + li { margin-top: 0.5rem; }
.advice__list li::before { content: ""; position: absolute; top: 0.6em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--amber-500); }
.results__cta { grid-column: 1 / -1; justify-self: center; }

/* --- Field groups: the hypotheses stay closed, with their values in the summary --- */
.calc__panel-title--next { margin-top: 2rem; }
.calc__hyp > summary { cursor: pointer; list-style: none; }
.calc__hyp > summary::-webkit-details-marker { display: none; }
.calc__hyp-sum { display: block; margin-top: 0.375rem; color: var(--slate-400); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.calc__hyp-change { color: var(--cyan-400); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.calc__hyp[open] .calc__hyp-sum { display: none; }
.calc__hyp > summary:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 4px; border-radius: 4px; }

.results__question { grid-column: 1 / -1; color: var(--slate-300); text-align: center; }

/* --- The net figure, the impact line and the gross against cost bars --- */
.kpi__tag { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; color: var(--emerald-400); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.kpi__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--emerald-400); }
.kpi__per { color: var(--slate-400); font-size: 1.125rem; font-weight: 500; letter-spacing: 0; }
.kpi__impact { display: inline-block; margin-top: 0.75rem; padding: 0.375rem 0.75rem; border: 1px solid var(--slate-800); border-radius: var(--gp-r-lg); background: var(--gp-ink); color: var(--slate-300); font-size: 0.875rem; }
.kpi__impact strong { color: var(--emerald-400); }
.costbar { display: grid; gap: 1rem; padding: 1.25rem; border-radius: var(--gp-r-2xl); background: var(--gp-ink); }
.costbar__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: baseline; }
.costbar__label { color: var(--slate-400); font-size: 0.875rem; }
.costbar__value { color: #fff; font-size: 0.9375rem; white-space: nowrap; }
.costbar__value--cost { color: var(--red-400); }
.costbar__svg { display: block; grid-column: 1 / -1; width: 100%; height: 6px; }
.costbar__track { fill: var(--slate-800); }
.costbar__bar--gross { fill: var(--blue-500); }
.costbar__bar--cost { fill: var(--red-400); }

/* --- Where the growth comes from, and the losses removed --- */
.why { display: grid; gap: 1rem; margin-top: 0.75rem; }
.why li { display: grid; gap: 0.125rem; }
.why li[hidden] { display: none; }
.why__title { color: #fff; font-size: 0.9375rem; }
.why__text { color: var(--slate-400); font-size: 0.875rem; line-height: 1.5; }

/* --- The sources chart: one row per source, bars from a centre axis --- */
.bars { display: grid; gap: 0.875rem; }
.bars__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.375rem 1rem; align-items: baseline; }
.bars__label { color: var(--slate-300); font-size: 0.875rem; }
.bars__value { color: #fff; font-size: 0.875rem; white-space: nowrap; }
.bars__svg { display: block; grid-column: 1 / -1; width: 100%; height: 16px; }
.bars__track { fill: var(--gp-ink); }
.bars__axis { fill: var(--slate-600); }
.chart__bar--conv   { fill: var(--blue-500); }
.chart__bar--renew  { fill: var(--emerald-500); }
.chart__bar--saved  { fill: var(--amber-500); }
.chart__bar--upsell { fill: var(--lp-accent); }
.chart__bar--neg    { fill: var(--red-400); }
.results__question { grid-column: 1 / -1; color: var(--slate-300); text-align: center; }

/* ====== 12. TESTIMONIALS ================================================= */
.quotes-section .section__title { color: #fff; }
.quotes-section .section__lead { color: var(--slate-400); }
.quotes-section .eyebrow { color: var(--cyan-400); }
.quotes { position: relative; z-index: 1; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { display: flex; flex-direction: column; gap: 1.5rem; margin: 0; padding: 2rem; border: 1px solid var(--slate-800); border-radius: var(--gp-r-3xl); background: var(--gp-primary); }
.quote__text { flex: 1; margin: 0; }
.quote__text p { color: var(--slate-200); font-size: 1rem; line-height: 1.75; }
.quote__who { display: flex; gap: 0.875rem; align-items: center; }
.quote__initials { display: inline-flex; width: 3rem; height: 3rem; flex-shrink: 0; align-items: center; justify-content: center; border: 1px solid var(--slate-700); border-radius: 50%; background: var(--gp-ink); color: var(--lp-accent); font-weight: 800; }
.quote__name { display: block; color: #fff; font-weight: 700; }
.quote__role { display: block; color: var(--slate-400); font-size: 0.8125rem; }
.quotes__cta { position: relative; z-index: 1; margin-top: 2.5rem; text-align: center; }
.quotes__tagline { margin-top: 0.75rem; color: var(--slate-400); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ====== 13. FREQUENTLY ASKED QUESTIONS =================================== */
.faq__glow {
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: var(--slate-50);
  opacity: 0.6;
}

.faq { position: relative; z-index: 10; display: grid; gap: 1rem; }

/* Follow-on link under an answer. */
.faq__more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  color: var(--blue-700);
  font-size: 0.8125rem;
  font-weight: 700;
}
.faq__more:hover { color: var(--blue-800); }
.faq__more-arrow { width: 0.875rem; height: 0.875rem; transition: transform .2s; }
.faq__more:hover .faq__more-arrow { transform: translateX(3px); }

.faq__item {
  border: 1px solid var(--slate-100);
  border-radius: var(--gp-r-2xl);
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.faq__item:hover { border-color: var(--blue-100); box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); }
.faq__item[open] { border-color: var(--blue-200); background: rgb(239 246 255 / 0.5); }

/* Hides the default summary marker. */
.faq__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
}
@media (min-width: 768px) { .faq__summary { padding: 2rem; } }
.faq__summary::-webkit-details-marker { display: none; }

.faq__q {
  color: var(--slate-700);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color .2s;
}
@media (min-width: 768px) { .faq__q { font-size: 1.25rem; } }
.faq__item[open] .faq__q { color: var(--gp-ink); }

.faq__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  border-radius: var(--gp-r-pill);
  background: var(--slate-100);
  color: var(--slate-500);
  transition: background-color .3s, color .3s, transform .3s;
}
.faq__chevron .icon { width: 1.25rem; height: 1.25rem; }
.faq__item[open] .faq__chevron { background: var(--gp-blue-deep); color: #fff; transform: rotate(180deg); }

.faq__answer {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
}
@media (min-width: 768px) { .faq__answer { padding: 0 2rem 2rem; } }
.faq__answer p { color: var(--slate-600); line-height: 1.7; }
.faq__answer-icon { width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; color: var(--amber-500); }

/* The three answers on home, and the link to the full page. */
.faq-teaser__all { display: flex; justify-content: center; margin-top: 2rem; }

/* ====== 14. DICTIONARY =================================================== */
.terms { display: grid; gap: 1rem; margin: 0; }
@media (min-width: 768px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .terms--row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.term { padding: 1.5rem; border: 1px solid var(--slate-200); border-radius: var(--gp-r-3xl); background: var(--slate-50); }
.term__name { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; color: var(--gp-ink); font-size: 1.0625rem; font-weight: 700; }
.term__icon { display: inline-flex; width: 2.5rem; height: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: var(--gp-r-xl); }
.term__def { margin: 0; color: var(--slate-600); font-size: 0.9375rem; line-height: 1.65; }
.terms__all { margin-top: 2rem; text-align: center; }

/* ====== 15. RESOURCES BLOCK ============================================= */
/* Resources block, on every page before the footer. */
.xpromo { border-top: 1px solid rgb(255 255 255 / 0.08); color: var(--slate-300); }
.xpromo .container { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .xpromo .container { gap: 2rem; } }

.xpromo__head { max-width: 46rem; margin-bottom: 1rem; }
.xpromo__eyebrow { color: var(--cyan-400); }
.xpromo__title { margin-bottom: 1rem; color: #fff; font-size: 1.875rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
@media (min-width: 768px) { .xpromo__title { font-size: 2.5rem; } }
.xpromo__lead { font-size: 1.0625rem; line-height: 1.75; }

/* The magazine */
.xpromo-mag {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--gp-r-3xl);
  background: var(--gp-ink-3);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}
.xpromo-mag__pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image: linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.xpromo-mag__grid { position: relative; display: grid; }
@media (min-width: 1024px) { .xpromo-mag__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.xpromo-mag__text { min-width: 0; padding: 2rem; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
@media (min-width: 1024px) { .xpromo-mag__text { padding: 3.5rem; border-bottom: 0; border-right: 1px solid rgb(255 255 255 / 0.1); } }
.xpromo-mag__label { margin-bottom: 1.25rem; color: var(--slate-400); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; }
.xpromo-mag__label strong { color: #fff; }
.xpromo-mag__title { margin-bottom: 1.5rem; color: #fff; font-size: 2rem; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 768px) { .xpromo-mag__title { font-size: 3rem; } }
.xpromo-mag__body { max-width: 40rem; margin-bottom: 1.25rem; font-size: 1.0625rem; line-height: 1.7; }
.xpromo-mag__body2 { max-width: 40rem; margin-bottom: 2rem; padding-left: 1rem; border-left: 3px solid var(--cyan-400); color: #fff; font-weight: 500; line-height: 1.7; }
.xpromo-mag__tags { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.1); list-style: none; }
.xpromo-mag__tags li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--slate-300); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.xpromo-mag__tags li::before { content: ""; width: 6px; height: 6px; border-radius: var(--gp-r-pill); background: var(--cyan-400); }
.xpromo-mag__visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; padding: 2.5rem 2rem; }
.xpromo-mag__cover { width: 16rem; max-width: 100%; height: auto; border-radius: var(--gp-r-lg); box-shadow: 0 20px 40px -10px rgb(0 0 0 / 0.6); }
.xpromo-mag__cta .icon { width: 1.125rem; height: 1.125rem; }

/* Guides and newsletter */
.xpromo__cards { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .xpromo__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xpromo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--gp-r-3xl);
  background: rgb(255 255 255 / 0.03);
  transition: transform .3s, border-color .3s;
}
.xpromo-card:hover { transform: translateY(-4px); border-color: rgb(255 255 255 / 0.2); }
.xpromo-card__icon { display: inline-flex; margin-bottom: 1.5rem; padding: 0.75rem; border-radius: var(--gp-r-xl); background: rgb(255 255 255 / 0.06); }
.xpromo-card__icon .icon { width: 1.5rem; height: 1.5rem; }
.xpromo-card--blue .xpromo-card__icon { color: var(--blue-400); }
.xpromo-card--cyan .xpromo-card__icon { color: var(--cyan-400); }
.xpromo-card__title { margin-bottom: 1rem; color: #fff; font-size: 1.25rem; font-weight: 700; }
@media (min-width: 768px) { .xpromo-card__title { font-size: 1.5rem; } }
.xpromo-card__body { line-height: 1.7; }
.xpromo-card__link,
.xpromo-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  color: var(--cyan-400);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.xpromo-card__link:hover,
.xpromo-feature__link:hover { color: #fff; }
.xpromo-card__arrow { width: 0.875rem; height: 0.875rem; transition: transform .2s; }
.xpromo-card__link:hover .xpromo-card__arrow,
.xpromo-feature__link:hover .xpromo-card__arrow { transform: translateX(3px); }

/* The podcast keeps its own identity */
.xpromo-pod {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--gp-r-4xl);
  background: #000;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}
.xpromo-pod__pattern { position: absolute; inset: 0; pointer-events: none; opacity: 0.2; background-image: radial-gradient(#333 1px, transparent 1px); background-size: 24px 24px; }
.xpromo-pod__grid { position: relative; display: grid; gap: 2.5rem; padding: 2rem; align-items: center; }
@media (min-width: 1024px) { .xpromo-pod__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: 3.5rem; padding: 3.5rem; } }
.xpromo-pod__content { min-width: 0; }
.xpromo-pod__toptag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.75rem; padding: 0.375rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--gp-r-pill);
  background: rgb(255 255 255 / 0.05);
  color: #ffa45e; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.16em; line-height: 1.4; text-transform: uppercase;
}
.xpromo-pod__dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: var(--gp-r-pill); background: var(--adb-orange); }
.xpromo-pod__wordmark { margin-bottom: 1.5rem; color: #fff; font-size: 2.25rem; font-weight: 900; line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; }
@media (min-width: 768px) { .xpromo-pod__wordmark { font-size: 3.5rem; } }
.xpromo-pod__grad { display: block; color: var(--adb-magenta); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .xpromo-pod__grad { background-image: var(--gp-grad-adb); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.xpromo-pod__pitch { max-width: 34rem; margin-bottom: 2rem; font-size: 1.0625rem; line-height: 1.7; }
.xpromo-pod__buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.xpromo-pod__btn {
  display: inline-flex; align-items: center; gap: 0.625rem;
  min-height: 2.75rem; padding: 0.75rem 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.3); border-radius: var(--gp-r-pill);
  color: #fff; font-size: 0.9375rem; font-weight: 700;
  transition: background-color .2s, border-color .2s;
}
.xpromo-pod__btn:hover { border-color: #fff; background: rgb(255 255 255 / 0.08); }
.xpromo-pod__btn--main { border-color: #fff; background: #fff; color: #000; }
.xpromo-pod__btn--main:hover { background: var(--slate-200); }
.xpromo-pod__btn--main .icon { width: 1rem; height: 1rem; color: var(--adb-magenta); }
.xpromo-pod__btn .fa-youtube { color: var(--adb-red); }
.xpromo-pod__quote { margin: 0; padding: 1.75rem; border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--gp-r-3xl); background: rgb(255 255 255 / 0.03); }
.xpromo-pod__quote blockquote { margin: 0 0 1.25rem; padding-left: 1.25rem; border-left: 3px solid var(--adb-magenta); }
.xpromo-pod__quote p { color: #fff; font-size: 1.25rem; font-style: italic; font-weight: 600; line-height: 1.5; }
.xpromo-pod__quote figcaption { color: var(--slate-400); font-size: 0.875rem; }
.xpromo-pod__quote figcaption strong { color: #fff; font-weight: 600; }

/* UPfit.plus */
.xpromo-plus {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--gp-r-3xl);
  background: var(--gp-ink-4);
}
@media (min-width: 768px) { .xpromo-plus { padding: 4.5rem; } }
.xpromo-plus__gridbg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 0.03) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.03) 1px, transparent 1px);
  background-size: 3rem 3rem;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 50%, transparent 100%);
}
.xpromo-plus__content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.xpromo-plus__title { max-width: 56rem; margin-bottom: 1.5rem; color: #fff; font-size: 1.875rem; font-weight: 900; line-height: 1.2; text-wrap: balance; }
@media (min-width: 768px) { .xpromo-plus__title { font-size: 3rem; } }
.xpromo-plus__grad { display: block; color: var(--cyan-300); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .xpromo-plus__grad { background-image: linear-gradient(to right, var(--cyan-400), var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.xpromo-plus__body { max-width: 48rem; margin-bottom: 3rem; color: var(--slate-400); font-size: 1.125rem; line-height: 1.7; }
.xpromo-plus__features { display: grid; gap: 1.5rem; width: 100%; max-width: 56rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .xpromo-plus__features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
.xpromo-feature { padding: 2rem; border: 1px solid rgb(255 255 255 / 0.06); border-radius: var(--gp-r-2xl); background: rgb(255 255 255 / 0.05); text-align: left; transition: background-color .3s, border-color .3s; }
.xpromo-feature:hover { background: rgb(255 255 255 / 0.07); }
.xpromo-feature__icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: 1.5rem; border-radius: var(--gp-r-xl); }
.xpromo-feature__icon .icon { width: 1.5rem; height: 1.5rem; }
.xpromo-feature--cyan .xpromo-feature__icon { background: rgb(34 211 238 / 0.1); color: var(--cyan-400); }
.xpromo-feature--green .xpromo-feature__icon { background: rgb(74 222 128 / 0.1); color: var(--green-400); }
.xpromo-feature--green .xpromo-feature__link { color: var(--green-400); }
.xpromo-feature--cyan:hover { border-color: rgb(34 211 238 / 0.3); }
.xpromo-feature--green:hover { border-color: rgb(74 222 128 / 0.3); }
.xpromo-feature__title { margin-bottom: 0.75rem; color: #fff; font-size: 1.25rem; font-weight: 700; }
.xpromo-feature__text { margin-bottom: 1rem; color: var(--slate-400); font-size: 0.9375rem; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .xpromo-card, .xpromo-card:hover { transition: none; transform: none; }
}

/* A card left alone in its row takes the whole row. */
.xpromo__cards > .xpromo-card:only-child { grid-column: 1 / -1; }

/* ====== 16. LEAD FORM ==================================================== */
.lead { position: relative; z-index: 1; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .lead { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; } }
.lead__intro .section__title { color: #fff; }
.lead__intro .eyebrow { color: var(--cyan-400); }
.lead__intro p { color: var(--slate-300); font-size: 1.0625rem; line-height: 1.7; }
.lead__list { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.lead__list li { display: flex; gap: 0.75rem; align-items: center; color: #fff; font-weight: 600; }
.lead__tick { display: inline-flex; width: 1.5rem; height: 1.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: rgb(16 185 129 / 0.15); color: var(--emerald-400); }
.lead__tick .icon { width: 0.875rem; height: 0.875rem; }
.lead__intro .lead__context { margin-top: 2rem; padding: 1rem 1.25rem; border: 1px solid var(--slate-700); border-radius: var(--gp-r-2xl); color: var(--slate-200); font-size: 0.9375rem; }
.lead__context[hidden] { display: none; }

.form { padding: 1.5rem; border-radius: var(--gp-r-4xl); background: #fff; }
@media (min-width: 768px) { .form { padding: 2.5rem; } }
.form__grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__full { grid-column: 1 / -1; } }
.form__field { display: grid; gap: 0.375rem; }
.form__label { color: var(--gp-ink); font-size: 0.875rem; font-weight: 600; }
.form__input { width: 100%; min-height: 3rem; padding: 0.75rem 1rem; border: 1px solid var(--slate-300); border-radius: var(--gp-r-xl); background: #fff; color: var(--gp-ink); font: inherit; }
.form__input:focus { border-color: var(--cyan-600); outline: 2px solid var(--cyan-500); outline-offset: 1px; }
.form__input[aria-invalid="true"] { border-color: var(--red-600); }
textarea.form__input { min-height: 6rem; resize: vertical; }
.form__boxes { display: grid; gap: 0.875rem; margin-top: 1.25rem; }
.form__check { display: flex; gap: 0.75rem; align-items: flex-start; min-height: 44px; color: var(--slate-600); font-size: 0.875rem; line-height: 1.5; cursor: pointer; }
.form__check input { width: 1.5rem; height: 1.5rem; margin-top: 0.125rem; flex-shrink: 0; accent-color: var(--cyan-600); }
.form__check a { color: var(--blue-700); text-decoration: underline; }
.form__check--invalid { color: var(--red-600); }
.form__check--invalid input { outline: 2px solid var(--red-600); outline-offset: 2px; }
@supports selector(:has(*)) {
  .form__reveal { display: none; }
  .form__boxes:has(#lead-callback:checked) .form__reveal { display: grid; }
}
.form__submit { width: 100%; min-height: 3.5rem; margin-top: 1.25rem; }
.form__small { margin-top: 0.75rem; color: var(--slate-600); font-size: 0.8125rem; text-align: center; }
.form__privacy { margin-top: 0.5rem; color: var(--slate-500); font-size: 0.75rem; line-height: 1.5; text-align: center; }
.form-aux { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { margin-bottom: 1rem; padding: 1rem 1.25rem; border: 1px solid #fecaca; border-radius: var(--gp-r-2xl); background: #fff7f7; }
.form-alert:focus { outline: 2px solid var(--red-600); outline-offset: 2px; }
.form-alert__title { margin-bottom: 0.5rem; color: var(--red-600); font-weight: 700; }
.form-alert__list li { color: var(--slate-700); font-size: 0.875rem; line-height: 1.55; }
.form-alert__list a { color: var(--red-600); font-weight: 600; text-decoration: underline; }

.thanks { display: grid; gap: 1.25rem; justify-items: start; max-width: 44rem; }
.thanks__icon { display: inline-flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--emerald-100); color: var(--emerald-700); }
.thanks__icon .icon { width: 1.75rem; height: 1.75rem; }
.thanks__text { color: var(--slate-600); font-size: 1.0625rem; line-height: 1.7; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --- The lead section ground: a gradient with two soft glows --- */
.section--glow { position: relative; isolation: isolate; background: linear-gradient(160deg, var(--gp-primary) 0%, #170f33 55%, var(--gp-ink) 100%); }
.section--glow > .container { position: relative; z-index: 1; }
.section__glow { position: absolute; z-index: 0; width: 38rem; height: 38rem; border-radius: 50%; filter: blur(90px); opacity: 0.35; pointer-events: none; }
.section__glow--a { top: -12rem; left: -10rem; background: var(--lp-accent-2); }
.section__glow--b { right: -12rem; bottom: -14rem; background: var(--cyan-500); opacity: 0.25; }
.section--glow .lead__tick { color: var(--lp-accent); }
.section--glow .lead__context { border-color: rgba(167, 139, 250, 0.35); background: rgba(2, 6, 23, 0.35); }

/* ====== 17. MOBILE ACTION BAR ============================================ */
/* Touch devices only. */
.sticky-cta { display: none; }
@media (max-width: 1023px) {
  .sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: block;
    padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom));
    background: rgb(2 6 23 / 0.92);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgb(255 255 255 / 0.08);
  }
  .sticky-cta[hidden] { display: none; }
  /* Bottom padding, so the bar does not cover the footer. */
  body { padding-bottom: 4.5rem; }
}

.sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  border-radius: var(--gp-r-xl);
  background-image: var(--gp-grad-cta);
  color: var(--gp-ink);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}
.sticky-cta__icon { width: 1.125rem; height: 1.125rem; }
.sticky-cta__arrow { width: 1rem; height: 1rem; }

/* ====== 18. CONSENT ====================================================== */
.cookie {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}
@media (min-width: 768px) { .cookie { padding-bottom: 2rem; } }
.cookie[hidden] { display: none; }

.cookie__card {
  width: 100%;
  max-width: 48rem;
  padding: 1.5rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--gp-r-2xl);
  background: #fff;
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.12);
  pointer-events: auto;
  animation: gp-fade-in-up .3s ease-out both;
}
@media (min-width: 768px) { .cookie__card { padding: 2rem; } }

.cookie__head { display: flex; align-items: flex-start; gap: 1rem; }

.cookie__icon {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.5rem;
  border-radius: var(--gp-r-pill);
  background: var(--cyan-100);
  color: var(--cyan-600);
}
@media (min-width: 640px) { .cookie__icon { display: flex; } }
.cookie__icon .icon { width: 2rem; height: 2rem; }

.cookie__title { margin-bottom: 0.5rem; color: var(--slate-900); font-size: 1.125rem; font-weight: 700; }
@media (min-width: 768px) { .cookie__title { font-size: 1.25rem; } }
.cookie__text { color: var(--slate-600); font-size: 0.875rem; line-height: 1.7; }

/* What each choice loads. */
.cookie__what {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0;
  padding: 1rem;
  border-radius: var(--gp-r-xl);
  background: var(--slate-50);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.cookie__what-key { color: var(--slate-800); font-weight: 700; }
.cookie__what-key::after { content: ":"; }
.cookie__what-val { color: var(--slate-600); }

.cookie__foot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-100);
}
@media (min-width: 640px) { .cookie__foot { flex-direction: row; align-items: center; justify-content: space-between; } }

.cookie__policy {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--slate-600);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie__policy:hover { color: var(--blue-600); }

.cookie__actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .cookie__actions { flex-direction: row; } }

/* Both buttons share size, shape and weight. */
.cookie__btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--gp-r-xl);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  transition: background-color .2s;
}
.cookie__btn--basic { background: var(--slate-700); color: #fff; }
.cookie__btn--basic:hover { background: var(--slate-800); }
.cookie__btn--all { background: var(--gp-cyan-btn); color: var(--gp-ink); }
.cookie__btn--all:hover { background: var(--gp-cyan-btn-h); }

/* Small screens: a compact card that never grows past the viewport. */
@media (max-width: 639.98px) {
  .cookie { padding: 0.5rem; }
  .cookie__card { max-height: calc(100dvh - 1rem); overflow-y: auto; padding: 1.25rem; }
  .cookie__title { margin-bottom: 0.375rem; }
  .cookie__text { line-height: 1.55; }
  .cookie__what { gap: 0.375rem; margin: 0.875rem 0; padding: 0.75rem; }
  .cookie__foot { gap: 0.25rem; padding-top: 0.5rem; }
  .cookie__actions { flex-direction: row; gap: 0.5rem; }
  .cookie__btn { flex: 1 1 0; padding: 0.75rem 0.5rem; }
}

/* ====== 19. VIDEO MODAL ================================================== */
.modal {
  width: min(64rem, 100vw - 2rem);
  max-width: none;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  overflow: visible;
}
.modal::backdrop { background: rgb(15 23 42 / 0.9); backdrop-filter: blur(8px); }

.modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--gp-r-2xl);
  background: #000;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
  overflow: hidden;
  animation: gp-fade-in-up .3s ease-out both;
}

.modal__player { width: 100%; height: 100%; border: 0; }

.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--gp-r-pill);
  background: rgb(0 0 0 / 0.5);
  color: #fff;
  transition: background-color .2s;
}
.modal__close:hover { background: rgb(0 0 0 / 0.7); }
.modal__close .icon { width: 1.5rem; height: 1.5rem; }

.modal__note {
  margin-top: 0.75rem;
  color: var(--slate-400);
  font-size: 0.75rem;
  text-align: center;
}

/* --- Company details --- */
.company-modal { width: min(32rem, 100vw - 2rem); color: var(--gp-ink); }
.company-modal__card { position: relative; display: grid; gap: 1rem; padding: 2rem 1.5rem 1.5rem; border-radius: var(--gp-r-3xl); background: #fff; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5); animation: gp-fade-in-up .3s ease-out both; }
@media (min-width: 640px) { .company-modal__card { padding: 2.5rem 2rem 2rem; } }
.company-modal__close { position: absolute; top: 0.75rem; right: 0.75rem; display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: var(--gp-r-pill); color: var(--slate-600); }
.company-modal__close:hover { background: var(--slate-100); }
.company-modal__logo { justify-self: center; width: 11.25rem; height: auto; margin-bottom: 0.5rem; }
.company-modal__title { font-size: 1.375rem; font-weight: 800; line-height: 1.25; }
.company-modal__lead { color: var(--slate-600); font-size: 0.9375rem; line-height: 1.6; }
.company-modal__lead strong { color: var(--gp-ink); }
.company-modal__facts { display: grid; gap: 0.75rem; margin: 0; }
.company-modal__facts div { display: grid; gap: 0.125rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--slate-100); }
.company-modal__facts dt { color: var(--slate-500); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.company-modal__facts dd { margin: 0; color: var(--gp-ink); font-size: 0.9375rem; font-weight: 500; }
.company-modal__facts a, .company-modal__links a { color: var(--blue-700); text-decoration: underline; }
.company-modal__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.875rem; }
/* Without script the footer anchor targets the dialog, which then shows in place. */
.company-modal:target:not([open]) { position: static; display: block; margin: 2rem auto; }

/* ====== 20. ANIMATIONS =================================================== */
/* Animations used in the markup. */
@keyframes gp-fade-in-up {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gp-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .5; }
}
@keyframes gp-bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); }
  50%      { transform: none;             animation-timing-function: cubic-bezier(0, 0, .2, 1); }
}

.gp-fade-up { animation: gp-fade-in-up .3s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
