:root {
  --navy:        #0A1628;
  --navy-mid:    #1A3A6B;
  --teal:        #0E8FD8;
  --teal-light:  #3AAEE8;
  --white:       #FFFFFF;
  --grey-bg:     #F4F7FA;
  --grey-text:   #6B7A99;
  --grey-border: #D8E2EE;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITIES ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BUTTONS ───────────────────────────────────────────── */

/* .btn-primary and .btn-cta share a base — differ only in height and font-size */
.btn-primary, .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 16px;
  padding: 0 28px;
  height: 48px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover, .btn-cta:hover {
  background: var(--teal-light);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(14,143,216,0.3);
}
.btn-cta {
  height: 52px;
  font-size: 16px;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  padding: 0 20px;
  height: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-navy:hover {
  background: var(--teal);
  transform: scale(1.02);
}
.tag-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  color: var(--grey-text);
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 20px;
  padding: 4px 12px;
  margin: 3px 2px;
}

/* ─── NAVIGATION ────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease;
}
#nav.scrolled {
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  box-shadow: 0 2px 16px rgba(10,22,40,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown::after{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.nav-dropdown-toggle {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  padding-bottom: 2px;
  position: relative;
}
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
  width: 100%;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(10,22,40,0.12);
  padding: 10px;
  margin-top: 10px;
  display: none;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy);
}
.nav-dropdown-item:hover {
  background: rgba(14,143,216,0.06);
}
.nav-dropdown-item strong {
  font-size: 13.5px;
  font-weight: 500;
}
.nav-dropdown-item span {
  font-size: 12px;
  color: var(--grey-text);
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.2s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  padding: 20px 32px 24px;
  gap: 16px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(10,22,40,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  text-decoration: none;
}
.nav-mobile .btn-navy {
  color: var(--white);
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
}
.nav-mobile .btn-navy:hover {
  color: var(--white);
}

/* ─── HERO ──────────────────────────────────────────────── */
#hero {
  padding: 140px 0 100px;
  background: var(--grey-bg);
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.hero-h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 56px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-hook {
  font-size: 18px;
  font-weight: 300;
  color: rgba(107,122,153,0.9);
  max-width: 560px;
  line-height: 1.7;
  margin: -8px 0 18px;
  font-style: italic;
}
.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--grey-text);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.hero-link:hover { border-bottom-color: var(--teal); }
.hero-trust {
  font-size: 13px;
  color: var(--grey-text);
}

/* Chat UI */
.chat-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(10,22,40,0.12);
  overflow: hidden;
}
.chat-header {
  background: var(--navy);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-header-dots {
  display: flex;
  gap: 6px;
}
.chat-header-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.chat-header-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-left: 4px;
}
.chat-header-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  color: var(--teal-light);
  background: rgba(14,143,216,0.15);
  border-radius: 20px;
  padding: 2px 10px;
  letter-spacing: 0.5px;
}
.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 380px;
  height: auto;
  overflow: visible;
  scroll-behavior: smooth;
}
.chat-bubble-wrap { display: flex; gap: 10px; align-items: flex-end; }
.chat-bubble-wrap.user { flex-direction: row-reverse; }
.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-avatar.user-av { background: var(--grey-border); }
.chat-avatar.ariya-av { background: var(--teal); }
.chat-bubble {
  max-width: 78%;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.55;
}
.chat-bubble.user {
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-bubble.ariya {
  background: var(--grey-bg);
  color: var(--navy);
  border-bottom-left-radius: 4px;
}
.chat-bubble .bullet-row { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
.chat-bullet {
  display: flex;
  gap: 6px;
  font-size: 12.5px;
  color: var(--navy);
}
.chat-bullet .star { color: var(--teal); flex-shrink: 0; }
.chat-recommendation {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(14,143,216,0.07);
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  color: var(--navy);
}
.chat-confidence {
  margin-top: 6px;
  font-size: 11px;
  color: var(--grey-text);
}
.chat-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 4px 4px;
  margin-top: 12px;
}
.chat-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  border-radius: 20px;
  padding: 4px 12px;
}
.typing-indicator { display: flex; gap: 4px; padding: 4px 0; }
.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--grey-text);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

/* ─── LOGO BAR ──────────────────────────────────────────── */
#logos {
  background: var(--white);
  padding: 48px 0;
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
}
.logos-label {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 28px;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.logo-item img {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.25s ease;
}
.logo-item img:hover {
  filter: grayscale(0%) opacity(1);
}

/* Arcera: slightly taller than text-only logos to match visual weight */
.logo-item img[alt="Arcera"] {
  height: 28px;
  max-width: 200px;
}
.logo-item img[alt="Phathom Pharmaceuticals"] {
  height: 36px;
  max-width: 190px;
}
.logo-fallback {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-text);
  letter-spacing: 0.3px;
}

