/* =========================================================
   Tandem — Design System (Wispr-inspired)
   tandemuniapp.com | March 2026
   ========================================================= */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }

/* TOKENS */
:root {
  --primary: #7719AA;
  --primary-rgb: 119, 25, 170;
  --primary-hover: #6610a0;
  --primary-light: #EDE4F8;
  --cream: #FAFAF5;
  --dark: #1C1033;
  --dark-card: #160D28;
  --dark-surface: #221040;
  --white: #FFFFFF;
  --text: #111111;
  --text-muted: #6B7280;
  --text-cream: #A09284;
  --border: #E2D8EE;
  --border-cream: #EAE3D8;
  --green: #16a34a;
  --red: #dc2626;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1160px;
  --pad-x: 32px;
  --section-y: 112px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 48px;
  --r-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.14);
  --shadow-purple: 0 8px 32px rgba(119,25,170,0.3);
}

/* BASE */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga" 1, "kern" 1;
  text-rendering: optimizeLegibility;
}

/* LAYOUT */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============================================================
   NAVIGATION — floating pill
   ============================================================ */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 14px 20px;
  pointer-events: none;
}

.nav {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--r-xl);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.05);
  max-width: var(--max);
  margin: 0 auto;
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 18px;
  gap: 16px;
  position: relative;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #7719AA;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 13px;
  border-radius: var(--r-full);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.nav__link.is-active,
.nav__link.active,
.nav__link[aria-current="page"] {
  color: var(--primary);
  background: rgba(119, 25, 170, 0.07);
  font-weight: 600;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__btn-outline {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border: 1.5px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--r-full);
  padding: 7px 15px;
  background: transparent;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav__btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav__btn-fill {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border-radius: var(--r-full);
  padding: 7px 15px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(119, 25, 170, 0.3);
}

.nav__btn-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  animation: btn-shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

.nav__btn-fill:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 3px 16px rgba(119, 25, 170, 0.45);
}
.nav__btn-fill:active,
.nav__btn-outline:active {
  transform: translateY(1px) scale(0.98);
  transition-duration: 0.05s;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  border-radius: 6px;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.nav__mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  background: #FAF8FF;
  z-index: 190;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 80px 36px 48px;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
}

.nav__mobile-menu::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(119,25,170,0.08) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.nav__mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-link,
.nav__mobile-cta {
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s;
}

.nav__mobile-menu.open .nav__mobile-link,
.nav__mobile-menu.open .nav__mobile-cta {
  transform: translateY(0);
  opacity: 1;
}

.nav__mobile-menu.open .nav__mobile-link:nth-child(2) { transition-delay: 0.05s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(3) { transition-delay: 0.10s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(4) { transition-delay: 0.15s; }
.nav__mobile-menu.open .nav__mobile-cta { transition-delay: 0.20s; }

.nav__mobile-link {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  padding: 16px 0;
  width: 100%;
  text-align: left;
  letter-spacing: -0.5px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: color 0.2s;
}

.nav__mobile-link:last-of-type {
  border-bottom: none;
}

.nav__mobile-link:hover {
  color: var(--primary);
}

.nav__mobile-cta {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  padding: 16px 28px;
  border-radius: var(--r-full);
  margin-top: 40px;
  align-self: stretch;
  text-align: center;
  box-shadow: 0 4px 20px rgba(119,25,170,0.25);
  transition: background 0.2s, box-shadow 0.2s;
}

.nav__mobile-cta:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 24px rgba(119,25,170,0.35);
}

.nav__mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  background: #F3F4F6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.nav__mobile-close:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Page offset for fixed nav */
.page-top { padding-top: 140px; }

/* Offset anchor targets so fixed nav doesn't obscure them */
[id] { scroll-margin-top: 100px; }

/* ============================================================
   HERO — centered, large serif
   ============================================================ */
.hero {
  padding: 72px 0 96px;
  min-height: 82dvh;
  display: flex;
  align-items: center;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Override .page-top so flex centering handles vertical position;
   padding-top just clears the fixed nav (~86px) */
.hero.page-top {
  padding-top: 86px;
  padding-bottom: 80px;
}

/* Ambient purple glow behind headline */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 40%, rgba(119, 25, 170, 0.065) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

/* Grain texture overlay for tactile depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; width: 100%; }

/* Sub-page heroes: smaller headline for better proportions */
.hero--access .hero__headline {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text);
  max-width: 960px;
  margin: 0 auto 28px;
}

.hero__hl-muted {
  color: #C4B8D0;
  font-weight: 400;
}

.hero__hl-accent {
  color: var(--primary);
  font-style: italic;
}

/* Animated word carousel */
.hero__carousel {
  display: block;
  position: relative;
  height: 1.25em;
  overflow: hidden;
  margin: 0.05em 0;
}

.hero__carousel-word {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--primary);
  font-style: italic;
  font-weight: 700;
  opacity: 0;
  transform: translateY(60px);
  transition: none;
}

