/* ============================================
   Chipp Site Base Styles (platform-injected)
   ============================================ */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* --- Mobile Navigation (hamburger) --- */

/* Hidden checkbox that powers the toggle */
.nav-toggle { display: none; }

/* Hamburger icon — hidden on desktop, visible on mobile */
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.nav-toggle-label .hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle-label .hamburger::before,
.nav-toggle-label .hamburger::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: absolute;
  transition: transform 0.3s ease, top 0.3s ease;
}

.nav-toggle-label .hamburger::before { top: -7px; }
.nav-toggle-label .hamburger::after { top: 7px; }

/* Animate to X when open */
.nav-toggle:checked + .nav-toggle-label .hamburger { background: transparent; }
.nav-toggle:checked + .nav-toggle-label .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle:checked + .nav-toggle-label .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile: show hamburger, collapse nav links */
@media (max-width: 768px) {
  .nav-toggle-label { display: flex; align-items: center; }

  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    /* Use the site's background color -- falls back to white/dark */
    background: var(--site-bg, var(--site-surface, #ffffff));
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  /* Dark mode: opaque dark background + stronger shadow */
  @media (prefers-color-scheme: dark) {
    .nav-links {
      background: var(--site-bg, var(--site-surface, #0f0f1a));
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }
  }

  .nav-toggle:checked ~ .nav-links { display: flex !important; }

  /* Make nav links full-width tappable targets on mobile */
  .nav-links a {
    padding: 12px 16px;
    border-radius: 8px;
    text-align: left;
    width: 100%;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: rgba(128, 128, 128, 0.08);
  }

  /* CTA button in mobile nav — full width */
  .nav-links .cta-primary,
  .nav-links .nav-cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }
}

/* --- Nav Logo Image --- */

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* --- CTA Button Safety --- */

/* Prevent nav link hover from overriding CTA text color.
   LLM-generated .nav-links a:hover can set color to --site-primary,
   making text invisible against the same-color CTA background. */
.nav-links .cta-primary:hover,
.nav-links .cta-primary:focus,
.cta-primary:hover,
.cta-primary:focus {
  color: white;
}

/* --- FAQ Accordion (<details>/<summary>) --- */

details {
  border: 1px solid rgba(128, 128, 128, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.2s ease;
}

details + details { margin-top: 8px; }

details[open] {
  background: rgba(128, 128, 128, 0.03);
}

summary {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker { display: none; }
summary::marker { display: none; }

/* Chevron indicator */
summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.5;
}

details[open] > summary::after {
  transform: rotate(-135deg);
}

details > div,
details > p {
  padding: 0 24px 18px;
  line-height: 1.7;
  opacity: 0.85;
}

/* --- Chat Container Responsive --- */

[data-chipp="chat"] {
  min-height: 500px;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 768px) {
  [data-chipp="chat"] {
    min-height: 400px;
    border-radius: 12px;
  }
}

/* === Custom Site Styles === */
/* =============================================
   TEACHME — DESIGN SYSTEM
   ============================================= */

:root {
  --site-primary: #1B3A6B;
  --site-primary-light: #2a5298;
  --site-primary-dark: #122848;
  --site-primary-glow: rgba(27, 58, 107, 0.18);
  --site-primary-surface: rgba(27, 58, 107, 0.06);

  --site-gold: #F5A623;
  --site-gold-light: #f7bc5a;
  --site-gold-dark: #d4891a;
  --site-gold-glow: rgba(245, 166, 35, 0.22);
  --site-gold-surface: rgba(245, 166, 35, 0.08);

  --site-bg: #ffffff;
  --site-bg-alt: #f7f9fc;
  --site-surface: #ffffff;
  --site-text: #2d3748;
  --site-heading: #0f1e38;
  --site-muted: #64748b;
  --site-border: #e2e8f0;

  --site-section-pad: clamp(3.5rem, 8vw, 6rem);
  --site-content-max: 1200px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* =============================================
   RESET & BASE
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--site-text);
  background: var(--site-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--site-content-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--site-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-gold);
  margin-bottom: 0.75rem;
}

.eyebrow--light { color: var(--site-gold-light); }

.gradient-text {
  background: linear-gradient(135deg, var(--site-gold), var(--site-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-sub {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--site-muted);
  line-height: 1.7;
}

/* =============================================
   NAVIGATION
   ============================================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--site-border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--site-primary);
  display: flex;
  align-items: center;
}

@media (min-width: 769px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav-links a:not(.nav-cta) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--site-text);
    transition: color 0.2s;
  }
  .nav-links a:not(.nav-cta):hover { color: var(--site-primary); }
}

/* =============================================
   BUTTONS
   ============================================= */

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.875rem 1.875rem;
  background: var(--site-primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 18px var(--site-primary-glow);
  text-decoration: none;
}

.cta-primary:hover {
  background: var(--site-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--site-primary-glow);
}

.cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 2.25rem;
  background: var(--site-gold);
  color: var(--site-primary-dark);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 20px var(--site-gold-glow);
  text-decoration: none;
}

.cta-gold:hover {
  background: var(--site-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--site-gold-glow);
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.875rem 1.875rem;
  background: transparent;
  color: var(--site-primary);
  border: 2px solid var(--site-primary);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
}

.cta-ghost:hover {
  background: var(--site-primary-surface);
  transform: translateY(-2px);
}

.nav-cta {
  padding: 0.625rem 1.375rem;
  font-size: 0.9375rem;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #f0f5ff 40%, var(--site-primary-surface) 100%);
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
}

.hero-bg-mesh {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--site-gold-glow), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-mesh--2 {
  top: auto;
  bottom: -20%;
  right: auto;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--site-primary-glow), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.hero-content { max-width: 600px; }

.hero h1 { margin-bottom: 1.25rem; }

.hero-sub {
  font-size: 1.125rem;
  color: var(--site-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-cta { padding: 1rem 2rem; font-size: 1.0625rem; }

.hero-signal {
  font-size: 0.875rem;
  color: var(--site-muted);
  margin-bottom: 1.25rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.proof-stars { color: var(--site-gold); font-size: 1.1rem; letter-spacing: 0.05em; }

.hero-proof span {
  font-size: 0.875rem;
  color: var(--site-muted);
}

.hero-proof strong { color: var(--site-heading); }

/* Chat Mockup */
.hero-visual { display: flex; justify-content: center; }

.chat-mockup {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px -10px rgba(27, 58, 107, 0.15), 0 4px 16px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 460px;
  overflow: hidden;
}

.mockup-header {
  background: var(--site-primary);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.mockup-dot--gold { background: var(--site-gold); }
.mockup-dot--green { background: #4ade80; }

.mockup-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-left: 0.5rem;
}

.mockup-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

.mockup-msg { display: flex; gap: 0.75rem; align-items: flex-start; }

.mockup-msg--user { flex-direction: row-reverse; }

.mockup-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--site-primary), var(--site-primary-light));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mockup-bubble {
  background: var(--site-bg-alt);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--site-text);
  max-width: 85%;
}

.mockup-bubble--user {
  background: var(--site-primary);
  color: white;
}

.mockup-progress {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--site-border);
}

.progress-label {
  font-size: 0.75rem;
  color: var(--site-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 0.4rem;
}

.progress-bar {
  height: 6px;
  background: var(--site-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--site-primary), var(--site-gold));
  border-radius: var(--radius-full);
}

/* =============================================
   TRUST BAR
   ============================================= */

.trust-bar {
  background: var(--site-primary);
  padding: 1.5rem 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 0;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
  color: white;
}

.trust-stat strong {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--site-gold);
  line-height: 1.2;
}

.trust-stat span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.2rem;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

@media (max-width: 640px) {
  .trust-divider { display: none; }
  .trust-stat { padding: 0.5rem 1.5rem; }
}

/* =============================================
   HOW IT WORKS
   ============================================= */

.how-it-works {
  background: var(--site-bg-alt);
  padding: var(--site-section-pad) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0.5rem;
  }
}

.step-card {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -8px var(--site-primary-glow);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--site-gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--site-primary-surface), var(--site-primary-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--site-primary);
  margin-bottom: 1rem;
}

.step-card h3 { margin-bottom: 0.5rem; color: var(--site-heading); }
.step-card p { font-size: 0.9375rem; color: var(--site-muted); }

.step-arrow {
  font-size: 1.5rem;
  color: var(--site-gold);
  font-weight: 700;
  text-align: center;
  opacity: 0.6;
}

@media (max-width: 899px) {
  .step-arrow { display: none; }
}

.how-cta { text-align: center; }

/* =============================================
   SUBJECTS
   ============================================= */

.subjects {
  background: var(--site-bg);
  padding: var(--site-section-pad) 0;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .subjects-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .subjects-grid { grid-template-columns: repeat(5, 1fr); }
}

.subject-card {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -8px var(--site-gold-glow);
  border-color: var(--site-gold-light);
}

.subject-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--site-gold-surface), var(--site-gold-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--site-gold-dark);
  margin: 0 auto 0.875rem;
}

