/* ==========================================================================
   iDeskHubs — 2026 design system
   One stylesheet. Replaces styles.css, homepage.css, improved-ui.css,
   animations.css and ai-assistant-modern.css on the pages that load it.
   Palette is sampled from the iDeskHubs logo: navy ink, brand blue,
   teal and mint. Never hard-code a hex below this block.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&display=swap');

:root {
  /* brand — sampled from the logo mark */
  --navy:        #222E4F;   /* wordmark "iDesk" */
  --navy-deep:   #18213a;
  --blue:        #1F7ACD;   /* left petals */
  --blue-dark:   #1763A8;
  --blue-light:  #E9F3FC;
  --teal:        #199BA8;   /* "hubs" */
  --teal-light:  #E6F5F6;
  --mint:        #45D6A4;   /* top petal */
  --mint-light:  #E7FAF3;

  /* neutrals */
  --ink:         #222E4F;
  --ink-70:      #52607F;
  --ink-50:      #7B879F;
  --bg:          #FFFFFF;
  --bg-tint:     #F6F9FC;
  --bg-navy:     #182241;
  --line:        #E6EBF2;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s20: 80px; --s24: 104px;

  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-pill: 999px;

  --shell: 1200px;
  --nav-h: 76px;

  --shadow-xs: 0 1px 2px rgba(34,46,79,.06);
  --shadow-sm: 0 2px 8px rgba(34,46,79,.07);
  --shadow-md: 0 10px 30px rgba(34,46,79,.09);
  --shadow-lg: 0 24px 60px rgba(34,46,79,.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
body.chat-open { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 var(--s3);
}
p { margin: 0 0 var(--s3); }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--blue-dark); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--teal); text-decoration: underline; }

:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(31,122,205,.45); outline-offset: 2px; border-radius: var(--r-sm); }
::selection { background: rgba(69,214,164,.35); }

.container { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--s6); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 6px var(--s3); border-radius: var(--r-pill);
  margin: 0 0 var(--s4);
}
.text-muted { color: var(--ink-70); }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--font); font-weight: 700; font-size: 15.5px; line-height: 1.2;
  padding: 15px var(--s8);
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  background: transparent; color: var(--ink);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease,
              box-shadow .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(31,122,205,.28); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 10px 24px rgba(31,122,205,.34); }
