/* =============================================================
   LEARNLYNK · BOLD (v2) — independent design system
   Orange-led, full-color blocks, friendly-geometric type, motion.
   Inspired by enterprise ed-tech structure; distinct identity.
   ============================================================= */

:root {
  /* neutrals — warm */
  --bg:        #ffffff;
  --bg-soft:   #faf6f1;
  --bg-warm:   #f4ebe2;
  --ink:       #1c1410;
  --ink-2:     #4a3f37;
  --ink-3:     #8a7d72;
  --line:      #ece2d6;
  --line-2:    #ddd0c1;

  /* brand — bold burnt orange */
  --brand:     #e0531f;
  --brand-600: #d8521f;
  --brand-700: #b83d12;
  --brand-800: #8f2f0e;
  --brand-50:  #fdefe7;
  --brand-100: #fadccb;
  --brand-200: #f6c3a6;
  --brand-rgb: 224, 83, 31;   /* brand as rgb channels for rgba() glows/shadows */

  /* secondary brights (for stat/case variety, used sparingly) */
  --teal:      #0e7a6b;
  --teal-50:   #e2f2ee;
  --gold:      #e3a51f;
  --gold-50:   #fbf0d6;

  /* dark sections — warm near-black */
  --dark:      #1a1109;
  --dark-2:    #2a1c10;

  --r:    14px;
  --r-lg: 24px;
  --pill: 999px;

  --shadow-1: 0 1px 2px rgba(28,20,16,.05), 0 4px 14px rgba(28,20,16,.06);
  --shadow-2: 0 10px 30px -8px rgba(28,20,16,.14), 0 4px 10px -6px rgba(28,20,16,.08);
  --shadow-3: 0 30px 70px -24px rgba(28,20,16,.30), 0 10px 24px -12px rgba(28,20,16,.14);

  --sans: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  --container: 1200px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.wide { max-width: 1340px; }

/* =============== TYPE =============== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--brand); text-transform: none;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.eyebrow.on-dark { color: var(--brand-200); }
.eyebrow.on-dark::before { background: var(--brand-200); }

.h-display { font-size: clamp(40px, 6vw, 78px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; }
.h-1 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.03; }
.h-2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; }
.h-3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -0.015em; }
.accent { color: var(--brand); }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.body { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-3); }

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--pill);
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn .ar { transition: transform .2s ease; }
.btn:hover .ar { transform: translateX(4px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -8px rgba(var(--brand-rgb),.5); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--brand); }
.link-arrow .ar { transition: transform .2s ease; }
.link-arrow:hover .ar { transform: translateX(4px); }

/* =============== ANNOUNCEMENT BAR =============== */
.announce {
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 10px var(--pad); font-size: 14px; font-weight: 600; text-align: center;
}
.announce a { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.announce .badge { background: rgba(255,255,255,.2); padding: 3px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 700; }
@media (max-width: 720px) { .announce .badge { display: none; } }

/* =============== HEADER =============== */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.hdr.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.95); }
.hdr-in { display: flex; align-items: center; gap: 36px; padding: 16px var(--pad); max-width: 1340px; margin: 0 auto; }
.hdr-logo { height: 30px; width: auto; }
.hdr-logo img { height: 100%; width: auto; }
.hdr-nav { display: flex; gap: 4px; }
.hdr-nav a { padding: 9px 14px; font-size: 15px; font-weight: 600; color: var(--ink-2); border-radius: 10px; transition: background .15s, color .15s; }
.hdr-nav a:hover { color: var(--ink); background: var(--bg-warm); }
.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.hdr-signin { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.hdr-signin:hover { color: var(--brand); }
/* ── mobile menu ── */
.hdr-toggle { display: none; appearance: none; border: 0; background: transparent; cursor: pointer; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: auto; }
.hdr-signin-m { display: none; font-size: 14px; font-weight: 700; color: var(--ink); padding: 8px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; white-space: nowrap; }
.hdr-signin-m:hover { border-color: var(--brand); color: var(--brand); }
.hdr-burger, .hdr-burger::before, .hdr-burger::after { content: ''; display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hdr-burger { position: relative; }
.hdr-burger::before { position: absolute; top: -7px; left: 0; }
.hdr-burger::after { position: absolute; top: 7px; left: 0; }
.hdr.menu-open .hdr-burger { background: transparent; }
.hdr.menu-open .hdr-burger::before { transform: translateY(7px) rotate(45deg); }
.hdr.menu-open .hdr-burger::after { transform: translateY(-7px) rotate(-45deg); }

.hdr-mobile { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-3); max-height: calc(100dvh - 56px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 8px var(--pad) calc(24px + env(safe-area-inset-bottom)); }
.hdr-mobile[hidden] { display: none; }
.hmob-group { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hmob-group:last-of-type { border-bottom: 0; }
.hmob-h { display: block; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin: 6px 8px 4px; }
.hmob-nav a { display: block; padding: 11px 8px; font-size: 16px; font-weight: 600; color: var(--ink); border-radius: 9px; }
.hmob-nav a:hover, .hmob-nav a:active { background: var(--bg-warm); }
.hmob-nav a.hmob-top { font-size: 17px; font-weight: 700; }
.hmob-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.hmob-signin { text-align: center; font-size: 16px; font-weight: 700; color: var(--ink-2); padding: 12px; }
.hmob-cta .btn { justify-content: center; width: 100%; }
@media (min-width: 981px) { .hdr-mobile { display: none !important; } }
@media (max-width: 980px) { .hdr-nav, .hdr-cta { display: none; } .hdr-toggle { display: inline-flex; margin-left: 10px; } .hdr-signin-m { display: inline-flex; align-items: center; margin-left: auto; } }

/* =============== SECTION RHYTHM =============== */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section.soft { background: var(--bg-soft); }
.section.warm { background: var(--bg-warm); }
.sec-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sec-head.left { margin-left: 0; text-align: left; align-items: flex-start; }
.sec-head .lede { margin: 0 auto; }

/* =============== HERO =============== */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.hero-trust b { color: var(--ink); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* rotating word */
.rotator { display: inline-grid; }
.rotator > span {
  grid-area: 1 / 1; color: var(--brand);
  opacity: 0; transform: translateY(0.4em); transition: opacity .5s ease, transform .5s ease;
}
.rotator > span.is-active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rotator > span { transition: none; } }

/* hero product visual with geometric décor */
.hero-visual { position: relative; }
.hero-visual .shape { position: absolute; z-index: 0; border-radius: var(--r-lg); }
.hero-visual .shape-1 { width: 56%; height: 56%; right: -6%; top: -8%; background: var(--brand); }
.hero-visual .shape-2 { width: 30%; height: 30%; left: -8%; bottom: 4%; border: 3px solid var(--brand-200); }
.hero-frame { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-3); }
.hero-frame .bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero-frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.hero-frame img { width: 100%; height: auto; }

/* =============== STAT BLOCKS (bold full-color) =============== */
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.statblock { border-radius: var(--r-lg); padding: 34px 28px; display: flex; flex-direction: column; gap: 8px; min-height: 220px; justify-content: flex-end; }
.statblock .v { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.statblock .l { font-size: 15px; font-weight: 600; line-height: 1.35; }
.sb-brand { background: var(--brand); color: #fff; }
.sb-dark { background: var(--dark); color: #fff; }
.sb-dark .v { color: var(--brand-200); }
.sb-teal { background: var(--teal); color: #fff; }
.sb-soft { background: var(--bg-warm); color: var(--ink); }
.sb-soft .v { color: var(--brand); }
@media (max-width: 880px) { .statrow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .statrow { grid-template-columns: 1fr; } .statblock { min-height: 0; } }

/* =============== PRODUCT ON COLOR BLOCK =============== */
.showcase { background: var(--brand); border-radius: var(--r-lg); padding: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px) 0; color: #fff; overflow: hidden; position: relative; }
.showcase-head { max-width: 640px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.showcase-head h2 { color: #fff; }
.showcase-head p { color: rgba(255,255,255,.85); margin-top: 14px; }
.showcase-shot { border-radius: var(--r) var(--r) 0 0; overflow: hidden; box-shadow: var(--shadow-3); max-width: 920px; margin: 0 auto; border: 1px solid rgba(255,255,255,.2); }
.showcase-shot img { width: 100%; height: auto; display: block; }

/* =============== SPLIT (text + media) =============== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-body { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.split-media img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-2); display: block; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: -1; } }

/* =============== DARK FEATURE BAND =============== */
.darkband { background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); }
.darkband h2 { color: #fff; }
.darkband .lede { color: rgba(255,255,255,.78); }
.darkband-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.darkband-frame { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-3); border: 1px solid rgba(255,255,255,.12); }
.darkband-frame img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .darkband-grid { grid-template-columns: 1fr; } }

/* =============== 4-UP ICON FEATURES =============== */
.feat4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat4 .f { padding-top: 22px; border-top: 3px solid var(--brand); display: flex; flex-direction: column; gap: 10px; }
.feat4 .f-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 18px; }
.feat4 .body { font-size: 15px; }
@media (max-width: 900px) { .feat4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feat4 { grid-template-columns: 1fr; } }

/* =============== LOGO MARQUEE =============== */
.lmq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lmq-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 84px); width: max-content; animation: lmq 30s linear infinite; }
.lmq:hover .lmq-track { animation-play-state: paused; }
.lmq-track img { height: 28px; width: auto; opacity: .5; }
@keyframes lmq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lmq-track { animation: none; } }

/* =============== CTA BAND =============== */
.cta { background: var(--dark); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb),.45), transparent 70%); }
.cta-body { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.78); margin-top: 14px; max-width: 46ch; }
.cta-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-meta { position: relative; z-index: 1; display: grid; gap: 16px; }
.cta-meta .l { font-size: 13px; color: var(--brand-200); font-weight: 700; }
.cta-meta strong { color: #fff; font-size: 18px; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* =============== FOOTER =============== */
.ft { background: var(--bg-soft); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ft-logo { height: 28px; margin-bottom: 14px; }
.ft-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); margin-bottom: 12px; }
.ft-col a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--ink-2); }
.ft-col a:hover { color: var(--brand); }
.ft-bar { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* =============== reveal on scroll =============== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =============================================================
   v2 — ADDITIONAL SECTIONS (Ellucian vocabulary, orange identity)
   ============================================================= */

/* ---- VIDEO module ---- */
.vid { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 16/9; }
.vid img { width: 100%; height: 100%; object-fit: cover; }
.vid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,17,9,.05), rgba(26,17,9,.45)); }
.vid-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; z-index: 2; box-shadow: 0 12px 30px rgba(var(--brand-rgb),.5); transition: transform .2s ease, background .2s ease; }
.vid-play svg { width: 26px; height: 26px; margin-left: 4px; }
.vid-play:hover { transform: scale(1.08); background: var(--brand-700); }
.vid-cap { position: absolute; left: 24px; bottom: 22px; right: 24px; color: #fff; z-index: 2; font-size: 15px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.4); }

/* ---- EVENT banner ---- */
.eventb { background: var(--dark); color: #fff; border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch; }
.eventb-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: center; }
.eventb-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand-200); }
.eventb h3 { color: #fff; font-size: clamp(24px, 2.6vw, 36px); }
.eventb-meta { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.7); font-size: 15px; font-weight: 600; }
.eventb-img { position: relative; min-height: 220px; }
.eventb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .eventb { grid-template-columns: 1fr; } .eventb-img { min-height: 180px; } }