/* ─── HOW IT WORKS ──────────────────────────────────────── */
#how {
  background: var(--white);
  padding: 100px 0;
}
.how-header { text-align: center; margin-bottom: 64px; }
.how-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.how-sub {
  font-size: 18px;
  color: var(--grey-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.how-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
}
.how-cols.how-cols--2 {
  grid-template-columns: 1fr 1fr;
}
.how-col {
  padding: 28px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.how-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,143,216,0.06) 0%, rgba(14,143,216,0) 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  pointer-events: none;
}
.how-col:hover {
  box-shadow: 0 16px 48px rgba(10,22,40,0.11), 0 0 0 1.5px rgba(14,143,216,0.25);
  transform: translateY(-5px);
  border-color: rgba(14,143,216,0.25);
}
.how-col:hover::before {
  opacity: 1;
}
.how-col:hover .how-col-icon {
  transform: scale(1.1);
}
.how-col:hover .how-col-title {
  color: var(--teal);
}
.how-col.highlighted {
  background: rgba(14,143,216,0.05);
  border-left: 3px solid var(--teal);
}
.how-col.highlighted:hover {
  background: rgba(14,143,216,0.09);
  box-shadow: 0 16px 48px rgba(14,143,216,0.15), 0 0 0 1.5px rgba(14,143,216,0.4);
  border-color: var(--teal);
}
.how-col-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  transition: transform 0.25s ease;
}
.how-col-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
  transition: color 0.25s ease;
}
.how-col-body {
  font-size: 15px;
  color: var(--grey-text);
  line-height: 1.65;
  margin-bottom: 18px;
}
.how-flow {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-flow-mobile {
  display: none;
}

/* ─── USE CASES ─────────────────────────────────────────── */
#usecases {
  background: var(--grey-bg);
  padding: 100px 0;
}
.uc-header { text-align: center; margin-bottom: 48px; }
.uc-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}
.uc-sub { font-size: 18px; color: var(--grey-text); }
.uc-sub-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(107,122,153,0.85);
}
.uc-bridge {
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(107,122,153,0.82);
  font-style: italic;
  line-height: 1.45;
}
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.tab-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 24px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tab-btn:hover { border-color: var(--teal); color: var(--teal); }
.tab-btn.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.tab-panel {
  display: none;
  background: var(--white);
  border-radius: 16px;
  padding: 34px;
  box-shadow: 0 3px 18px rgba(10,22,40,0.05);
  animation: fadeTab 0.2s ease;
}
.tab-panel.active { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr); gap: 40px; align-items: start; }
@keyframes fadeTab { from { opacity: 0; } to { opacity: 1; } }
.tab-content-left h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 14px;
}
.tab-desc {
  font-size: 14.5px;
  color: var(--grey-text);
  line-height: 1.55;
  margin: -2px 0 14px;
  max-width: 500px;
}
.tab-content-left ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tab-content-left ul li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--grey-text);
  line-height: 1.45;
}
.tab-content-left ul li::before {
  content: '→';
  color: var(--teal);
  font-weight: 500;
  flex-shrink: 0;
}
.tab-mini-chat {
  background: var(--grey-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(216,226,238,0.7);
}
.tab-mini-header {
  background: var(--navy);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tab-mini-header-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.tab-mini-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mini-bubble {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 90%;
}
.mini-bubble.user { background: var(--navy); color: var(--white); align-self: flex-end; }
.mini-bubble.ariya { background: var(--white); color: var(--navy); align-self: flex-start; border: 1px solid var(--grey-border); }

/* Persistent layers below use case tabs */
.uc-persistent {
  margin-top: 36px;
}
.uc-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 18px;
  color: rgba(107,122,153,0.85);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.uc-divider::before,
.uc-divider::after {
  content: '';
  height: 1px;
  width: 100%;
  max-width: 240px;
  background: rgba(216,226,238,0.9);
}
.uc-persistent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.uc-layer-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.96) 100%);
  border: 1px solid rgba(216,226,238,0.95);
  border-radius: 22px;
  padding: 26px 28px 22px;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.uc-layer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: rgba(14,143,216,0.42);
}
.uc-layer-card--strategy {
  background: linear-gradient(180deg, rgba(14,143,216,0.06) 0%, rgba(255,255,255,0.96) 62%);
}
.uc-layer-card--activation {
  background: linear-gradient(180deg, rgba(10,22,40,0.035) 0%, rgba(255,255,255,0.96) 62%);
}
.uc-layer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14,143,216,0.35);
  background: linear-gradient(180deg, rgba(14,143,216,0.08) 0%, rgba(255,255,255,0.98) 62%);
}
.uc-layer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.uc-layer-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(107,122,153,0.85);
  margin-bottom: 10px;
}
.uc-layer-title {
  font-family: 'DM Serif Display', serif;
  font-size: 21px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
}
.uc-layer-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14,143,216,0.16);
}
.uc-layer-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}
.uc-layer-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.4;
  white-space: normal;
}
.uc-layer-point::before {
  content: '—';
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--teal);
  flex-shrink: 0;
}
.uc-layer-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(216,226,238,0.9);
  font-size: 13px;
  color: rgba(107,122,153,0.88);
  line-height: 1.5;
}
.uc-layer-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.uc-layer-tags .tag-pill {
  background: transparent;
}

