/* ============================================
   financeAI.tech — Styles (Citi-blue, Apple-like)
   ============================================ */

:root {
  --brand: #0057b8; /* Citi blue */
  --brand-strong: #003b7a;
  --accent: #0071e3;
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --ink: #1d1d1f;
  --ink-muted: #515154;
  --ink-faint: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.16);
  --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 46px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 28px 72px rgba(15, 23, 42, 0.14);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --max-width: 1180px;
  --transition: 180ms ease;

  --bar-api: #0ea5e9;
  --bar-host: #0057b8;
  --bar-digital: #7c3aed;
  --bar-cash: #16a34a;

  --risk-high: #b42318;
  --risk-medium: #a15c00;
  --risk-low: #067647;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top center, rgba(0, 113, 227, 0.14) 0%, transparent 34%),
    radial-gradient(circle at top left, rgba(0, 87, 184, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 55%, #eef4ff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #0a63ff;
  outline-offset: 3px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-sign-in:focus-visible,
.nav-toggle:focus-visible,
.assistant-prompt:focus-visible,
.assistant-input:focus-visible,
.search-close:focus-visible,
.page-tab-link:focus-visible,
.site-assistant-launcher:focus-visible,
.site-assistant-close:focus-visible {
  box-shadow: 0 0 0 4px rgba(10, 99, 255, 0.18);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 68px;
}

.nav-logo {
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--ink-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-strong);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-sign-in {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 650;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.nav-search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-search-label {
  line-height: 1;
}

.btn-sign-in:hover {
  color: var(--brand-strong);
  border-color: rgba(0, 87, 184, 0.15);
  background: rgba(255, 255, 255, 0.72);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 650;
  font-size: 0.92rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition),
    color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 16px 36px rgba(0, 87, 184, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(0, 87, 184, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  color: var(--brand-strong);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: 12px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: var(--transition);
}

/* ============================================
   Page Sections
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--ink-faint);
  font-size: 1.02rem;
  max-width: 760px;
  margin: 0 auto;
}

.section-disclaimer {
  font-size: 0.82rem !important;
  margin-top: 10px !important;
  opacity: 0.86;
}

.section-disclaimer a {
  color: var(--brand);
  font-weight: 650;
}

/* ============================================
   Hero (Homepage)
   ============================================ */
.hero {
  padding: 132px 0 72px;
  background: transparent;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 87, 184, 0.10);
  border: 1px solid rgba(0, 87, 184, 0.15);
  color: var(--brand-strong);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.06;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--ink-faint);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-ai-tile {
  width: min(100%, 620px);
  aspect-ratio: 2816 / 1536;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(5, 11, 22, 0.96) 0%, rgba(9, 21, 38, 0.94) 100%);
  box-shadow: 0 28px 72px rgba(4, 21, 45, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
  transform: perspective(1100px) rotateY(-8deg) rotateX(5deg);
  animation: float3d 7s ease-in-out infinite;
}

.hero-ai-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 26%),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.24) 0%, transparent 24%);
  pointer-events: none;
  z-index: 1;
}

.hero-ai-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-ai-art {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

@keyframes float3d {
  0%,
  100% {
    transform: translateY(0) perspective(1100px) rotateY(-8deg) rotateX(5deg);
  }
  50% {
    transform: translateY(-12px) perspective(1100px) rotateY(-8deg) rotateX(5deg);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ai-tile {
    animation: none;
  }
}

/* ============================================
   Bento Grid
   ============================================ */
.bento-section {
  padding: 54px 0 28px;
}

.bento-section .section-header p {
  max-width: 840px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.bento-anchor {
  position: relative;
  top: -96px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0, 113, 227, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(10, 13, 20, 0.98));
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0, 113, 227, 0.16), transparent 32%);
  opacity: 0;
  transition: opacity var(--transition);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(80, 173, 255, 0.34);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.2);
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-card > * {
  position: relative;
  z-index: 1;
}

