/* ==========================================================================
   UPLIFT — Learning community website template
   css/style.css
   --------------------------------------------------------------------------
    1. Theme tokens  ← change colours, fonts and spacing here
    2. Base
    3. Components: buttons, links, icons, notes
    4. Header and phone menu
    5. Hero
    6. Press strip
    7. Impact numbers
    8. Benefits
    9. About
   10. Webinar cards
   11. Newsletter
   12. Inner pages: page header, session list, FAQ, legal
   13. Footer
   14. Motion
   ========================================================================== */

/* 1. THEME TOKENS ========================================================== */
:root {
  --color-bg: #FBF6EC;           /* page background */
  --color-bg-light: #FDFAF3;
  --color-bg-dark: #EFE6D2;
  --color-white: #FFFFFF;
  --color-ink: #1F2A5A;          /* headings, text, dark buttons */
  --color-ink-soft: #5B6590;     /* secondary text (AA on cream and white) */
  --color-ink-tint: #E8EAF3;
  --color-yellow: #FFD66B;       /* highlights, primary buttons */
  --color-yellow-dark: #8A6400;  /* yellow-family text that passes AA */
  --color-yellow-light: #FFF0C2;
  --color-yellow-xlight: #FFF8E1;
  --color-coral: #FF7A59;        /* decorative accents */
  --color-coral-dark: #B83A1F;   /* coral-family text that passes AA */
  --color-coral-light: #FFB9A6;
  --color-coral-xlight: #FFE6DE;
  --color-border: #E5E7EB;
  --color-error: #B3261E;
  --color-success: #1E6B45;

  --font-heading: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 96px);
  --radius-m: 24px;
  --radius-l: 32px;
  --header-h: 74px;
  --transition: all .3s ease;
}