.subject-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--site-heading);
}

.subject-card p {
  font-size: 0.8125rem;
  color: var(--site-muted);
  line-height: 1.5;
}

/* =============================================
   FEATURES
   ============================================= */

.features {
  background: var(--site-bg-alt);
  padding: var(--site-section-pad) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -8px var(--site-primary-glow), 0 4px 12px rgba(0,0,0,0.04);
}

.icon-wrap {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--site-primary-surface), var(--site-primary-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--site-primary);
  margin-bottom: 1.25rem;
}

.feature-card h3 { margin-bottom: 0.625rem; color: var(--site-heading); }
.feature-card p { font-size: 0.9375rem; color: var(--site-muted); }

/* =============================================
   TESTIMONIALS
   ============================================= */

.testimonials {
  background: var(--site-bg);
  padding: var(--site-section-pad) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-stars { color: var(--site-gold); font-size: 1.1rem; letter-spacing: 0.05em; }

.testimonial-card blockquote {
  font-size: 0.9375rem;
  color: var(--site-text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-avatar--1 { background: linear-gradient(135deg, var(--site-primary), var(--site-primary-light)); }
.author-avatar--2 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.author-avatar--3 { background: linear-gradient(135deg, var(--site-gold-dark), var(--site-gold)); }

.testimonial-author strong { display: block; font-size: 0.9375rem; color: var(--site-heading); }
.testimonial-author span { font-size: 0.8125rem; color: var(--site-muted); }

/* =============================================
   CHAT SECTION
   ============================================= */

.chat-section {
  background: linear-gradient(160deg, var(--site-bg-alt) 0%, #f0f5ff 100%);
  padding: var(--site-section-pad) 0;
  position: relative;
}

.chat-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--site-primary);
}

.suggested-questions {
  margin-top: 2rem;
  text-align: center;
}

.sq-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--site-muted);
  margin-bottom: 0.875rem;
}

