/* ================================================================
   CLEMENTINE — Merged Site Stylesheet
   Syracuse University · clementine.syr.edu
   ================================================================ */

/* ── 0. WEB FONTS ── */
@font-face {
  font-family: 'Sherman Sans';
  src: url('https://assets.syracuse.edu/fonts/shermansans-book.eot');
  src: url('https://assets.syracuse.edu/fonts/shermansans-book.eot?#iefix') format('embedded-opentype'),
       url('https://assets.syracuse.edu/fonts/shermansans-book.woff2') format('woff2'),
       url('https://assets.syracuse.edu/fonts/shermansans-book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sherman Sans';
  src: url('https://assets.syracuse.edu/fonts/shermansans-bookitalic.eot');
  src: url('https://assets.syracuse.edu/fonts/shermansans-bookitalic.eot?#iefix') format('embedded-opentype'),
       url('https://assets.syracuse.edu/fonts/shermansans-bookitalic.woff2') format('woff2'),
       url('https://assets.syracuse.edu/fonts/shermansans-bookitalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Sherman Sans';
  src: url('https://assets.syracuse.edu/fonts/shermansans-bold.eot');
  src: url('https://assets.syracuse.edu/fonts/shermansans-bold.eot?#iefix') format('embedded-opentype'),
       url('https://assets.syracuse.edu/fonts/shermansans-bold.woff2') format('woff2'),
       url('https://assets.syracuse.edu/fonts/shermansans-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── 1. RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── 2. DESIGN TOKENS ── */
:root {
  /* Primary */
  --su-blue: #000E54;
  --su-blue-medium: #203299;
  --su-blue-light: #2B72D7;
  --su-orange: #F76900;
  --su-orange-light: #FF8E00;
  --su-orange-medium: #FF431B;
  --su-orange-dark: #D74100;
  --su-white: #FFFFFF;

  /* Greyscale */
  --su-black: #000000;
  --su-dark-grey: #404040;
  --su-medium-grey: #707780;
  --su-light-grey: #ADB3B8;
  --su-xlight-grey: #EFF0F1;
  --su-gray-dark: #404040;

  /* Tints */
  --su-blue-90: #1A2665;
  --su-blue-80: #333E76;
  --su-orange-10: #FEF0E6;
  --su-blue-10: #E6E7EE;

  /* Gradients */
  --grad-blue: linear-gradient(118deg, #000E54 30.08%, #203299 98.9%);
  --grad-orange: linear-gradient(84deg, #FF431B 0%, #F76900 50.67%, #FF8E00 100%);

  /* Typography */
  --font-sans: 'Sherman Sans', Verdana, Geneva, 'Trebuchet MS', sans-serif;
  --font-serif: 'Sherman Serif', Georgia, 'Times New Roman', serif;

  /* FAQ additions */
  --su-pale-gray: #F4F5F6;
  --radius: 6px;
}

/* ── 3. BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--su-gray-dark);
  line-height: 1.6;
  background: var(--su-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── 4. LINKS ── */
a {
  color: var(--su-orange-dark);
}

a:hover {
  color: var(--su-orange);
}

/* ── 5. ACCESSIBILITY ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  background: var(--su-orange);
  color: var(--su-white);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

.skip-link:hover {
  background: var(--su-orange-dark);
  color: var(--su-white);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--su-orange);
  outline-offset: 2px;
}

/* ── 6. NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(0, 14, 84, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.site-nav.scrolled {
  background: rgba(0, 14, 84, 0.92);
}

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

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--su-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--su-orange-light);
}

/* ── 7. HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 48px 80px;
}

/* Background: textured hero image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('Background.png') center/cover no-repeat;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ── Hero Left: Text + CTAs ── */
.hero-text {
  color: var(--su-white);
}

.hero-text h1 {
  font-family: var(--font-sans);
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--su-white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--su-orange);
  margin-bottom: 28px;
  line-height: 1.3;
}

.hero-text .hero-body {
  font-size: 17px;
  line-height: 1.75;
  color: #FFFFFF;
  max-width: 520px;
  margin-bottom: 40px;
  background: rgba(0, 14, 84, 0.45);
  padding: 16px 20px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--su-orange);
  color: var(--su-white);
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(247, 105, 0, 0.35);
}

.btn-primary:hover {
  background: var(--su-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(247, 105, 0, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--su-xlight-grey);
  color: var(--su-blue);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: var(--su-white);
  color: var(--su-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ── Hero Right: Character + Chat Bubble ── */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-character {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-character img {
  width: min(340px, 40vw);
  height: auto;
  animation: floatChar 6s ease-in-out infinite;
}

@keyframes floatChar {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Sample chat bubble - in flow, right-aligned via align-self */
.chat-sample {
  align-self: flex-end;
  position: relative;
  background: var(--su-white);
  color: var(--su-dark-grey);
  padding: 14px 20px;
  border-radius: 16px 16px 16px 4px;
  font-size: 14.5px;
  line-height: 1.45;
  max-width: 240px;
  /* Fixed height to fit 3 lines - prevents layout jump when text changes */
  height: 90px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 3;
  margin-top: 16px;
  margin-bottom: 8px;
  animation: fadeInBubble 0.8s 0.5s ease both;
}

.chat-sample-text {
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

.chat-sample-text.fade-out {
  opacity: 0;
  transform: translateY(-6px);
}

.chat-sample-text.fade-in {
  opacity: 0;
  transform: translateY(6px);
}

.chat-sample::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 14px;
  width: 0;
  height: 0;
  border-left: 8px solid var(--su-white);
  border-right: 8px solid transparent;
  border-top: 8px solid var(--su-white);
  border-bottom: 8px solid transparent;
}

@keyframes fadeInBubble {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── 8. MOTION TOGGLE (WCAG 2.2.2) ── */
.hero-character {
  position: relative;
}

.motion-toggle {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 14, 84, 0.65);
  color: var(--su-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s;
  z-index: 4;
}

.motion-toggle:hover {
  background: rgba(0, 14, 84, 0.85);
}

.motion-toggle:focus-visible {
  outline: 3px solid var(--su-orange);
  outline-offset: 2px;
}

.motion-icon--play {
  display: none;
}

.motion-toggle.paused .motion-icon--pause {
  display: none;
}

.motion-toggle.paused .motion-icon--play {
  display: block;
}

.hero-character img.animation-paused {
  animation-play-state: paused !important;
}

/* ── 9. ASSISTANTS SECTION ── */
.assistants {
  padding: 80px 48px 100px;
  background: linear-gradient(180deg, var(--su-white) 0%, var(--su-xlight-grey) 100%);
  text-align: center;
}

.assistants-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.assistants h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--su-blue);
  margin-bottom: 48px;
  line-height: 1.2;
}

.assistants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

/* ── Featured Card (active) ── */
.asst-card {
  background: var(--su-white);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: left;
  border: 1.5px solid rgba(0, 14, 84, 0.06);
  box-shadow: 0 2px 16px rgba(0, 14, 84, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.asst-card.active {
  cursor: pointer;
  border-color: transparent;
  background:
    linear-gradient(var(--su-white), var(--su-white)) padding-box,
    linear-gradient(135deg, var(--su-orange) 0%, var(--su-blue-light) 100%) border-box;
  border: 2.5px solid transparent;
  box-shadow:
    0 4px 24px rgba(247, 105, 0, 0.12),
    0 2px 12px rgba(0, 14, 84, 0.06);
}

.asst-card.active:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(247, 105, 0, 0.18),
    0 4px 16px rgba(0, 14, 84, 0.08);
}

.asst-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.asst-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.asst-card.active .asst-card-icon {
  background: var(--grad-orange);
  box-shadow: 0 4px 16px rgba(247, 105, 0, 0.25);
}

.asst-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--su-blue);
  line-height: 1.2;
  margin: 0;
}

.asst-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--su-gray-dark);
  margin-bottom: 20px;
}

/* Feature list inside cards */
.asst-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.asst-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--su-gray-dark);
}

.asst-card-features li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--su-orange-10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 10l3 3 5-5' stroke='%23F76900' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Beta badge */
.badge-beta {
  display: inline-block;
  background: var(--su-blue);
  color: var(--su-white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  vertical-align: middle;
  margin-left: 6px;
}

/* Device badge row */
.asst-card-devices {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.device-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--su-blue);
  background: var(--su-blue-10);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.stretched-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}

.asst-card.active:has(.stretched-link:focus-visible) {
  outline: 3px solid var(--su-orange);
  outline-offset: 2px;
}

/* Placeholder cards */
.asst-card.placeholder {
  border-style: dashed;
  border-color: rgba(0, 14, 84, 0.1);
  background: rgba(255, 255, 255, 0.7);
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
}

.asst-card.placeholder .placeholder-icon {
  font-size: 32px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.asst-card.placeholder .asst-card-title {
  color: var(--su-medium-grey);
  font-weight: 600;
  font-size: 16px;
}

.asst-card.placeholder .asst-card-sub {
  font-size: 13px;
  color: var(--su-medium-grey);
  margin-top: 6px;
}

/* ── 10. DATA & PRIVACY BANNER ── */
.data-privacy-banner {
  padding: 64px 48px;
  background: var(--su-blue);
  position: relative;
  overflow: hidden;
}

.data-privacy-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 14, 84, 1) 0%, rgba(32, 50, 153, 0.85) 100%);
  z-index: 0;
}

.privacy-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.privacy-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.privacy-banner-grid > .privacy-banner-text {
  padding: 0 40px;
}

.privacy-banner-grid > .privacy-banner-text:first-child {
  padding-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.privacy-banner-grid > .privacy-banner-text:last-child {
  padding-right: 0;
}

.privacy-banner-text {
  color: var(--su-white);
}

.privacy-banner-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--su-white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.privacy-banner-text h2 span {
  color: var(--su-orange);
}

.privacy-banner-text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 20px;
}

.privacy-highlights {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 28px;
}

.privacy-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.privacy-highlights li svg {
  flex-shrink: 0;
  color: var(--su-orange);
}

.btn-privacy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--su-white);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  font-family: var(--font-sans);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-privacy:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--su-orange);
  color: var(--su-white);
  transform: translateY(-2px);
}