.btn-secondary { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue-dark); box-shadow: var(--shadow-sm); }
.btn-mint { background: var(--mint); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(69,214,164,.35); }
.btn-mint:hover { background: #35c493; color: var(--navy-deep); }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: var(--mint); color: var(--navy-deep); }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: 11px var(--s6); font-size: 14.5px; }

/* ── navigation ──────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(140%) blur(12px);
  transition: box-shadow .2s ease, background .2s ease;
}
.navbar.scrolled { background: #fff; box-shadow: var(--shadow-sm); }
.nav-container {
  max-width: var(--shell); margin: 0 auto; padding: 0 var(--s6);
  height: var(--nav-h); display: flex; align-items: center; gap: var(--s8);
}
.nav-brand { display: flex; align-items: center; gap: var(--s3); flex: none; }
.nav-brand:hover { text-decoration: none; }
.nav-logo { height: 34px; width: auto; }
.nav-tagline {
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-50);
}
.nav-menu { display: flex; align-items: center; gap: var(--s2); margin-left: auto; white-space: nowrap; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 10px var(--s3); border-radius: var(--r-pill);
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { color: var(--blue-dark); background: var(--blue-light); text-decoration: none; }
.nav-client-area { color: var(--ink); border: 1.5px solid var(--line); }
.nav-client-area:hover { border-color: var(--blue); background: var(--blue-light); }
.nav-cta { margin-left: var(--s2); }

.dropdown-content {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s4); display: none; box-shadow: var(--shadow-lg);
}
.dropdown-content.wide { min-width: 600px; grid-template-columns: 1fr 1fr; gap: 0 var(--s8); }
.dropdown:hover .dropdown-content { display: block; }
.dropdown:hover .dropdown-content.wide { display: grid; }
.dropdown-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-50); margin-bottom: var(--s2); padding: 0 var(--s3);
}
.dropdown-item {
  display: block; padding: 10px var(--s3); border-radius: var(--r-sm);
  transition: background .14s ease;
}
.dropdown-item strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.dropdown-item small { display: block; font-size: 12.5px; color: var(--ink-50); line-height: 1.45; }
.dropdown-item:hover { background: var(--bg-tint); text-decoration: none; }
.dropdown-item:hover strong { color: var(--blue-dark); }
.dropdown-footer {
  grid-column: 1 / -1; margin-top: var(--s3); padding: var(--s3);
  border-top: 1px solid var(--line);
  font-size: 14px; font-weight: 700; color: var(--blue-dark);
}
.dropdown-footer:hover { text-decoration: none; color: var(--teal); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: var(--s2); cursor: pointer; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .18s ease, opacity .18s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::before {
  content: ""; position: absolute; top: -260px; right: -180px;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(69,214,164,.22), rgba(31,122,205,.14) 55%, transparent 72%);
  pointer-events: none;
}
.hero-split {
  position: relative; max-width: var(--shell); margin: 0 auto; padding: var(--s20) var(--s6);
  display: grid; grid-template-columns: 1.02fr .98fr; gap: var(--s16); align-items: center;
}
.hero-title { font-size: clamp(42px, 5vw, 66px); margin: 0 0 var(--s6); max-width: 14ch; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue) 0%, var(--teal) 55%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-description { font-size: 19px; line-height: 1.6; color: var(--ink-70); max-width: 48ch; margin: 0 0 var(--s8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-note { margin: var(--s6) 0 0; font-size: 13.5px; color: var(--ink-50); }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}

/* ── trust bar ───────────────────────────────────────────────────────── */
.trust-bar { background: var(--bg-tint); }
.trust-inner {
  max-width: var(--shell); margin: 0 auto; padding: var(--s8) var(--s6);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s6) var(--s12);
}
.trust-bar-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-50);
}
.trust-logos { display: flex; flex-wrap: wrap; gap: var(--s6) var(--s12); }
.trust-logo-item { font-size: 16px; font-weight: 700; color: var(--ink-70); }

/* ── segments ────────────────────────────────────────────────────────── */
.segment-section { padding: var(--s24) 0; }
.segment-alt { background: var(--bg-tint); }
.segment-intro {
  max-width: var(--shell); margin: 0 auto var(--s12); padding: 0 var(--s6);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s16); align-items: center;
}
.segment-intro-reverse .segment-header { order: 2; }
.segment-intro-reverse .segment-visual { order: 1; }
.segment-title { font-size: clamp(32px, 3.4vw, 44px); margin: 0 0 var(--s4); max-width: 15ch; }
.segment-description { font-size: 17.5px; color: var(--ink-70); max-width: 52ch; margin: 0; }
.segment-visual img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}

.segment-grid {
  max-width: var(--shell); margin: 0 auto; padding: 0 var(--s6);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6);
}
.segment-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.segment-card {
  display: flex; flex-direction: column; gap: var(--s3);
  padding: var(--s8) var(--s6);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.segment-card:hover {
  text-decoration: none; transform: translateY(-4px);
  box-shadow: var(--shadow-md); border-color: transparent;
}
.segment-card-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-light); color: var(--blue-dark);
  font-size: 15px; font-weight: 800;
}
.segment-card:nth-child(3n+2) .segment-card-icon { background: var(--teal-light); color: var(--teal); }
.segment-card:nth-child(3n+3) .segment-card-icon { background: var(--mint-light); color: #14996c; }
.segment-card h3 { font-size: 19.5px; margin: 0; }
.segment-card p { font-size: 15px; color: var(--ink-70); margin: 0; flex: 1; line-height: 1.55; }
.segment-card-link { font-size: 14.5px; font-weight: 700; color: var(--blue-dark); }
.segment-card:hover .segment-card-link { color: var(--teal); }

/* ── stats ───────────────────────────────────────────────────────────── */
.stats-section { padding: 0 0 var(--s24); }
.stats-row {
  max-width: var(--shell); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6);
  background: var(--bg-navy); color: #fff;
  border-radius: var(--r-lg); padding: var(--s12) var(--s8);
  margin-left: auto; margin-right: auto; width: calc(100% - 2 * var(--s6));
  max-width: var(--shell); box-shadow: var(--shadow-lg);
}
.stat-block { padding: 0 var(--s4); }
.stat-number {
  font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(100deg, #7cc3f5 0%, #4fd9d3 50%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label {
  margin-top: var(--s3); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72);
}