.bento-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.bento-kicker,
.bento-meta {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bento-kicker {
  color: rgba(187, 216, 255, 0.9);
}

.bento-meta {
  color: rgba(143, 158, 186, 0.78);
}

.bento-card h3 {
  color: #f8fbff;
  font-size: 1.32rem;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.bento-card p {
  color: rgba(202, 211, 226, 0.84);
}

.bento-card-assistant {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 620px;
}

.bento-card-assistant.assistant-demo-panel {
  padding: 22px;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0, 113, 227, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(10, 13, 20, 0.98));
  border-color: rgba(255, 255, 255, 0.08);
}

.bento-card-assistant .assistant-demo-top {
  padding-bottom: 0;
  border-bottom: none;
}

.bento-card-assistant .assistant-demo-label {
  color: rgba(163, 205, 255, 0.9);
}

.bento-card-assistant .assistant-demo-top h3 {
  margin-top: 8px;
  font-size: 1.55rem;
}

.bento-card-assistant .assistant-status {
  background: rgba(6, 118, 71, 0.12);
  border-color: rgba(91, 229, 166, 0.18);
  color: #78efb8;
}

.bento-intro-copy {
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.72;
}

.bento-card-assistant .assistant-topic-grid {
  margin-top: 16px;
}

.bento-card-assistant .assistant-topic {
  border-color: rgba(80, 173, 255, 0.18);
  background: rgba(20, 33, 54, 0.72);
  color: #d8e9ff;
}

.bento-card-assistant .assistant-messages {
  max-height: 248px;
  overflow: auto;
  padding-right: 4px;
}

.bento-card-assistant .assistant-avatar {
  background: rgba(21, 91, 232, 0.14);
  border-color: rgba(80, 173, 255, 0.16);
  color: #d6e8ff;
}

.bento-card-assistant .assistant-bubble {
  border-color: rgba(80, 173, 255, 0.14);
  background: linear-gradient(180deg, rgba(16, 23, 36, 0.98), rgba(19, 31, 50, 0.98));
  box-shadow: none;
}

.bento-card-assistant .assistant-bubble p,
.bento-card-assistant .assistant-answer-list {
  color: rgba(220, 228, 241, 0.84);
}

.bento-card-assistant .assistant-bubble-label {
  color: #98c7ff;
}

.bento-card-assistant .assistant-bubble code {
  background: rgba(80, 173, 255, 0.1);
  color: #dcecff;
}

.bento-card-assistant .assistant-prompt {
  border-color: rgba(80, 173, 255, 0.14);
  background: rgba(14, 20, 31, 0.94);
  color: #eef6ff;
}

.bento-card-assistant .assistant-prompt:hover {
  border-color: rgba(80, 173, 255, 0.28);
  background: rgba(17, 27, 40, 0.98);
}

.bento-card-assistant .assistant-answer-links a {
  background: rgba(18, 29, 46, 0.92);
  border-color: rgba(80, 173, 255, 0.16);
  color: #cfe6ff;
}

.bento-card-assistant .assistant-citation {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(226, 233, 245, 0.82);
}

.bento-card-assistant a.assistant-citation {
  color: #a9d2ff;
  border-color: rgba(80, 173, 255, 0.16);
  background: rgba(18, 29, 46, 0.92);
}

.bento-card-assistant .assistant-input {
  border-color: rgba(80, 173, 255, 0.14);
  background: rgba(14, 20, 31, 0.92);
  color: #f8fbff;
}

.bento-card-assistant .assistant-input::placeholder {
  color: rgba(151, 164, 187, 0.74);
}

.bento-card-assistant .assistant-note {
  color: rgba(151, 164, 187, 0.72);
}

.bento-prompt-list {
  margin-top: 16px;
}

.bento-card-graph {
  grid-column: span 2;
  min-height: 320px;
}

.bento-card-graph h3 {
  max-width: 12ch;
}

.bento-card-graph p {
  max-width: 58ch;
  margin-top: 12px;
}

.bento-graph {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.bento-graph-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.bento-graph-label strong {
  display: block;
  color: #f8fbff;
  font-size: 0.94rem;
}

.bento-graph-label span {
  display: block;
  margin-top: 4px;
  color: rgba(151, 164, 187, 0.74);
  font-size: 0.82rem;
  line-height: 1.55;
}

.bento-graph-bar-shell {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bento-graph-bar {
  height: 100%;
  border-radius: inherit;
}

.bento-graph-bar-legacy {
  width: 88%;
  background: linear-gradient(90deg, rgba(82, 168, 255, 0.3), rgba(82, 168, 255, 0.92));
}

.bento-graph-bar-modern {
  width: 34%;
  background: linear-gradient(90deg, rgba(95, 243, 185, 0.3), rgba(95, 243, 185, 0.92));
}

.bento-graph-value {
  color: #f8fbff;
  font-size: 0.9rem;
  font-weight: 760;
}

.bento-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.bento-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(219, 235, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 650;
}

.bento-card-stat {
  min-height: 170px;
}

.bento-card-stat .stat-value {
  margin-top: 18px;
  font-size: 2.5rem;
  font-weight: 820;
  letter-spacing: -0.06em;
  color: #f8fbff;
}

.bento-card-stat .stat-label {
  margin-top: 8px;
  color: rgba(180, 193, 213, 0.78);
  font-size: 0.9rem;
}

.bento-card-neon {
  min-height: 220px;
  border-color: rgba(94, 170, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(94, 170, 255, 0.04),
    0 24px 54px rgba(15, 23, 42, 0.12);
}

.bento-card-neon:hover {
  border-color: rgba(96, 205, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(96, 205, 255, 0.08),
    0 0 26px rgba(29, 98, 234, 0.18),
    0 28px 72px rgba(15, 23, 42, 0.2);
}

.bento-inline-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: #89bcff;
  font-size: 0.86rem;
  font-weight: 700;
}

.bento-card-story {
  min-height: 240px;
}

/* ============================================
   Persona Routing
   ============================================ */
.persona-routing {
  padding: 18px 0 24px;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.persona-card {
  display: block;
  min-height: 240px;
  padding: 24px 22px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 87, 184, 0.12);
  background:
    radial-gradient(circle at top right, rgba(0, 113, 227, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 247, 255, 0.96) 100%);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.persona-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 87, 184, 0.24);
}

.persona-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.persona-card h3 {
  margin-top: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.persona-card p {
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 0.96rem;
}

.persona-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ============================================
   Ecosystem Section
   ============================================ */
.ecosystem-section {
  padding: 42px 0 26px;
}

.ecosystem-frame {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border-radius: 34px;
  border: 1px solid rgba(12, 33, 61, 0.1);
  background:
    radial-gradient(circle at 18% 16%, rgba(69, 138, 255, 0.16) 0%, transparent 24%),
    radial-gradient(circle at 84% 20%, rgba(114, 169, 255, 0.1) 0%, transparent 26%),
    linear-gradient(136deg, #0b1220 0%, #111a2c 42%, #15233a 49%, #f3f7fd 49.5%, #edf3fb 100%);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.ecosystem-copy {
  padding: 8px;
}

.ecosystem-copy .hero-badge {
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(163, 205, 255, 0.22);
  color: #f4f8ff;
}

.ecosystem-copy h3 {
  color: #ffffff;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.ecosystem-copy p {
  margin-top: 14px;
  color: rgba(224, 232, 244, 0.92);
}

.ecosystem-copy .assistant-answer-links a {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fbff;
  border-color: rgba(163, 205, 255, 0.18);
}

.ecosystem-diagram {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  align-items: center;
  min-height: 460px;
  padding: 12px;
}

.ecosystem-column {
  display: grid;
  gap: 14px;
}

.ecosystem-node {
  padding: 16px 18px;
  border-radius: 20px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
}

.ecosystem-node.machine {
  border: 1px solid rgba(163, 205, 255, 0.12);
  background: linear-gradient(180deg, rgba(39, 48, 67, 0.94), rgba(31, 39, 55, 0.96));
  color: #f6f9ff;
  box-shadow: 0 16px 34px rgba(3, 8, 18, 0.22);
}

.ecosystem-node.human {
  border: 1px solid rgba(22, 91, 232, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  color: #0b4b99;
  box-shadow: 0 14px 30px rgba(21, 52, 102, 0.08);
}

.ecosystem-hub {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.ecosystem-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(53, 110, 196, 0.2);
}

.orbit-a {
  width: 280px;
  height: 280px;
}

.orbit-b {
  width: 360px;
  height: 360px;
  border-style: dashed;
}

.ecosystem-core {
  position: relative;
  z-index: 1;
  width: min(100%, 270px);
  padding: 28px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, rgba(244, 248, 255, 0.995) 100%);
  border: 1px solid rgba(22, 91, 232, 0.18);
  box-shadow: 0 26px 56px rgba(16, 34, 68, 0.12);
  text-align: center;
}

.ecosystem-core-label {
  display: inline-flex;
  color: #0b4b99;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ecosystem-core strong {
  display: block;
  margin-top: 10px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1b2430;
}

.ecosystem-core p {
  margin-top: 10px;
  color: #66758b;
  font-size: 0.9rem;
}

/* ============================================
   Under The Hood
   ============================================ */
.under-hood {
  padding: 40px 0 18px;
}

.hood-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.hood-card {
  padding: 24px 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.hood-card-primary {
  background:
    radial-gradient(circle at top right, rgba(0, 113, 227, 0.14) 0%, transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.98) 100%);
  border-color: rgba(0, 87, 184, 0.16);
}

.hood-card h3 {
  margin-top: 10px;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.hood-card p {
  margin-top: 10px;
  color: var(--ink-faint);
}

.hood-rail {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.hood-step {
  padding: 14px 14px 14px 16px;
  border-left: 3px solid rgba(0, 87, 184, 0.18);
  background: rgba(0, 87, 184, 0.04);
  border-radius: 0 16px 16px 0;
}

.hood-step strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.hood-step p {
  margin-top: 6px;
  font-size: 0.92rem;
}

/* ============================================
   AI Assistant Demo
   ============================================ */
.assistant-demo-section {
  padding: 76px 0 12px;
}

.assistant-demo-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.assistant-demo-sidebar,
.assistant-demo-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.assistant-demo-sidebar {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(0, 113, 227, 0.12) 0%, transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.96) 100%);
}

.assistant-demo-kicker,
.assistant-demo-label {
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.assistant-demo-sidebar h3,
.assistant-demo-panel h3 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.assistant-demo-sidebar p {
  margin-top: 10px;
  color: var(--ink-faint);
}

.assistant-topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.assistant-topic {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 87, 184, 0.14);
  background: rgba(0, 87, 184, 0.08);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 650;
}

.assistant-suggested {
  margin-top: 24px;
}

.assistant-suggested h4 {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.assistant-prompt-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.assistant-prompt {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 87, 184, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.assistant-prompt:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 87, 184, 0.24);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.assistant-demo-panel {
  padding: 22px;
}

.assistant-demo-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.assistant-status {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: rgba(6, 118, 71, 0.08);
  border: 1px solid rgba(6, 118, 71, 0.14);
  color: var(--risk-low);
  font-size: 0.8rem;
  font-weight: 700;
}

.assistant-messages {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.assistant-message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.assistant-message.user {
  grid-template-columns: minmax(0, 1fr) auto;
}

.assistant-avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 87, 184, 0.12);
  border: 1px solid rgba(0, 87, 184, 0.12);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 760;
}

.assistant-message.user .assistant-avatar {
  order: 2;
  background: rgba(0, 87, 184, 0.92);
  border-color: rgba(0, 87, 184, 0.92);
  color: #ffffff;
}

.assistant-bubble {
  border-radius: 22px;
  border: 1px solid rgba(0, 87, 184, 0.10);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(240, 247, 255, 0.96) 100%);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.assistant-message.user .assistant-bubble {
  order: 1;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  border-color: transparent;
}

.assistant-bubble-label {
  margin-bottom: 8px;
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.assistant-message.user .assistant-bubble-label {
  color: rgba(255, 255, 255, 0.78);
}

.assistant-bubble h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.assistant-bubble p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.assistant-bubble code {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 87, 184, 0.08);
  color: var(--brand-strong);
  font-size: 0.82em;
}

.assistant-message.user .assistant-bubble p {
  color: rgba(255, 255, 255, 0.94);
}

.assistant-answer-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 18px;
  color: var(--ink-muted);
  font-size: 0.93rem;
}

.assistant-message.user .assistant-answer-list {
  color: rgba(255, 255, 255, 0.9);
}

.assistant-answer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.assistant-answer-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 87, 184, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 650;
}

.assistant-citations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.assistant-citation {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: rgba(11, 31, 58, 0.06);
  border: 1px solid rgba(11, 31, 58, 0.09);
  color: rgba(11, 31, 58, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

a.assistant-citation {
  color: var(--brand-strong);
  background: rgba(0, 87, 184, 0.08);
  border-color: rgba(0, 87, 184, 0.14);
}

.assistant-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 18px;
}

.assistant-input {
  min-width: 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(248, 250, 255, 0.92);
  padding: 12px 14px;
  color: var(--ink);
}

.assistant-submit {
  justify-content: center;
}

.assistant-input:disabled,
.assistant-submit:disabled,
.assistant-prompt:disabled {
  opacity: 0.72;
  cursor: wait;
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-sign-in:disabled,
.assistant-submit:disabled,
.search-close:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.assistant-status-text {
  min-height: 1.25rem;
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 0.84rem;
}

.assistant-note {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 0.84rem;
}

/* ============================================
   Quick Links (New)
   ============================================ */
.quick-links {
  padding: 76px 0 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  min-height: 150px;
}

.quick-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 87, 184, 0.22);
  box-shadow: var(--shadow-md);
}

.quick-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 720;
  margin-bottom: 10px;
}

.quick-card h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.quick-card p {
  color: var(--ink-faint);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--brand-strong);
  background: rgba(0, 87, 184, 0.10);
  border: 1px solid rgba(0, 87, 184, 0.14);
}

.page-tab-shell {
  margin-top: -18px;
  padding-bottom: 8px;
}

.page-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.page-tab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 87, 184, 0.12);
  background: rgba(0, 87, 184, 0.06);
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 720;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.page-tab-link:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 87, 184, 0.22);
  background: rgba(0, 87, 184, 0.1);
}