/* ─── METRICS ───────────────────────────────────────────── */
#metrics {
  background: var(--navy);
  padding: 100px 0;
}
.metrics-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.metric-item {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 0 40px;
}
.metric-item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.1);
}
.metric-number {
  font-family: 'DM Serif Display', serif;
  font-size: 72px;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 16px;
}
.metric-label {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  max-width: 220px;
  margin: 0 auto;
}

/* ─── WHO IT'S FOR ──────────────────────────────────────── */
#who {
  background: var(--white);
  padding: 100px 0;
}
.who-header { text-align: center; margin-bottom: 80px; }
.who-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--navy);
}
.who-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--grey-border);
}
.who-row:first-of-type { border-top: none; }
.who-row.reversed .who-text { order: 2; }
.who-row.reversed .who-visual { order: 1; }
.who-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.who-h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
.who-body { font-size: 15.5px; color: var(--grey-text); line-height: 1.7; margin-bottom: 24px; }
.who-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.who-pill {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--teal);
  background: rgba(14,143,216,0.07);
  border-radius: 20px;
  padding: 5px 14px;
}
.who-visual {
  border-radius: 16px;
  overflow: hidden;
  background: var(--grey-bg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.who-visual--contain {
  padding: 18px;
}
.who-visual-media {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ─── TESTIMONIAL ───────────────────────────────────────── */
#testimonial {
  background: var(--grey-bg);
  padding: 100px 0;
  text-align: center;
}
.quote-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 96px;
  color: var(--teal);
  line-height: 0.6;
  margin-bottom: 8px;
  display: block;
}
.quote-text {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-style: italic;
  color: var(--navy);
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.5;
}
.quote-attr {
  font-size: 14px;
  color: var(--grey-text);
  margin-bottom: 20px;
}
.stars { display: flex; justify-content: center; gap: 4px; }
.star-icon { color: var(--teal); font-size: 18px; }

/* ─── FAQ ───────────────────────────────────────────────── */
#faq {
  background: var(--white);
  padding: 100px 0;
}
.faq-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin-bottom: 56px;
}
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--grey-border);
}
.faq-item:last-child { border-bottom: 1px solid var(--grey-border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  gap: 16px;
}
.faq-q:hover { color: var(--teal); }
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--grey-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  font-size: 16px;
  color: var(--grey-text);
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--grey-text);
  line-height: 1.7;
  max-width: 640px;
}