/* ── closing CTA ─────────────────────────────────────────────────────── */
.cta-section { padding: 0 0 var(--s24); }
.cta-content {
  width: calc(100% - 2 * var(--s6)); max-width: var(--shell); margin: 0 auto;
  padding: var(--s20) var(--s16);
  border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(115deg, var(--blue) 0%, var(--teal) 58%, #2fc79a 100%);
  box-shadow: var(--shadow-lg);
}
.cta-content h2 { font-size: clamp(34px, 4vw, 52px); color: #fff; margin: 0 0 var(--s4); max-width: 18ch; }
.cta-content p { font-size: 18.5px; color: rgba(255,255,255,.92); max-width: 54ch; margin: 0 0 var(--s8); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ── footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--bg-navy); color: rgba(255,255,255,.72); font-size: 15px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--mint); text-decoration: none; }
.footer-grid {
  max-width: var(--shell); margin: 0 auto; padding: var(--s16) var(--s6) var(--s12);
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: var(--s8);
}
.footer-logo { height: 30px; width: auto; margin-bottom: var(--s4); }
.footer-tagline { color: #fff; font-weight: 600; margin-bottom: var(--s2); }
.footer-column h5 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin-bottom: var(--s4);
}
.footer-column li { margin-bottom: 10px; }
.social-links { display: flex; gap: var(--s2); margin-top: var(--s6); }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); font-size: 13px; font-weight: 700;
  transition: background .16s ease, color .16s ease;
}
.social-links a:hover { background: var(--mint); color: var(--navy-deep); }
.footer-bottom {
  max-width: var(--shell); margin: 0 auto; padding: var(--s6);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s4);
  font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-links { display: flex; gap: var(--s6); }

/* ── AI assistant (Sarah) ────────────────────────────────────────────── */
.ai-assistant { position: fixed; right: var(--s6); bottom: var(--s6); z-index: 950; cursor: pointer; }
.ai-bubble {
  display: flex; align-items: center; gap: var(--s3);
  background: linear-gradient(115deg, var(--blue) 0%, var(--teal) 100%);
  color: #fff; padding: var(--s3) var(--s6) var(--s3) var(--s3);
  border-radius: var(--r-pill); box-shadow: var(--shadow-lg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ai-assistant:hover .ai-bubble { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(25,155,168,.4); }
.ai-avatar { position: relative; width: 30px; height: 30px; flex: none; }
.ai-core { position: absolute; inset: 8px; border-radius: 50%; background: var(--mint); }
.ai-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); }
.ai-text { font-size: 14px; font-weight: 600; }

.chat-interface {
  position: fixed; right: var(--s6); bottom: var(--s6); z-index: 960;
  width: 392px; max-width: calc(100vw - var(--s8));
  height: 580px; max-height: calc(100vh - var(--s8));
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column;
}
.chat-interface.active { display: flex; }
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s4) var(--s6);
  background: linear-gradient(115deg, var(--blue) 0%, var(--teal) 100%); color: #fff;
  font-size: 15px; font-weight: 700;
}
.chat-close {
  background: transparent; border: 0; color: rgba(255,255,255,.85);
  font-size: 24px; line-height: 1; cursor: pointer; padding: 0 var(--s1);
}
.chat-close:hover { color: #fff; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s4);
  background: var(--bg-tint);
}

/* ai-assistant.js emits .message.bot-message / .message.user-message, each with
   .message-avatar + .message-content. Don't rename without editing that file. */