/* ---- LOGO grid (static carousel alternative) ---- */
.logogrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.logogrid .cell { background: var(--bg); display: grid; place-items: center; padding: 30px 20px; }
.logogrid .cell img { height: 30px; width: auto; opacity: .55; transition: opacity .2s; }
.logogrid .cell:hover img { opacity: 1; }
@media (max-width: 900px) { .logogrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logogrid { grid-template-columns: repeat(2, 1fr); } }

/* ---- PRODUCT tabs ---- */
.ptabs-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.ptab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--pill); font-size: 15px; font-weight: 700; color: var(--ink-2); background: var(--bg-warm); border: 2px solid transparent; transition: all .15s; }
.ptab:hover { color: var(--ink); }
.ptab.active { background: var(--brand); color: #fff; }
.ppanel { display: none; }
.ppanel.active { display: block; animation: v2fade .35s ease; }
.ppanel-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.ppanel-body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ppanel-media img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.ppanel-list { display: flex; flex-direction: column; gap: 9px; }
.ppanel-list li { list-style: none; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.ppanel-list li::before { content: '✓'; color: var(--brand); font-weight: 800; }
@media (max-width: 860px) { .ppanel-grid { grid-template-columns: 1fr; } }
@keyframes v2fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- TESTIMONIAL carousel/tabs ---- */
.tcar { background: var(--bg-warm); border-radius: var(--r-lg); padding: clamp(36px, 5vw, 72px); position: relative; max-width: 920px; margin: 0 auto; text-align: center; }
.tcar-slide { display: none; flex-direction: column; align-items: center; gap: 24px; }
.tcar-slide.active { display: flex; animation: v2fade .4s ease; }
.tcar-q { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); max-width: 26ch; }
.tcar-who { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 14px; }
.tcar-who b { font-weight: 700; }
.tcar-who span { color: var(--ink-3); font-size: 14px; }
.tcar-avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--bg); box-shadow: 0 6px 18px -6px rgba(28,20,16,.3); }
.tcar-who-txt { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.tcar-dots { display: flex; gap: 9px; justify-content: center; margin-top: 30px; }
.tcar-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); cursor: pointer; transition: background .2s, transform .2s; }
.tcar-dot.active { background: var(--brand); transform: scale(1.2); }