.hero__carousel-word.is-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1.2, 0.36, 1);
}

.hero__carousel-word.is-exit {
  opacity: 0;
  transform: translateY(-60px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 1, 1);
}

.hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* ============================================================
   APP SHOWCASE — hero visual
   ============================================================ */
.app-showcase {
  max-width: 920px;
  margin: 0 auto;
  background: var(--dark-card);
  border-radius: var(--r-2xl);
  padding: 40px 48px 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.app-showcase::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(119, 25, 170, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.app-showcase::after {
  content: '';
  position: absolute;
  bottom: 40px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(119, 25, 170, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.app-showcase__screens {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.app-screen {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.app-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.app-screen--primary { width: 220px; }
.app-screen--secondary { width: 190px; opacity: 0.85; }
.app-screen--tertiary { width: 168px; opacity: 0.6; }

/* ============================================================
   PROOF BAR — dark strip below hero
   ============================================================ */
.proof-bar {
  background: var(--dark);
  padding: 24px 0;
}

.proof-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.proof-bar__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.proof-bar__dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.proof-bar__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.proof-bar__sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 18px;
}

.proof-bar__expanding {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   SECTION PATTERNS
   ============================================================ */
.section {
  padding: var(--section-y) 0;
}

.section--cream {
  background: #F8F7FC;
}

.section--dark {
  background: var(--dark);
}

.section--dark-rounded {
  background: var(--dark);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  margin-top: -32px;
  position: relative;
  z-index: 2;
}

/* Faint purple ambient glow at the top of dark-rounded sections */
.section--dark-rounded::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(119, 25, 170, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.section--dark-rounded > * { position: relative; z-index: 1; }

/* Stats strip */
.stats-strip {
  padding: 40px 0;
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

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

.stats-strip__number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.stats-strip__label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.stats-strip__note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .stats-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Section headers */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}

.section-eyebrow--muted {
  color: rgba(255, 255, 255, 0.35);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-title--white { color: var(--white); }

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-top: 14px;
}

.section-sub--white { color: rgba(255, 255, 255, 0.6); }

.section-header {
  margin-bottom: 52px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   THE GAP — 2-col grid
   ============================================================ */
.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.gap-grid__copy .section-title {
  margin-bottom: 20px;
}

.gap-grid__copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 16px;
}

/* Compare table */
.compare-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 20px;
  background: #F7F0FC;
  border-bottom: 1px solid var(--border);
}

.compare-table__head span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compare-table__head span:first-child {
  color: var(--primary);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 13px 20px;
  border-bottom: 1px solid #F3EDF9;
  gap: 16px;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text);
}

.compare-item--muted {
  color: var(--text-muted);
}

.dot-yes {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-no {
  width: 8px;
  height: 8px;
  background: #D1D5DB;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   BENTO CARDS — dark feature grid
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--dark-surface);
  border-radius: var(--r-lg);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(119, 25, 170, 0.5), transparent);
}

.bento-card--wide {
  grid-column: span 2;
}

.bento-card--tall {
  grid-row: span 2;
}

.bento-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}

.bento-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 10px;
}

.bento-card__body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

.bento-card__visual {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
}

.bento-card__visual img {
  width: 100%;
  border-radius: 12px;
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(119, 25, 170, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bento-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
}

/* ============================================================
   FEATURE HERO — full-width split card (for-unions)
   ============================================================ */
.feature-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--dark-surface);
  border-radius: var(--r-xl);
  padding: 48px 52px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.feature-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(119, 25, 170, 0.5), transparent);
}

