/*
  Outratio — site stylesheet
  Built on the Outratio Design System (colors_and_type.css v1.0).
  Navy is the dominant primary, teal the only accent, cream the page background.
*/

/* ───────────────────────── TOKENS ───────────────────────── */
:root {
  /* Color — primary */
  --navy:        #0B3D91;
  --navy-deep:   #072D6E;
  --navy-ink:    #05224F;
  --teal:        #00A3A3;
  --teal-light:  #00C8C8;

  /* Color — neutral */
  --slate:       #5A6A7A;
  --slate-light: #8A9BAC;
  --cream:       #F7F5F0;
  --cream-2:     #EFEBE2;
  --white:       #ffffff;

  /* Color — semantic */
  --success:     #10B981;
  --success-bg:  rgba(16, 185, 129, 0.10);
  --warning:     #EF9A00;
  --warning-bg:  rgba(239, 154, 0, 0.10);
  --danger:      #E24B4A;
  --danger-bg:   rgba(226, 75, 74, 0.10);
  --teal-bg:     rgba(0, 163, 163, 0.10);
  --navy-bg:     rgba(11, 61, 145, 0.07);

  /* Border */
  --border:        rgba(11, 61, 145, 0.10);
  --border-strong: rgba(11, 61, 145, 0.18);
  --border-dark:   rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radii */
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 10px;
  --r-xl: 14px; --r-2xl: 16px; --r-3xl: 20px; --r-full: 9999px;

  /* Shadows — navy or teal tinted, never neutral grey */
  --shadow-card:       0 4px 40px rgba(11, 61, 145, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(0, 163, 163, 0.10);
  --shadow-pop:        0 8px 24px rgba(11, 61, 145, 0.30);
  --shadow-pop-light:  0 8px 24px rgba(11, 61, 145, 0.12);
  --shadow-float:      0 24px 64px rgba(11, 61, 145, 0.14);

  /* Motion */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --page-px:     5vw;
  --section-py:  120px;
  --nav-h:       68px;
  --content-max: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
strong, b { font-weight: 500; color: var(--navy); }

::selection { background: var(--teal); color: #fff; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 300;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; text-decoration: none; transition: top var(--transition);
}
.skip-link:focus { top: 12px; }

.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;
}

/* ───────────────────────── LAYOUT ───────────────────────── */
.container {
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--page-px));
  margin: 0 auto;
  padding: 0 var(--page-px);
}
.container-narrow { max-width: calc(880px + 2 * var(--page-px)); }

.section { padding: var(--section-py) 0; position: relative; }
.section-sm { padding: 80px 0; }
.bg-white { background: var(--white); }
.bg-cream-2 { background: var(--cream-2); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,0.68); }
.bg-navy-deep { background: var(--navy-deep); color: rgba(255,255,255,0.68); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.glow, .cta-band { position: relative; }
.glow::before {
  content: ''; position: absolute; pointer-events: none;
  width: 760px; height: 760px; top: -320px; right: -240px;
  background: radial-gradient(circle, rgba(0,163,163,0.14) 0%, transparent 68%);
}
.glow-center::before { left: 50%; right: auto; transform: translateX(-50%); top: -380px; }
.bg-navy, .bg-navy-deep { overflow: hidden; }
.bg-navy > .container, .bg-navy-deep > .container { position: relative; z-index: 1; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ───────────────────────── TYPOGRAPHY ───────────────────────── */
h1, h2, h3, .display, .display-1, .display-2, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--navy);
}
h1 em, h2 em, h3 em, .display em, .em { font-style: italic; color: var(--teal); }
.display-1 { font-size: clamp(44px, 6vw, 80px); letter-spacing: -0.025em; line-height: 1.04; }
.display-2 { font-size: clamp(34px, 4.2vw, 56px); }
.h2 { font-size: clamp(32px, 4vw, 52px); }
.h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
h4, .h4 { font-family: var(--font-body); font-size: 18px; font-weight: 500; color: var(--navy); line-height: 1.35; letter-spacing: -0.005em; }

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4,
.bg-navy-deep h1, .bg-navy-deep h2, .bg-navy-deep h3, .bg-navy-deep h4 { color: #fff; }

.lead { font-size: 18px; line-height: 1.75; color: var(--slate); max-width: 58ch; }
.bg-navy .lead, .bg-navy-deep .lead { color: rgba(255,255,255,0.66); }
.bg-navy h2 em, .bg-navy h3 em, .bg-navy-deep h2 em, .bg-navy-deep h3 em, .card-navy h3 em { color: var(--teal-light); }
.muted { color: var(--slate-light); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow.both::after { content: ''; width: 24px; height: 1px; background: currentColor; flex-shrink: 0; }
.bg-navy .eyebrow, .bg-navy-deep .eyebrow { color: var(--teal-light); }

.section-head { margin-bottom: 64px; max-width: 760px; }
.section-head .h2 { margin-bottom: 20px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.section-head-split .h2 { margin-bottom: 0; }

/* ───────────────────────── BUTTONS ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
}
.btn svg { width: 14px; height: 14px; transition: transform var(--transition); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-light); border-color: var(--teal-light); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--navy); background: rgba(11,61,145,0.04); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row, .btn-row.center { justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--teal); text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}
.text-link:hover { gap: 10px; color: var(--navy); }
.bg-navy .text-link:hover, .bg-navy-deep .text-link:hover { color: #fff; }

/* ───────────────────────── PILLS ───────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap;
}
.pill-teal    { background: var(--teal-bg);    color: var(--teal); }
.pill-success { background: var(--success-bg); color: var(--success); }
.pill-warning { background: var(--warning-bg); color: var(--warning); }
.pill-danger  { background: var(--danger-bg);  color: var(--danger); }
.pill-navy    { background: rgba(11,61,145,0.08); color: var(--navy); }
.pill-dark    { background: rgba(0,163,163,0.2); color: var(--teal-light); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; margin-bottom: 28px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-full);
  font-size: 13px; font-weight: 400; color: var(--navy); text-decoration: none;
  box-shadow: 0 2px 12px rgba(11,61,145,0.05); transition: all var(--transition);
}
.status-pill:hover { border-color: var(--teal); }
.status-pill .tag { background: var(--teal); color: #fff; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: var(--r-full); letter-spacing: 0.02em; white-space: nowrap; }
.status-pill .arrow { color: var(--teal); transition: transform var(--transition); }
.status-pill:hover .arrow { transform: translateX(3px); }
.page-hero:not(.cream) .status-pill, .bg-navy .status-pill { background: rgba(255,255,255,0.06); border-color: var(--border-dark); color: rgba(255,255,255,0.85); box-shadow: none; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; display: inline-block; }
.pulse { animation: pulse 2s ease infinite; }

/* ───────────────────────── NAV ───────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(247,245,240,0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(11,61,145,0.08); background: rgba(247,245,240,0.97); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  position: relative; font-size: 14px; font-weight: 400; color: var(--slate);
  text-decoration: none; letter-spacing: 0.01em; transition: color var(--transition); padding: 6px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-demo { border-width: 1.5px; }
.hero-investor { margin-top: 20px; font-size: 14px; color: var(--slate); }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 1px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: var(--cream); border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(11,61,145,0.10);
  padding: 12px var(--page-px) 28px;
  display: none;
}
.mobile-menu.open { display: block; animation: fadeInDown 0.3s var(--ease) both; }
.mobile-menu a.m-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  font-size: 17px; font-weight: 400; color: var(--navy); text-decoration: none;
}
.mobile-menu a.m-link::after { content: '→'; color: var(--teal); }
.mobile-menu .btn { margin-top: 20px; width: 100%; }

/* ───────────────────────── CARDS ───────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-card); padding: 32px; position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card-hover:hover { border-color: var(--teal); box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.card-flat { box-shadow: none; }
.card-cream { background: var(--cream); box-shadow: none; border-color: transparent; }
.card-cream.card-hover:hover { border-color: var(--teal); }
.card-navy { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,0.68); }
.card-navy h3, .card-navy h4 { color: #fff; }
.card-dark {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-dark); border-radius: var(--r-xl);
  padding: 28px; color: rgba(255,255,255,0.66); transition: all var(--transition);
}
.card-dark:hover { border-color: rgba(0,200,200,0.5); background: rgba(255,255,255,0.08); }
.card-dark h4 { color: #fff; }
.card-num {
  position: absolute; top: 16px; right: 22px; font-family: var(--font-display);
  font-size: 60px; line-height: 1; color: rgba(11,61,145,0.06); user-select: none; pointer-events: none;
}
.card-navy .card-num, .card-dark .card-num { color: rgba(255,255,255,0.06); }
.card-topline::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--teal); border-radius: var(--r-xl) var(--r-xl) 0 0; }

.icon-tile {
  width: 44px; height: 44px; border-radius: var(--r-lg);
  background: var(--teal-bg); color: var(--teal);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile-dark { background: rgba(0,163,163,0.18); color: var(--teal-light); }
.icon-tile-sm { width: 36px; height: 36px; border-radius: var(--r-md); }
.icon-tile-sm svg { width: 18px; height: 18px; }

.card h4 { margin: 20px 0 10px; }
.card p, .card-dark p { font-size: 14.5px; line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* Check lists */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--slate); }
.check-list li::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; border-radius: 50%;
  background: var(--teal-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.2 2.2L8 3' fill='none' stroke='%2300A3A3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.bg-navy .check-list li, .card-navy .check-list li, .bg-navy-deep .check-list li { color: rgba(255,255,255,0.78); }
.bg-navy .check-list li::before, .card-navy .check-list li::before, .bg-navy-deep .check-list li::before { background-color: rgba(0,163,163,0.25); }
.check-list.sm li { font-size: 14px; }

.dot-list { display: flex; flex-direction: column; gap: 10px; }
.dot-list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.dot-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ───────────────────────── HERO (HOME) ───────────────────────── */
.hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 72px) 0 96px; }
.hero::before {
  content: ''; position: absolute; top: -220px; right: -220px; width: 760px; height: 760px; pointer-events: none;
  background: radial-gradient(circle, rgba(0,163,163,0.10) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -140px; left: -140px; width: 560px; height: 560px; pointer-events: none;
  background: radial-gradient(circle, rgba(11,61,145,0.06) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.hero-copy .display-1 { margin-bottom: 26px; }
.hero-copy .lead { margin-bottom: 40px; max-width: 520px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); }
.hero-points li svg { width: 16px; height: 16px; color: var(--teal); }

.hero-visual { position: relative; padding: 28px 8px 118px 36px; }
.dash-card {
  position: relative; z-index: 2;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl);
  box-shadow: var(--shadow-float); padding: 26px;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card-label { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--cream); border-radius: var(--r-lg); padding: 14px 16px; }
.kpi-label { font-size: 12px; color: var(--slate-light); margin-bottom: 6px; }
.kpi-value { font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--navy); }
.kpi-value small { font-size: 0.62em; }
.kpi-value.teal { color: var(--teal); }
.kpi-delta { font-size: 12px; font-weight: 500; color: var(--teal); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.kpi-delta.down { color: var(--danger); }
.kpi-delta.neutral { color: var(--slate-light); font-weight: 400; }

.bars { height: 64px; display: flex; align-items: flex-end; gap: 6px; margin: 10px 0 18px; }
.bars span {
  flex: 1; height: var(--h, 50%); border-radius: 3px 3px 0 0;
  background: rgba(0,163,163,0.22); transform-origin: bottom; transition: background var(--transition);
}
.bars span.hi, .bars span:hover { background: var(--teal); }
.js .bars.anim span { transform: scaleY(0); }
.js .in-view .bars.anim span, .js .bars.anim.in-view span { animation: barRise 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms + 200ms); }