/* ---- ROTATING WORD feature carousel (dimmed neighbours + arrows) ---- */
.wordrot { text-align: center; }
.wordrot-stage { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 80px); min-height: 120px; }
.wordrot-word { font-size: clamp(28px, 5vw, 64px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink-3); opacity: .28; transition: opacity .4s, color .4s; white-space: nowrap; }
.wordrot-word.active { color: var(--brand); opacity: 1; }
.wordrot-word:not(.active):not(.adj) { display: none; }
.wordrot-arrow { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); flex-shrink: 0; transition: all .15s; }
.wordrot-arrow:hover { border-color: var(--brand); color: var(--brand); }
.wordrot-sub { max-width: 60ch; margin: 22px auto 0; color: var(--ink-2); font-size: 17px; min-height: 3em; }

/* ---- REPORT CTA (download) ---- */
.reportcta { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); }
.report-cover { width: 200px; aspect-ratio: 3/4; border-radius: 10px; background: linear-gradient(150deg, var(--brand), var(--brand-800)); color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-2); transform: rotate(-3deg); flex-shrink: 0; }
.report-cover .rc-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.report-cover .rc-t { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.report-body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (max-width: 700px) { .reportcta { grid-template-columns: 1fr; justify-items: center; text-align: center; } .report-body { align-items: center; } }

/* ---- NEWS cards ---- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.newscard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--bg); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.newscard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.newscard-img { aspect-ratio: 16/10; overflow: hidden; }
.newscard-img img { width: 100%; height: 100%; object-fit: cover; }
.newscard-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.newscard-cat { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.newscard h3 { font-size: 19px; line-height: 1.25; }
.newscard-date { margin-top: auto; font-size: 13px; color: var(--ink-3); }
@media (max-width: 820px) { .news { grid-template-columns: 1fr; } }

/* ---- BIG FOOTER ---- */
.bigft { background: var(--dark); color: #fff; padding: clamp(56px, 7vw, 96px) 0 32px; }
.bigft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.bigft-brand .ft-logo { height: 28px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.bigft-brand p { color: rgba(255,255,255,.6); font-size: 14px; max-width: 32ch; }
.bigft-brand .social { display: flex; gap: 12px; margin-top: 20px; }
.bigft-brand .social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; transition: all .15s; }
.bigft-brand .social a:hover { background: var(--brand); border-color: var(--brand); }
.bigft-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-200); margin-bottom: 14px; }
.bigft-col a { display: block; padding: 6px 0; font-size: 14.5px; color: rgba(255,255,255,.72); }
.bigft-col a:hover { color: #fff; }
.bigft-bar { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.bigft-bar .links { display: flex; gap: 20px; }
@media (max-width: 900px) { .bigft-top { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* =============================================================
   v2 — ANIMATED PRODUCT DEMO (zoom + pop-up callouts)
   Static screenshot reads as a live product video: slow ken-burns
   zoom inside a framed viewport, with callout boxes that pop in
   sequence pointing at features. Pure CSS; freezes on reduced-motion.
   ============================================================= */
.proddemo { position: relative; }
.pd-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-3); }
.pd-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.pd-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.pd-bar .url { margin-left: 10px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.pd-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--brand); }
.pd-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pdBlink 2s ease-in-out infinite; }
.pd-viewport { overflow: hidden; position: relative; }
.pd-img { width: 100%; display: block; transform-origin: 62% 56%; animation: pdZoom 20s ease-in-out infinite alternate; }