.playbook-lane {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(0, 87, 184, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.playbook-lane-head {
  margin-bottom: 18px;
}

.playbook-lane-head h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.playbook-lane-head p {
  color: var(--ink-faint);
  max-width: 72ch;
}

.playbook-case-grid .content-card {
  background: rgba(248, 250, 255, 0.92);
}

/* ============================================
   Bank Comparison
   ============================================ */
.bank-comparison {
  padding: 86px 0 18px;
}

.dimension-pills,
.reg-filters,
.insight-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-muted);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 650;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.pill:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.pill.active {
  color: var(--brand-strong);
  border-color: rgba(0, 87, 184, 0.22);
  background: rgba(0, 87, 184, 0.08);
}

.bank-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.bank-card {
  flex: 1 1 360px;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.bank-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
}

.bank-rank {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(0, 87, 184, 0.10);
  border: 1px solid rgba(0, 87, 184, 0.16);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  font-weight: 760;
}

.bank-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bank-info h3 {
  font-size: 1.06rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.leader-badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 87, 184, 0.10);
  border: 1px solid rgba(0, 87, 184, 0.18);
  color: var(--brand-strong);
  letter-spacing: 0.12em;
  font-weight: 800;
}

.bank-meta {
  color: var(--ink-faint);
  font-size: 0.86rem;
  margin-top: 4px;
}