/* ================================================================
   FAQ PAGE (AI-Data-Privacy-FAQ.html) — Page-Specific Rules
   ================================================================ */

/* FAQ focus-visible additions */
details:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--su-orange);
  outline-offset: 2px;
}

/* ── FAQ Hero Banner ── */
.page-hero {
  background: linear-gradient(135deg, var(--su-blue) 0%, var(--su-blue-medium) 100%);
  color: var(--su-white);
  padding: 120px 48px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(32, 50, 153, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 20%, rgba(43, 114, 215, 0.15) 0%, transparent 50%);
  z-index: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.page-hero h1 span {
  color: var(--su-orange);
}

.page-hero p {
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.65;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.page-hero-breadcrumb a:hover {
  color: var(--su-orange-light);
}

.page-hero-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.35);
}

.page-hero-breadcrumb .current {
  color: var(--su-white);
}

/* ── FAQ Main Content ── */
.faq-page main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.intro {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--su-pale-gray);
}

.platform-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.platform-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.tag-blue {
  background: var(--su-blue-10);
  color: var(--su-blue-medium);
}

.tag-orange {
  background: var(--su-orange-10);
  color: var(--su-orange-dark);
}

/* ── Section Headings ── */
.section-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--su-blue);
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid var(--su-orange);
  display: inline-block;
}