@keyframes pdZoom { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
@keyframes pdBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* pop-up callout boxes (positioned over the frame, cycle in sequence) */
.pd-pop {
  position: absolute; z-index: 3; display: flex; align-items: flex-start; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 13px; max-width: 230px;
  box-shadow: 0 14px 34px -12px rgba(28,20,16,.34);
  opacity: 0; transform: scale(.92) translateY(8px);
}
.pd-pop .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.pd-pop .dot.good { background: var(--teal); }
.pd-pop .dot.warn { background: var(--gold); }
.pd-pop .dot.bad { background: var(--brand); }
.pd-pop .t { font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); }
.pd-pop .d { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }

.pd-pop-1 { top: 12%; right: -16px; }
.pd-pop-2 { bottom: 20%; left: -18px; }
.pd-pop-3 { bottom: 8%; right: 6%; }

/* staggered pop cycle across the 20s loop */
.proddemo .pd-pop-1 { animation: pdPop 20s ease-in-out infinite; animation-delay: 1s; }
.proddemo .pd-pop-2 { animation: pdPop 20s ease-in-out infinite; animation-delay: 7s; }
.proddemo .pd-pop-3 { animation: pdPop 20s ease-in-out infinite; animation-delay: 13s; }
@keyframes pdPop {
  0%   { opacity: 0; transform: scale(.92) translateY(8px); }
  3%   { opacity: 1; transform: scale(1) translateY(0); }
  25%  { opacity: 1; transform: scale(1) translateY(0); }
  30%  { opacity: 0; transform: scale(.96) translateY(-4px); }
  100% { opacity: 0; }
}