.bank-score {
  font-size: 1.8rem;
  font-weight: 820;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.score-bars {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.score-bar-row {
  display: grid;
  grid-template-columns: 62px 1fr 34px;
  align-items: center;
  gap: 10px;
}

.bar-label {
  color: var(--ink-faint);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
}

.bar-api {
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.85), rgba(14, 165, 233, 1));
}
.bar-host {
  background: linear-gradient(90deg, rgba(0, 87, 184, 0.78), rgba(0, 87, 184, 1));
}
.bar-digital {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.78), rgba(124, 58, 237, 1));
}
.bar-cash {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.78), rgba(22, 163, 74, 1));
}

.bar-value {
  font-size: 0.86rem;
  color: var(--ink-muted);
  font-weight: 720;
  text-align: right;
}

.bank-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.86rem;
}

.ob-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.18);
  color: var(--brand-strong);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.bank-source {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.bank-source a {
  color: var(--brand);
  font-weight: 650;
}

.bank-source a:hover {
  opacity: 0.8;
}

/* ============================================
   CitiConnect Spotlight (Homepage)
   ============================================ */
.citiconnect {
  padding: 86px 0 18px;
}

.citi-trophy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 87, 184, 0.16);
  background: rgba(0, 87, 184, 0.08);
  color: var(--brand-strong);
  font-weight: 700;
  margin: 0 auto 22px;
}

.citi-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 26px;
}

.citi-metric {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.citi-metric-value {
  font-size: 1.7rem;
  font-weight: 820;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.citi-metric-label {
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.citi-scores {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.citi-scores h3 {
  font-size: 1.1rem;
  font-weight: 760;
  margin-bottom: 14px;
}

.citi-score-row {
  display: grid;
  grid-template-columns: 180px 1fr 86px;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.citi-score-label {
  font-size: 0.92rem;
  color: var(--ink-muted);
  font-weight: 700;
}

.citi-bar-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.citi-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.citi-benchmark {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 20px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 2px;
}

.citi-score-val {
  text-align: right;
  font-weight: 760;
  color: var(--ink-muted);
}

.citi-legend {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  margin-right: 6px;
}

.legend-dot.accent {
  background: var(--brand);
}

.legend-line {
  display: inline-block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.25);
  margin-right: 6px;
  transform: translateY(-3px);
}

.citi-edge {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.citi-edge h3 {
  font-size: 1.1rem;
  font-weight: 760;
  margin-bottom: 16px;
}

.edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.edge-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0, 87, 184, 0.04);
}

.edge-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 87, 184, 0.10);
}

.edge-item strong {
  font-weight: 760;
}

.edge-item span {
  color: var(--ink-faint);
  font-size: 0.92rem;
}

/* ============================================
   Regulatory
   ============================================ */
.regulatory {
  padding: 86px 0 18px;
}

.reg-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.reg-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.reg-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.reg-flag {
  font-size: 1.1rem;
}

.reg-status {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.03);
}

.status-ineffect {
  color: var(--risk-low);
  border-color: rgba(6, 118, 71, 0.22);
  background: rgba(6, 118, 71, 0.08);
}

.status-proposed {
  color: var(--risk-medium);
  border-color: rgba(161, 92, 0, 0.26);
  background: rgba(161, 92, 0, 0.10);
}

.status-planned {
  color: var(--brand-strong);
  border-color: rgba(0, 87, 184, 0.22);
  background: rgba(0, 87, 184, 0.08);
}

.reg-date {
  color: var(--ink-faint);
  font-size: 0.86rem;
}

.reg-card h3 {
  font-size: 1.1rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.reg-regulator {
  font-size: 0.88rem;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.reg-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.reg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reg-tag {
  font-size: 0.78rem;
  color: var(--brand-strong);
  background: rgba(0, 87, 184, 0.08);
  border: 1px solid rgba(0, 87, 184, 0.14);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.regulatory-faq-shell {
  margin-bottom: 24px;
}

.citi-faq-module {
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 28px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(0, 87, 184, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96));
  box-shadow: 0 22px 64px rgba(11, 31, 58, 0.1);
}

.citi-faq-banner {
  border-radius: 22px;
  padding: 20px 22px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(173, 73, 19, 0.1), rgba(255, 245, 240, 0.98));
  border: 1px solid rgba(173, 73, 19, 0.14);
}

.citi-faq-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(173, 73, 19, 0.12);
  color: #9a430f;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.citi-faq-banner h3 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.citi-faq-banner p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.citi-faq-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.citi-faq-source,
.citi-faq-stamp {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(11, 31, 58, 0.76);
  font-size: 0.84rem;
  font-weight: 650;
}

.citi-faq-source {
  color: var(--brand-strong);
}

.citi-faq-list {
  display: grid;
  gap: 12px;
}

.citi-faq-item {
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.citi-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: none;
  background: transparent;
  padding: 18px 20px;
  text-align: left;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 720;
  cursor: pointer;
}

.citi-faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.citi-faq-icon::before,
.citi-faq-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.66);
  transition: transform var(--transition), opacity var(--transition);
}