.insight {
  display: flex; align-items: center; gap: 12px;
  background: rgba(11,61,145,0.05); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 12px 14px; font-size: 13px; color: var(--navy); min-height: 50px;
}
.insight-icon { width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.insight-icon svg { width: 14px; height: 14px; color: #fff; }
.typewriter::after { content: '▍'; color: var(--teal); margin-left: 1px; animation: blink 1s steps(1) infinite; }
.typewriter.done::after { display: none; }

.float-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-lg);
  font-size: 13px; font-weight: 500; white-space: nowrap;
  animation: float 3.2s ease-in-out infinite;
}
.float-chip.navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-pop); }
.float-chip.light { background: var(--white); color: var(--navy); border: 1px solid var(--border); box-shadow: var(--shadow-pop-light); }
.float-chip.chip-tr { top: 0; right: -6px; }
.float-chip.chip-bl { bottom: 44px; right: 24px; animation-delay: 0.6s; animation-duration: 3.6s; }
.float-chip svg { width: 14px; height: 14px; }

.ai-feed {
  position: absolute; z-index: 3; left: 0; bottom: 0;
  width: 250px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-float); padding: 14px 16px;
  animation: float 4s ease-in-out infinite 1s;
}
.ai-feed-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; color: var(--slate); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.ai-feed-head img { width: 16px; height: 16px; }
.ai-feed li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--navy); padding: 5px 0; font-weight: 400; }
.ai-feed li .ic { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-feed li .ic.ok { background: var(--success-bg); color: var(--success); }
.ai-feed li .ic.rev { background: var(--warning-bg); color: var(--warning); }
.ai-feed li .ic svg { width: 9px; height: 9px; }
.js .ai-feed li { opacity: 0; transform: translateX(-6px); }
.js .ai-feed.in-view li { animation: slideIn 0.5s var(--ease) both; }
.js .ai-feed.in-view li:nth-child(1) { animation-delay: 0.9s; }
.js .ai-feed.in-view li:nth-child(2) { animation-delay: 1.5s; }
.js .ai-feed.in-view li:nth-child(3) { animation-delay: 2.1s; }

/* ───────────────────────── LOGO / INTEGRATION STRIP ───────────────────────── */
.logo-strip { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; }
.strip-inner { display: flex; align-items: center; gap: 36px; }
.strip-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-light); white-space: nowrap; flex-shrink: 0; }
.strip-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }
.marquee {
  overflow: hidden; flex: 1; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; }
.marquee-track.looping { animation: marquee 38s linear infinite; padding-right: 56px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track.reverse { animation-direction: reverse; }
.wordmark {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em; color: rgba(90,106,122,0.55);
  white-space: nowrap; transition: color var(--transition);
}
.wordmark:hover { color: var(--navy); }
.wordmark i { width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: 0.5; transform: rotate(45deg); }

/* ───────────────────────── PROBLEM ───────────────────────── */
.problem-card h4 { margin-top: 18px; }
.conviction {
  margin-top: 72px; padding: 48px 56px; border-radius: var(--r-3xl);
  background: var(--white); border: 1px solid var(--border); position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
}
.conviction::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; border: 40px solid rgba(0,163,163,0.07); pointer-events: none;
}
.conviction .quote-mark { font-family: var(--font-display); font-size: 120px; line-height: 0.6; color: var(--teal); opacity: 0.35; }
.conviction blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--navy); }
.conviction cite { display: block; font-style: normal; font-family: var(--font-body); font-size: 14px; color: var(--slate); margin-top: 16px; }

/* ───────────────────────── STEPS (HOW IT WORKS) ───────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.step-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.step-visual {
  height: 270px; background: var(--cream); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.step-body { padding: 28px 32px 32px; }
.step-num { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--teal); text-transform: uppercase; margin-bottom: 10px; display: block; }
.step-body h3 { font-size: 26px; margin-bottom: 10px; }
.step-body p { font-size: 15px; }

/* Step 1 — connect */
.connect-viz { position: relative; width: 100%; max-width: 380px; height: 170px; }
.connect-viz .hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 20px; background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-pop-light); display: flex; align-items: center; justify-content: center; z-index: 2;
}
.connect-viz .hub img { width: 40px; height: 40px; }
.connect-viz .hub::after { content: ''; position: absolute; inset: -8px; border-radius: 26px; border: 1px solid rgba(0,163,163,0.35); animation: ring 2.4s var(--ease) infinite; }
.connect-viz .src {
  position: absolute; z-index: 2; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 6px 12px; font-size: 12px; font-weight: 500; color: var(--navy); box-shadow: 0 2px 10px rgba(11,61,145,0.06); white-space: nowrap;
}
.connect-viz svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.wires path { fill: none; stroke: rgba(0,163,163,0.35); stroke-width: 1.5; stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }

/* Step 2 — automate (transaction table) */
.txn-table { width: 100%; max-width: 400px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; font-size: 12px; box-shadow: var(--shadow-pop-light); }
.txn-row { display: grid; grid-template-columns: 1.5fr 0.9fr 1.2fr; align-items: center; padding: 9px 14px; border-bottom: 1px solid rgba(11,61,145,0.06); gap: 8px; }
.txn-row:last-child { border-bottom: 0; }
.txn-row.head { background: var(--cream); font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-light); }
.txn-row .desc { color: var(--navy); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txn-row .amt { font-family: var(--font-mono); color: var(--slate); text-align: right; font-size: 11.5px; }
.txn-row .cat { justify-self: end; }
.txn-row .cat .pill { font-size: 11px; padding: 2px 9px; }
.js .txn-table .cat .pill { opacity: 0; transform: scale(0.9); }
.js .in-view .txn-table .cat .pill { animation: popIn 0.4s var(--ease) both; }
.js .in-view .txn-table .txn-row:nth-child(2) .pill { animation-delay: 0.5s; }
.js .in-view .txn-table .txn-row:nth-child(3) .pill { animation-delay: 0.9s; }
.js .in-view .txn-table .txn-row:nth-child(4) .pill { animation-delay: 1.3s; }
.js .in-view .txn-table .txn-row:nth-child(5) .pill { animation-delay: 1.7s; }

/* Step 3 — verify (review queue) */
.review-card { width: 100%; max-width: 380px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-pop-light); padding: 16px 18px; }
.review-card .rc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.review-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid rgba(11,61,145,0.06); }
.review-item .ri-ic { width: 26px; height: 26px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-item .ri-ic svg { width: 13px; height: 13px; }
.review-item .ri-title { font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.35; }
.review-item .ri-sub { font-size: 12px; color: var(--slate-light); }
.review-item .ri-status { margin-left: auto; align-self: center; display: grid; justify-items: end; }
.review-item .ri-status > * { grid-area: 1 / 1; }
.review-item .ri-status .pending { opacity: 0; }
.js .review-item .ri-status .pending { opacity: 1; }
.js .review-item .ri-status .approved { opacity: 0; }
.js .in-view .review-item .ri-status .pending { animation: fadeOut 0.3s var(--ease) both var(--at, 1.6s); }
.js .in-view .review-item .ri-status .approved { animation: popIn 0.4s var(--ease) both calc(var(--at, 1.6s) + 0.3s); }

/* Step 4 — advise (brief) */
.brief-card { width: 100%; max-width: 380px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-pop-light); padding: 18px 20px; }
.brief-card .bc-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.brief-card .bc-title { font-family: var(--font-display); font-size: 22px; color: var(--navy); line-height: 1.15; margin-bottom: 12px; }
.brief-card .bc-title em { color: var(--teal); }
.brief-line { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--slate); padding: 6px 0; line-height: 1.5; }
.brief-line .n { font-family: var(--font-mono); font-size: 11px; color: var(--teal); padding-top: 1px; }
.js .brief-line { opacity: 0; transform: translateY(6px); }
.js .in-view .brief-line { animation: fadeInUp 0.5s var(--ease) both; }
.js .in-view .brief-line:nth-of-type(1) { animation-delay: 0.3s; }
.js .in-view .brief-line:nth-of-type(2) { animation-delay: 0.7s; }
.js .in-view .brief-line:nth-of-type(3) { animation-delay: 1.1s; }