.sq-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.suggested-question {
  padding: 0.625rem 1.25rem;
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--site-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggested-question:hover {
  background: var(--site-primary);
  color: white;
  border-color: var(--site-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--site-primary-glow);
}

.chat-island-wrap {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--site-border);
  box-shadow: 0 12px 40px -8px var(--site-primary-glow);
}

.chat-island-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--site-surface);
  z-index: 0;
  pointer-events: none;
}

.chat-placeholder-inner {
  text-align: center;
  color: var(--site-muted);
}

.chat-placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.chat-placeholder-inner p {
  font-size: 0.9375rem;
  font-weight: 500;
}

#chipp-chat-island {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

/* =============================================
   FAQ
   ============================================= */

.faq {
  background: var(--site-bg);
  padding: var(--site-section-pad) 0;
}

.faq-inner { max-width: 760px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-list details {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-list summary {
  font-weight: 600;
  font-size: 1rem;
  color: var(--site-heading);
  cursor: pointer;
}

.faq-list details p {
  font-size: 0.9375rem;
  color: var(--site-muted);
  line-height: 1.75;
}

/* =============================================
   ENTERPRISE / CUSTOM BUILD
   ============================================= */

.enterprise {
  background: linear-gradient(160deg, #f0f5ff 0%, var(--site-bg-alt) 100%);
  padding: var(--site-section-pad) 0;
  border-top: 1px solid var(--site-border);
  border-bottom: 1px solid var(--site-border);
}

.enterprise-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .enterprise-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.enterprise-content .eyebrow {
  color: var(--site-primary);
}

.enterprise-content h2 {
  margin-bottom: 1rem;
}

.enterprise-content > p {
  font-size: 1.0625rem;
  color: var(--site-muted);
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.enterprise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.enterprise-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--site-text);
  font-weight: 500;
}

.ent-check {
  color: var(--site-gold-dark);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.enterprise-form-wrap {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 8px 32px -8px var(--site-primary-glow);
}

.enterprise-form-header {
  margin-bottom: 1.5rem;
}

.enterprise-form-header h3 {
  font-size: 1.2rem;
  color: var(--site-heading);
  margin-bottom: 0.375rem;
}

.enterprise-form-header p {
  font-size: 0.875rem;
  color: var(--site-muted);
}

/* =============================================
   FINAL CTA
   ============================================= */

.final-cta {
  background: var(--site-primary);
  padding: var(--site-section-pad) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta-bg-mesh {
  position: absolute;
  top: -30%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.15), transparent 65%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.final-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: white;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}

.final-signal {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0 !important;
}

.final-proof {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--site-gold-light);
  font-weight: 500;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--site-primary-dark);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-logo { height: 36px; width: auto; }

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--site-gold); }

.footer-credit {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-credit a {
  color: var(--site-gold);
  opacity: 0.7;
  transition