/* =========================================================
   Ellis — autonomous claims, clean institutional design
   Design system + page styles
   ========================================================= */

:root {
  --bg: #f0f2f5;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --ink: #1a202c;
  --ink-soft: #2d3748;
  --muted: #718096;
  --muted-2: #a0aec0;
  --border: #e2e8f0;
  --border-strong: #cbd5e0;
  --accent: #00d166;
  --accent-dark: #003b26;
  --accent-soft: #f0fdf4;
  --ok: #003b26;
  --warn: #92400e;
  --danger: #c53030;
  --shadow-sm: 0 1px 2px rgba(0,59,38,0.04), 0 1px 3px rgba(0,59,38,0.04);
  --shadow-md: 0 4px 32px rgba(0,59,38,0.08);
  --radius: 0px;
  --radius-lg: 0px;
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --font-serif: "Tenor Sans", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", "Fira Code", SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
img, svg { display: block; max-width: 100%; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.18; }
h3 { font-size: 1.18rem; line-height: 1.3; }
h4 { font-size: 1rem; line-height: 1.3; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lede { font-size: 1.18rem; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1.2rem;
}
.eyebrow--muted { color: var(--muted); }
.kicker {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.muted { color: var(--muted); }
.serif { font-family: var(--font-serif); }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; border-top: 1px solid var(--border); }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--accent-dark); color: #f0fdf4; }
.section--ink p, .section--ink .muted { color: rgba(255,255,255,0.65); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #ffffff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--accent-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: rgba(255,255,255,0.12); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.nav__brand {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__brand:hover { text-decoration: none; }
.nav__dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}
.nav__links a { padding: 6px 0; color: rgba(255,255,255,0.65); transition: color 0.15s; }
.nav__links a:hover { color: #ffffff; text-decoration: none; }
.nav__links a.is-active { color: var(--accent); }
.nav__cta { display: inline-flex; align-items: center; gap: 12px; }

/* ---------- Platform dropdown ---------- */
.nav__dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__dropdown-trigger {
  padding: 6px 0;
  color: rgba(255,255,255,0.65);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.92rem;
  font-weight: 500;
  user-select: none;
  transition: color 0.15s;
}
.nav__dropdown-trigger:hover { color: #ffffff; }
.nav__dropdown-trigger.is-active { color: var(--accent); }
.nav__dropdown-trigger svg { width: 10px; height: 7px; opacity: 0.7; transition: transform 0.15s; }
.nav__dropdown:hover .nav__dropdown-trigger svg { transform: rotate(180deg); }
/* Invisible bridge so hover doesn't drop when mouse moves from trigger to menu */
.nav__dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  background: var(--accent-dark);
  border: 1px solid rgba(255,255,255,0.14);
  min-width: 236px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 100;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__dropdown-menu a {
  display: block;
  padding: 11px 18px;
  color: rgba(255,255,255,0.72);
  font-size: 0.87rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.12s, background 0.12s;
}
.nav__dropdown-menu a:last-child { border-bottom: none; }
.nav__dropdown-menu a:hover { color: #ffffff; background: rgba(255,255,255,0.06); text-decoration: none; }
.nav__dropdown-menu a.is-active { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent-dark); color: #ffffff; border-color: var(--accent-dark); }
.btn--primary:hover { background: var(--accent); color: var(--accent-dark); border-color: var(--accent); }
.btn--ghost { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.35); }
.btn--ghost:hover { background: rgba(255,255,255,0.10); }
.btn--secondary { background: #ffffff; color: var(--accent-dark); border-color: var(--accent-dark); }
.btn--secondary:hover { background: var(--accent); color: var(--accent-dark); border-color: var(--accent); }
.btn--sm { padding: 8px 14px; font-size: 0.85rem; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 80px; border-top: 1px solid transparent; background: var(--bg-alt); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.hero__visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 20px;
}
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card__num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--ink);
}
.card__body { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }
.card__punch {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--accent-dark);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------- Support points (4-up) ---------- */
.support {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.support__item h4 { margin-bottom: 6px; }
.support__item p { font-size: 0.9rem; margin: 0; color: var(--muted); }
.support__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.stat {
  padding: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat:nth-child(2n) { border-right: none; }
.stat:nth-last-child(-n+2) { border-bottom: none; }
.stat__num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent-dark);
  margin-bottom: 8px;
}
.stat__label { font-size: 0.85rem; color: var(--muted); }

/* ---------- Quotes / pilot signals ---------- */
.pilots { display: flex; flex-direction: column; gap: 16px; }
.pilot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 22px 24px;
  border-radius: var(--radius);
}
.pilot__quote {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.55;
}
.pilot__attr {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- Two-up grid ---------- */
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ---------- Integration touchpoints section ---------- */
.int-tgl {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  vertical-align: middle;
}
.int-tgl__half {
  width: 19px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted-2);
  line-height: 1;
}
.int-tgl--on .int-tgl__on { background: var(--accent); color: var(--accent-dark); }
.int-tgl--off .int-tgl__off { background: var(--bg); }

.int-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.int-grid__head {
  background: var(--surface);
  padding: 20px 16px 18px;
  border-bottom: 1px solid var(--border);
}
.int-grid__opts {
  background: var(--surface);
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.int-grid__step {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.int-grid__name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.22;
  margin-bottom: 7px;
}
.int-grid__desc {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.44;
}
.int-grid__opt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}
.int-grid__opt--on { color: var(--ink-soft); font-weight: 500; }

.int-poc {
  margin-top: 1px;
  padding: 22px 24px;
  background: var(--accent-soft);
  border: 1px solid rgba(0,59,38,0.12);
}
.int-poc__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.int-poc__desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.int-poc__items {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.int-poc__item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.int-poc__item .int-tgl { margin-top: 2px; }
.int-poc__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 2px;
}
.int-poc__text {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .int-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Steps (4-step row) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.step {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-right: none; }
.step__num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.step__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.step__body { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent-dark);
  color: #f0fdf4;
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn--primary {
  background: var(--accent);
  color: var(--accent-dark);
  border-color: var(--accent);
}
.cta-band .btn--primary:hover { background: #ffffff; border-color: #ffffff; color: var(--accent-dark); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand-col p { color: rgba(255,255,255,0.45); font-size: 0.88rem; max-width: 28ch; }
.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer ul a:hover { color: #ffffff; text-decoration: none; }
.footer .nav__brand { color: #ffffff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ---------- Diagram: ACE flow on home ---------- */
.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 16px 0 8px;
}
.flow__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: center;
}
.flow__node {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}
.flow__node--ace {
  background: var(--accent-dark);
  color: #ffffff;
  border-color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: 0.95rem;
}
.flow__arrow {
  font-size: 0.9rem;
  color: var(--muted-2);
  text-align: center;
}

/* ── Hero V1: Stage spotlight ────────────────────────── */
.hv1-row { display: flex; align-items: stretch; }
.hv1-card { flex: 1; min-width: 0; padding: 14px 14px 12px; border: 1px solid var(--border); border-right: none; background: var(--surface); transition: background .4s, border-color .4s; }
.hv1-card:last-child { border-right: 1px solid var(--border); }
.hv1-card.is-active { background: var(--accent-dark); border-color: var(--accent-dark); }
.hv1-num { font-family: var(--font-mono); font-size: .57rem; color: var(--muted-2); margin-bottom: 5px; transition: color .4s; }
.hv1-card.is-active .hv1-num { color: rgba(255,255,255,.45); }
.hv1-lbl { font-size: .78rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.hv1-card.is-active .hv1-lbl { color: #fff; }
.hv1-hint { font-size: .62rem; color: var(--muted-2); margin-top: 7px; line-height: 1.45; opacity: 0; transform: translateY(3px); transition: opacity .4s, transform .4s, color .4s; }
.hv1-card.is-active .hv1-hint { opacity: 1; transform: translateY(0); color: var(--accent); }
.hv1-conn { width: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; }
.hv1-conn::before { content: ''; display: block; width: 100%; height: 1px; background: repeating-linear-gradient(to right, var(--border-strong) 0, var(--border-strong) 3px, transparent 3px, transparent 7px); }
.hv1-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px rgba(0,209,102,.7); position: absolute; top: 50%; margin-top: -3.5px; left: -3.5px; opacity: 0; pointer-events: none; }
@keyframes hv1-travel { 0% { left: -3.5px; opacity: 1; } 88% { left: calc(100% - 3.5px); opacity: 1; } 100% { left: calc(100% - 3.5px); opacity: 0; } }
.hv1-dot.anim { animation: hv1-travel .42s ease-in-out forwards; }
.flow__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 14px;
  text-transform: uppercase;
}
.agent-dots {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  margin-top: 18px;
}
.agent-dots span {
  height: 6px;
  background: #a7f3d0;
  border-radius: 1px;
}
.agent-dots span:nth-child(3n) { background: var(--accent); }
.agent-dots span:nth-child(7n) { background: var(--accent-dark); }

/* ---------- Impossible zone chart ---------- */
.zone {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.zone__chart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.zone__copy h3 { margin-bottom: 16px; }
.zone__copy ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.zone__copy li {
  padding-left: 18px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.zone__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Platform: sticky sub-nav ---------- */
.platform-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
.subnav {
  position: sticky;
  top: 88px;
  font-size: 0.88rem;
  border-left: 1px solid var(--border);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.subnav a {
  color: var(--muted);
  padding: 3px 0;
  border-left: 2px solid transparent;
  margin-left: -22px;
  padding-left: 20px;
  transition: color 0.15s, border-color 0.15s;
}
.subnav a:hover { color: var(--ink); text-decoration: none; }
.subnav a.is-active { color: var(--accent-dark); border-left-color: var(--accent); }
.subnav__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.platform-section {
  scroll-margin-top: 88px;
  padding-bottom: 80px;
  margin-bottom: 80px;
  border-bottom: 1px solid var(--border);
}
.platform-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.platform-section__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.platform-section h2 { margin-bottom: 14px; }
.platform-section .lede { margin-bottom: 36px; }

/* ---------- Integration table ---------- */
.itable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.itable th, .itable td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.itable th {
  background: var(--bg);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.itable td:first-child { font-family: var(--font-serif); font-size: 0.96rem; color: var(--ink); }
.itable tr:last-child td { border-bottom: none; }
.itable .alt { color: var(--muted); font-size: 0.84rem; }

/* ---------- FNOL split-panel visualisation ---------- */
.fnola-wrap {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: start;
}
.fnola-form, .fnola-ai {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px 22px 22px;
}
.fnola-claim-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.fnola-claim-id {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--ink);
}
.fnola-claim-step {
  font-size: 0.68rem;
  color: var(--muted);
}
.fnola-field-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.fnola-upload {
  border: 1.5px dashed var(--border-strong);
  background: var(--bg);
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s, border-style 0.2s;
  overflow: hidden;
}
.fnola-upload--filled {
  border-style: solid;
  border-color: var(--border);
  background: var(--surface);
  justify-content: flex-start;
}
.fnola-upload-idle {
  text-align: center;
  color: var(--muted-2);
  font-size: 0.73rem;
  padding: 20px;
  line-height: 1.5;
  transition: opacity 0.25s;
}
.fnola-upload-file {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.35s;
}
.fnola-file-icon {
  width: 30px;
  height: 38px;
  background: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fnola-file-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
}
.fnola-file-meta {
  font-size: 0.67rem;
  color: var(--muted);
  margin-top: 2px;
  font-family: var(--font-mono);
}
.fnola-verdict {
  margin-top: 12px;
  padding: 9px 13px;
  background: var(--accent-soft);
  border: 1px solid rgba(0,209,102,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--accent-dark);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s, transform 0.4s;
}
.fnola-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: visible;
}
.fnola-connector-track {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--border-strong) 0,
    var(--border-strong) 3px,
    transparent 3px,
    transparent 7px
  );
}
.fnola-moving-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  top: calc(80px - 3px);
  left: 0;
  opacity: 0;
  box-shadow: 0 0 0 3px rgba(0,209,102,0.2);
  transition: opacity 0.2s;
}
.fnola-ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.fnola-ai-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-2);
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.fnola-ai-dot--active {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,209,102,0.22);
  animation: fnola-ping 1.3s ease-in-out infinite;
}
@keyframes fnola-ping {
  0%,100% { box-shadow: 0 0 0 3px rgba(0,209,102,0.22); }
  50%      { box-shadow: 0 0 0 6px rgba(0,209,102,0.06); }
}
.fnola-ai-title {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fnola-ai-idle {
  font-size: 0.73rem;
  color: var(--muted-2);
  padding: 16px 0;
  text-align: center;
  font-style: italic;
}
.fnola-ai-status-line {
  display: none;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.fnola-checks { display: flex; flex-direction: column; gap: 9px; }
.fnola-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s, transform 0.3s, color 0.3s;
}
.fnola-check.is-in  { opacity: 1; transform: translateX(0); color: var(--ink-soft); }
.fnola-check.is-done { color: var(--accent-dark); }
.fnola-check-icon {
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 9px;
  line-height: 1;
  color: transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.fnola-check.is-done .fnola-check-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-dark);
}
.fnola-check-label { flex: 1; }
@media (max-width: 700px) {
  .fnola-wrap { grid-template-columns: 1fr; }
  .fnola-connector { display: none; }
}