/* décor shapes behind a demo (orange brand blocks) */
.proddemo .pd-shape { position: absolute; z-index: 0; border-radius: var(--r-lg); }
.proddemo .pd-shape-1 { width: 54%; height: 56%; right: -6%; top: -8%; background: var(--brand); }
.proddemo .pd-shape-2 { width: 28%; height: 30%; left: -7%; bottom: 4%; border: 3px solid var(--brand-200); }
.proddemo .pd-frame { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .pd-img { animation: none; }
  .pd-live::before { animation: none; }
  .pd-pop { opacity: 1; transform: none; animation: none !important; position: static; max-width: none; margin-top: 8px; box-shadow: var(--shadow-1); }
  .pd-pops-rm { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
}

.vid-media { width:100%; height:100%; object-fit:cover; }

/* =============================================================
   v2 — "BUILT FOR HIGHER ED" — copy + floating product loop
   Right column of clickable product cards scrolls up forever
   (seamless), pauses on hover, each links to its product page.
   ============================================================= */
.bfh-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.bfh-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
@media (max-width: 900px) { .bfh-grid { grid-template-columns: 1fr; } }

.bfh-loop {
  position: relative; height: clamp(380px, 48vw, 500px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.bfh-track { display: flex; flex-direction: column; gap: 14px; animation: bfhUp 26s linear infinite; }
.bfh-loop:hover .bfh-track { animation-play-state: paused; }
@keyframes bfhUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.pcard {
  display: flex; align-items: center; gap: 15px;
  padding: 17px 18px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-1);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.pcard:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateX(-4px); }
.pcard-ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 19px; }
.pcard-body { flex: 1; min-width: 0; }
.pcard-name { font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.pcard-d { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.pcard .ar { color: var(--brand); font-weight: 800; opacity: 0; transform: translateX(-4px); transition: opacity .18s, transform .18s; }
.pcard:hover .ar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .bfh-loop { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .bfh-track { animation: none; }
  .bfh-track .dup { display: none; }
}

/* =============================================================
   v2 — PRODUCT DEMO v2 (fast guided zoom + blur focus + popup)
   Overrides the slow ken-burns. JS drives phases: fast zoom into
   a region, rest blurs/dims, callout pops on the sharp focal area.
   ============================================================= */
.pd-img {
  animation: none !important;                 /* kill slow ken-burns */
  transform-origin: center center;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
  will-change: transform;
}
/* blur + dim everything except a centred focal window */
.pd-dim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
  background: rgba(26, 17, 9, .22);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  -webkit-mask-image: radial-gradient(150px 120px at 50% 50%, transparent 58%, #000 100%);
  mask-image: radial-gradient(150px 120px at 50% 50%, transparent 58%, #000 100%);
}
.proddemo.zoomed .pd-dim { opacity: 1; }

/* single callout, text swapped per phase */
.pd-callout {
  position: absolute; z-index: 4; top: 50%; right: -18px; transform: translateY(-50%) scale(.92);
  display: flex; align-items: flex-start; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 14px; max-width: 230px;
  box-shadow: 0 16px 38px -12px rgba(28,20,16,.36);
  opacity: 0; transition: opacity .4s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.pd-callout.show { opacity: 1; transform: translateY(-50%) scale(1); }
.pd-callout .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; background: var(--ink-3); }
.pd-callout .dot.good { background: var(--teal); }
.pd-callout .dot.warn { background: var(--gold); }
.pd-callout .dot.bad  { background: var(--brand); }
.pd-callout .t { font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); }
.pd-callout .d { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-top: 2px; }
@media (max-width: 520px) { .pd-callout { right: 6px; max-width: 180px; } }

@media (prefers-reduced-motion: reduce) {
  .pd-img { transform: none !important; transition: none; }
  .pd-dim { display: none; }
  .pd-callout { position: static; opacity: 1; transform: none; margin-top: 10px; max-width: none; box-shadow: var(--shadow-1); }
}

/* =============================================================
   v2 — VIDEO BACKGROUND section
   ============================================================= */
.vbg { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.vbg-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.vbg::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,17,9,.55), rgba(26,17,9,.78)); }
.vbg h2 { color: #fff; }
.vbg .lede { color: rgba(255,255,255,.82); }

/* =============================================================
   v2 — PRODUCT DEMO v3 fixes
   (a) kill the vertical stretch: force natural aspect.
   (b) JS drives transform-origin + dim hole + callout to the SAME
       focal point, so zoom/blur/label always agree.
   ============================================================= */
.pd-img { height: auto !important; object-fit: contain; aspect-ratio: auto; }
.pd-viewport { height: auto; }

/* callout now lives inside the viewport, JS positions it at left/top % */
.pd-callout { top: auto; right: auto; left: 50%; transform: translate(0, -50%) scale(.92); }
.pd-callout.show { transform: translate(0, -50%) scale(1); }
.pd-callout::before {
  content: ''; position: absolute; left: -7px; top: 20px; width: 12px; height: 12px;
  background: #fff; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
/* spotlight is on the right → callout sits to its left, tail points right */
.pd-callout.flip::before {
  left: auto; right: -7px;
  border-left: 0; border-bottom: 0;
  border-top: 1px solid var(--line); border-right: 1px solid var(--line);
}

/* =============================================================
   v2 — EDITORIAL FEATURE QUOTE (home testimonial, redesigned)
   Big portrait + large quote + supporting metric chips. Replaces
   the centered rotating-card carousel (still used in /v2/sections).
   ============================================================= */
.vquote { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.vquote-portrait { position: relative; }
.vquote-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.vquote-mark { position: absolute; top: -22px; left: -18px; width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-2); }
.vquote-mark::before { content: '\201C'; font-size: 56px; font-weight: 800; line-height: 1; transform: translateY(0.18em); }
.vquote-body { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.vquote-q { font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.22; color: var(--ink); margin: 0; }
.vquote-q::before { content: '\201C'; } .vquote-q::after { content: '\201D'; }
.vquote-who b { display: block; font-weight: 700; font-size: 17px; }
.vquote-who span { color: var(--ink-3); font-size: 14px; }
.vquote-metrics { display: flex; gap: clamp(22px, 3vw, 40px); flex-wrap: wrap; margin-top: 6px; }
.vqm { border-left: 3px solid var(--brand); padding-left: 14px; }
.vqm b { display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--brand); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.vqm span { font-size: 13.5px; color: var(--ink-2); line-height: 1.3; display: block; margin-top: 6px; }
@media (max-width: 860px) { .vquote { grid-template-columns: 1fr; gap: 36px; } .vquote-portrait { max-width: 340px; } }

/* ---- BIG FOOTER · book-a-demo CTA row (shares the dark footer bg) ---- */
.bigft-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: clamp(40px, 5vw, 56px); margin-bottom: clamp(40px, 5vw, 56px); border-bottom: 1px solid rgba(255,255,255,.12); }
.bigft-cta h2 { color: #fff; max-width: 18ch; }
.bigft-cta-acts { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 680px) { .bigft-cta { flex-direction: column; align-items: flex-start; } }

/* =============================================================
   v2 — PLATFORM MEGA MENU (header)
   Wide floating panel under the "Platform" trigger: 3 grouped
   product columns + orange featured AI rail + footer bar. Opens
   on hover and keyboard focus; .open toggles for touch/click.
   Panel anchors to .hdr (sticky = positioning context); the
   .hdr-mega-wrap MUST stay position:static so the panel spans
   the header width and centers, not the trigger.
   ============================================================= */
.hdr-mega-wrap { display: inline-flex; align-items: center; }
.hdr-mega-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  border-radius: 10px; transition: background .15s, color .15s;
}
.hdr-mega-trigger:hover { color: var(--ink); background: var(--bg-warm); }
.hdr-mega-trigger .chev { width: 15px; height: 15px; transition: transform .25s ease; }
.hdr-mega-wrap:hover .chev,
.hdr-mega-wrap:focus-within .chev,
.hdr-mega-wrap.hovering .chev,
.hdr-mega-wrap.open .chev { transform: rotate(180deg); }

.mega-pop {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: center; padding-top: 14px;   /* hover bridge */
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.hdr-mega-wrap:hover .mega-pop,
.hdr-mega-wrap:focus-within .mega-pop,
.hdr-mega-wrap.hovering .mega-pop,
.hdr-mega-wrap.open .mega-pop { opacity: 1; transform: none; pointer-events: auto; }

.mega {
  width: min(1080px, 94vw); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-3); padding: clamp(20px, 2.4vw, 30px);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.05fr; gap: clamp(18px, 2vw, 32px); }
.mega-col h6 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 12px; }
.mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 9px; margin: 0 -9px 2px; border-radius: 12px; transition: background .15s; }
.mega-item:hover { background: var(--bg-soft); }
.mega-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 17px; transition: background .15s, color .15s; }
.mega-item:hover .mega-ic { background: var(--brand); color: #fff; }
.mega-item .nm { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink); letter-spacing: -0.01em; }
.mega-item .ds { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; line-height: 1.35; }