/* ───────────────────────── CAPABILITY HIGHLIGHT LIST ───────────────────────── */
.cap-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.cap-wrap .sticky { position: sticky; top: calc(var(--nav-h) + 48px); }
.cap-list li {
  font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2; letter-spacing: -0.02em;
  color: rgba(11,61,145,0.14); transition: color 0.45s var(--ease);
}
.cap-list li.lit { color: var(--navy); }
.cap-list li.lit em { color: var(--teal); }
.cap-list li em { font-style: italic; }
.no-js .cap-list li, .cap-list.static li { color: var(--navy); }

/* ───────────────────────── FEATURE ROWS ───────────────────────── */
.feature-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 88px; align-items: center; padding: 72px 0; border-top: 1px solid var(--border); }
.section-head + .feature-row { border-top: 0; padding-top: 0; }
.feature-row:last-of-type { padding-bottom: 0; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy .tag-line { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.feature-copy .tag-line .num { font-family: var(--font-display); font-size: 18px; color: var(--teal); }
.feature-copy .tag-line .lbl { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-light); }
.feature-copy h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.feature-copy > p { font-size: 16px; line-height: 1.75; margin-bottom: 28px; max-width: 52ch; }
.feature-copy .check-list { margin-bottom: 28px; }
.feature-visual { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; }
.feature-visual .stage {
  width: 100%; border-radius: var(--r-3xl); background: var(--cream-2); border: 1px solid var(--border);
  padding: 44px 36px; position: relative; overflow: hidden; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.bg-white .feature-visual .stage { background: var(--cream); }
.stage-grid { background-image: linear-gradient(rgba(11,61,145,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,61,145,0.05) 1px, transparent 1px); background-size: 28px 28px; }

/* Reconciliation visual */
.recon { position: relative; width: 100%; max-width: 440px; height: 270px; }
.doc {
  position: absolute; width: 190px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-pop-light); padding: 16px 16px 18px;
}
.doc .doc-title { font-size: 13px; font-weight: 500; color: var(--navy); }
.doc .doc-sub { font-size: 11px; color: var(--slate-light); margin-bottom: 12px; }
.doc .doc-lines span { display: block; height: 5px; border-radius: 3px; background: rgba(11,61,145,0.07); margin-bottom: 6px; }
.doc .doc-lines span:nth-child(2) { width: 78%; } .doc .doc-lines span:nth-child(3) { width: 88%; } .doc .doc-lines span:nth-child(4) { width: 60%; }
.doc .doc-amt { margin-top: 14px; display: inline-block; font-family: var(--font-display); font-size: 22px; color: var(--navy); background: var(--success-bg); padding: 2px 8px; border-radius: var(--r-sm); }
.doc .doc-cap { font-size: 11px; color: var(--slate-light); margin-top: 4px; }
.doc-a { left: 0; top: 10px; transform: rotate(-4deg); }
.doc-b { right: 0; top: 40px; transform: rotate(3deg); }
.recon .match {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--white); border: 1px solid rgba(16,185,129,0.35); color: var(--navy);
  padding: 8px 14px; border-radius: var(--r-full); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-pop-light);
}
.recon .match .ok { width: 20px; height: 20px; border-radius: 50%; background: var(--success); color: #fff; display: flex; align-items: center; justify-content: center; }
.recon .match .ok svg { width: 11px; height: 11px; }
.js .recon .doc-a { opacity: 0; transform: translateX(-30px) rotate(-8deg); }
.js .recon .doc-b { opacity: 0; transform: translateX(30px) rotate(8deg); }
.js .recon .match { opacity: 0; transform: translate(-50%, 10px); }
.js .recon .doc-amt { background: transparent; transition: background 0.4s var(--ease) 1.4s; }
.js .in-view .recon .doc-a { animation: docA 0.8s var(--ease) both 0.1s; }
.js .in-view .recon .doc-b { animation: docB 0.8s var(--ease) both 0.3s; }
.js .in-view .recon .match { animation: matchIn 0.5s var(--ease) both 1.5s; }
.js .in-view .recon .doc-amt { background: var(--success-bg); }

/* Dashboard visual */
.mini-dash { width: 100%; max-width: 460px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl); box-shadow: var(--shadow-float); padding: 22px; }
.mini-dash .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.mini-dash .kpi { padding: 12px 14px; }
.mini-dash .kpi-value { font-size: 24px; }
.line-chart { width: 100%; height: 110px; }
.line-chart .area { fill: url(#areaGrad); }
.line-chart .line { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.line-chart .line.budget { stroke: rgba(11,61,145,0.28); stroke-width: 1.5; stroke-dasharray: 4 4; }
.js .line-chart .line.draw { stroke-dasharray: 600; stroke-dashoffset: 600; }
.js .in-view .line-chart .line.draw { animation: draw 1.6s var(--ease) both 0.3s; }
.js .line-chart .area { opacity: 0; }
.js .in-view .line-chart .area { animation: fadeIn 0.8s var(--ease) both 1.2s; }
.chart-legend { display: flex; gap: 16px; font-size: 11px; color: var(--slate-light); margin-top: 6px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 14px; height: 2px; background: var(--teal); display: inline-block; }
.chart-legend i.b { background: rgba(11,61,145,0.3); }
.alert-row {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  background: var(--warning-bg); border: 1px solid rgba(239,154,0,0.22); border-radius: var(--r-md);
  padding: 10px 12px; font-size: 12.5px; color: var(--navy);
}
.alert-row svg { width: 15px; height: 15px; color: var(--warning); flex-shrink: 0; }

/* Copilot chat visual */
.copilot {
  width: 100%; max-width: 460px; background: var(--navy); border-radius: var(--r-2xl);
  box-shadow: var(--shadow-float); padding: 22px; color: rgba(255,255,255,0.8); position: relative; overflow: hidden;
}
.copilot::before { content: ''; position: absolute; top: -120px; right: -120px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,163,163,0.22), transparent 70%); pointer-events: none; }
.copilot-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; position: relative; }
.copilot-head .t { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 8px; }
.copilot-head .t img { width: 18px; height: 18px; }
.msgs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; min-height: 280px; position: relative; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg .av { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; }
.msg .av.user { background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.75); }
.msg .av.ai { background: var(--teal); color: #fff; }
.msg .av.ai svg { width: 14px; height: 14px; }
.msg .bubble { background: rgba(255,255,255,0.08); border-radius: 4px 12px 12px 12px; padding: 10px 14px; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.78); }
.msg.ai .bubble { background: rgba(0,163,163,0.16); color: rgba(255,255,255,0.92); }
.msg .bubble b { color: var(--teal-light); font-weight: 500; }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.6); animation: typingDot 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
.js .copilot .msg { opacity: 0; transform: translateY(8px); }
.js .copilot .msg.show { opacity: 1; transform: none; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.copilot-input { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-md); padding: 10px 12px; position: relative; }
.copilot-input > span:first-child { flex: 1; font-size: 13px; color: rgba(255,255,255,0.35); }
.copilot-input .send { flex: 0 0 28px; width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--teal); display: flex; align-items: center; justify-content: center; }
.copilot-input .send svg { width: 12px; height: 12px; color: #fff; }

/* Scenario engine visual */
.scenario { width: 100%; max-width: 480px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl); box-shadow: var(--shadow-float); padding: 22px 24px; }
.scenario-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.runway-big { white-space: nowrap; font-family: var(--font-display); font-size: 52px; line-height: 0.95; color: var(--navy); }
.runway-big small { font-size: 22px; color: var(--slate); }
.runway-delta { font-size: 13px; font-weight: 500; color: var(--teal); text-align: right; }
.runway-delta.neg { color: var(--danger); }
.runway-bar { height: 6px; border-radius: 3px; background: rgba(11,61,145,0.08); overflow: hidden; margin-bottom: 20px; }
.runway-bar span { display: block; height: 100%; width: 50%; background: var(--teal); border-radius: 3px; transition: width 0.5s var(--ease); }
.control { margin-bottom: 16px; }
.control-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--navy); margin-bottom: 8px; font-weight: 400; }
.control-top output { font-family: var(--font-mono); font-size: 12px; color: var(--teal); background: var(--teal-bg); padding: 1px 8px; border-radius: var(--r-full); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: rgba(11,61,145,0.1); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); box-shadow: 0 2px 8px rgba(0,163,163,0.3); transition: transform 0.15s var(--ease); }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); }
input[type="range"]:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; }
.scenario-note { font-size: 11.5px; color: var(--slate-light); margin-top: 6px; display: flex; justify-content: space-between; gap: 12px; }