.feature-hero::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(119, 25, 170, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.feature-hero__copy {
  position: relative;
  z-index: 1;
}

.feature-hero__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.feature-hero__body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.72;
  max-width: 420px;
}

.feature-hero__widget {
  position: relative;
  z-index: 1;
}

/* 2x2 feature grid (for-unions) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-grid__card {
  background: var(--dark-surface);
  border-radius: var(--r-lg);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-grid__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(119, 25, 170, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-grid__card:hover {
  border-color: rgba(119, 25, 170, 0.2);
  transform: translateY(-3px);
}

.feature-grid__card:hover::before {
  opacity: 1;
}

/* Intent summary widget */
.intent-summary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 24px;
}

.intent-summary__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.intent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.intent-row:last-child {
  margin-bottom: 0;
}

.intent-row__name {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  width: 110px;
  flex-shrink: 0;
}

.intent-row__bar-wrap {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r-full);
  overflow: hidden;
}

.intent-row__bar {
  height: 100%;
  background: var(--primary);
  border-radius: var(--r-full);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.intent-summary.is-animated .intent-row__bar {
  transform: scaleX(1);
}

.intent-summary.is-animated .intent-row:nth-child(2) .intent-row__bar { transition-delay: 0.12s; }
.intent-summary.is-animated .intent-row:nth-child(3) .intent-row__bar { transition-delay: 0.24s; }
.intent-summary.is-animated .intent-row:nth-child(4) .intent-row__bar { transition-delay: 0.36s; }
.intent-summary.is-animated .intent-row:nth-child(5) .intent-row__bar { transition-delay: 0.48s; }

.intent-row__pct {
  font-size: 11px;
  font-weight: 700;
  color: rgba(119, 25, 170, 0.8);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

.intent-summary__footnote {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 14px;
  line-height: 1.4;
}

/* ============================================================
   TESTIMONIALS — dark section
   ============================================================ */
.wsu-quote {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  padding: 44px 52px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.wsu-quote__mark {
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 0.5;
  color: rgba(119, 25, 170, 0.12);
  position: absolute;
  top: 32px;
  left: 36px;
  user-select: none;
}

.wsu-quote blockquote {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
  letter-spacing: 0.002em;
}

.wsu-quote__attr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wsu-quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.wsu-quote__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.wsu-quote__role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}

/* Society/student quote card grid */
.quote-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.quote-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-md);
  padding: 22px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(119, 25, 170, 0.3);
  transform: translateY(-3px);
}

.quote-card__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 14px;
}

.quote-card__attr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.quote-card__logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.quote-card__from {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Marquee (for-unions testimonials) */
.testimonials-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.testimonials-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card-sm {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-md);
  padding: 22px 24px;
  width: 300px;
  flex-shrink: 0;
}

.testimonials-marquee__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}

.testimonials-marquee__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--dark), transparent);
}

.testimonials-marquee__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--dark), transparent);
}

/* ============================================================
   APP SCREENSHOT MARQUEE (homepage "What Tandem does")
   ============================================================ */
.section--marquee-hero {
  padding-bottom: 80px;
}

.marquee-strip {
  width: 100%;
  margin-top: 64px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

/* Purple glow beneath the phone strip */
.marquee-strip::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 120px;
  background: radial-gradient(ellipse, rgba(119, 25, 170, 0.35) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

.marquee-track { position: relative; z-index: 1; }

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
  width: 170px;
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-item:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 2;
  position: relative;
}

.marquee-item img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.06);
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   IMAGE ACCORDION ("What Tandem does")
   ============================================================ */
.section--fc {
  padding-bottom: 88px;
}

.ia {
  max-width: 1060px;
  margin: 0 auto;
}

.ia__row {
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Left: text copy */
.ia__copy {
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}

.ia__step {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.ia__step.is-active {
  display: flex;
  animation: ia-text-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ia__step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.ia__step-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin: 0;
}

.ia__step-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.72;
  max-width: 360px;
}

.ia__actions {
  margin-top: 28px;
}

/* Right: accordion panels */
.ia__panels {
  flex: 1;
  display: flex;
  gap: 8px;
  height: 450px;
}

.ia__panel {
  position: relative;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 56px;
  transition: flex 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ia__panel.is-active {
  flex: 1 1 0%;
}

.ia__panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ia__panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 16, 51, 0.7) 0%, rgba(28, 16, 51, 0.15) 50%, transparent 100%);
  transition: opacity 0.4s ease;
}