/* ---------- Channel tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.tile__label {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}

/* ---------- Decision matrix ---------- */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 720px;
}
.matrix th, .matrix td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}
.matrix th {
  background: var(--bg);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.matrix th:first-child { background: var(--accent-dark); color: #ffffff; }
.matrix td:first-child {
  font-family: var(--font-serif);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.94rem;
}
.matrix tr:last-child td { border-bottom: none; }
.matrix td:last-child, .matrix th:last-child { border-right: none; }
.chip {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 0;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin: 2px 4px 2px 0;
  white-space: nowrap;
}
.chip--ok { background: #e8f5ff; color: #1e40af; }
.chip--warn { background: #fffbeb; color: var(--warn); }
.chip--danger { background: #fff5f5; color: var(--danger); }

/* ---------- Decision summary mock card ---------- */
.decision-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
}
.decision-mock__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.decision-mock__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.decision-mock__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
}
.decision-mock__row:last-child { border-bottom: none; }
.decision-mock__row span:last-child { color: var(--ink); font-family: var(--font-mono); font-size: 0.84rem; }

/* ---------- Follow-up flow mock ---------- */
.followup-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.followup-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.followup-step:last-child { border-bottom: none; }
.followup-step__num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.followup-step__title { font-family: var(--font-serif); margin-bottom: 2px; font-size: 0.98rem; }
.followup-step__body { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* ---------- Calibration loop ---------- */
.calib-loop {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ---------- Security pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.pillar__label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pillar h3 { margin-bottom: 12px; font-size: 1.12rem; }
.pillar p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }

/* ---------- ISMS checklist ---------- */
.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.control {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding: 6px 0;
}
.control__icon {
  width: 16px; height: 16px;
  border: 1.5px solid var(--accent);
  border-radius: 0;
  margin-top: 4px;
  position: relative;
}
.control__icon::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--accent);
  border-radius: 0;
  opacity: 0.6;
}

/* ---------- SLA table ---------- */
.sla {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sla th, .sla td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.sla th {
  background: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sla td:first-child { font-family: var(--font-serif); }
.sla tr:last-child td { border-bottom: none; }

/* ---------- Resources list ---------- */
.resources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.resource {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.resource:last-child { border-bottom: none; }
.resource__name { font-family: var(--font-serif); color: var(--ink); }
.resource__cta { color: var(--accent-dark); font-size: 0.86rem; font-weight: 600; }

/* ---------- Company / founders ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.founder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
}
.founder__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--ink);
}
.founder__name { font-family: var(--font-serif); font-size: 1.32rem; color: var(--ink); margin-bottom: 4px; }
.founder__role {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.founder__bio { font-size: 0.94rem; color: var(--ink-soft); margin: 0 0 16px; }
.founder__creds {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.team-member {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: left;
}
.team-member__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  color: var(--muted);
}
.team-member__name { font-family: var(--font-serif); font-size: 1.02rem; color: var(--ink); }
.team-member__role { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.team-member--placeholder { opacity: 0.5; border-style: dashed; }

/* ---------- Team roster ---------- */
.team-roster {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.team-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.team-row:last-child { border-bottom: none; }
.team-row__avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--muted);
  overflow: hidden;
  flex-shrink: 0;
}
.team-row__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-row__avatar--open {
  border-style: dashed;
  opacity: 0.5;
  font-size: 1.1rem;
  color: var(--muted-2);
}
.team-row__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.team-row__role { font-size: 0.82rem; color: var(--muted); }
.team-row__meta { display: flex; align-items: center; gap: 12px; }
.team-row--open .team-row__name { color: var(--ink-soft); }
.badge--hiring {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 209, 102, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.btn--outline {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}
.btn--outline:hover { background: var(--accent-dark); color: #ffffff; }

/* ---------- Contact form ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
}
.contact-card__name { font-family: var(--font-serif); font-size: 1.1rem; }
.contact-card__role { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.contact-card__line { font-size: 0.92rem; color: var(--ink-soft); }
.contact-card__line a { color: var(--ink); }

.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,209,102,0.12);
}
.form label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  display: block;
}
.form textarea { min-height: 120px; resize: vertical; }
.form__submit { margin-top: 4px; }

/* ---------- Reserved/empty blocks ---------- */
.reserved {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
  background: transparent;
}

/* ---------- Integrations logo band ---------- */
.logo-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.logo-band__label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 18px;
}
.logo-band__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logo-band__track {
  display: flex;
  width: max-content;
  animation: logo-scroll 30s linear infinite;
}
.logo-band__track:hover { animation-play-state: paused; }
.logo-band__set {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 0 28px;
  flex-shrink: 0;
}
.logo-band__logo {
  height: 26px;
  width: auto;
  display: block;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.3s ease;
}
.logo-band__track:hover .logo-band__logo { filter: grayscale(0.2) opacity(0.65); }
.logo-band__logo:hover { filter: grayscale(0) opacity(1) !important; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: 1fr; }
  .support { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step { border-bottom: 1px solid var(--border); }
  .step:nth-last-child(-n+2) { border-bottom: none; }
  .two-up { grid-template-columns: 1fr; }
  .zone { grid-template-columns: 1fr; }
  .platform-layout { grid-template-columns: 1fr; }
  .subnav { position: relative; top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .founders { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 80px 1fr; }
  .founder__avatar { width: 80px; height: 80px; font-size: 1.4rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .controls { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 64px 0; }
  .cards--4, .cards--2 { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .team-row {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
  }
  .team-row__meta { grid-column: 2; }
}