/* Board pack visual */
.pack { position: relative; width: 100%; max-width: 440px; height: 300px; }
.pack .sheet {
  position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop-light); width: 300px; padding: 22px;
}
.pack .sheet.back1 { left: 70px; top: 0; transform: rotate(5deg); height: 250px; opacity: 0.7; }
.pack .sheet.back2 { left: 40px; top: 10px; transform: rotate(2deg); height: 250px; opacity: 0.85; }
.pack .sheet.front { left: 0; top: 24px; }
.pack .s-brand { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: var(--slate-light); margin-bottom: 14px; }
.pack .s-brand img { width: 14px; height: 14px; }
.pack .s-title { font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: var(--navy); margin-bottom: 4px; }
.pack .s-date { font-size: 12px; color: var(--slate-light); margin-bottom: 16px; }
.pack .s-var { border-top: 1px solid var(--border); padding-top: 12px; }
.pack .s-var .k { font-size: 12px; color: var(--slate-light); }
.pack .s-var .v { font-size: 14px; font-weight: 500; color: var(--navy); }
.pack .s-var .v span { color: var(--danger); font-weight: 500; }
.pack .s-var p { font-size: 12px; line-height: 1.5; margin-top: 4px; }
.pack .stamp { position: absolute; right: 0; bottom: 6px; display: flex; flex-direction: column; gap: 8px; }
.pack .stamp .pill { background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-pop-light); color: var(--navy); padding: 7px 12px; font-size: 12px; }
.pack .stamp .pill .ok { color: var(--success); }
.js .pack .stamp .pill { opacity: 0; transform: translateX(10px); }
.js .in-view .pack .stamp .pill { animation: slideInR 0.5s var(--ease) both; }
.js .in-view .pack .stamp .pill:nth-child(1) { animation-delay: 0.6s; }
.js .in-view .pack .stamp .pill:nth-child(2) { animation-delay: 1s; }
.js .in-view .pack .stamp .pill:nth-child(3) { animation-delay: 1.4s; }

/* ───────────────────────── TABS (PLATFORM INTELLIGENCE) ───────────────────────── */
.tabs-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 4px; }
.tab {
  text-align: left; padding: 18px 22px; border-radius: var(--r-xl); border: 1px solid transparent;
  position: relative; overflow: hidden; transition: all var(--transition); width: 100%;
}
.tab .t-title { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.6); transition: color var(--transition); display: flex; align-items: center; gap: 10px; }
.tab .t-desc { display: block; font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), margin 0.35s var(--ease); }
.tab:hover .t-title { color: rgba(255,255,255,0.85); }
.tab[aria-selected="true"] { background: rgba(255,255,255,0.06); border-color: var(--border-dark); }
.tab[aria-selected="true"] .t-title { color: #fff; }
.tab[aria-selected="true"] .t-desc { max-height: 120px; opacity: 1; margin-top: 8px; }
.tab .t-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--teal); }
.tab[aria-selected="true"] .t-progress.run { animation: progress var(--tab-ms, 7000ms) linear both; }
.tab .t-ic { width: 26px; height: 26px; border-radius: var(--r-sm); background: rgba(0,163,163,0.16); color: var(--teal-light); display: flex; align-items: center; justify-content: center; }
.tab .t-ic svg { width: 14px; height: 14px; }