.chat-messages .message { display: flex; gap: var(--s2); max-width: 92%; align-items: flex-end; }
.chat-messages .message-avatar {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  font-size: 0; /* suppresses the emoji glyph the script injects */
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.chat-messages .message-content {
  font-size: 15px; line-height: 1.55; padding: var(--s3) var(--s4);
  background: #fff; border-radius: var(--r-md) var(--r-md) var(--r-md) var(--s1);
  box-shadow: var(--shadow-xs);
}
.chat-messages .user-message { align-self: flex-end; flex-direction: row-reverse; }
.chat-messages .user-message .message-avatar { background: var(--navy); }
.chat-messages .user-message .message-content {
  background: var(--blue); color: #fff;
  border-radius: var(--r-md) var(--r-md) var(--s1) var(--r-md);
}
.chat-messages .message-content p { margin: 0 0 var(--s2); }
.chat-messages .message-content p:last-child { margin: 0; }
.chat-messages .message-content a { color: var(--blue-dark); font-weight: 600; }
.chat-messages .user-message .message-content a { color: #fff; }
.chat-messages .message-hidden.hidden { display: none; }
.expand-message {
  display: block; margin-top: var(--s2); padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--blue-dark);
}
.expand-message:hover { color: var(--teal); text-decoration: underline; }

.quick-replies-container { display: flex; flex-wrap: wrap; gap: var(--s2); padding: 0 0 var(--s2) 34px; }
.quick-reply-btn {
  font-family: var(--font); font-size: 13.5px; font-weight: 600; line-height: 1.2;
  padding: 9px var(--s4); cursor: pointer;
  background: #fff; color: var(--blue-dark);
  border: 1.5px solid rgba(31,122,205,.35); border-radius: var(--r-pill);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.quick-reply-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.typing-dots {
  display: flex; gap: 5px; padding: var(--s3) var(--s4);
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-xs);
}
.typing-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-50); animation: idh-typing 1.1s infinite ease-in-out; }
.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes idh-typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-input { display: flex; gap: var(--s2); padding: var(--s3); background: #fff; border-top: 1px solid var(--line); }
.chat-input input {
  flex: 1; min-width: 0; padding: 13px var(--s4);
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--bg-tint);
}
.chat-input input:focus { border-color: var(--blue); background: #fff; }
.chat-input input::placeholder { color: var(--ink-50); }
.chat-input button {
  border: 0; border-radius: var(--r-pill); background: var(--blue); color: #fff;
  font-family: var(--font); font-weight: 700; font-size: 14.5px;
  padding: 0 var(--s6); cursor: pointer; transition: background .15s ease;
}
.chat-input button:hover { background: var(--blue-dark); }

/* ── reveal on scroll (main.js adds .animate) ────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .segment-card, .stat-block { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
  .segment-card.animate, .stat-block.animate { opacity: 1; transform: none; }
}

/* ── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1140px) {
  .nav-container { gap: var(--s4); }
  .nav-tagline { display: none; }
  .segment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: absolute; top: var(--nav-h); left: var(--s4); right: var(--s4);
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: 2px; white-space: normal;
    padding: var(--s4); display: none;
  }
  .nav-menu.active { display: flex; }
  .nav-link { padding: var(--s3); border-radius: var(--r-sm); }
  .nav-client-area, .nav-cta { margin-top: var(--s3); margin-left: 0; justify-content: center; }
  .dropdown-content, .dropdown-content.wide {
    position: static; display: none; min-width: 0; border: 0; box-shadow: none;
    padding: 0 0 var(--s2) var(--s3);
  }
  .dropdown.open > .dropdown-content { display: block; }
  .dropdown.open > .dropdown-content.wide { display: block; min-width: 0; }
  .hero-split, .segment-intro { grid-template-columns: 1fr; gap: var(--s12); }
  .segment-intro-reverse .segment-header { order: 0; }
  .segment-intro-reverse .segment-visual { order: 1; }
  .hero-split { padding-top: var(--s16); padding-bottom: var(--s16); }
  .segment-section { padding: var(--s16) 0; }
  .cta-content { padding: var(--s16) var(--s8); }
}
@media (max-width: 720px) {
  .segment-grid, .segment-grid-3 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: var(--s8); padding: var(--s8) var(--s6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 32px; }
  .btn { white-space: normal; }
  .container { padding: 0 var(--s4); }
  .ai-assistant, .chat-interface { right: var(--s3); bottom: var(--s3); }
  .chat-interface { width: calc(100vw - var(--s6)); height: calc(100vh - var(--s6)); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-title { font-size: 28px; }
  .cta-content { padding: var(--s12) var(--s4); }
  .cta-content h2 { font-size: 28px; }
}