/* ── FAQ Accordion ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

details.faq-item {
  background: var(--su-white);
  border: 1px solid #E0E2E5;
  border-radius: 10px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

details.faq-item[open] {
  box-shadow: 0 2px 16px rgba(0, 14, 84, 0.08);
  border-color: var(--su-blue-light);
}

details.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--su-blue);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  background: var(--su-pale-gray);
  color: var(--su-orange);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.2rem;
  line-height: 1;
  padding-top: 1px;
  transition: background 0.2s ease;
}

details.faq-item[open] summary::before {
  content: "\2212";
  background: var(--su-orange);
  color: var(--su-white);
}

details.faq-item summary:hover::before {
  background: var(--su-orange);
  color: var(--su-white);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem 3.5rem;
  color: var(--su-gray-dark);
  line-height: 1.75;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding: 0;
}

.faq-answer li {
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

/* ── Comparison Table ── */
.comparison-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0 2.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 14, 84, 0.06);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 44rem;
}

.comparison-table caption {
  text-align: left;
  font-weight: bold;
  color: var(--su-blue);
  padding: 0.75rem 0;
  font-size: 1rem;
}

.comparison-table thead th {
  background: var(--su-blue);
  color: var(--su-white);
  padding: 0.75rem 0.85rem;
  text-align: left;
  font-weight: bold;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.comparison-table tbody td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #E0E2E5;
  vertical-align: top;
  line-height: 1.5;
}