/* 2. BASE ================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-bg); color: var(--color-ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); color: var(--color-ink); line-height: 1.1; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--color-coral-dark); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 200; padding: 10px 18px; border-radius: 999px; background: var(--color-ink); color: #fff; font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }

/* 3. COMPONENTS ============================================================ */
.ph { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }
.eyebrow { display: block; margin-bottom: 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-ink-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 clamp(24px, 3vw, 40px); border-radius: 999px; border: 2px solid transparent; font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: var(--transition); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 0, 0, .15); }
.btn-yellow { background: var(--color-yellow-light); color: var(--color-ink); box-shadow: 0 10px 25px rgba(0, 0, 0, .08); }
.btn-yellow:hover { background: var(--color-ink); color: #fff; }
.btn-outline { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn-outline:hover { background: var(--color-ink); color: #fff; }
.btn-ink { background: var(--color-ink); color: #fff; }
.btn-ink:hover { background: var(--color-coral); color: var(--color-ink); }
.pill-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid var(--color-border); border-radius: 30px; font-weight: 600; font-size: .9375rem; text-decoration: none; transition: var(--transition); }
.pill-link:hover { background: var(--color-bg-dark); }
.sample-note { display: inline-flex; align-items: flex-start; gap: 8px; max-width: 52ch; padding: 8px 12px; border: 1.5px dashed var(--color-ink-soft); border-radius: 12px; color: var(--color-ink-soft); font-size: .8125rem; line-height: 1.45; }
.sample-note .ph { font-size: 1rem; margin-top: 1px; }
.underlined { position: relative; display: inline-block; z-index: 0; }
.underlined::after { content: ''; position: absolute; left: -4%; bottom: 8%; z-index: -1; width: 108%; height: clamp(8px, 1vw, 14px); border-radius: 10px; background: var(--color-yellow); transform: rotate(-1deg); }

/* 4. HEADER AND PHONE MENU ================================================= */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--color-bg); border-bottom: 1px solid #E0DCD2; }
.header-inner { position: relative; display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.375rem; font-weight: 800; color: var(--color-ink); text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; }
.main-nav { margin-inline: auto; }
.nav-list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: inline-block; padding: 8px 0; color: #333; font-size: .9375rem; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav-list a:hover { color: #000; }
.nav-list a[aria-current="page"] { color: #000; box-shadow: inset 0 -3px 0 var(--color-yellow); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.login-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: #000; color: #fff; font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.login-btn:hover { background: var(--color-ink); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #E0DCD2; border-radius: 12px; background: transparent; color: #000; font-size: 1.5rem; }
.menu-btn .icon-close, .menu-open .menu-btn .icon-open { display: none; }
.menu-open .menu-btn .icon-close { display: block; }
@media (max-width: 991px) {
  .main-nav { margin: 0 0 0 auto; }
  .menu-btn { display: inline-flex; }
  .nav-list { display: none; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--color-bg); border-bottom: 1px solid #E0DCD2; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .25); }
  .menu-open .nav-list { display: flex; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid #ECE6DA; font-size: 1.0625rem; }
  .nav-list a[aria-current="page"] { box-shadow: none; color: var(--color-coral-dark); }
}

/* 5. HERO ================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(2rem, 6vw, 5rem); }
.hero-media { position: relative; flex: 1; display: grid; place-items: center; min-height: clamp(280px, 40vw, 500px); }
.hero-media__circle { position: absolute; width: clamp(250px, 35vw, 450px); aspect-ratio: 1; border-radius: 50%; background: var(--color-coral-light); }
.hero-media__arc { position: absolute; width: clamp(280px, 40vw, 500px); aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--color-coral-light); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-20deg); }
.hero-media__frame { position: relative; z-index: 2; width: clamp(220px, 30vw, 400px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, .1); }
.hero-media__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { flex: 1.2; display: flex; flex-direction: column; gap: clamp(1rem, 2.4vw, 1.75rem); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; }
.hero-lead { max-width: 36rem; font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.45; color: var(--color-ink-soft); }
.hero-lead strong { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cta-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.hero-squiggle { width: 80px; height: 40px; color: var(--color-coral); opacity: .55; margin-top: .5rem; }
@media (max-width: 991px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 3rem; }
  .hero-copy { align-items: center; }
  .cta-group { justify-content: center; }
}
@media (max-width: 480px) { .cta-group { flex-direction: column; width: 100%; } .cta-group .btn { width: 100%; } }

/* 6. PRESS STRIP =========================================================== */
.press { padding-block: 40px; }
.press-inner { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 4rem); }
.press-label { flex: none; font-size: 1rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: #6E6A62; }
.press-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem clamp(1.5rem, 3vw, 3.5rem); margin: 0; padding: 0; list-style: none; }
.press-list img { height: 32px; width: auto; opacity: .75; transition: var(--transition); }
.press-list li:hover img { opacity: 1; }
.press .sample-note { margin: 24px auto 0; display: flex; width: fit-content; }
@media (max-width: 1024px) { .press-inner { flex-direction: column; gap: 1.5rem; text-align: center; } .press-list img { height: 26px; } }

/* 7. IMPACT NUMBERS ======================================================== */
.impact { background: var(--color-white); }
.impact-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2.5rem; margin-bottom: 3rem; }
.impact h2 { max-width: 30rem; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; }
.impact-top > p { max-width: 28rem; padding-top: 1.5rem; font-size: 1.125rem; color: var(--color-ink-soft); }
.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--color-border); border-radius: var(--radius-m); background: #fff; overflow: hidden; }
.stat-card { display: flex; flex-direction: column; gap: 1rem; padding: 3rem 1.75rem; border-right: 1px solid var(--color-border); }
.stat-card:last-child { border-right: 0; }
.stat-number { font-family: var(--font-heading); font-size: clamp(2.25rem, 3.8vw, 3.25rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stat-suffix { color: var(--color-coral-dark); }
.stat-label { max-width: 12rem; color: var(--color-ink-soft); }
@media (max-width: 1024px) {
  .impact-top { flex-direction: column; gap: 1rem; } .impact-top > p { padding-top: 0; }
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
}
@media (max-width: 560px) { .stat-cards { grid-template-columns: 1fr; } .stat-card { border-right: 0; border-bottom: 1px solid var(--color-border); padding: 2rem; } .stat-card:last-child { border-bottom: 0; } }

/* 8. BENEFITS ============================================================== */
.benefits { background: var(--color-white); padding-top: 0; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.benefits-col { display: flex; flex-direction: column; gap: 60px; }
.benefits h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; }
.circled { position: relative; display: inline-block; z-index: 0; }
.circled::after { content: ''; position: absolute; left: -10%; top: -6%; z-index: -1; width: 120%; height: 115%; background: url("data:image/svg+xml,%3Csvg width='180' height='100' viewBox='0 0 180 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M175 50C175 74.85 137.3 95 90.5 95C43.7 95 6 74.85 6 50C6 25.15 43.7 5 90.5 5C137.3 5 175 25.15 175 50Z' stroke='%23FF7A59' stroke-width='2.5' stroke-dasharray='5 5'/%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-2deg); }
.benefit-card { display: flex; flex-direction: column; gap: 20px; padding: 48px; border-radius: var(--radius-l); background: var(--color-bg); transition: transform .3s ease, background-color .3s ease; }
.benefit-card:hover { transform: translateY(-5px); }
.benefit-card--coral:hover { background: var(--color-coral-xlight); }
.benefit-card--yellow:hover { background: var(--color-yellow-light); }
.benefit-card--sky:hover { background: var(--color-ink-tint); }
.benefit-icon { width: 64px; height: 64px; font-size: 64px; }
.benefit-icon--coral { color: var(--color-coral); }
.benefit-icon--yellow { color: #E8B93A; }
.benefit-icon--ink { color: var(--color-ink); }
.benefit-icon--sky { color: #0EA5E9; }
.benefit-card h3 { font-size: 1.75rem; font-weight: 700; }
.benefit-card p { color: var(--color-ink); }
.benefit-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; text-decoration: none; transition: gap .3s ease; }
.benefit-link:hover { gap: 12px; text-decoration: underline; text-underline-offset: 4px; }
.benefit-card--more h3 { font-size: 2rem; }
@media (max-width: 1024px) { .benefits-grid { gap: 40px; } .benefits-col { gap: 40px; } .benefit-card { padding: 32px; } }
@media (max-width: 768px) { .benefits-grid { grid-template-columns: 1fr; } }

/* 9. ABOUT ================================================================= */
.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.about h2 { margin-bottom: 2rem; font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; }
.about-copy p { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--color-ink-soft); }
.story-link { display: inline-flex; align-items: center; gap: .5rem; padding-bottom: 2px; border-bottom: 1.5px solid var(--color-ink); font-weight: 700; text-decoration: none; transition: var(--transition); }
.story-link:hover { gap: .75rem; color: var(--color-coral-dark); border-color: var(--color-coral-dark); }
.collage { position: relative; height: 600px; }
.collage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, var(--color-bg-dark) 0%, transparent 70%); opacity: .6; }
.collage figure { position: absolute; margin: 0; border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, .1); transition: transform .3s ease; }
.collage figure:hover { transform: scale(1.02); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__main { top: 50px; right: 0; width: 300px; height: 400px; z-index: 3; }
.collage__small { top: 250px; left: 0; width: 180px; height: 180px; z-index: 4; }
.collage__bottom { bottom: 0; right: 50px; width: 240px; height: 320px; z-index: 2; }
.collage__arrow { position: absolute; width: 150px; height: 150px; color: var(--color-coral); }
.collage__arrow--1 { top: 100px; left: 50px; transform: rotate(-20deg); }
.collage__arrow--2 { bottom: 100px; right: 0; width: 200px; height: 200px; }
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .collage { order: -1; height: 500px; max-width: 520px; width: 100%; margin-inline: auto; }
  .collage__main { width: 250px; height: 350px; }
  .collage__small { width: 150px; height: 150px; top: 200px; }
  .collage__bottom { width: 200px; height: 280px; }
}
@media (max-width: 480px) {
  .collage { height: 400px; }
  .collage__main { width: 180px; height: 250px; }
  .collage__small { width: 110px; height: 110px; top: 150px; }
  .collage__bottom { width: 150px; height: 200px; right: 20px; }
}

/* 10. WEBINAR CARDS ======================================================== */
.webinars { background: linear-gradient(to bottom, var(--color-white), var(--color-bg-light), var(--color-bg)); }
.webinars-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 3rem; }
.webinars-head h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; }
.webinar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.webinar-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-m); border: 1px solid var(--color-ink-tint); overflow: hidden; text-decoration: none; transition: background-color .4s ease, transform .4s ease, box-shadow .4s ease; }
.webinar-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, .08); }
.webinar-card__media { position: relative; height: 220px; overflow: hidden; }
.webinar-card__media img { width: 100%; height: 100%; object-fit: cover; }
.webinar-card__body { display: flex; flex-direction: column; flex-grow: 1; padding: 24px; }
.webinar-card h3 { margin-bottom: 12px; font-size: 1.5rem; font-weight: 700; }
.webinar-card__meta { margin-bottom: 24px; font-size: .9rem; color: var(--color-ink-soft); }
.webinar-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
.webinar-card__price { font-size: 1.1rem; font-weight: 700; }
.webinar-card__cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .9375rem; text-decoration: underline; text-underline-offset: 4px; }
.webinar-card--featured { grid-column: span 2; flex-direction: row; background: var(--color-bg-dark); }
.webinar-card--featured .webinar-card__media { flex: 1; height: auto; min-height: 280px; }
.webinar-card--featured .webinar-card__body { flex: 1.2; padding: 48px; }
.webinar-card--featured h3 { font-size: 1.85rem; }
.webinar-card--featured:hover { background: var(--color-coral-xlight); }
.webinar-card--peach { background: var(--color-coral-xlight); }
.webinar-card--yellow { background: var(--color-yellow-xlight); }
.webinar-card--peach:hover { background: var(--color-coral-light); }
.webinar-card--yellow:hover { background: var(--color-yellow-light); }
.badge { position: absolute; top: 20px; left: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
.badge--live { background: #fff; color: var(--color-coral-dark); }
.badge--live .ph { font-size: .5rem; }
.badge--upcoming { background: var(--color-yellow-xlight); color: var(--color-ink); }
.badge--replay { background: var(--color-ink); color: #fff; }
@media (max-width: 1024px) { .webinar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .webinars-head { flex-direction: column; align-items: flex-start; }
  .webinar-grid { grid-template-columns: 1fr; }
  .webinar-card--featured { grid-column: span 1; flex-direction: column; }
  .webinar-card--featured .webinar-card__media { min-height: 0; height: 240px; }
  .webinar-card--featured .webinar-card__body { padding: 24px; }
}

/* 11. NEWSLETTER =========================================================== */
.newsletter { position: relative; isolation: isolate; }
.newsletter-card { padding: clamp(2rem, 6vw, 5rem); border-radius: clamp(24px, 5vw, 48px); background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .05); }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.newsletter h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; }
.newsletter h2 em { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.newsletter-title { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.newsletter-title .ph { flex: none; font-size: 40px; color: #E8B93A; margin-top: .5rem; }
.newsletter-sub { margin-bottom: 2.5rem; font-family: var(--font-heading); font-size: clamp(1.1rem, 2vw, 1.25rem); line-height: 1.4; }
.proof { display: flex; align-items: center; gap: 14px; }
.avatar-group { display: flex; }
.avatar-group span { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -12px; border: 2px solid #fff; border-radius: 50%; background: var(--color-ink); color: #fff; font-size: .75rem; font-weight: 700; }
.avatar-group span:first-child { margin-left: 0; }
.avatar-group span:nth-child(2) { background: var(--color-coral-dark); }
.avatar-group span:nth-child(3) { background: var(--color-yellow); color: var(--color-ink); }
.stars { display: flex; gap: 2px; color: var(--color-coral); font-size: 16px; }
.proof p { font-size: .875rem; font-weight: 500; }
.newsletter-desc { margin-bottom: 1.5rem; font-size: 1.125rem; line-height: 1.6; }
.form-panel { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1rem, 3vw, 1.5rem); border-radius: var(--radius-m); background: var(--color-bg-light); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9375rem; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: .75rem 1.5rem; border: 1px solid #C9CDD6; border-radius: 100px; background: #fff; font-size: 1.0625rem; color: var(--color-ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { border-radius: 20px; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-ink); box-shadow: 0 0 0 3px var(--color-yellow); }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field-error { color: var(--color-error); font-size: .875rem; }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-panel .btn { width: 100%; margin-top: .25rem; }
.form-panel .btn[aria-disabled="true"] { opacity: .7; pointer-events: none; }
.disclaimer { margin-top: 1rem; font-size: .875rem; line-height: 1.6; }
.disclaimer a { font-weight: 700; text-underline-offset: 3px; }
.form-status:not(:empty) { margin-top: 1rem; padding: 12px 16px; border-radius: 14px; font-size: .9375rem; }
.form-status--success { background: #E3F2E8; color: var(--color-success); }
.form-status--error { background: #FCE8E6; color: var(--color-error); }
.form-status--demo { background: var(--color-yellow-xlight); border: 1.5px dashed var(--color-ink-soft); }
@media (max-width: 992px) {
  .newsletter-grid { grid-template-columns: 1fr; text-align: center; }
  .newsletter-title, .proof { justify-content: center; }
  .proof { flex-direction: column; }
  .newsletter-right { max-width: 520px; width: 100%; margin-inline: auto; text-align: left; }
}

/* 12. INNER PAGES ========================================================== */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 56px); }
.page-hero__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 4rem; align-items: end; }
.page-hero h1 { font-size: clamp(2.75rem, 6.5vw, 5rem); font-weight: 700; }
.page-hero p { font-size: 1.1875rem; color: var(--color-ink-soft); }
.page-hero__jump { display: flex; flex-wrap: wrap; gap: 10px; grid-column: 1 / -1; }
@media (max-width: 860px) { .page-hero__inner { grid-template-columns: 1fr; } }

.session-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.session { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 28px; padding: 24px 28px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--color-ink-tint); scroll-margin-top: calc(var(--header-h) + 24px); }
.session:target { box-shadow: 0 0 0 3px var(--color-yellow); }
.session__date { display: grid; place-items: center; padding: 12px 8px; border-radius: 18px; background: var(--color-yellow-light); text-align: center; line-height: 1.1; }
.session__date b { display: block; font-family: var(--font-heading); font-size: 2rem; }
.session__date span { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.session h3 { font-size: 1.375rem; }
.session__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--color-ink-soft); }
.session__meta li { display: inline-flex; align-items: center; gap: 6px; }
.session .btn { min-height: 48px; padding: 0 24px; font-size: 1rem; }
@media (max-width: 760px) { .session { grid-template-columns: 76px 1fr; gap: 16px 18px; padding: 20px; } .session .btn { grid-column: 1 / -1; width: 100%; } .session__date b { font-size: 1.5rem; } }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
.section-head p { max-width: 34rem; color: var(--color-ink-soft); }

.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-top: 1.5px solid #E0DCD2; }
.faq-item:last-child { border-bottom: 1.5px solid #E0DCD2; }
.faq-item h3 { font-size: inherit; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; padding: 24px 0; border: 0; background: none; text-align: left; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--color-ink); }
.faq-q .ph { font-size: 1.5rem; transition: transform .3s; }
.faq-q[aria-expanded="true"] .ph { transform: rotate(45deg); }
.faq-a { overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding-bottom: 24px; color: var(--color-ink-soft); font-size: 1.0625rem; }
.faq-a a { color: var(--color-ink); font-weight: 700; }

.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; padding: 20px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--color-ink-tint); }
.legal-toc p { margin-bottom: 6px; font-weight: 700; }
.legal-toc a { padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.legal-toc a:hover { background: var(--color-yellow-xlight); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 48px; font-size: clamp(1.75rem, 3vw, 2.25rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-of-type { margin-top: 24px; }
.prose h3 { margin-top: 28px; font-size: 1.1875rem; }
.prose p { margin-top: 10px; color: #3D466E; }
.prose a { font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 860px) { .legal-wrap { grid-template-columns: 1fr; gap: 28px; } .legal-toc { position: static; } }

/* 13. FOOTER =============================================================== */
.site-footer { padding: 3rem 0 2rem; background: #fff; color: #4A5068; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding: 6px 0; font-size: .95rem; text-decoration: none; }
.footer-links a:hover { color: var(--color-ink); text-decoration: underline; }
.social-links { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-bg); color: var(--color-ink); font-size: 1.25rem; transition: var(--transition); }
.social-links a:hover { background: var(--color-ink); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); font-size: .875rem; }
@media (max-width: 768px) { .footer-top, .footer-bottom { flex-direction: column; align-items: center; text-align: center; } .footer-links { justify-content: center; } }

/* 14. MOTION =============================================================== */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Helpers used on inner pages */
.section--flush { padding-top: 0; }
.section-head--center { justify-content: center; text-align: center; }
.center-cta { margin-top: 3rem; text-align: center; }
.session__play { font-size: 2rem; }
.webinar-grid__featured { grid-column: span 2; }
@media (max-width: 768px) { .webinar-grid__featured { grid-column: span 1; } }