.tab-panels { position: relative; }
.tab-panel {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-dark); border-radius: var(--r-2xl);
  padding: 26px; min-height: 420px; backdrop-filter: blur(8px);
}
.tab-panel[hidden] { display: none; }
.tab-panel.active { animation: fadeInUp 0.5s var(--ease) both; }
.tp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tp-head .t { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.dk-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.dk-kpi { background: rgba(255,255,255,0.06); border-radius: var(--r-lg); padding: 14px 16px; }
.dk-kpi .l { font-size: 11px; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.dk-kpi .v { font-family: var(--font-display); font-size: 26px; color: #fff; line-height: 1.1; }
.dk-kpi .v.teal { color: var(--teal-light); }
.dk-kpi .d { font-size: 11.5px; color: var(--teal-light); margin-top: 2px; }
.dk-bars { display: flex; align-items: flex-end; gap: 5px; height: 72px; margin: 8px 0 14px; }
.dk-bars span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: rgba(0,163,163,0.3); transform-origin: bottom; animation: barRise 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.dk-bars span.hi { background: var(--teal); }
.dk-alert { display: flex; align-items: center; gap: 10px; background: rgba(239,154,0,0.12); border: 1px solid rgba(239,154,0,0.25); border-radius: var(--r-md); padding: 10px 12px; font-size: 12.5px; color: rgba(255,255,255,0.85); }
.dk-alert svg { width: 15px; height: 15px; color: var(--warning); flex-shrink: 0; }
.dk-list { display: flex; flex-direction: column; gap: 10px; }
.dk-item { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r-lg); padding: 12px 14px; animation: fadeInUp 0.45s var(--ease) both; }
.dk-item:nth-child(2) { animation-delay: 0.1s; } .dk-item:nth-child(3) { animation-delay: 0.2s; } .dk-item:nth-child(4) { animation-delay: 0.3s; } .dk-item:nth-child(5) { animation-delay: 0.4s; }
.dk-item .ic { width: 30px; height: 30px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dk-item .ic svg { width: 15px; height: 15px; }
.dk-item .ic.w { background: rgba(239,154,0,0.16); color: var(--warning); }
.dk-item .ic.d { background: rgba(226,75,74,0.16); color: #FF7A79; }
.dk-item .ic.t { background: rgba(0,163,163,0.18); color: var(--teal-light); }
.dk-item .ic.s { background: rgba(16,185,129,0.16); color: #34D399; }
.dk-item .tt { font-size: 13.5px; color: #fff; font-weight: 400; line-height: 1.35; }
.dk-item .ss { font-size: 12px; color: rgba(255,255,255,0.45); }
.dk-item .rt { margin-left: auto; text-align: right; flex-shrink: 0; }
.dk-item .rt .amt { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.75); }
.dk-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dk-table th { text-align: right; font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; text-transform: uppercase; padding: 0 10px 10px; }
.dk-table th:first-child, .dk-table td:first-child { text-align: left; padding-left: 0; }
.dk-table td { text-align: right; padding: 11px 10px; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); font-family: var(--font-mono); font-size: 12.5px; }
.dk-table td:first-child { font-family: var(--font-body); color: rgba(255,255,255,0.65); }
.dk-table .best { color: var(--teal-light); }
.dk-table tr.hl td { background: rgba(0,163,163,0.08); }
.entities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.entity { background: rgba(255,255,255,0.06); border-radius: var(--r-lg); padding: 12px; text-align: center; animation: fadeInUp 0.45s var(--ease) both; }
.entity:nth-child(2) { animation-delay: 0.1s; } .entity:nth-child(3) { animation-delay: 0.2s; }
.entity .flag { font-size: 11px; font-weight: 500; color: var(--teal-light); letter-spacing: 0.06em; }
.entity .nm { font-size: 13px; color: #fff; margin: 2px 0; }
.entity .vv { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.6); }
.merge { display: flex; justify-content: center; margin: 4px 0 12px; color: var(--teal-light); }
.merge svg { width: 100%; max-width: 360px; height: 34px; }
.merge path { fill: none; stroke: rgba(0,200,200,0.5); stroke-width: 1.5; stroke-dasharray: 4 4; animation: dash 1.2s linear infinite; }
.consol { background: rgba(0,163,163,0.14); border: 1px solid rgba(0,200,200,0.3); border-radius: var(--r-lg); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.consol .l { font-size: 13px; color: #fff; }
.consol .l small { display: block; font-size: 11.5px; color: rgba(255,255,255,0.5); }
.consol .v { font-family: var(--font-display); font-size: 26px; color: #fff; }

/* ───────────────────────── COMPARISON TABLE ───────────────────────── */
.compare { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-card); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; font-size: 14px; border-bottom: 1px solid rgba(11,61,145,0.06); }
.compare thead th { font-size: 13px; font-weight: 500; color: var(--slate); background: var(--white); vertical-align: bottom; padding-top: 24px; }
.compare thead th.us { background: var(--navy); color: #fff; position: relative; }
.compare thead th.us img { height: 20px; width: auto; margin: 0 auto 6px; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--navy); font-weight: 400; width: 30%; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: rgba(0,163,163,0.03); }
.compare td.us { background: rgba(11,61,145,0.04); }
.compare tbody tr:hover td.us { background: rgba(11,61,145,0.06); }
.mark-yes, .mark-no, .mark-part { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; }
.mark-yes { background: var(--teal-bg); color: var(--teal); }
.mark-no { background: rgba(138,155,172,0.12); color: var(--slate-light); }
.mark-part { background: var(--warning-bg); color: var(--warning); }
.mark-yes svg, .mark-no svg, .mark-part svg { width: 12px; height: 12px; }
.compare .txt { font-size: 13px; color: var(--slate); }
.compare .txt.good { color: var(--teal); font-weight: 500; }
.compare-legend { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; margin-top: 14px; font-size: 12px; color: var(--slate-light); }
.compare-legend span { display: inline-flex; align-items: center; gap: 6px; }
.compare-legend .mark-yes, .compare-legend .mark-no, .compare-legend .mark-part { width: 18px; height: 18px; }
.compare-legend svg { width: 9px; height: 9px; }

/* ───────────────────────── VALUE CARDS ───────────────────────── */
.value-tag { display: inline-block; padding: 5px 12px; border-radius: var(--r-full); background: var(--teal-bg); color: var(--teal); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.value-card h4 { margin: 0 0 12px; font-size: 19px; }
.value-card p { margin-bottom: 20px; }

/* ───────────────────────── STATS ───────────────────────── */
.stat-strip { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px); line-height: 1; color: var(--navy); margin-bottom: 8px; }
.stat .num span { color: var(--teal); }
.stat .lbl { font-size: 14px; color: var(--slate); }
.stat .qual { font-size: 11px; color: var(--slate-light); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }
.stat-box { border-left: 2px solid var(--teal); padding-left: 18px; }
.stat-box .num { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--navy); margin-bottom: 6px; }
.stat-box .lbl { font-size: 13.5px; color: var(--slate); }
.bg-navy .stat-box .num { color: #fff; }
.bg-navy .stat-box .lbl { color: rgba(255,255,255,0.6); }

/* ───────────────────────── SECURITY ───────────────────────── */
.sec-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.sec-items { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sec-item { display: flex; flex-direction: column; gap: 14px; }
.sec-item h4 { font-size: 16px; }
.sec-item p { font-size: 14px; line-height: 1.65; }
.cert-box { background: var(--navy); border-radius: var(--r-2xl); padding: 36px; color: rgba(255,255,255,0.7); position: relative; overflow: hidden; }
.cert-box::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(0,163,163,0.12); }
.cert-box .card-label { color: rgba(255,255,255,0.5); display: block; margin-bottom: 20px; }
.cert-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 14px; color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.cert-row:first-of-type { border-top: 0; }

/* ───────────────────────── PAGE HERO (INNER PAGES) ───────────────────────── */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: rgba(255,255,255,0.66); margin-top: var(--nav-h); padding: 104px 0 112px; }
.page-hero::before { content: ''; position: absolute; top: -300px; right: -200px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(0,163,163,0.16) 0%, transparent 68%); pointer-events: none; }
.page-hero::after {
  content: ''; position: absolute; right: 6vw; bottom: -180px; width: 420px; height: 420px; border-radius: 50%;
  border: 64px solid rgba(255,255,255,0.03); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 24px; max-width: 16ch; }
.page-hero h1 em { color: var(--teal-light); }
.page-hero .lead { color: rgba(255,255,255,0.66); max-width: 600px; margin-bottom: 40px; }
.page-hero .eyebrow { color: var(--teal-light); }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.center .btn-row { justify-content: center; }
.page-hero.cream { background: var(--cream); color: var(--slate); }
.page-hero.cream h1 { color: var(--navy); }
.page-hero.cream h1 em { color: var(--teal); }
.page-hero.cream .lead { color: var(--slate); }
.page-hero.cream .eyebrow { color: var(--teal); }
.page-hero.cream::before { background: radial-gradient(circle, rgba(0,163,163,0.10) 0%, transparent 68%); }
.page-hero.cream::after { border-color: rgba(11,61,145,0.03); }

.subnav { position: sticky; top: var(--nav-h); z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { padding: 16px 18px; font-size: 14px; color: var(--slate); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: all var(--transition); }
.subnav a:hover { color: var(--navy); }
.subnav a.active { color: var(--navy); border-bottom-color: var(--teal); font-weight: 500; }

/* ───────────────────────── ARCHITECTURE DIAGRAM ───────────────────────── */
.arch { display: grid; grid-template-columns: 1fr 64px 1.3fr 64px 1fr; align-items: stretch; }
.arch-col { display: flex; flex-direction: column; gap: 10px; }
.arch-col .col-label { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 4px; text-align: center; }
.arch-node {
  display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 12px 14px; font-size: 14px; color: var(--navy); font-weight: 400;
  box-shadow: 0 2px 12px rgba(11,61,145,0.04); transition: all var(--transition);
}
.arch-node:hover { border-color: var(--teal); }
.arch-node .ab { width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--navy-bg); color: var(--navy); font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: 0.02em; }
.arch-node .ab svg { width: 14px; height: 14px; }
.arch-node .ab.t { background: var(--teal-bg); color: var(--teal); }
.arch-core {
  background: var(--navy); border-radius: var(--r-2xl); padding: 24px; color: rgba(255,255,255,0.7);
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-float);
}
.arch-core::before { content: ''; position: absolute; top: -100px; right: -100px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(0,163,163,0.25), transparent 70%); }
.arch-core .core-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; position: relative; }
.arch-core .core-head img { width: 30px; height: 30px; }
.arch-core .core-head .t { font-family: var(--font-display); font-size: 21px; color: #fff; line-height: 1.1; }
.arch-core .core-head .s { font-size: 12px; color: rgba(255,255,255,0.5); }
.core-layer { position: relative; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-md); padding: 10px 12px; font-size: 13.5px; color: rgba(255,255,255,0.88); }
.core-layer .li { width: 22px; height: 22px; border-radius: 6px; background: rgba(0,163,163,0.2); color: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.core-layer .li svg { width: 12px; height: 12px; }
.core-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.5); position: relative; }
.core-foot .dot { width: 6px; height: 6px; }
.core-layer.human { background: rgba(0,163,163,0.16); border-color: rgba(0,200,200,0.35); }
.core-layer .pill { margin-left: auto; font-size: 10.5px; padding: 2px 8px; }
.arch-flow { position: relative; display: flex; align-items: center; justify-content: center; }
.arch-flow::before { content: ''; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, rgba(0,163,163,0.45) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flowX 0.8s linear infinite; }
.arch-flow::after { content: ''; position: absolute; right: 4px; top: calc(50% - 5px); border-left: 8px solid var(--teal); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.arch-flow .packet { position: absolute; top: calc(50% - 4px); left: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,163,163,0.15); animation: packet 2.2s var(--ease) infinite; }
.arch-flow .packet:nth-child(2) { animation-delay: 1.1s; }

/* ───────────────────────── INTEGRATIONS GRID ───────────────────────── */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.int-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.int-logo { width: 46px; height: 46px; border-radius: var(--r-lg); background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; letter-spacing: 0.02em; flex-shrink: 0; }
.int-logo.alt { background: var(--teal); }
.int-name { font-size: 16px; font-weight: 500; color: var(--navy); }
.int-cat { font-size: 12px; color: var(--slate-light); margin-bottom: 6px; }
.int-desc { font-size: 13.5px; line-height: 1.6; margin-bottom: 10px; }

/* ───────────────────────── SOLUTION SECTIONS ───────────────────────── */
.solution { padding: 104px 0; border-top: 1px solid var(--border); scroll-margin-top: calc(var(--nav-h) + 56px); }
.solution:first-child { border-top: 0; }
.solution-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.solution-grid.reverse .solution-copy { order: 2; }
.solution-copy .big-num { font-family: var(--font-display); font-size: 96px; line-height: 0.8; color: rgba(11,61,145,0.07); margin-bottom: 12px; user-select: none; }
.solution-copy h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.solution-copy > p { font-size: 16.5px; line-height: 1.75; margin-bottom: 28px; }
.ai-note { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 18px 20px; margin-bottom: 28px; }
.ai-note .icon-tile { width: 36px; height: 36px; }
.ai-note .icon-tile svg { width: 18px; height: 18px; }
.ai-note .k { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.ai-note p { font-size: 14px; line-height: 1.6; }
.included { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-card); }
.included-head { background: var(--navy); padding: 26px 30px; display: flex; gap: 16px; align-items: center; }
.included-head .t { font-size: 17px; font-weight: 500; color: #fff; }
.included-head .s { font-size: 12.5px; color: rgba(255,255,255,0.55); }
.included-body { padding: 28px 30px 30px; }
.included-body .label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 16px; }
.included-body .check-list li { font-size: 14.5px; }
.outcome { margin-top: 24px; display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border-left: 3px solid var(--teal); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 14px 16px; font-size: 14px; color: var(--navy); line-height: 1.55; }
.outcome .k { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 2px; }