.comparison-table tbody tr:nth-child(even) td {
  background: var(--su-pale-gray);
}

.comparison-table tbody tr:hover td {
  background: var(--su-orange-10);
}

/* ── Policy Links Box ── */
.policy-links {
  background: var(--su-pale-gray);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.policy-links h2 {
  font-size: 1rem;
  color: var(--su-blue);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.policy-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.policy-links li {
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ── 12. FOOTER ── */
.site-footer {
  background: var(--su-blue);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 48px 40px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 280px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--su-white);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--su-orange);
}

/* ================================================================
   13. RESPONSIVE
   ================================================================ */

/* ── 1024px ── */
@media (max-width: 1024px) {
  .hero {
    padding: 100px 32px 60px;
  }

  .hero-inner {
    gap: 32px;
  }
}

/* ── 768px ── */
@media (max-width: 768px) {
  /* Shared: Navigation */
  .site-nav {
    padding: 0 24px;
    height: 56px;
  }

  .nav-right {
    gap: 20px;
  }

  .nav-logo img {
    height: 22px;
  }

  .nav-link {
    font-size: 14px;
  }

  /* Shared: Footer */
  .site-footer {
    padding: 48px 24px 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Default.aspx: Hero */
  .hero {
    padding: 64px 24px 40px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3vh;
  }

  .hero-text .hero-body {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    padding: 14px 18px;
    margin-bottom: 24px;
  }

  .hero-text h2 {
    margin-bottom: 16px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .chat-sample {
    max-width: 200px;
    font-size: 13px;
    height: 82px;
  }

  /* Default.aspx: Assistants */
  .assistants {
    padding: 60px 24px 80px;
  }

  .assistants-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .asst-card {
    padding: 28px 24px;
  }

  /* Default.aspx: Data & Privacy Banner */
  .data-privacy-banner {
    padding: 48px 24px;
  }

  .privacy-banner-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .privacy-banner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .privacy-banner-grid > .privacy-banner-text {
    padding: 0;
  }

  .privacy-banner-grid > .privacy-banner-text:first-child {
    padding-left: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 40px;
  }

  .privacy-highlights {
    justify-content: center;
  }

  /* FAQ: Page Hero */
  .page-hero {
    padding: 80px 24px 40px;
  }

  /* FAQ: Main Content */
  .faq-page main {
    padding: 1.5rem 1.25rem 3rem;
  }

  .faq-answer {
    padding-left: 1.25rem;
  }

  .comparison-table {
    font-size: 0.82rem;
  }
}

/* ── 480px ── */
@media (max-width: 480px) {
  /* Default.aspx: Hero CTAs */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    text-align: center;
  }

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

  /* FAQ: Breadcrumb */
  .page-hero-breadcrumb {
    font-size: 12px;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-character img {
    animation: none;
  }

  .chat-sample {
    animation: none;
    opacity: 1;
  }

  .asst-card {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ================================================================
   14. WIDGET / CHAT PANEL
   ================================================================ */

/* ── CHAT PANEL ── */
#ibl-chat-widget-container {
  position: fixed !important;
  bottom: 104px !important;
  right: 28px !important;
  top: auto !important;
  left: auto !important;
  width: 50vw !important;
  min-width: 400px !important;
  max-width: calc(100vw - 56px) !important;
  height: 80vh !important;
  max-height: 85vh !important;
  min-height: 400px !important;
  z-index: 2147483647 !important;
  background: var(--su-white) !important;
  border: 1.5px solid rgba(0, 14, 84, 0.15) !important;
  border-radius: 20px !important;
  box-shadow:
    0 24px 80px rgba(0, 14, 84, 0.22),
    0 8px 24px rgba(0, 14, 84, 0.1) !important;
  overflow: hidden !important;
  animation: clementineSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Diagnostic session ID — subtle bottom label */
.clementine-diag-id {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  color: rgba(0, 0, 0, 0.45);
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  letter-spacing: 0.02em;
  cursor: text;
  user-select: all;
  z-index: 10;
  line-height: 1;
}

/* Resize handle - bottom-left corner drag */
#ibl-chat-widget-container::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 20px;
  cursor: nesw-resize;
  z-index: 20;
  border-radius: 0 0 0 20px;
}

#ibl-chat-widget-container::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid rgba(0, 14, 84, 0.25);
  border-left: 2px solid rgba(0, 14, 84, 0.25);
  border-radius: 0 0 0 2px;
  z-index: 21;
  pointer-events: none;
}

#ibl-chat-widget-container iframe {
  border: none !important;
  border-radius: 18px !important;
  width: 100% !important;
  height: 100% !important;
  background: var(--su-white);
}

/* ── WAITING ROOM ── */
/* ── WAITING ROOM — Chat-style (mirrors Mentor AI layout) ── */
.clementine-waiting-room {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: var(--font-sans);
  background: var(--su-white);
  border-radius: 18px;
  overflow: hidden;
}

/* Nav bar — matches Mentor AI header */
.wr-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 64px;
  flex-shrink: 0;
  background: var(--su-blue);
  border-bottom: 2px solid var(--su-orange);
}

.wr-nav-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.wr-nav-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--su-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wr-nav-close {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}

.wr-nav-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.wr-nav-close:focus-visible {
  outline: 3px solid var(--su-orange);
  outline-offset: 2px;
}

/* Chat area — scrollable message feed */
.wr-chat-area {
  flex: 1;
  overflow-y: auto;
  padding: 24px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 14, 84, 0.12) transparent;
}