.ia__panel.is-active .ia__panel-overlay {
  background: linear-gradient(to top, rgba(28, 16, 51, 0.55) 0%, transparent 50%);
}

.ia__panel-label {
  position: absolute;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Active: horizontal at bottom centre */
.ia__panel.is-active .ia__panel-label {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  font-size: 17px;
}

/* Inactive: rotated vertical */
.ia__panel:not(.is-active) .ia__panel-label {
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  font-size: 14px;
  opacity: 0.85;
}

/* Keyframes */
@keyframes ia-text-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .ia__row {
    flex-direction: column;
    gap: 32px;
  }

  .ia__copy {
    flex: none;
    width: 100%;
    min-height: auto;
    text-align: center;
  }

  .ia__step-desc {
    max-width: 100%;
    margin: 0 auto;
  }

  .ia__actions {
    display: flex;
    justify-content: center;
  }

  .ia__panels {
    width: 100%;
    height: 320px;
  }

  .ia__panel {
    flex: 0 0 40px;
    border-radius: 14px;
  }

  .ia__panel:not(.is-active) .ia__panel-label {
    bottom: 60px;
    font-size: 12px;
  }

  .ia__panel.is-active .ia__panel-label {
    font-size: 14px;
  }
}

/* ============================================================
   COMPARE SECTION — homepage centred layout
   ============================================================ */
.compare-section {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.compare-section__copy {
  margin-bottom: 40px;
}

.compare-section__copy .section-title {
  margin-bottom: 20px;
}

.compare-section__copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 16px;
}

/* ============================================================
   TESTIMONIALS REDESIGN — homepage light section
   ============================================================ */
.testimonial-featured {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  max-width: 820px;
  margin: 0 auto 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.testimonial-featured__quote-mark {
  font-family: var(--font-display);
  font-size: 140px;
  line-height: 0.6;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: 28px;
  left: 36px;
  user-select: none;
  pointer-events: none;
}

.testimonial-featured blockquote {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-featured__attr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-featured__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-featured__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-featured__role {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
}

.testimonial-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  font-style: italic;
}

.testimonial-card__from {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   STUDENT TESTIMONIALS — gradient section
   ============================================================ */
.section--gradient-soft {
  background: linear-gradient(160deg, var(--cream) 0%, #F0E8FA 100%);
}

.student-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.student-quote-card {
  background: var(--white);
  border: 1px solid rgba(119, 25, 170, 0.1);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
}

.student-quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.student-quote-card__stars {
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.student-quote-card__text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}

.student-quote-card__from {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* For-unions testimonials — lighter dark */
.section--testimonials {
  background: #291A50;
}

/* App badge SVG icon */
.app-badge__icon-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--dark);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  padding: 88px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(119, 25, 170, 0.28) 0%, transparent 62%);
  pointer-events: none;
  animation: cta-glow-pulse 5s ease-in-out infinite;
}

@keyframes cta-glow-pulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;    transform: translateX(-50%) scale(1.08); }
}

.cta-section .section-title--white {
  max-width: 560px;
  margin: 12px auto 16px;
}

.cta-section .section-sub--white {
  margin: 0 auto 36px;
}

.cta-section--flush {
  border-radius: 0;
  margin-top: 0;
}

.cta-section__divider {
  width: 64px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 48px;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0F0820;
  padding: 72px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(119, 25, 170, 0.4), transparent);
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__logo {
  display: block;
  margin-bottom: 12px;
}

.footer__logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer__logo .nav__wordmark {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  display: inline-block;
  font-size: 20px;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.35);
  max-width: 240px;
  margin-bottom: 16px;
}

.footer__email {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer__email a {
  color: rgba(180, 140, 210, 0.85);
  transition: color 0.2s;
}

.footer__email a:hover {
  color: #d4b5f0;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

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

.footer__legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r-full);
  padding: 13px 26px;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(119, 25, 170, 0.25);
}