.featured-solution { background: var(--navy); border-radius: var(--r-3xl); padding: 56px; position: relative; overflow: hidden; color: rgba(255,255,255,0.68); }
.featured-solution::before { content: ''; position: absolute; top: -200px; right: -150px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,163,163,0.18), transparent 68%); }
.featured-solution > * { position: relative; }
.featured-solution .eyebrow { color: var(--teal-light); }
.fs-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.fs-grid h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.fs-grid h2 em { color: var(--teal-light); }
.fs-items { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fs-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-xl); padding: 20px; transition: all var(--transition); }
.fs-item:hover { border-color: rgba(0,200,200,0.45); }
.fs-item h4 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.fs-item p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.6); }
.deliverables { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.deliverables .label { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border-radius: var(--r-full); font-size: 13px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.chip.light { background: var(--white); border-color: var(--border); color: var(--navy); }

/* Timeline steps (onboarding / roadmap) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; top: 23px; left: 24px; right: 24px; height: 1px; background: rgba(255,255,255,0.15); }
.timeline.light::before { background: var(--border-strong); }
.t-step { position: relative; padding-right: 28px; }
.t-step .t-dot { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; background: var(--navy-deep); border: 1px solid rgba(255,255,255,0.18); color: var(--teal-light); margin-bottom: 24px; position: relative; z-index: 1; }
.timeline.light .t-dot { background: var(--cream); border-color: var(--border-strong); color: var(--teal); }
.t-step.active .t-dot { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 0 0 6px rgba(0,163,163,0.15); }
.t-step h4 { font-size: 17px; margin-bottom: 8px; }
.bg-navy .t-step h4, .bg-navy-deep .t-step h4 { color: #fff; }
.t-step p { font-size: 14px; line-height: 1.65; }
.t-step .pill { margin-bottom: 12px; }
.t-step ul { margin-top: 12px; }

/* Persona cards */
.persona h4 { margin: 18px 0 8px; }
.persona .quote { font-family: var(--font-display); font-style: italic; color: var(--navy); font-size: 17px; line-height: 1.45; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ───────────────────────── PRICING ───────────────────────── */
.billing-toggle { display: inline-flex; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-full); padding: 4px; gap: 4px; }
.billing-toggle button { padding: 9px 22px; border-radius: var(--r-full); font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.65); transition: all var(--transition); }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.billing-toggle button .save { font-size: 11px; font-weight: 500; color: var(--teal-light); background: rgba(0,163,163,0.2); padding: 2px 8px; border-radius: var(--r-full); margin-left: 8px; }
.billing-toggle button[aria-pressed="true"] .save { color: var(--teal); background: var(--teal-bg); }
.light-toggle .billing-toggle { background: var(--white); border-color: var(--border); }
.light-toggle .billing-toggle button { color: var(--slate); }
.light-toggle .billing-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-3xl); padding: 40px 34px; position: relative; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); box-shadow: var(--shadow-card); }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(11,61,145,0.12); }
.price-card.featured { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,0.68); }
.price-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; padding: 5px 16px; border-radius: var(--r-full); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.price-tier { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.featured .price-tier { color: var(--teal-light); }
.price { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--navy); display: flex; align-items: baseline; gap: 2px; }
.price .cur { font-size: 26px; align-self: flex-start; margin-top: 5px; margin-right: 2px; }
.featured .price { color: #fff; }
.price-period { font-size: 14px; color: var(--slate-light); margin: 6px 0 18px; min-height: 21px; }
.featured .price-period { color: rgba(255,255,255,0.5); }
.price-quote { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--navy); margin-bottom: 20px; }
.featured .price-quote { color: var(--teal-light); }
.price-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.featured .price-divider { background: rgba(255,255,255,0.12); }
.price-desc { font-size: 14.5px; line-height: 1.65; margin-bottom: 24px; }
.price-card .check-list { margin-bottom: 32px; flex: 1; }
.price-card .check-list li { font-size: 14.5px; }
.featured .check-list li { color: rgba(255,255,255,0.82); }
.featured .check-list li::before { background-color: rgba(0,163,163,0.28); }
.price-card .btn { width: 100%; }
.featured .btn-secondary { background: var(--teal); border-color: var(--teal); color: #fff; }
.featured .btn-secondary:hover { background: var(--teal-light); border-color: var(--teal-light); }
.price-note { text-align: center; font-size: 13px; color: var(--slate-light); margin-top: 32px; }
.price-amount { display: inline-block; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.price-amount.swap { opacity: 0; transform: translateY(-6px); }

.ptable { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl); overflow: hidden; }
.ptable table { width: 100%; border-collapse: collapse; min-width: 640px; table-layout: fixed; }
.ptable th:first-child { width: 40%; }
.ptable th, .ptable td { padding: 15px 22px; font-size: 14px; text-align: center; border-bottom: 1px solid rgba(11,61,145,0.06); }
.ptable thead th { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); background: var(--white); position: sticky; top: 0; }
.ptable thead th.hl { background: var(--navy); color: #fff; }
.ptable th:first-child, .ptable td:first-child { text-align: left; color: var(--navy); }
.ptable td.hl { background: rgba(11,61,145,0.035); }
.ptable .group td { background: var(--cream); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); text-align: left; padding: 12px 22px; }
.ptable .lbl { font-size: 13px; color: var(--slate); }
.ptable .lbl.strong { color: var(--teal); font-weight: 500; }
.ptable .dash { color: var(--slate-light); }

.addon h4 { margin: 18px 0 4px; }
.addon .addon-price { font-size: 14px; font-weight: 500; color: var(--teal); margin-bottom: 12px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); transition: border-color var(--transition), box-shadow var(--transition); }
.faq details[open] { border-color: rgba(0,163,163,0.45); box-shadow: var(--shadow-card-hover); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 16px; font-weight: 500; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-bg); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform var(--transition), background var(--transition); }
.faq summary .plus svg { width: 12px; height: 12px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq .answer { padding: 0 26px 24px; font-size: 15px; line-height: 1.75; max-width: 70ch; }
.faq .answer a { color: var(--teal); }

/* ───────────────────────── TEAM / COMPANY ───────────────────────── */
.mission { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-3xl); padding: 64px; position: relative; overflow: hidden; }
.mission::after { content: ''; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 48px solid rgba(0,163,163,0.06); }
.mission blockquote { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); line-height: 1.22; color: var(--navy); max-width: 26ch; margin-bottom: 24px; position: relative; }
.mission blockquote em { color: var(--teal); }
.mission > p { font-size: 17px; line-height: 1.75; max-width: 62ch; position: relative; }
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--border); position: relative; }
.values-row > div { padding: 28px 28px 0 0; }
.values-row > div + div { padding-left: 28px; border-left: 1px solid var(--border); }
.values-row h4 { margin-bottom: 8px; font-size: 16px; }
.values-row p { font-size: 14px; line-height: 1.65; }

.founder { display: grid; grid-template-columns: 340px 1fr; gap: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-3xl); overflow: hidden; box-shadow: var(--shadow-card); }
.founder-side { background: var(--navy); padding: 44px 36px; color: rgba(255,255,255,0.68); position: relative; overflow: hidden; }
.founder-side::after { content: ''; position: absolute; left: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(0,163,163,0.12); }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--navy-deep)); color: #fff; font-family: var(--font-display); font-size: 36px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; border: 3px solid rgba(255,255,255,0.15); }
.founder-side .name { font-family: var(--font-display); font-size: 30px; color: #fff; line-height: 1.1; }
.founder-side .role { font-size: 14px; color: var(--teal-light); font-weight: 500; margin: 6px 0 24px; }
.cred-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; position: relative; z-index: 1; }
.cred-tags span { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--r-full); background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
.cred-tags span.t { background: rgba(0,163,163,0.2); color: var(--teal-light); }
.founder-side .li-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 13px; text-decoration: none; position: relative; z-index: 1; transition: color var(--transition); }
.founder-side .li-link:hover { color: #fff; }
.founder-side .li-link svg { width: 16px; height: 16px; }
.founder-main { padding: 44px 48px; }
.founder-main h4 { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.founder-main p { font-size: 15.5px; line-height: 1.8; margin-bottom: 16px; }
.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.expertise > div { background: var(--cream); border-radius: var(--r-lg); padding: 16px 18px; }
.expertise .t { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.expertise .d { font-size: 13px; line-height: 1.55; }

.discipline { text-align: left; }
.discipline h4 { margin: 18px 0 8px; }

/* ───────────────────────── INVESTORS ───────────────────────── */
.thesis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-2xl); overflow: hidden; }
.thesis > div { background: var(--white); padding: 36px 32px; }
.thesis .k { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--teal); margin-bottom: 14px; }
.thesis h4 { margin-bottom: 8px; }
.thesis p { font-size: 14.5px; line-height: 1.7; }

.quad-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.quad { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin: 0 auto; }
.quad-grid { position: absolute; inset: 0 0 36px 36px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.quad-cell { border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--border); padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.quad-cell .qt { font-size: 14px; font-weight: 500; color: var(--navy); line-height: 1.3; }
.quad-cell .qs { font-size: 12px; color: var(--slate-light); line-height: 1.45; margin-top: 4px; }
.quad-cell.us { background: var(--navy); border-color: var(--navy); position: relative; overflow: hidden; }
.quad-cell.us::before { content: ''; position: absolute; top: -50px; right: -50px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(0,163,163,0.4), transparent 70%); }
.quad-cell.us img { width: 34px; height: 34px; margin-bottom: auto; position: relative; }
.quad-cell.us .qt { color: #fff; font-size: 16px; position: relative; }
.quad-cell.us .qs { color: rgba(255,255,255,0.6); position: relative; }
.quad-axis-y { position: absolute; left: 0; top: 0; bottom: 36px; width: 28px; display: flex; align-items: center; justify-content: center; }
.quad-axis-y span { transform: rotate(-90deg); white-space: nowrap; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-light); }
.quad-axis-x { position: absolute; left: 36px; right: 0; bottom: 0; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-light); }
.quad-axis-y::before, .quad-axis-x::before { content: ''; position: absolute; background: var(--border-strong); }
.quad-axis-y::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.quad-axis-x::before { top: 50%; left: 0; right: 0; height: 1px; }
.quad-axis-y span, .quad-axis-x span { background: var(--cream); padding: 0 8px; position: relative; }
.bg-white .quad-axis-y span, .bg-white .quad-axis-x span { background: var(--white); }