.wr-chat-area::-webkit-scrollbar {
  width: 6px;
}

.wr-chat-area::-webkit-scrollbar-track {
  background: transparent;
}

.wr-chat-area::-webkit-scrollbar-thumb {
  background: rgba(0, 14, 84, 0.12);
  border-radius: 3px;
}

/* Single message row — avatar + bubble */
.wr-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: wrMsgFadeIn 0.3s ease both;
}

.wr-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  margin-top: 2px;
}

.wr-msg-content {
  flex: 1;
  min-width: 0;
}

.wr-msg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.wr-msg-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--su-blue);
}

.wr-msg-time {
  font-size: 12px;
  color: var(--su-medium-grey);
}

/* AI-style bubble — matches .chat-ai-message-response */
.wr-msg-bubble {
  background: #FFFFFF;
  border: 1px solid rgba(0, 14, 84, 0.06);
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 1px 3px rgba(0, 14, 84, 0.04);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5rem;
  color: var(--su-dark-grey);
}

.wr-msg-bubble strong {
  font-weight: 700;
  color: var(--su-blue);
}

.wr-msg-bubble .wr-highlight {
  color: var(--su-orange);
  font-weight: 700;
}

.wr-msg-bubble .wr-meta {
  font-size: 12px;
  color: var(--su-medium-grey);
  margin-top: 6px;
}

/* Footer — session ID area */
.wr-footer {
  flex-shrink: 0;
  padding: 8px 16px;
  text-align: center;
  border-top: 1px solid rgba(0, 14, 84, 0.06);
}

.wr-session-id {
  font-size: 10px;
  color: var(--su-light-grey);
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  letter-spacing: 0.02em;
  user-select: all;
}

@keyframes wrMsgFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ── IDLE PROMPT OVERLAY ── */
.idle-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 14, 84, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: wrMsgFadeIn 0.3s ease both;
}

.idle-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 28px;
  background: var(--su-white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 14, 84, 0.25);
  max-width: 280px;
  width: 85%;
}

.idle-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 16px;
  object-fit: cover;
}

.idle-message {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--su-blue);
  margin-bottom: 8px;
  line-height: 1.3;
}

.idle-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--su-medium-grey);
  margin-bottom: 20px;
  line-height: 1.5;
}

.idle-countdown {
  font-weight: 700;
  color: var(--su-orange);
  font-variant-numeric: tabular-nums;
}