/* ─── FINAL CTA ─────────────────────────────────────────── */
#cta {
  background: var(--navy);
  padding: 120px 0;
  text-align: center;
}
.cta-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-sub {
  font-size: 18px;
  color: var(--teal-light);
  margin-bottom: 40px;
  line-height: 1.6;
}
.cta-btns { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
/* .btn-cta styles consolidated with .btn-primary above */
.btn-ghost {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
  padding-bottom: 2px;
}
.btn-ghost:hover { border-bottom-color: var(--white); }
.cta-contact {
  font-size: 13px;
  color: rgba(107,122,153,0.7);
}

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  background: #060E1A;
  padding: 40px 32px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(216,226,238,0.15);
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--grey-text); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-li svg { width: 20px; height: 20px; fill: var(--grey-text); transition: fill 0.15s; }
.footer-li:hover svg { fill: var(--teal); }
.footer-addresses{
  max-width: 1200px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.footer-address-title{
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 10px;
}
.footer-address-body{
  font-size: 14px;
  line-height: 1.65;
  color: rgba(107,122,153,0.85);
}
.footer-copy {
  max-width: 1200px;
  margin: 20px auto 0;
  font-size: 12px;
  color: rgba(107,122,153,0.6);
  text-align: center;
}

/* ─── LEGAL PAGES (TERMS / PRIVACY) ──────────────────────── */
.legal-page {
  padding: 118px 0 80px;
  background: linear-gradient(180deg, rgba(244,247,250,0.92) 0%, rgba(244,247,250,0.75) 45%, rgba(255,255,255,0) 100%);
}
.legal-header {
  max-width: 900px;
  margin: 0 auto 26px;
}
.legal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.legal-subtitle {
  color: var(--grey-text);
  font-size: 15px;
  line-height: 1.55;
}
.legal-card {
  max-width: 1100px;
  margin: 22px auto 0;
  border: 1px solid rgba(216,226,238,0.9);
  background: rgba(255,255,255,0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(10,22,40,0.08);
}
.legal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(216,226,238,0.9);
  background: rgba(244,247,250,0.85);
}
.legal-toolbar strong {
  font-size: 13px;
  font-weight: 600;
  color: rgba(10,22,40,0.75);
}
.legal-toolbar a {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(10,22,40,0.25);
}
.legal-toolbar a:hover { border-bottom-color: var(--teal); color: var(--teal); }
.legal-embed {
  width: 100%;
  height: min(78vh, 1000px);
  border: 0;
  display: block;
  background: white;
}

.legal-content {
  padding: 22px 22px 28px;
  color: rgba(10,22,40,0.92);
}
.legal-content h2 {
  margin: 22px 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.1px;
}
.legal-content h3 {
  margin: 18px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(10,22,40,0.86);
}
.legal-content p, .legal-content li {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(10,22,40,0.82);
}
.legal-content p { margin: 0 0 12px; }
.legal-content ul, .legal-content ol {
  padding-left: 20px;
  margin: 0 0 14px;
}
.legal-content li { margin: 6px 0; }
.legal-content a { color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(14,143,216,0.25); }
.legal-content a:hover { border-bottom-color: rgba(14,143,216,0.65); }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-h1 { font-size: 44px; }
  .how-cols { grid-template-columns: 1fr; gap: 24px; }
  .how-cols.how-cols--2 { grid-template-columns: 1fr; }
  .who-row { grid-template-columns: 1fr; gap: 40px; }
  .who-row.reversed .who-text { order: 0; }
  .who-row.reversed .who-visual { order: 0; }
  .metrics-row { flex-direction: column; align-items: center; gap: 40px; }
  .metric-item:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  #nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-h1 { font-size: 38px; }
  .hero-sub { font-size: 16px; }
  #hero { padding: 110px 0 80px; }
  .legal-title { font-size: 36px; }
  .legal-page { padding: 112px 0 70px; }
  .legal-embed { height: 72vh; }
  .chat-body {
    height: auto;
    max-height: none;
    overflow-y: visible;
  }
  .chat-bubble {
    max-width: 84%;
  }
  .how-h2, .uc-h2, .who-h2, .cta-h2 { font-size: 32px; }
  .tab-panel { padding: 24px; }
  .tab-panel.active { grid-template-columns: 1fr; gap: 24px; }
  .tab-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 2px 8px;
    margin-left: -2px;
    margin-right: -2px;
  }
  .tab-nav::-webkit-scrollbar { height: 0; }
  .tab-btn { white-space: nowrap; }
  .uc-persistent-grid { grid-template-columns: 1fr; }
  .how-flow { display: none; }
  .how-flow-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 28px;
    padding: 12px 14px;
    border: 1px solid rgba(216,226,238,0.9);
    border-radius: 16px;
    background: rgba(244,247,250,0.9);
  }
  .how-flow-mobile span {
    position: relative;
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgba(107,122,153,0.92);
  }
  .how-flow-mobile span:nth-child(2) { color: var(--teal); }
  .how-flow-mobile span:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--teal);
    font-weight: 500;
  }
  .who-visual {
    aspect-ratio: 16/10;
    min-height: 280px;
  }
  .who-visual--contain { padding: 10px; }
  .who-visual-media {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }
  .quote-text { font-size: 22px; }
  .cta-h2 { font-size: 34px; }
  footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-addresses { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 32px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .chat-header { padding: 12px 16px; }
  .chat-body {
    padding: 16px;
    gap: 12px;
  }
  .chat-bubble {
    max-width: 88%;
    padding: 11px 14px;
    font-size: 13px;
  }
  .chat-bullet { font-size: 12px; }
  .chat-recommendation { font-size: 11.5px; }
  .logos-row { gap: 16px; }
  .tab-nav { gap: 6px; }
  .tab-btn { font-size: 12px; padding: 7px 14px; }
  .metric-number { font-size: 56px; }
  .how-flow-mobile {
    gap: 8px;
    padding: 11px 10px;
  }
  .how-flow-mobile span {
    font-size: 10px;
  }
  .how-flow-mobile span:not(:last-child)::after {
    right: -7px;
  }
  .who-visual {
    min-height: 240px;
    aspect-ratio: 6/5;
  }
  .who-visual--contain { padding: 6px; }
}