.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(119, 25, 170, 0.38);
}
.btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition-duration: 0.05s;
}

/* Shimmer button — applied to Book a Demo CTAs */
.btn--shimmer {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 16px rgba(119, 25, 170, 0.4), inset 0 -3px 8px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: btn-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.btn--shimmer:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(119, 25, 170, 0.55), inset 0 -3px 8px rgba(255, 255, 255, 0.16);
}

@keyframes btn-shimmer {
  0%       { left: -80%; }
  55%, 100% { left: 135%; }
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(0, 0, 0, 0.16);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}

.btn--outline-white:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn--ghost:hover {
  text-decoration: underline;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-section {
  background: var(--cream);
  padding: var(--section-y) 0;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 52px;
  box-shadow: var(--shadow-md);
}

.form-card__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.form-card__sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.form-split__copy .section-title {
  margin-bottom: 16px;
}

.form-split__copy p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.form-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.form-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.fb-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.fb-check svg {
  width: 10px;
  height: 10px;
  stroke: var(--primary);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.req {
  color: var(--primary);
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(119, 25, 170, 0.1);
  background: var(--white);
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
}

.form-input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form-input.is-invalid:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.form-input.is-valid {
  border-color: var(--green);
}

.form-error {
  display: block;
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  min-height: 16px;
  line-height: 1.3;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
  font-size: 16px;
  padding: 14px 24px;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
  display: none;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(14px);
}

.form-success p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(14px);
}

.form-success .form-success__cta {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: color 0.2s;
}

.form-success .form-success__cta:hover {
  color: var(--primary-dark, #4a1d96);
}

.form-success .form-success__cta svg {
  vertical-align: middle;
  margin-left: 4px;
  transition: transform 0.2s;
}

.form-success .form-success__cta:hover svg {
  transform: translateX(3px);
}

.form-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  opacity: 0;
  transform: scale(0.6);
}

.form-success-icon svg {
  width: 28px;
  height: 28px;
}

.form-success-icon .check-circle {
  stroke: var(--green, #16a34a);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  fill: none;
}

.form-success-icon .check-tick {
  stroke: var(--green, #16a34a);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  fill: none;
}

.form-success.is-revealed .form-success-icon {
  animation: successIconIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s forwards;
}

.form-success.is-revealed .check-circle {
  animation: drawCircle 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}

.form-success.is-revealed .check-tick {
  animation: drawTick 0.35s cubic-bezier(0.65, 0, 0.35, 1) 0.7s forwards;
}

.form-success.is-revealed h3 {
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.6s;
  opacity: 1;
  transform: translateY(0);
}

.form-success.is-revealed p {
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.78s;
  opacity: 1;
  transform: translateY(0);
}

.form-success.is-revealed .form-success__cta {
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.95s;
  opacity: 1;
  transform: translateY(0);
}

@keyframes successIconIn {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawTick {
  to { stroke-dashoffset: 0; }
}

/* ============================================================
   FOR UNIONS PAGE
   ============================================================ */
.hero--unions {
  background: var(--white);
  padding: 72px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero--unions::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(119, 25, 170, 0.065) 0%, transparent 62%);
  pointer-events: none;
}

.hero--unions::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 0;
}

.hero--unions .container { position: relative; z-index: 1; }

.hero--unions .hero__headline {
  color: var(--text);
}

.hero--unions .hero__sub {
  color: var(--text-muted);
}

/* Comparison table (full, for-unions) */
.comparison-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
}

.comparison-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 20px;
  background: #F7F0FC;
  border-bottom: 1px solid var(--border);
}

.comparison-col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.comparison-col-label.tandem {
  color: var(--primary);
  text-align: center;
}

.comparison-col-label.current {
  text-align: center;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 13px 20px;
  border-bottom: 1px solid #F3EDF9;
  align-items: center;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-feature {
  font-size: 14px;
  color: var(--text);
}

.comparison-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.check--yes {
  background: rgba(119, 25, 170, 0.1);
  color: var(--primary);
}

.check--no {
  background: rgba(0, 0, 0, 0.05);
  color: #9CA3AF;
}

.comparison-quote {
  padding: 20px 24px;
  background: var(--primary-light);
  border-top: 1px solid var(--border);
}

.comparison-quote blockquote {
  font-size: 14px;
  font-style: italic;
  color: var(--primary);
  text-align: center;
}

.comparison-quote cite {
  font-size: 12px;
  opacity: 0.65;
  display: block;
  margin-top: 4px;
}

/* Alert bar */
.alert-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-xs);
}