.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model-card .tier-list { margin-top: 18px; border-top: 1px solid var(--border); }
.model-card .tier-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(11,61,145,0.06); font-size: 14px; color: var(--navy); }
.model-card .tier-list li span { color: var(--slate); font-family: var(--font-mono); font-size: 13px; }
.expand { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.expand .ex { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 16px 22px; text-align: center; min-width: 170px; }
.expand .ex .t { font-size: 15px; font-weight: 500; color: var(--navy); }
.expand .ex .s { font-size: 12.5px; color: var(--slate-light); }
.expand .ex.hl { background: var(--navy); border-color: var(--navy); }
.expand .ex.hl .t { color: #fff; }
.expand .ex.hl .s { color: rgba(255,255,255,0.55); }
.expand .arrow { width: 56px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 10px); position: relative; }
.expand .arrow::after { content: ''; position: absolute; right: -2px; top: -4px; border-left: 7px solid var(--teal); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

.why-now { counter-reset: wn; }
.why-now .card { padding: 28px 28px 30px; }
.why-now .card::before { counter-increment: wn; content: '0' counter(wn); display: block; font-family: var(--font-display); font-size: 15px; color: var(--teal); margin-bottom: 14px; }
.why-now h4 { margin-bottom: 8px; }

.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.roadmap::before { content: ''; position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: linear-gradient(90deg, var(--teal) 0 18%, var(--border-strong) 18% 100%); }
.rm-phase { position: relative; padding-top: 64px; }
.rm-phase .rm-dot { position: absolute; top: 20px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); border: 2px solid var(--border-strong); }
.rm-phase.now .rm-dot { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 6px rgba(0,163,163,0.15); animation: pulseRing 2.4s var(--ease) infinite; }
.rm-phase .card { padding: 26px; height: 100%; }
.rm-phase .phase { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rm-phase h4 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.15; margin-bottom: 14px; }
.rm-phase .dot-list li { font-size: 13.5px; }

/* ───────────────────────── CTA BAND ───────────────────────── */
.cta-band { text-align: center; padding: 120px 0; }
.cta-band h2 { max-width: 16ch; margin: 0 auto 20px; }
.cta-band .lead { margin: 0 auto 44px; max-width: 540px; }
.cta-band .btn-row { justify-content: center; }
.inline-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-md); padding: 6px; }
.inline-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: inherit; font-size: 15px; font-weight: 300; padding: 10px 12px; }
.inline-form input::placeholder { color: rgba(255,255,255,0.4); }
.inline-form .btn { padding: 11px 22px; }
.form-hint { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 14px; }
.form-hint a { color: var(--teal-light); }

/* ───────────────────────── FORMS ───────────────────────── */
.form-card { color: var(--slate); background: var(--white); border: 1px solid var(--border); border-radius: var(--r-3xl); padding: 40px; box-shadow: var(--shadow-card); }
.form-card h3, .bg-navy .form-card h3 { font-size: 28px; margin-bottom: 6px; color: var(--navy); }
.form-card .sub { font-size: 14.5px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 13px; font-weight: 500; color: var(--navy); }
.field label .opt { font-weight: 300; color: var(--slate-light); font-size: 12px; }
.input, .field input, .field select, .field textarea {
  width: 100%; background: var(--white); border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  padding: 12px 14px; font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-light); font-weight: 300; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,163,163,0.10); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%230B3D91' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; }
.radio-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; font-weight: 400; color: var(--navy); cursor: pointer; transition: all var(--transition); }
.radio-card label::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-strong); flex-shrink: 0; transition: all var(--transition); }
.radio-card input:checked + label { border-color: var(--teal); background: rgba(0,163,163,0.05); }
.radio-card input:checked + label::before { border: 5px solid var(--teal); }
.radio-card input:focus-visible + label { outline: 2px solid var(--teal); outline-offset: 2px; }
.form-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.form-legal { font-size: 12px; color: var(--slate-light); }
.form-legal a { color: var(--slate); }
.form-success { display: none; text-align: center; padding: 32px 8px; }
.form-success.show { display: block; animation: fadeInUp 0.5s var(--ease) both; }
.form-success .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-bg); color: var(--teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success .ok svg { width: 24px; height: 24px; }
.form-success h3 { font-size: 26px; margin-bottom: 8px; }
.form-error { display: none; font-size: 13px; color: var(--danger); }
.form-error a { color: var(--teal); font-weight: 500; white-space: nowrap; }
.bg-navy .form-error { color: #FF9B9A; }
.radio-cards .radio-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.form-error.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.next-steps { list-style: none; display: flex; flex-direction: column; gap: 18px; margin: 32px 0 40px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps .n { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-bg); color: var(--teal); font-size: 12px; font-weight: 500; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.next-steps p { font-size: 15px; line-height: 1.6; }
.contact-direct { border-top: 1px solid var(--border); padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 400; transition: color var(--transition); }
.contact-direct a:hover { color: var(--teal); }
.contact-direct svg { width: 18px; height: 18px; color: var(--teal); }

/* ───────────────────────── LEGAL PAGES ───────────────────────── */
.legal { max-width: 760px; margin: 0 auto; }
.legal .updated { font-size: 13px; color: var(--slate-light); margin-bottom: 40px; }
.legal h2 { font-family: var(--font-body); font-size: 19px; font-weight: 500; letter-spacing: 0; color: var(--navy); margin: 40px 0 12px; line-height: 1.3; }
.legal p, .legal li { font-size: 16px; line-height: 1.8; margin-bottom: 14px; }
.legal ul { padding-left: 4px; }
.legal a { color: var(--teal); }

/* ───────────────────────── FOOTER ───────────────────────── */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.55); padding: 80px 0 40px; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; right: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; border: 72px solid rgba(255,255,255,0.025); pointer-events: none; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; position: relative; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 34ch; margin-bottom: 20px; }
.footer-brand a.mail { color: var(--teal-light); font-size: 14px; text-decoration: none; }
.footer-brand a.mail:hover { text-decoration: underline; }
.footer-col h5 { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-note { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.35); border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; margin-bottom: 20px; position: relative; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.35); position: relative; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }
.social { display: flex; gap: 10px; margin-top: 4px; }
.social a { width: 36px; height: 36px; border-radius: var(--r-md); background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all var(--transition); }
.social a:hover { background: var(--teal); color: #fff; }
.social svg { width: 16px; height: 16px; }

/* ───────────────────────── TOAST ───────────────────────── */
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 400; background: var(--navy); color: #fff; padding: 14px 20px; border-radius: var(--r-lg); font-size: 14px; box-shadow: 0 8px 32px rgba(11,61,145,0.3); display: flex; align-items: center; gap: 10px; max-width: 340px; transform: translateY(100px); opacity: 0; transition: all 0.4s var(--ease); }
.toast.show { transform: none; opacity: 1; }
.toast svg { width: 16px; height: 16px; color: var(--teal-light); flex-shrink: 0; }

/* ───────────────────────── 404 ───────────────────────── */
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 40px) var(--page-px) 80px; }
.notfound .big { font-family: var(--font-display); font-size: clamp(120px, 20vw, 220px); line-height: 0.9; color: var(--navy); letter-spacing: -0.04em; }
.notfound .big em { color: var(--teal); }