/* featured AI rail */
.mega-feat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 9px; padding: 22px; border-radius: var(--r); background: linear-gradient(150deg, var(--brand), var(--brand-800)); color: #fff; }
/* The feat card is an <a> inside .hdr-nav, so `.hdr-nav a` (color:var(--ink-2))
   and its :hover (dark color + light bg) were overriding the white text and the
   gradient — making the heading near-invisible on the dark panel. Re-assert with
   nav-scoped specificity so the card stays white-on-gradient in both megas. */
.hdr-nav .mega-feat, .hdr-nav .mega-feat:hover { color: #fff; background: linear-gradient(150deg, var(--brand), var(--brand-800)); }
.mega-feat-ic { position: absolute; right: 12px; top: 2px; font-size: 64px; line-height: 1; opacity: .22; }
.mega-feat .tag { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .9; }
.mega-feat-h { font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.mega-feat-p { font-size: 12.5px; color: rgba(255,255,255,.85); line-height: 1.4; }
.mega-feat-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; }
.mega-feat-cta .ar { transition: transform .2s ease; }
.mega-feat:hover .mega-feat-cta .ar { transform: translateX(4px); }

/* footer bar */
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.mega-trust { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.mega-trust b { color: var(--ink-2); }

@media (max-width: 1040px) { .mega-grid { grid-template-columns: 1fr 1fr; } .mega-feat { grid-column: span 2; flex-direction: row; align-items: center; } .mega-feat-h { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .mega-pop { transition: none; } .hdr-mega-trigger .chev { transition: none; } }

/* =============================================================
   v2 — BLUE THEME (experimental, opt-in)
   Toggle with /v2?theme=blue (persists); /v2?theme=orange resets.
   Retargets the brand scale to a confident azure, cools the
   warm neutrals + near-black darks to pair with blue. Everything
   token-driven, so the whole site flips. Orange stays the default.
   ============================================================= */
[data-theme="blue"] {
  --brand:     #2f6bf0;
  --brand-600: #2a61e0;
  --brand-700: #1f4ec2;
  --brand-800: #173c97;
  --brand-50:  #eef3fe;
  --brand-100: #d8e4fc;
  --brand-200: #afc8f7;
  --brand-rgb: 47, 107, 240;

  /* cool the neutrals so the scheme reads genuinely blue, not warm-cream-with-blue */
  --bg-soft:   #f4f7fc;
  --bg-warm:   #e9eff8;
  --ink:       #121826;
  --ink-2:     #3b4458;
  --ink-3:     #79839a;
  --line:      #e5eaf4;
  --line-2:    #d2dbea;

  /* cool near-black darks for the dark bands/footer */
  --dark:      #0f1526;
  --dark-2:    #1a2238;

  /* nudge the teal accent cooler so it stays distinct from the blue brand */
  --teal:      #0e8a86;
}

/* =============================================================
   v2 — PRICING cards (volume-bracket rate table)
   ============================================================= */
.pricerow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pricecard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-1); }
.pricecard.feat { background: var(--dark); color: #fff; border-color: var(--dark); box-shadow: var(--shadow-2); }
.pricecard .pc-k { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.pricecard.feat .pc-k { color: var(--brand-200); }
.pricecard .pc-p { font-size: clamp(36px, 4vw, 54px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; margin-top: 6px; }
.pricecard.feat .pc-p { color: #fff; }
.pricecard .pc-u { font-size: 13px; color: var(--ink-3); }
.pricecard.feat .pc-u { color: rgba(255,255,255,.7); }
.pricecard .pc-d { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.4; }
.pricecard.feat .pc-d { color: rgba(255,255,255,.82); }
@media (max-width: 880px) { .pricerow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pricerow { grid-template-columns: 1fr; } }

/* =============================================================
   v2 — PORTALS 3-up cards (student / instructor / recruiter)
   ============================================================= */
.portal3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portal-card { display: flex; flex-direction: column; gap: 16px; padding: 30px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow-1); transition: transform .18s, box-shadow .18s; }
.portal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.portal-card-top { display: flex; align-items: center; gap: 13px; }
.portal-card .pc-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.portal-card ul { display: flex; flex-direction: column; gap: 10px; }
.portal-card li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.portal-card li::before { content: '✓'; color: var(--brand); font-weight: 800; flex-shrink: 0; }
@media (max-width: 860px) { .portal3 { grid-template-columns: 1fr; } }

/* =============================================================
   v2 — INTEGRATIONS directory (category-grouped logo cards)
   ============================================================= */
/* sticky category filter bar (sits just under the sticky header) */
.intg-filter { position: sticky; top: 60px; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 13px 0; }
.intg-filter-in { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.intg-pill { padding: 9px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 700; color: var(--ink-2); background: var(--bg-warm); border: 2px solid transparent; transition: background .15s, color .15s; white-space: nowrap; }
.intg-pill:hover { color: var(--ink); }
.intg-pill.active { background: var(--brand); color: #fff; }
@media (prefers-reduced-motion: reduce) { .intg-filter { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); } }

.intg-cat { margin-top: clamp(36px, 5vw, 56px); }
.intg-cat:first-of-type { margin-top: 0; }
.intg-cat-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.intg-cat-head h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: -0.02em; }
.intg-cat-head span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.intg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.intg-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); transition: border-color .18s, box-shadow .18s, transform .18s; }
.intg-card:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.intg-logo { height: 30px; display: flex; align-items: center; }
.intg-logo img { height: 26px; width: auto; opacity: .55; transition: opacity .18s; }
.intg-card:hover .intg-logo img { opacity: 1; }
.intg-name { font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.intg-desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 820px) { .intg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .intg-grid { grid-template-columns: 1fr; } }

/* =============================================================
   v2 — DARK FOREST GREEN THEME (experimental, opt-in)
   Toggle with /v2?theme=green. Collegiate/academic palette:
   deep forest-green brand KEEPS the warm cream neutrals (the
   classic green + ivory pairing) and gold accent. Dark bands go
   deep forest-charcoal. Orange stays the default.
   ============================================================= */
[data-theme="green"] {
  --brand:     #1f6e47;
  --brand-600: #1b6340;
  --brand-700: #155034;
  --brand-800: #0e3b27;
  --brand-50:  #eaf3ee;
  --brand-100: #cfe6d9;
  --brand-200: #a3ccb4;
  --brand-rgb: 31, 110, 71;

  /* keep the warm cream neutrals — they pair beautifully with forest green.
     only deepen the darks to a forest-charcoal so dark bands feel on-theme. */
  --dark:      #11211a;
  --dark-2:    #1b3026;

  /* gold reads as the classic collegiate companion to forest green */
  --gold:      #c9941f;
}