.alert-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--primary);
  border-radius: var(--r-full);
  padding: 3px 10px;
  flex-shrink: 0;
}

.alert-text {
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.alert-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.alert-link:hover {
  text-decoration: underline;
}

.data-copy p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 680px;
}

/* ============================================================
   FOR STUDENTS PAGE
   ============================================================ */
.hero--students {
  background: var(--white);
  padding: 72px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero--students::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(119, 25, 170, 0.06) 0%, transparent 62%);
  pointer-events: none;
}

.hero--students::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 0;
}

.hero--students .container { position: relative; z-index: 1; }

.hero--students .hero__headline {
  color: var(--text);
}

.hero--students .hero__sub {
  color: var(--text-muted);
}

.app-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.app-badges--center {
  justify-content: center;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 18px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-xs);
}

.app-badge:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.app-badge--light {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}

.app-badge__icon {
  font-size: 22px;
  line-height: 1;
}

.app-badge__sm {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.6;
  line-height: 1;
}

.app-badge__lg {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.student-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.student-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.student-feature-card:hover {
  border-color: var(--border-cream);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.student-feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--primary);
}
.student-feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.student-feature-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
}

.student-feature-card__body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   CONTACT PAGE HERO
   ============================================================ */
.hero--contact {
  min-height: auto;
  padding: 72px 0 0;
  overflow: visible;
}

.hero--contact.page-top {
  padding-top: 86px;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .hero--contact {
    padding: 48px 0 0;
  }
  .hero--contact.page-top {
    padding-top: 56px;
  }
}

/* ============================================================
   EARLY ACCESS PAGE
   ============================================================ */
.hero--access {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero--access::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(119, 25, 170, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* ============================================================
   MINIMAL PAGES (privacy, terms, 404)
   ============================================================ */
.minimal-page {
  padding: var(--section-y) 0;
  min-height: 60vh;
}

.minimal-page .page-content {
  max-width: 700px;
  margin: 0 auto;
}

.minimal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.minimal-page .page-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.minimal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 10px;
}

.minimal-page p,
.minimal-page li {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 16px;
  margin-bottom: 12px;
}

.minimal-page h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
}

.minimal-page ul,
.minimal-page ol {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.minimal-page ol {
  list-style: lower-alpha;
}

.minimal-page .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

.minimal-page .legal-table th,
.minimal-page .legal-table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--text-muted);
  line-height: 1.6;
}

.minimal-page .legal-table th {
  background: var(--cream);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.minimal-page .legal-separator {
  border: none;
  border-top: 2px solid var(--border);
  margin: 48px 0;
}

.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.not-found__code {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.15;
}

.not-found__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.not-found__sub {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ============================================================
   FOCUS-VISIBLE — keyboard accessibility
   ============================================================ */
.btn:focus-visible,
.nav__btn-fill:focus-visible,
.nav__btn-outline:focus-visible,
.nav__link:focus-visible,
.app-badge:focus-visible,
.footer__link:focus-visible,
.footer__legal a:focus-visible,
.footer__email a:focus-visible,
.btn--ghost:focus-visible,
.form-success__cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-full);
}

.nav__mobile-link:focus-visible,
.nav__mobile-cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-input:focus-visible {
  outline: none; /* already has custom focus ring via box-shadow */
}