/* ───────────────────────── REVEAL ───────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal-fade { opacity: 0; transition: opacity 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-fade.in-view { opacity: 1; }
.js .hero-in > * { opacity: 0; animation: fadeInUp 0.8s var(--ease) both; }
.js .hero-in > *:nth-child(1) { animation-delay: 0.05s; }
.js .hero-in > *:nth-child(2) { animation-delay: 0.15s; }
.js .hero-in > *:nth-child(3) { animation-delay: 0.25s; }
.js .hero-in > *:nth-child(4) { animation-delay: 0.35s; }
.js .hero-in > *:nth-child(5) { animation-delay: 0.45s; }
.js .hero-in > *:nth-child(6) { animation-delay: 0.55s; }
.js .hero-visual.enter { animation: fadeInRight 0.9s var(--ease) both 0.25s; }

/* ───────────────────────── KEYFRAMES ───────────────────────── */
@keyframes fadeIn     { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut    { from { opacity: 1; } to { opacity: 0; } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight{ from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes slideIn    { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes slideInR   { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes popIn      { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes pulse      { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.82); } }
@keyframes float      { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes barRise    { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes blink      { 50% { opacity: 0; } }
@keyframes marquee    { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dash       { to { stroke-dashoffset: -18; } }
@keyframes draw       { to { stroke-dashoffset: 0; } }
@keyframes ring       { 0% { opacity: 0.9; transform: scale(0.92); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes pulseRing  { 0% { box-shadow: 0 0 0 0 rgba(0,163,163,0.35); } 70% { box-shadow: 0 0 0 12px rgba(0,163,163,0); } 100% { box-shadow: 0 0 0 0 rgba(0,163,163,0); } }
@keyframes typingDot  { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes progress   { from { width: 0; } to { width: 100%; } }
@keyframes flowX      { to { background-position: 24px 0; } }
@keyframes packet     { 0% { left: 8px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 16px); opacity: 0; } }
@keyframes docA       { from { opacity: 0; transform: translateX(-30px) rotate(-8deg); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes docB       { from { opacity: 0; transform: translateX(30px) rotate(8deg); } to { opacity: 1; transform: rotate(3deg); } }
@keyframes matchIn    { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ───────────────────────── CONFIDENCE (HUMAN-VERIFIED AI) ───────────────────────── */
.conf { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl); box-shadow: var(--shadow-float); padding: 24px 26px; max-width: 520px; margin: 0 auto; }
.conf .dash-head { margin-bottom: 6px; }
.conf-row { display: grid; grid-template-columns: 1fr 110px 96px; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid rgba(11,61,145,0.06); }
.conf .dash-head + .conf-row { border-top: 0; }
.conf-row .t { font-size: 13.5px; color: var(--navy); font-weight: 400; }
.conf-row .s { font-size: 12px; color: var(--slate-light); }
.conf-row .pill { justify-self: end; }
.meter { height: 6px; border-radius: 3px; background: rgba(11,61,145,0.08); overflow: hidden; position: relative; }
.meter span { display: block; height: 100%; width: var(--v); background: var(--teal); border-radius: 3px; }
.meter.low span { background: var(--warning); }
.js .conf .meter span { width: 0; transition: width 1.1s var(--ease); }
.js .in-view .conf .meter span { width: var(--v); }
.js .in-view .conf .conf-row:nth-of-type(2) .meter span { transition-delay: .1s; }
.js .in-view .conf .conf-row:nth-of-type(3) .meter span { transition-delay: .2s; }
.js .in-view .conf .conf-row:nth-of-type(4) .meter span { transition-delay: .3s; }
.js .in-view .conf .conf-row:nth-of-type(5) .meter span { transition-delay: .4s; }
.js .in-view .conf .conf-row:nth-of-type(6) .meter span { transition-delay: .5s; }
.conf-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--slate); }
.conf-foot b { font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--navy); margin-right: 2px; }

/* ───────────────────────── HOME — PLATFORM SHOWCASE ───────────────────────── */
.showcase { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: center; }
.sc-list { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.sc-list [role="tablist"] { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.sc-tab {
  position: relative; overflow: hidden; display: flex; gap: 16px; align-items: flex-start; width: 100%;
  text-align: left; padding: 18px 20px; border-radius: var(--r-xl); border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.sc-tab:hover { background: rgba(11,61,145,0.03); }
.sc-tab[aria-selected="true"] { background: var(--cream); border-color: var(--border); }
.sc-num { font-family: var(--font-display); font-size: 18px; line-height: 1.45; color: var(--slate-light); transition: color var(--transition); }
.sc-tab[aria-selected="true"] .sc-num { color: var(--teal); }
.sc-body, .sc-title, .sc-desc { display: block; }
.sc-title { font-size: 17px; font-weight: 500; color: var(--slate); transition: color var(--transition); }
.sc-tab:hover .sc-title, .sc-tab[aria-selected="true"] .sc-title { color: var(--navy); }
.sc-desc { font-size: 14.5px; line-height: 1.6; color: var(--slate); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .35s var(--ease); }
.sc-tab[aria-selected="true"] .sc-desc { max-height: 120px; opacity: 1; margin-top: 6px; }
.sc-tab .t-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--teal); }
.sc-tab[aria-selected="true"] .t-progress.run { animation: progress var(--tab-ms, 9000ms) linear both; }
.sc-panels .sc-panel { background: none; border: 0; padding: 0; min-height: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.sc-panels .stage {
  width: 100%; min-height: 600px; padding: 32px; border-radius: var(--r-3xl);
  background: var(--cream); border: 1px solid var(--border); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.sc-panels .recon, .sc-panels .pack { transform: scale(1.18); }
.sc-panels .scenario .runway-big { font-size: 44px; }
.sc-panels .scenario .line-chart { height: 64px !important; }
.sc-panels .scenario .control { margin-bottom: 12px; }
.trust-head .s a { color: var(--teal); font-weight: 500; text-decoration: none; margin-left: 6px; white-space: nowrap; }
.trust-head .s a:hover { color: var(--navy); }

/* ───────────────────────── HOME — TRUST STRIP ───────────────────────── */
.trust-strip { background: var(--cream); padding: 44px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.trust-head { display: flex; align-items: center; gap: 14px; }
.trust-head .t { font-size: 16px; font-weight: 500; color: var(--navy); }
.trust-head .s { font-size: 13.5px; color: var(--slate); }
.trust-items { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.trust-items li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--navy); }
.trust-items li::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.2 2.2L8 3' fill='none' stroke='%2300A3A3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
}

/* ───────────────────────── FOUNDER PHOTO ───────────────────────── */
.avatar-photo { display: block; width: 152px; height: 152px; border-radius: 50%; object-fit: cover; background: #E8E8E6; border: 4px solid rgba(255,255,255,0.14); margin-bottom: 24px; position: relative; z-index: 1; }
.avatar-photo.sm { width: 76px; height: 76px; margin: 0; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--border-strong); }

/* ───────────────────────── RESPONSIVE ───────────────────────── */
@media (max-width: 1180px) {
  .nav-demo { display: none; }
}

@media (max-width: 1100px) {
  .nav-links { gap: 24px; }
  .hero-grid { gap: 48px; }
  .feature-row { gap: 56px; }
  .arch { grid-template-columns: 1fr 44px 1.25fr 44px 1fr; }
}

@media (max-width: 960px) {
  :root { --section-py: 88px; }
  .nav-links, .nav-actions .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: calc(var(--nav-h) + 48px) 0 72px; }
  .hero-grid, .grid-2, .feature-row, .cap-wrap, .tabs-wrap, .sec-grid, .solution-grid, .fs-grid, .quad-wrap, .contact-grid, .section-head-split { grid-template-columns: 1fr; gap: 48px; }
  .feature-row.reverse .feature-copy, .solution-grid.reverse .solution-copy { order: 0; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .cap-wrap .sticky { position: static; }
  .grid-3, .int-grid, .model-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .thesis { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .timeline, .roadmap { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .timeline::before, .roadmap::before { display: none; }
  .founder { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr; }
  .values-row > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .values-row > div { padding: 24px 0; }
  .arch { grid-template-columns: 1fr; gap: 0; }
  .arch-flow { height: 52px; }
  .arch-flow::before { left: 50%; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(0,163,163,0.45) 0 6px, transparent 6px 12px); }
  .arch-flow::after { right: auto; left: calc(50% - 5px); top: auto; bottom: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--teal); border-bottom: 0; }
  .arch-flow .packet { display: none; }
  .tab-panel { min-height: 0; }
  .showcase { grid-template-columns: 1fr; gap: 24px; }
  .sc-panels .stage { min-height: 0; padding: 32px 16px; }
  .sc-panels .recon { transform: none; }
  .conviction { grid-template-columns: 1fr; padding: 40px 32px; gap: 8px; }
  .featured-solution { padding: 40px 28px; }
  .mission { padding: 44px 32px; }
}

@media (max-width: 640px) {
  :root { --section-py: 72px; --page-px: 20px; }
  .section-head { margin-bottom: 44px; }
  .grid-3, .grid-4, .int-grid, .model-grid, .steps-grid, .fs-items, .sec-items, .expertise, .form-grid, .radio-cards { grid-template-columns: 1fr; }
  .timeline, .roadmap { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-visual { padding: 24px 0 32px; }
  .ai-feed { display: none; }
  .float-chip.chip-tr { right: 0; }
  .float-chip.chip-bl { bottom: 0; right: auto; left: 12px; }
  .status-pill { font-size: 12px; padding: 6px 12px 6px 6px; gap: 8px; }
  .status-pill .long { display: none; }
  .kpi-value { font-size: 24px; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .strip-inner { flex-direction: column; align-items: stretch; gap: 16px; text-align: center; }
  .strip-divider { display: none; }
  .feature-visual .stage { padding: 28px 14px; min-height: 0; }
  .recon { height: 290px; }
  .scenario { padding: 18px 18px 20px; }
  .scenario-top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .runway-delta { text-align: left; }
  .chart-legend .opt-m { display: none; }
  .doc { width: 160px; padding: 12px; }
  .doc .doc-amt { font-size: 18px; }
  .pack .sheet { width: 250px; }
  .pack .sheet.back1 { left: 40px; } .pack .sheet.back2 { left: 20px; }
  .form-card { padding: 28px 22px; }
  .founder-main { padding: 32px 24px; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { width: 100%; }
  .expand .arrow { width: 2px; height: 28px; background: repeating-linear-gradient(180deg, var(--teal) 0 6px, transparent 6px 10px); }
  .expand .arrow::after { right: -4px; top: auto; bottom: -2px; border-top: 7px solid var(--teal); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 0; }
  .expand { flex-direction: column; }
  .entities { grid-template-columns: 1fr; }
  .conf-row { grid-template-columns: 1fr 84px; }
  .conf-row .meter { display: none; }
  .compare-legend { justify-content: flex-start; }
  .page-hero { padding: 64px 0 72px; }
  .step-body { padding: 24px; }
  .conviction .quote-mark { font-size: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none !important; }
}