.citi-faq-icon::after {
  transform: rotate(90deg);
}

.citi-faq-item.open .citi-faq-icon::after {
  transform: rotate(0deg);
  opacity: 0;
}

.citi-faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.28s ease;
}

.citi-faq-answer-inner {
  padding: 0 20px 20px;
}

.citi-faq-answer p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ============================================
   Insights
   ============================================ */
.insights {
  padding: 86px 0 18px;
}

.insight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.insight-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.insight-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 87, 184, 0.22);
  box-shadow: var(--shadow-md);
}

.insight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.insight-cat {
  font-size: 0.8rem;
  font-weight: 760;
  color: var(--brand-strong);
  background: rgba(0, 87, 184, 0.08);
  border: 1px solid rgba(0, 87, 184, 0.14);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.insight-impact {
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.impact-high {
  color: var(--risk-high);
}

.impact-medium {
  color: var(--risk-medium);
}

.impact-low {
  color: var(--risk-low);
}

.insight-card h3 {
  font-size: 1.06rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.insight-card p {
  color: var(--ink-faint);
  font-size: 0.94rem;
}

/* ============================================
   About
   ============================================ */
.about {
  padding: 86px 0 18px;
}

.about-header {
  text-align: center;
  margin-bottom: 32px;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 87, 184, 0.10);
  border: 1px solid rgba(0, 87, 184, 0.15);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 760;
  margin-bottom: 14px;
}

.about-badge svg {
  width: 16px;
  height: 16px;
}

.about-title {
  font-size: clamp(1.8rem, 3.1vw, 2.4rem);
  letter-spacing: -0.045em;
  font-weight: 800;
}

.about-content {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.about-content p {
  color: var(--ink-muted);
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-content p strong {
  color: var(--ink);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.about-pm-frame {
  margin-top: 22px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(0, 87, 184, 0.12);
  background:
    radial-gradient(circle at top right, rgba(0, 113, 227, 0.10) 0%, transparent 42%),
    linear-gradient(180deg, rgba(241, 247, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.about-pm-header {
  max-width: 720px;
}

.about-pm-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-pm-header h3 {
  margin-top: 10px;
  font-size: 1.46rem;
  letter-spacing: -0.035em;
}

.about-pm-header p {
  margin-top: 10px;
  margin-bottom: 0;
}

.about-pm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.about-pm-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(0, 87, 184, 0.10);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.about-pm-card h4 {
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.about-pm-card p {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.68;
}

.about-pm-note {
  margin-top: 16px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(8, 43, 92, 0.94);
  color: rgba(236, 243, 255, 0.92);
  font-size: 0.93rem;
  line-height: 1.68;
  box-shadow: var(--shadow-sm);
}

.about-pm-note strong {
  color: #ffffff;
}

.pillar-card {
  border: 1px solid var(--line);
  background: rgba(0, 87, 184, 0.04);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.pillar-number {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(0, 87, 184, 0.10);
  border: 1px solid rgba(0, 87, 184, 0.16);
  display: grid;
  place-items: center;
  color: var(--brand-strong);
  font-weight: 800;
}

.pillar-body h3 {
  font-size: 1.02rem;
  font-weight: 760;
  margin-bottom: 6px;
}

.pillar-body p {
  color: var(--ink-faint);
  font-size: 0.94rem;
  margin: 0;
}

/* ============================================
   Sources & Legal Notice
   ============================================ */
.sources {
  padding: 86px 0 18px;
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.source-group {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.source-group h3 {
  font-size: 1rem;
  font-weight: 760;
  margin-bottom: 12px;
}

.source-group ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.source-group li {
  font-size: 0.88rem;
  color: var(--ink-faint);
  line-height: 1.45;
}

.source-group a {
  color: var(--brand);
  font-weight: 650;
}

.legal-notice {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.legal-notice h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.legal-notice p {
  color: var(--ink-faint);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-notice ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

.legal-notice li {
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.meta-line {
  color: var(--ink-faint);
  font-size: 0.82rem;
  margin-top: 10px;
  text-align: center;
}

/* ============================================
   CTA + Footer
   ============================================ */
.cta {
  padding: 86px 0 86px;
}

.cta-card {
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.92) 0%, rgba(0, 59, 122, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 34px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.cta-card h2 {
  font-size: 2rem;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--brand-strong);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 760;
}

.btn-cta:hover {
  transform: translateY(-1px);
}

.footer {
  padding: 54px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 24px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 820;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--ink-faint);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--brand-strong);
}

.footer-trademark {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.footer-trademark p {
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.78rem;
  line-height: 1.6;
}

.page-risk-callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(161, 92, 0, 0.24);
  background: rgba(255, 248, 231, 0.94);
  color: #5d4300;
  box-shadow: var(--shadow-sm);
}

.page-risk-callout strong {
  color: #7a5200;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  color: var(--ink-faint);
  font-size: 0.86rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.88);
}

.footer-socials a:hover {
  color: var(--brand-strong);
  border-color: rgba(0, 87, 184, 0.22);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   Search Overlay (New)
   ============================================ */
body.search-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  display: none;
  padding: 22px;
}

.search-overlay.open {
  display: grid;
  place-items: start center;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.search-modal {
  width: min(920px, 100%);
  margin: 88px auto 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.search-top input {
  box-sizing: border-box;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  background: rgba(245, 245, 247, 0.7);
}

.search-top input::placeholder {
  color: var(--ink-faint);
}

.search-close {
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-muted);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 760;
}

.search-body {
  padding: 14px 18px 18px;
}

.search-help {
  color: var(--ink-faint);
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.search-results {
  display: grid;
  gap: 10px;
}

.result {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  transition: transform var(--transition), border-color var(--transition);
}

.result:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 87, 184, 0.22);
}

.result-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.result-top strong {
  font-weight: 820;
  letter-spacing: -0.02em;
}

.result-meta {
  color: var(--ink-faint);
  font-size: 0.82rem;
  white-space: nowrap;
}

.result p {
  color: var(--ink-faint);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 0.82rem;
}

/* ============================================
   Inner Pages (New)
   ============================================ */
.page-hero {
  padding: 122px 0 46px;
}

.page-hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.page-hero-card h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin-bottom: 10px;
}

.page-hero-card p {
  color: var(--ink-faint);
  font-size: 1.05rem;
  max-width: 860px;
}

.page-section {
  padding: 26px 0 8px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.content-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.content-card h3 {
  font-size: 1.06rem;
  font-weight: 760;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.content-card p {
  color: var(--ink-faint);
  font-size: 0.94rem;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.glance-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 249, 255, 0.92) 100%);
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.glance-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 87, 184, 0.08);
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.glance-card strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.glance-card p {
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.disclosure-stack {
  display: grid;
  gap: 14px;
}

.disclosure-card,
.data-panel,
.inline-disclosure {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.disclosure-card summary,
.data-panel summary,
.inline-disclosure summary {
  list-style: none;
  cursor: pointer;
}

.disclosure-card summary::-webkit-details-marker,
.data-panel summary::-webkit-details-marker,
.inline-disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
}

.disclosure-card summary::after,
.data-panel summary::after,
.inline-disclosure summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 87, 184, 0.08);
  color: var(--brand-strong);
  font-size: 1.15rem;
  font-weight: 500;
  transition: transform var(--transition), background var(--transition);
}

.disclosure-card[open] summary::after,
.data-panel[open] summary::after,
.inline-disclosure[open] summary::after {
  transform: rotate(45deg);
  background: rgba(0, 87, 184, 0.14);
}

.disclosure-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.disclosure-card summary h3 {
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.disclosure-card summary p {
  margin-top: 7px;
  color: var(--ink-faint);
  font-size: 0.91rem;
}

.disclosure-body {
  padding: 0 20px 18px;
  color: var(--ink-faint);
}

.disclosure-body p + p {
  margin-top: 10px;
}

.data-panel summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
}

.data-panel-title {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.data-panel-meta {
  display: block;
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.data-panel-body {
  padding: 0 20px 20px;
}

.inline-disclosure {
  margin-top: 12px;
}

.inline-disclosure summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.inline-disclosure-body {
  padding: 0 14px 14px;
}

.evidence {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.82rem;
  line-height: 1.55;
}

.evidence a {
  color: var(--brand);
  font-weight: 650;
}

.clause {
  margin-top: 14px;
  border: 1px dashed rgba(0, 87, 184, 0.28);
  background: rgba(0, 87, 184, 0.06);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.table-shell {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--ink-muted);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(245, 245, 247, 0.75);
}

td {
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 760;
}

.rating.high {
  color: var(--risk-low);
  border-color: rgba(6, 118, 71, 0.22);
  background: rgba(6, 118, 71, 0.08);
}

.rating.medium {
  color: var(--risk-medium);
  border-color: rgba(161, 92, 0, 0.26);
  background: rgba(161, 92, 0, 0.10);
}

.rating.low {
  color: var(--risk-high);
  border-color: rgba(180, 35, 24, 0.22);
  background: rgba(180, 35, 24, 0.10);
}

/* ============================================
   Structured Comparison Matrix
   ============================================ */

.matrix-section {
  padding: 56px 0 28px;
}

.matrix-section-page {
  padding-top: 18px;
}

.matrix-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(28, 148, 196, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.96));
  box-shadow: 0 28px 80px rgba(11, 31, 58, 0.1);
  padding: 28px;
}

.matrix-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.matrix-header-row h3 {
  margin: 6px 0 0;
  font-size: 1.35rem;
  color: var(--ink);
}

.matrix-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(9, 110, 143, 0.1);
  color: #0a5972;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.matrix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.comparison-render {
  display: grid;
  gap: 20px;
}

.comparison-meta-row {
  display: grid;
  gap: 16px;
}

.comparison-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(11, 31, 58, 0.82);
  font-size: 0.85rem;
}

.comparison-badge strong {
  font-weight: 700;
}

.comparison-badge-confidence {
  background: rgba(17, 120, 90, 0.1);
  border-color: rgba(17, 120, 90, 0.14);
  color: #0a6249;
}

.comparison-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.comparison-source-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  color: rgba(11, 31, 58, 0.75);
  font-size: 0.82rem;
  font-weight: 600;
}

.comparison-hero-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comparison-hero-card {
  border-radius: 22px;
  padding: 18px 20px;
  background: linear-gradient(160deg, rgba(18, 96, 140, 0.14), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(18, 96, 140, 0.1);
}

.comparison-hero-card-alt {
  background: linear-gradient(160deg, rgba(8, 117, 85, 0.12), rgba(255, 255, 255, 0.96));
  border-color: rgba(8, 117, 85, 0.1);
}

.comparison-kicker {
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 31, 58, 0.58);
}

.comparison-hero-card h4 {
  margin: 10px 0 8px;
  font-size: 1.02rem;
  color: var(--ink);
}

.comparison-hero-card p {
  margin: 0;
  color: var(--muted);
}

.comparison-grid {
  display: grid;
  gap: 12px;
}

.comparison-grid-head,
.comparison-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.comparison-grid-head-cell,
.comparison-dimension,
.comparison-cell {
  border-radius: 20px;
  padding: 16px 18px;
}

.comparison-grid-head-cell {
  background: #0b1f3a;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-grid-head-dimension {
  background: #123a63;
}

.comparison-dimension {
  background: rgba(11, 31, 58, 0.05);
  color: rgba(11, 31, 58, 0.82);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comparison-row-group {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(18, 96, 140, 0.1);
  color: #0c607d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-cell {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 31, 58, 0.08);
  color: var(--ink);
}

.comparison-cell p {
  margin: 0;
  color: var(--muted);
}

.comparison-bank-label {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 31, 58, 0.55);
}

.comparison-row-canada .comparison-dimension,
.comparison-cell-canada {
  background: linear-gradient(180deg, rgba(255, 243, 213, 0.88), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(200, 142, 26, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 206, 102, 0.24);
}

.comparison-row-canada .comparison-dimension strong,
.comparison-cell-canada .comparison-bank-label {
  color: #8a5600;
}

.comparison-canada-callout {
  border-radius: 22px;
  padding: 18px 20px;
  background: rgba(200, 142, 26, 0.08);
  border: 1px solid rgba(200, 142, 26, 0.16);
}

.comparison-callout-label {
  display: inline-flex;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a5600;
}

.comparison-canada-callout p {
  margin: 0;
  color: rgba(72, 50, 8, 0.86);
}

.comparison-json {
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.comparison-json summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
}

.comparison-json summary::-webkit-details-marker {
  display: none;
}

.comparison-json-body {
  padding: 0 18px 18px;
}

.comparison-json pre {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: #0f1729;
  color: #dbe7ff;
  overflow: auto;
  font-size: 0.82rem;
  line-height: 1.6;
}

.comparison-stage {
  display: grid;
  gap: 22px;
}

.comparison-stage-copy h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.comparison-stage-copy p {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.comparison-storyband {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comparison-story {
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: var(--shadow-sm);
}

.comparison-story-citi {
  background: linear-gradient(145deg, rgba(0, 90, 255, 0.08), rgba(255, 255, 255, 0.96));
}

.comparison-story-jpm {
  background: linear-gradient(145deg, rgba(5, 120, 84, 0.08), rgba(255, 255, 255, 0.96));
}

.comparison-story-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 31, 58, 0.58);
}

.comparison-story h4 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  color: var(--ink);
}

.comparison-story p {
  margin: 0 0 14px;
  color: var(--muted);
}

.comparison-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comparison-platform-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.07);
  color: rgba(11, 31, 58, 0.76);
  font-size: 0.82rem;
  font-weight: 650;
}

.comparison-decision-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-decision-card {
  border-radius: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.comparison-decision-label {
  display: inline-flex;
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.comparison-decision-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1rem;
}

.comparison-decision-card p {
  margin: 0;
  color: var(--muted);
}

.comparison-lanes {
  display: grid;
  gap: 16px;
}

.comparison-row-card {
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.comparison-row-card-canada {
  background: linear-gradient(180deg, rgba(255, 248, 231, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(200, 142, 26, 0.22);
  box-shadow: 0 12px 32px rgba(200, 142, 26, 0.08);
}

.comparison-row-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.comparison-row-header h4 {
  margin: 8px 0 0;
  font-size: 1.14rem;
  color: var(--ink);
}

.comparison-edge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  color: rgba(11, 31, 58, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.comparison-row-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-bank-panel {
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.comparison-bank-panel-citi {
  background: linear-gradient(160deg, rgba(0, 90, 255, 0.06), rgba(255, 255, 255, 0.96));
}

.comparison-bank-panel-jpm {
  background: linear-gradient(160deg, rgba(5, 120, 84, 0.06), rgba(255, 255, 255, 0.96));
}

.comparison-bank-panel-canada {
  border-color: rgba(200, 142, 26, 0.22);
}

.comparison-bank-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.comparison-bank-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.08);
  color: rgba(11, 31, 58, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
}

.comparison-bank-panel p {
  margin: 0;
  color: var(--muted);
}

.comparison-cta {
  display: flex;
  justify-content: flex-start;
}

/* ============================================
   Site Assistant
   ============================================ */

body.assistant-open {
  overflow: hidden;
}

.site-assistant {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.site-assistant-launcher,
.site-assistant-panel {
  pointer-events: auto;
}

.site-assistant-launcher {
  border: none;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.36), transparent 42%),
    linear-gradient(135deg, #0b1f3a, #1767b1);
  color: #fff;
  box-shadow: 0 20px 52px rgba(11, 31, 58, 0.28);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.site-assistant-launcher:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 24px 58px rgba(11, 31, 58, 0.3);
}

.site-assistant-launcher svg {
  width: 28px;
  height: 28px;
}

.site-assistant-panel {
  width: min(460px, calc(100vw - 32px));
  max-height: min(78vh, 760px);
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  gap: 14px;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.98)),
    rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 90px rgba(11, 31, 58, 0.22);
}

.site-assistant.open .site-assistant-panel {
  display: grid;
}

.site-assistant-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.site-assistant-label {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  color: rgba(11, 31, 58, 0.72);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-assistant-top h3 {
  margin: 8px 0 0;
  max-width: 26ch;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
}

.site-assistant-close {
  border: none;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(11, 31, 58, 0.07);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.site-assistant-shortcuts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.site-assistant-shortcuts::-webkit-scrollbar {
  display: none;
}

.site-assistant-shortcuts .assistant-prompt {
  padding: 12px 14px;
  font-size: 0.84rem;
  width: max-content;
  min-width: max-content;
  flex: 0 0 auto;
  white-space: nowrap;
  scroll-snap-align: start;
}

.site-assistant-messages {
  min-height: 240px;
  max-height: 380px;
  overflow: auto;
  padding-right: 4px;
}

.site-assistant .assistant-input {
  min-height: 52px;
  padding: 14px 16px;
  font-size: 1rem;
}

.site-assistant .assistant-submit {
  min-height: 52px;
}

.site-assistant-compose {
  margin-top: 0;
}

.site-assistant-note {
  margin-top: 2px;
}

/* ============================================
   ISO 20022 Page
   ============================================ */

.iso-state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.iso-state-card {
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.iso-state-card-legacy {
  background: linear-gradient(180deg, rgba(255, 245, 240, 0.96), rgba(255, 255, 255, 0.98));
}

.iso-state-card-hybrid {
  background: linear-gradient(180deg, rgba(255, 248, 231, 0.96), rgba(255, 255, 255, 0.98));
}

.iso-state-card-structured {
  background: linear-gradient(180deg, rgba(238, 248, 244, 0.96), rgba(255, 255, 255, 0.98));
}

.iso-state-step {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.07);
  color: rgba(11, 31, 58, 0.72);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.iso-state-card h3 {
  margin: 12px 0 10px;
  font-size: 1.25rem;
  color: var(--ink);
}

.iso-state-card p {
  margin: 0;
  color: var(--muted);
}

.iso-example-list {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.iso-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.iso-timeline-card {
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.98));
  box-shadow: var(--shadow-sm);
}

.iso-timeline-date {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(9, 110, 143, 0.1);
  color: #0a5972;
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.iso-timeline-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  color: var(--ink);
}

.iso-timeline-card p {
  margin: 0;
  color: var(--muted);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-image {
    justify-content: center;
  }
  .hero-ai-tile {
    width: min(100%, 680px);
    animation: floatY 7s ease-in-out infinite;
  }
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-card-assistant,
  .bento-card-graph {
    grid-column: span 2;
  }
  .bento-graph-row {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .persona-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-frame {
    grid-template-columns: 1fr;
    background:
      radial-gradient(circle at top left, rgba(69, 138, 255, 0.16) 0%, transparent 24%),
      linear-gradient(180deg, #0b1220 0%, #111a2c 52%, #f3f7fd 52.5%, #edf3fb 100%);
  }
  .hood-grid {
    grid-template-columns: 1fr;
  }
  .assistant-demo-grid {
    grid-template-columns: 1fr;
  }
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insight-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .reg-cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .about-pm-grid {
    grid-template-columns: 1fr;
  }
  .edge-grid {
    grid-template-columns: 1fr;
  }
  .sources-grid {
    grid-template-columns: 1fr;
  }
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .glance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .matrix-header-row,
  .comparison-hero-strip,
  .comparison-storyband,
  .comparison-decision-strip,
  .comparison-row-columns,
  .iso-state-grid,
  .iso-timeline {
    grid-template-columns: 1fr;
  }
  .matrix-header-row {
    display: grid;
  }
  .comparison-grid-head,
  .comparison-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .table-wrap {
    overflow: visible;
  }
  .table-wrap table,
  .table-wrap thead,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap th,
  .table-wrap td {
    display: block;
    width: 100%;
  }
  .table-wrap table {
    min-width: 0;
  }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .table-wrap tbody {
    display: grid;
    gap: 12px;
  }
  .table-wrap tr {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
  }
  .table-wrap td {
    border: 0;
    padding: 10px 0;
  }
  .table-wrap td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--ink-faint);
    font-size: 0.74rem;
    font-weight: 760;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

@media (max-width: 720px) {
  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .container {
    width: min(100% - 32px, var(--max-width));
  }
  .navbar .container {
    gap: 10px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 14px;
    flex-direction: column;
    gap: 10px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-actions {
    margin-left: auto;
    gap: 8px;
  }
  .nav-actions .btn-secondary,
  .nav-actions .btn-primary {
    display: none;
  }
  .btn-sign-in {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    line-height: 1;
    border-radius: 16px;
    border-color: rgba(11, 31, 58, 0.1);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(11, 31, 58, 0.08);
  }
  .nav-search-icon {
    width: 21px;
    height: 21px;
    stroke-width: 2.4;
  }
  .nav-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .nav-toggle {
    display: inline-flex;
    padding: 6px;
  }
  .hero {
    padding: 120px 0 64px;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-ai-tile {
    width: min(100%, 430px);
  }
  .page-hero-card {
    padding: 24px 20px;
  }
  .page-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero .hero-actions .btn-primary,
  .page-hero .hero-actions .btn-secondary {
    justify-content: center;
    white-space: normal;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card,
  .bento-card-assistant,
  .bento-card-graph {
    grid-column: span 1;
    min-height: auto;
  }
  .bento-card-assistant {
    min-height: 0;
  }
  .bento-card-topline {
    flex-direction: column;
    align-items: flex-start;
  }
  .bento-graph-row {
    grid-template-columns: 1fr;
  }
  .bento-graph-value {
    margin-top: 4px;
  }
  .features-grid,
  .quick-grid,
  .insight-cards,
  .content-grid,
  .glance-grid {
    grid-template-columns: 1fr;
  }
  .matrix-shell {
    padding: 20px;
  }
  .site-assistant {
    right: 12px;
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    justify-items: stretch;
  }
  .site-assistant-launcher {
    width: 72px;
    height: 72px;
    justify-self: end;
  }
  .site-assistant-launcher svg {
    width: 31px;
    height: 31px;
  }
  .site-assistant-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    min-height: min(620px, calc(100vh - 24px));
    min-height: min(620px, calc(100dvh - 24px));
    padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
    gap: 12px;
    border-radius: 28px;
  }
  .comparison-grid-head {
    display: none;
  }
  .comparison-row-header,
  .site-assistant-top {
    flex-direction: column;
  }
  .comparison-grid-head-cell,
  .comparison-dimension,
  .comparison-cell {
    padding: 14px 16px;
  }
  .ecosystem-diagram {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ecosystem-hub {
    min-height: 300px;
  }
  .assistant-compose {
  grid-template-columns: 1fr;
}
.site-assistant-compose {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}
  .site-assistant-messages {
    min-height: clamp(260px, 38vh, 420px);
    max-height: none;
  padding-right: 2px;
}
.site-assistant .assistant-message {
  gap: 10px;
}
.site-assistant .assistant-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 0.74rem;
}
.site-assistant .assistant-bubble {
  padding: 14px 15px;
  border-radius: 20px;
}
.site-assistant .assistant-submit {
  min-width: 68px;
  padding-inline: 18px;
}
.assistant-demo-panel,
  .assistant-demo-sidebar {
    padding: 18px;
  }
  .citi-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .citi-score-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .citi-score-val {
    text-align: left;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .search-overlay {
    padding: 16px;
  }
  .search-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100dvh - 32px);
    margin: 74px auto max(16px, env(safe-area-inset-bottom));
    border-radius: 24px;
  }
  .search-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .search-top input,
  .search-close {
    width: 100%;
    min-height: 50px;
  }
  .search-help {
    overflow-wrap: anywhere;
  }
  .search-body {
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .result-top {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }
  .result-top strong {
    min-width: 0;
    flex: 1 1 100%;
    overflow-wrap: anywhere;
  }
  .result-meta {
    flex: 1 1 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