.nav__hamburger:focus-visible,
.nav__mobile-close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.14s; }
.reveal-delay-2 { transition-delay: 0.28s; }
.reveal-delay-3 { transition-delay: 0.42s; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card--wide {
    grid-column: span 2;
  }

  .feature-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 32px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gap-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quote-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .student-quote-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-y: 72px;
    --pad-x: 20px;
  }

  .nav-wrap { padding: 10px 14px; }
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 56px 0 64px; min-height: auto; }
  .hero__headline { font-size: clamp(36px, 9vw, 52px); }
  .hero__sub { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; max-width: 320px; }

  .app-showcase {
    padding: 28px 20px 0;
    border-radius: 20px;
  }
  .app-showcase__screens { gap: 10px; }
  .app-screen--secondary,
  .app-screen--tertiary { display: none; }
  .app-screen--primary { width: 200px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: span 1; }

  .feature-hero { padding: 28px 22px; gap: 24px; }
  .feature-grid { grid-template-columns: 1fr; }

  .quote-cards { grid-template-columns: 1fr; }

  .comparison-head,
  .comparison-row { font-size: 13px; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }

  .wsu-quote { padding: 28px 22px; }
  .wsu-quote__mark { font-size: 64px; }

  .cta-section__actions { flex-direction: column; }
  .cta-section__actions .btn { width: 100%; max-width: 320px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .student-features { grid-template-columns: 1fr; }

  .testimonial-featured { padding: 28px 24px; }
  .testimonial-featured blockquote { font-size: 16px; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .student-quote-grid { grid-template-columns: 1fr; }
  .fc__nav { border-radius: 20px 20px 0 0; }
  .fc__nav-label { display: none; }
  .fc__nav-btn { padding: 8px; }
  .fc__nav-pip { width: 30px; height: 30px; font-size: 13px; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 34px; }
  .section-title { font-size: 27px; }
  .quote-cards { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Clean Testimonial Carousel (for-students)
   ========================================================= */
.ct {
  position: relative;
  max-width: 640px;
  margin: 48px auto 0;
  padding: 48px 0;
  cursor: pointer;
  user-select: none;
}

/* Counter — top right */
.ct__counter {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}
.ct__counter-current {
  font-size: 24px;
  font-weight: 300;
  color: var(--white);
  transition: opacity 0.3s ease;
}
.ct__counter-sep,
.ct__counter-total {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* Avatar stack — top left */
.ct__avatars {
  display: flex;
  position: absolute;
  top: 6px;
  left: 0;
}
.ct__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(119, 25, 170, 0.4);
  border: 2px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  margin-left: -6px;
  transition: all 0.35s ease;
  filter: grayscale(1);
  opacity: 0.45;
}
.ct__avatar:first-child { margin-left: 0; }
.ct__avatar.is-active {
  background: var(--primary);
  color: var(--white);
  filter: grayscale(0);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(119, 25, 170, 0.3);
}

/* Quote text */
.ct__quote {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.01em;
  min-height: 160px;
  margin-top: 20px;
}
.ct__quote .ct-word {
  display: inline-block;
  margin-right: 0.25em;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  animation: ctWordIn 0.4s ease forwards;
}
@keyframes ctWordIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Author block */
.ct__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}
.ct__author.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.ct__author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
}
.ct__author-avatar::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(119, 25, 170, 0.3);
}
.ct__author-line {
  width: 1px;
  height: 36px;
  background: rgba(119, 25, 170, 0.5);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}
.ct__author.is-visible .ct__author-line {
  transform: scaleY(1);
}
.ct__author-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}
.ct__author-role {
  display: block;
  font-size: 11px;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* Progress bar */
.ct__progress {
  margin-top: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
}
.ct__progress-bar {
  height: 100%;
  background: rgba(119, 25, 170, 0.6);
  width: 20%;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hint */
.ct__hint {
  margin-top: 20px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--font-body);
  transition: opacity 0.3s ease;
}
.ct:hover .ct__hint {
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .ct { padding: 36px 0; }
  .ct__quote { font-size: 18px; min-height: 140px; }
  .ct__counter-current { font-size: 20px; }
  .ct__author-avatar { width: 36px; height: 36px; font-size: 11px; }
}
@media (max-width: 480px) {
  .ct__quote { font-size: 16px; min-height: 120px; }
  .ct__avatars { display: none; }
}

/* ============================================================
   REDUCED MOTION — respect user preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__carousel { overflow: visible; height: auto; }
  .hero__carousel-word { position: static; opacity: 0; display: none; }
  .hero__carousel-word.is-active { display: inline; opacity: 1; }

  .testimonials-track { animation: none; }
  .marquee-track { animation: none; }

  .reveal { opacity: 1; transform: none; }

  .ct__quote .ct-word {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