.idle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--su-orange);
  color: var(--su-white);
  padding: 12px 32px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(247, 105, 0, 0.3);
}

.idle-btn:hover {
  background: var(--su-orange-dark);
  transform: translateY(-1px);
}

.idle-btn:focus-visible {
  outline: 3px solid var(--su-orange);
  outline-offset: 2px;
}

@keyframes clementineSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── FLOATING BUBBLE - pill shape with label ── */
.ibl-chat-bubble {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  height: 56px !important;
  width: auto !important;
  min-width: 56px !important;
  padding: 0 22px 0 18px !important;
  border: none !important;
  border-radius: 28px !important;
  background: var(--su-orange) !important;
  color: var(--su-white) !important;
  box-shadow:
    0 4px 20px rgba(247, 105, 0, 0.35),
    0 2px 6px rgba(0, 14, 84, 0.08) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-family: var(--font-sans) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 2147483646 !important;
  overflow: hidden !important;
}

.ibl-chat-bubble:hover {
  background: var(--su-orange-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow:
    0 8px 32px rgba(247, 105, 0, 0.4),
    0 4px 12px rgba(0, 14, 84, 0.1) !important;
}

.ibl-chat-bubble:active {
  transform: translateY(0) scale(0.97) !important;
}

.ibl-chat-bubble:focus-visible {
  outline: 3px solid var(--su-orange) !important;
  outline-offset: 3px !important;
}

/* Icon swap: chat bubble -> X when panel is open */
.ibl-chat-icon {
  flex-shrink: 0;
}

.ibl-chat-icon--close {
  display: none;
}

.ibl-chat-label {
  white-space: nowrap;
}

.ibl-chat-bubble--open .ibl-chat-icon--chat {
  display: none;
}

.ibl-chat-bubble--open .ibl-chat-icon--close {
  display: block;
}

.ibl-chat-bubble--open .ibl-chat-label {
  display: none;
}

/* When open: collapse to circular navy close button */
.ibl-chat-bubble--open {
  width: 56px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--su-blue) !important;
  box-shadow:
    0 4px 20px rgba(0, 14, 84, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.ibl-chat-bubble--open:hover {
  background: #0A1A6A !important;
  box-shadow:
    0 8px 32px rgba(0, 14, 84, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Hide the default base64 image from original script */
.ibl-chat-bubble img {
  display: none !important;
}

/* ── Widget Mobile ── */
@media screen and (max-width: 768px) {
  #ibl-chat-widget-container {
    width: calc(100% - 24px) !important;
    max-width: 520px !important;
    min-width: unset !important;
    right: 12px !important;
    bottom: 96px !important;
    height: 70vh !important;
    border-radius: 16px !important;
    resize: none !important;
  }

  #ibl-chat-widget-container::before,
  #ibl-chat-widget-container::after {
    display: none !important;
  }

  #ibl-chat-widget-container iframe {
    border-radius: 0 0 16px 16px !important;
  }

  .ibl-chat-bubble {
    bottom: 20px !important;
    right: 20px !important;
    height: 52px !important;
    padding: 0 16px 0 14px !important;
    font-size: 19px !important;
  }

  .ibl-chat-bubble--open {
    width: 52px !important;
    padding: 0 !important;
  }
}

@media screen and (max-width: 480px) {
  #ibl-chat-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
  }

  #ibl-chat-widget-container iframe {
    border-radius: 0 !important;
  }

  .ibl-chat-label {
    display: none;
  }

  .ibl-chat-bubble {
    width: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }
}

/* ── Widget Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  #ibl-chat-widget-container {
    animation: none !important;
  }

  .ibl-chat-bubble,
  .ibl-chat-bubble:hover,
  .ibl-chat-bubble--open {
    transition: none !important;
    transform: none !important;
  }

  .wr-msg-row {
    animation: none;
  }

  .wr-typing-dot {
    animation: none;
  }

  .idle-overlay {
    animation: none;
  }

  .idle-btn {
    transition: none;
  }
}

/* ── 15. UTILITY CLASSES ── */
.img-invert {
  filter: brightness(0) invert(1);
}

.icon-muted {
  color: var(--su-medium-grey);
  opacity: 0.5;
}
