/* ==========================================================================
   Valia Live — Retiree Vitality Club landing page
   Mobile-first. Brand tokens mirror valialive.com (assets/css/valia-brand.css).
   ========================================================================== */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/outfit-latin-var.woff2') format('woff2');
}

:root {
  /* Brand spectrum (from the live site) */
  --blue: #003BFF;
  --purple: #7A00E0;
  --magenta: #D8007A;
  --red: #F51C2C;
  --orange: #FF5C00;
  --gold: #FFA800;
  --navy: #0A0B2E;
  --ink: #12122B;

  /* Full brand gradient: decoration only (never behind text) */
  --grad-brand: linear-gradient(90deg, var(--blue), var(--purple) 20%, var(--magenta) 40%, var(--red) 60%, var(--orange) 80%, var(--gold));
  /* Button gradient: the blue-to-magenta half, where white text stays AA-readable */
  --grad-cta: linear-gradient(120deg, #1F35E0 0%, var(--purple) 50%, #C4007A 100%);
  --grad-dark: radial-gradient(65% 90% at 12% -10%, rgba(155, 9, 215, .34), transparent 62%),
               radial-gradient(55% 75% at 100% 105%, rgba(212, 12, 175, .22), transparent 60%),
               linear-gradient(160deg, #0A0930 0%, #1B1259 38%, #2B1160 68%, #3B0B4F 100%);

  /* Text + surfaces */
  --text: #3A3B52;
  --text-soft: #55566E;
  --on-dark: #E9E9FA;
  --white: #fff;
  --cream: #FFF9F2;
  --lilac: #F5F1FF;
  --line: #E3E0F0;
  --error: #B3122B;
  --success: #0B7A4B;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 44px -20px rgba(27, 18, 89, .28);
  --container: 1200px;
  --gutter: 20px;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--purple);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.125rem;            /* 18px */
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.75rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: #5A00B8; text-underline-offset: 3px; }
a:hover { color: var(--magenta); }
a[href^="tel:"] { white-space: nowrap; }
strong { font-weight: 700; color: var(--ink); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
.section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .offer__pass :focus-visible {
  box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px #fff;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  padding: 14px 20px; background: #fff; color: var(--ink); font-weight: 700; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-position .35s ease, border-color .2s ease;
}
.btn--large { min-height: 60px; padding: 16px 20px; font-size: 1.0625rem; }
.btn--small { min-height: 48px; padding: 10px 20px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  color: #fff; background: var(--grad-cta); background-size: 170% 100%;
  box-shadow: 0 12px 28px -10px rgba(122, 0, 224, .7);
}
.btn--primary:hover { color: #fff; background-position: 100% 0; transform: translateY(-2px); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn--light { color: var(--ink); background: #fff; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); }
.btn--light:hover { color: var(--purple); transform: translateY(-2px); }
.btn--outline { color: var(--ink); background: #fff; border-color: #B9B4D3; }
.btn--outline:hover { color: var(--purple); border-color: var(--purple); }
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 18px; padding: 8px 16px;
  font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #5A00B8; background: rgba(122, 0, 224, .08); border: 1px solid rgba(122, 0, 224, .2); border-radius: 999px;
}
.eyebrow--on-dark { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-header__logo { display: block; padding: 6px 0; }
.site-header__logo img { width: auto; height: 54px; }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.site-header__phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 6px;
  font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.site-header__phone:hover { color: var(--purple); }
.site-header .btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px; background: var(--grad-dark); color: var(--on-dark); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--grad-brand); }
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.3rem + 4.6vw, 4rem); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }
.nb { display: inline-block; }
.hero__accent {
  display: block;
  color: #FFB347; /* fallback */
  background: linear-gradient(90deg, #FF7AC3 0%, #FF8A4C 55%, #FFC14D 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__lead { margin-top: 20px; max-width: 34em; font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3rem); line-height: 1.55; color: var(--on-dark); }
.hero__actions { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.hero__reassure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 1rem; color: #D5D6F2; }
.hero__reassure li { display: inline-flex; align-items: center; gap: 8px; }
.hero__reassure .icon { color: var(--gold); }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .65); }
.hero__badge {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 1rem; border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
}
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(245, 28, 44, .2); }

/* ---------- At-a-glance strip ---------- */
.glance { background: #fff; border-bottom: 1px solid var(--line); }
.glance__list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding-block: 28px; }
.glance__list li { padding-left: 14px; border-left: 3px solid var(--purple); }
.glance__list li:nth-child(2) { border-color: var(--magenta); }
.glance__list li:nth-child(3) { border-color: var(--orange); }
.glance__list li:nth-child(4) { border-color: var(--gold); }
.glance__list strong { display: block; font-size: 1.15rem; }
.glance__list span { display: block; font-size: 1rem; line-height: 1.4; color: var(--text-soft); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
/* Section rhythm: white and coloured sections strictly alternate down the page
   (dark, white, peach, white, dark, white, lavender, white, peach, white, lavender, dark) */
.section--peach { background: linear-gradient(180deg, #FFE6CF 0%, #FFDCC6 100%); }
.section--lavender { background: linear-gradient(180deg, #E7DCFF 0%, #DDD3FB 100%); }
.section--peach .eyebrow, .section--lavender .eyebrow { background: rgba(255, 255, 255, .7); border-color: rgba(90, 0, 184, .28); }
.section--dark { background: var(--grad-dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: #fff; }
.section__head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section__intro { margin-top: 16px; font-size: 1.2rem; color: var(--text); }
.section__cta { margin-top: 40px; text-align: center; }
.fine-print { margin-top: 22px; font-size: 1rem; color: var(--text-soft); }
.fine-print--center { text-align: center; }

/* ---------- 02 Challenge ---------- */
.notice-list { display: grid; margin-top: 32px; background: #fff; border: 1px solid #F0E4D4; border-radius: var(--radius); }
.notice-list li { padding: 16px 22px; }
.notice-list li + li { border-top: 1px solid #F0E4D4; }
.notice-list h3 { font-size: 1.2rem; }
.notice-list p { margin-top: 4px; }
.good-news {
  position: relative; margin-top: 28px; padding: 28px 24px 28px 30px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.good-news::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 7px; background: linear-gradient(180deg, var(--blue), var(--purple), var(--magenta), var(--orange), var(--gold)); }
.good-news__label { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5A00B8; }
.good-news__text { margin-top: 8px; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); line-height: 1.4; font-weight: 600; color: var(--ink); }

/* ---------- 03 Solution (image + copy) ---------- */
.split { display: grid; gap: 36px; align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
/* Portrait photo (4:5). Capped and centred so it stays a sensible size when the section stacks on tablet and mobile */
.split__media--portrait { width: 100%; max-width: 540px; margin-inline: auto; }
.split__media--portrait img { aspect-ratio: 4 / 5; }
.split__copy > p { margin-top: 16px; }
.tick-list { display: grid; gap: 12px; margin-top: 22px; }
.tick-list li { display: flex; align-items: flex-start; gap: 12px; }
.tick-list .icon { margin-top: 3px; padding: 3px; width: 1.4em; height: 1.4em; color: #fff; background: var(--purple); border-radius: 50%; }
.pull-note { margin-top: 26px !important; padding: 18px 20px; background: var(--lilac); border-radius: var(--radius-sm); font-weight: 500; color: var(--ink); }

/* ---------- 04 Difference ---------- */
.diff-grid { display: grid; gap: 16px; counter-reset: diff; }
.diff { position: relative; padding: 26px 24px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); }
.diff__num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  font-weight: 800; font-size: 1.15rem; color: var(--navy); background: #fff; border-radius: 50%;
}
.diff:nth-child(1) .diff__num { background: #B9C8FF; }
.diff:nth-child(2) .diff__num { background: #E3BFFF; }
.diff:nth-child(3) .diff__num { background: #FFC2D9; }
.diff:nth-child(4) .diff__num { background: #FFD9A0; }
.diff h3 { font-size: 1.5rem; }
.diff p { margin-top: 8px; color: var(--on-dark); }

/* ---------- 05 How it works ---------- */
.how { display: grid; gap: 28px; max-width: 820px; margin-inline: auto; }
.how__media { width: 100%; max-width: 520px; margin-inline: auto; }
.how__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 24px; box-shadow: var(--shadow); }
.steps { display: grid; gap: 14px; }

/* Full-width photo banner inside a section */
.banner { margin-bottom: 36px; }
.banner img { width: 100%; aspect-ratio: 1742 / 903; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--lilac); border-radius: var(--radius); box-shadow: 0 10px 30px -22px rgba(27, 18, 89, .4); }
.step__num {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px;
  font-weight: 800; font-size: 1.25rem; color: #fff; background: var(--grad-cta); border-radius: 50%;
}
.step p { margin-top: 4px; }
.devices { display: grid; gap: 18px; max-width: 820px; margin: 28px auto 0; padding: 24px; border: 2px dashed #CFC4EE; border-radius: var(--radius); }
.devices__icons { display: flex; gap: 22px; font-weight: 700; color: var(--ink); }
.devices__icons li { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-size: 1rem; }
.devices__icons .icon { width: 40px; height: 40px; color: var(--purple); }

/* ---------- 06 Activities ---------- */
.activities { display: grid; gap: 22px; }
.activity { display: flex; flex-direction: column; padding: 14px 14px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.activity h3 { margin: 20px 10px 0; }
.activity > p { margin: 8px 10px 0; }
.activity__demo {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  min-height: 132px; padding: 18px 20px; border-radius: 14px; background: var(--lilac); color: var(--ink);
}
.demo__prompt { font-size: .9375rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #4A3A78; }
.demo-memory { background: #FFF1DE; }
.demo-memory__cards { display: flex; gap: 8px; }
.demo-memory__cards span {
  flex: 1; display: grid; place-items: end center; min-height: 84px; padding: 8px 6px; text-align: center;
  font-size: .9375rem; font-weight: 600; line-height: 1.2; background: #fff; border-radius: 8px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .35);
  background-image: linear-gradient(#F3D9B4, #F3D9B4); background-size: calc(100% - 12px) 40px; background-position: 6px 6px; background-repeat: no-repeat;
}
.demo-memory__cards span:nth-child(1) { transform: rotate(-3deg); }
.demo-memory__cards span:nth-child(3) { transform: rotate(3deg); }
.demo-focus { background: #EEF0FF; }
.demo-focus__words { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 1.9rem; font-weight: 800; letter-spacing: .02em; }
.demo-focus__words .w1 { color: #C4007A; }
.demo-focus__words .w2 { color: #1F35E0; }
.demo-focus__words .w3 { color: #0B7A4B; }
.demo-skills { background: #FDECEF; }
.demo-skills__bubble { align-self: flex-start; max-width: 300px; padding: 12px 16px; font-size: 1rem; line-height: 1.4; background: #fff; border-radius: 18px 18px 18px 4px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .35); }
.demo-skills__bubble u { color: #B3122B; text-decoration-style: wavy; }
.demo-logic { background: #F1E9FF; }
.demo-logic__seq { display: flex; gap: 8px; }
.demo-logic__seq span { flex: 1; max-width: 58px; aspect-ratio: 1; display: grid; place-items: center; font-size: 1.3rem; font-weight: 800; background: #fff; border-radius: 12px; }
.demo-logic__seq .q { color: #fff; background: var(--purple); }
.demo-learn { background: #E8F4FF; }
.demo-learn__q { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.demo-mind { background: #FFF3D6; }
.demo-mind__note { font-size: 1.35rem; font-weight: 600; font-style: italic; line-height: 1.3; color: #5B4100; }

/* ---------- 07/08 Pillars + research ---------- */
.pillars { display: grid; gap: 16px; }
.pillars__row--head { display: none; }
.pillars__row { padding: 24px 22px; background: #fff; border: 1px solid #F0E4D4; border-radius: var(--radius); }
.pillars__row h3 { display: flex; align-items: center; gap: 12px; }
.pillars__num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; font-size: 1.05rem; font-weight: 800; color: #fff; background: var(--ink); border-radius: 50%; }
.pillars__row p { margin-top: 14px; }
.pillars__row p::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5A00B8; }
.sources__title { margin: 52px 0 20px; text-align: center; font-size: 1.5rem; }
.sources { display: grid; gap: 16px; }
.source { padding: 24px 22px; background: var(--cream); border-radius: var(--radius); border-top: 5px solid var(--purple); }
.source:nth-child(2) { border-color: var(--magenta); }
.source:nth-child(3) { border-color: var(--orange); }
.source h4 { font-size: 1.25rem; }
.source p { margin-top: 10px; }
.source__cite { font-size: 1rem; color: var(--text-soft); }
.note { margin-top: 28px; padding: 22px 24px; font-size: 1.0625rem; background: #fff; border: 1px solid #E6D9C6; border-radius: var(--radius-sm); }
.note a { display: inline-block; margin-top: 8px; font-weight: 700; }

/* ---------- 09/10 Benefits + audience ---------- */
.benefits { display: grid; gap: 14px; }
.benefit { padding: 24px 22px; border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px -22px rgba(120, 60, 0, .45); }
.benefit p { margin-top: 8px; }
.audience { margin-top: 64px; }
.audience__title { margin-bottom: 28px; text-align: center; }
.audience__grid { display: grid; gap: 16px; }
.audience__card { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.audience__card--primary { border: 2px solid var(--purple); box-shadow: var(--shadow); }
.audience__card p { margin-top: 10px; }

/* ---------- 11 Offer ---------- */
.offer { display: grid; max-width: 1000px; margin-inline: auto; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.offer__pass { padding: 40px 26px; background: var(--grad-dark); color: var(--on-dark); }
.offer__pass h2 { color: #fff; }
.offer__lead { margin: 14px 0 26px; font-size: 1.25rem; }
.offer__call { margin-top: 20px; font-size: 1.0625rem; }
.offer__call a { color: #fff; font-weight: 700; white-space: nowrap; }
.offer__membership { padding: 36px 26px; }
.offer__membership h3 { font-size: 1.2rem; }
.offer__price { margin-top: 8px; color: var(--ink); }
.offer__amount { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.offer__per { font-size: 1.25rem; font-weight: 600; color: var(--text-soft); }

/* ---------- 12 FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq__item[open] { border-color: #B79BE8; box-shadow: 0 10px 30px -22px rgba(27, 18, 89, .5); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 20px; cursor: pointer; list-style: none; border-radius: var(--radius-sm); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.faq__item summary .icon { width: 36px; height: 36px; padding: 8px; color: var(--purple); background: var(--lilac); border-radius: 50%; transition: transform .25s ease; }
.faq__item[open] summary .icon { transform: rotate(45deg); color: #fff; background: var(--purple); }
.faq__item > p { padding: 0 20px 22px; }

/* ---------- 13 Final ---------- */
.final__stack { display: grid; gap: 32px; justify-items: center; }
.final__copy { text-align: center; }
.final .pass-card { width: 100%; max-width: 620px; }
.final__sub { margin-top: 10px; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 700; color: #FFC773; }

/* On-page form card */
.pass-card { padding: 28px 22px; color: var(--text); background: #fff; border-radius: 24px; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .65); scroll-margin-top: 96px; }
.pass-card h3 { color: var(--ink) !important; font-size: clamp(1.5rem, 1.3rem + 1vw, 1.9rem); font-weight: 800; }
.pass-card .pass-form { margin-top: 0; }
.pass-card:focus { outline: none; }
.pass-card a:not(.btn) { color: #5A00B8 !important; }
.pass-card :focus-visible { box-shadow: var(--focus); }
.pass-card .field input:focus-visible { box-shadow: 0 0 0 4px rgba(122, 0, 224, .22); }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); background: var(--navy); color: #C9CAE6; font-size: 1.0625rem; }
.site-footer a { color: #fff; }
.site-footer__inner { display: grid; gap: 28px; }
/* The official logo file has a white background, so it sits on a white tile rather than being altered */
.site-footer__brand picture { display: inline-block; margin-bottom: 16px; padding: 10px 14px; background: #fff; border-radius: 14px; }
.site-footer__brand img { width: 112px; height: auto; }
.site-footer__contact, .site-footer__links { display: grid; gap: 6px; align-content: start; }
.site-footer__contact a, .site-footer__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.site-footer__legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 1rem; }
.site-footer__legal p + p { margin-top: 8px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .3);
  transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility .3s;
}
.sticky-cta[hidden] { display: none; }
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta .btn { width: 100%; min-height: 56px; }

/* ---------- Modal ---------- */
html.modal-open { overflow: hidden; }
.modal {
  width: min(960px, calc(100vw - 20px)); max-width: none; max-height: calc(100dvh - 20px);
  padding: 0; border: 0; border-radius: 24px; overflow: auto; overscroll-behavior: contain;
  color: var(--text); background: #fff; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .6);
}
.modal::backdrop { background: rgba(10, 11, 46, .72); }
.modal[open] { animation: modal-in .28s ease both; }
.modal[open]::backdrop { animation: fade-in .28s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }
.modal__inner { position: relative; display: grid; }
.modal__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: grid; place-items: center; width: 48px; height: 48px;
  color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 50%; cursor: pointer;
}
.modal__close:hover { border-color: var(--purple); color: var(--purple); }
.modal__form { padding: 30px 22px 28px; }
.modal__form h2 { padding-right: 52px; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.1rem); }
.modal__sub { margin-top: 8px; }
.modal__aside { padding: 24px 22px 30px; background: var(--lilac); }
.modal__aside img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.modal__aside-title { margin-top: 18px; font-size: 1.3rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.modal__aside-call { margin-top: 20px; }
.modal__aside-call a { font-weight: 700; white-space: nowrap; }

/* ---------- Form ---------- */
form { margin-top: 22px; }
.field-row { display: grid; gap: 0 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--text-soft); }
.field input {
  width: 100%; min-height: 56px; padding: 12px 16px;
  font: inherit; color: var(--ink); background: #fff; border: 2px solid #8E89A8; border-radius: 12px;
}
.field input:hover { border-color: var(--ink); }
.field input:focus-visible { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(122, 0, 224, .22); }
.field input[aria-invalid="true"] { border-color: var(--error); background: #FFF6F7; }
.field__error, .form__error { margin-top: 6px; font-size: 1rem; font-weight: 600; color: var(--error); }
.form__error { margin: 0 0 14px; padding: 12px 14px; background: #FFF0F2; border-radius: 10px; }
.form__consent { margin-top: 14px; font-size: 1rem; line-height: 1.5; color: var(--text-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pass__embed { position: relative; min-height: 560px; margin-top: 16px; }
.pass__embed iframe { width: 100%; min-height: 560px; border: 0; background: #fff; }
.embed-loading { position: absolute; inset: 40px 0 auto; text-align: center; color: var(--text-soft); }
.success { padding: 16px 0 6px; text-align: center; }
.success:focus { outline: none; }
.success__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; color: #fff; background: var(--success); border-radius: 50%; }
.success__icon .icon { width: 38px; height: 38px; }
.success h2 { padding: 0; }
.success p { margin-top: 12px; }
.success .btn { margin-top: 24px; }

/* ==========================================================================
   Booking and thank-you pages
   ========================================================================== */
.site-header--static { position: static; }
.step-hero { position: relative; padding: 36px 0 44px; text-align: center; background: var(--grad-dark); color: var(--on-dark); }
.step-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--grad-brand); }
.step-hero__inner { max-width: 820px; }
.step-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.step-hero__thanks { margin-bottom: 8px; font-size: 1.2rem; font-weight: 700; color: #FFC773; }
.step-hero__lead { margin: 14px auto 0; max-width: 34em; font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3rem); }
.step-hero__tick { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; color: #fff; background: var(--success); border: 4px solid rgba(255, 255, 255, .85); border-radius: 50%; }
.step-hero__tick .icon { width: 40px; height: 40px; }

.progress { display: flex; justify-content: center; gap: 6px 18px; flex-wrap: wrap; margin-bottom: 28px; font-size: 1rem; font-weight: 600; }
.progress__step { display: inline-flex; align-items: center; gap: 8px; color: #C9CAE6; }
.progress__num { display: inline-grid; place-items: center; width: 30px; height: 30px; font-size: .9375rem; font-weight: 800; color: #fff; border: 2px solid rgba(255, 255, 255, .45); border-radius: 50%; }
.progress__num .icon { width: 16px; height: 16px; }
.progress__step--done .progress__num { color: var(--navy); background: #8FE3B6; border-color: #8FE3B6; }
.progress__step--current { color: #fff; }
.progress__step--current .progress__num { color: var(--navy); background: #FFC773; border-color: #FFC773; }
.step-hero--done .progress__step--current .progress__num { background: #8FE3B6; border-color: #8FE3B6; }

.booking { padding-top: 36px; }
.booking__card { max-width: 980px; margin-inline: auto; padding: 22px 14px; background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.booking__hint { margin: 0 8px 16px; padding: 14px 18px; background: var(--lilac); border-radius: var(--radius-sm); }
.booking__frame { min-height: 620px; }   /* reserves space while the calendar loads */
.booking__frame iframe { display: block; min-height: 620px; }
.booking__help { max-width: 980px; margin: 24px auto 0; text-align: center; }
.booking__help a { font-weight: 700; }

.next { display: grid; gap: 16px; }
.next__item { padding: 26px 24px; background: var(--lilac); border-radius: var(--radius); }
.next__num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; font-weight: 800; font-size: 1.15rem; color: #fff; background: var(--grad-cta); border-radius: 50%; }
.next__item p { margin-top: 8px; }
.help { text-align: center; }
.help > p { margin-top: 12px; }
.help__actions { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 22px !important; }
.help a:not(.btn) { font-weight: 700; }

@media (min-width: 720px) {
  .step-hero { padding: 48px 0 60px; }
  .booking__card { padding: 32px 28px; }
  .next { grid-template-columns: repeat(3, 1fr); }
  .help__actions { flex-direction: row; justify-content: center; }
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (min-width: 480px) {
  .btn--large { padding: 16px 32px; font-size: 1.125rem; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  body { font-size: 1.1875rem; } /* 19px */
  .section { padding: 88px 0; }
  .hero { padding: 64px 0 80px; }
  .site-header .btn { display: inline-flex; }
  .glance__list { grid-template-columns: repeat(4, 1fr); }
  .notice-list { grid-template-columns: repeat(6, 1fr); gap: 14px; background: none; border: 0; }
  .notice-list li, .notice-list li + li { padding: 20px 22px; background: #fff; border: 1px solid #F0E4D4; border-radius: var(--radius-sm); }
  .activity__demo { min-height: 168px; }
  .notice-list li { grid-column: span 2; }
  .notice-list li:nth-child(4) { grid-column: 2 / span 2; }
  .diff-grid, .benefits { grid-template-columns: 1fr 1fr; }
  .activities { grid-template-columns: 1fr 1fr; }
  .devices { grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 28px 32px; }
  .sources, .audience__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer { padding-bottom: 48px; }
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .sticky-cta { display: none !important; }
  .modal__form { padding: 40px 36px; }
  .pass-card { padding: 40px 36px; }
  .modal__aside { padding: 32px 36px 40px; }

  /* Pillars become a true three-column comparison */
  .pillars { gap: 0; background: #fff; border: 1px solid #F0E4D4; border-radius: var(--radius); overflow: hidden; }
  .pillars__row { display: grid; grid-template-columns: 1.1fr 1.3fr 1.6fr; gap: 28px; align-items: start; padding: 24px 28px; border: 0; border-top: 1px solid #F0E4D4; border-radius: 0; }
  .pillars__row--head { display: grid; border-top: 0; padding-block: 16px; background: var(--ink); color: #fff; font-size: .9375rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .pillars__row p { margin-top: 4px; }
  .pillars__row p::before { content: none; }
}

@media (min-width: 860px) {
  .modal__inner { grid-template-columns: 0.82fr 1fr; }
  .modal__aside { order: -1; display: flex; flex-direction: column; }
  .modal__form { align-self: center; }
}

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .hero__badge { left: -18px; bottom: 26px; padding: 14px 22px; font-size: 1.0625rem; }
  .split { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .how { grid-template-columns: 440px 1fr; gap: 48px; max-width: none; align-items: center; }
  .how__media { max-width: none; }
  .how + .devices { max-width: none; }
  .banner { margin-bottom: 48px; }
  .diff-grid { grid-template-columns: repeat(4, 1fr); }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .activities { grid-template-columns: repeat(3, 1fr); }
  .notice-list { grid-template-columns: repeat(5, 1fr); }
  .notice-list li, .notice-list li:nth-child(4) { grid-column: auto; }
  .offer { grid-template-columns: 1.15fr 1fr; }
  .offer__pass { padding: 56px 48px; }
  .offer__membership { padding: 56px 48px; align-self: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .sticky-cta, .modal { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Booking / thank-you pages have no sticky mobile bar, so the footer needs no extra room */
body[data-page] .site-footer { padding-bottom: 48px; }
