/* =========================
   DESIGN TOKENS — Tempus.com meets Legora.com
   Light editorial base · one dark photographic moment · restrained palette
   ========================= */
:root {
  --navy: #0A2A5E;
  --navy-2: #112E66;
  --navy-deep: #051636;
  --accent: #206EF3;
  --accent-2: #0642A5;
  --ink: #0E1320;
  --ink-2: #2A2F3D;
  --muted: #58607A;
  --muted-2: #8089A1;
  --line: #E6E9EF;
  --line-2: #DEE2EB;
  --surface: #FFFFFF;
  --cream: #F7F5F0;       /* Legora-style warm neutral */
  --surface-2: #F4F6FA;
  --surface-3: #ECEFF5;
  --maxw: 1240px;
  --readw: 760px;
  --pad-x: 32px;
  --section-y: 132px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.022em; color: var(--ink); font-weight: 700; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* =========================
   HEADER — clean, no shadow, top-line only
   ========================= */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0 var(--pad-x);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex; align-items: center;
  height: 24px;
}
.logo img {
  display: block;
  height: 100%;
  width: auto;
}
.navlinks { display: flex; gap: 32px; }
.navlinks a { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.navlinks a:hover { color: var(--accent); }
.login-link {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  padding: 6px 2px;
  transition: color .15s ease;
}
.login-link:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 18px; }

/* =========================
   BUTTONS
   ========================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: background .15s ease, transform .15s ease;
  border: none; cursor: pointer;
  letter-spacing: -0.005em;
}
.btn:hover { background: #000; }
.btn.primary { background: var(--accent); }
.btn.primary:hover { background: var(--accent-2); }
.btn.lg { padding: 14px 26px; font-size: 15px; }
.btn.white { background: #fff; color: var(--ink); }
.btn.white:hover { background: var(--cream); }
.link {
  color: var(--accent);
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 4px;
}
.link:hover { text-decoration: underline; }

/* =========================
   SECTION SHELL
   ========================= */
section { padding: var(--section-y) var(--pad-x); }
.container { max-width: var(--maxw); margin: 0 auto; }
.container.narrow { max-width: var(--readw); }

.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow.muted { color: var(--muted); }
.eyebrow.light { color: rgba(255,255,255,0.55); }

/* =========================
   S1 HERO — generous, restrained, one supporting sentence
   ========================= */
.hero {
  padding-top: 90px;
  padding-bottom: 110px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.hero .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.hero .small-eyebrow {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.005em;
  margin-bottom: 36px;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  letter-spacing: -0.035em;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 32px;
  color: var(--ink);
}
.hero .sub {
  font-size: 21px;
  color: var(--ink-2);
  max-width: 580px;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.hero .ctas { display: flex; gap: 18px; align-items: center; margin-bottom: 28px; }
.hero .trust {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.hero-visual {
  aspect-ratio: 5/4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(10,42,94,0.20), 0 2px 6px -2px rgba(10,42,94,0.05);
}
.hero-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(32,110,243,0.04) 0%, rgba(10,42,94,0.06) 100%);
}
.hero-visual.has-video {
  aspect-ratio: 16 / 9;
  padding: 0;
  background: #000;
  overflow: hidden;
}
.hero-visual.has-video::before { display: none; }
.hero-visual.has-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}
.placeholder-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  margin-bottom: 12px;
  z-index: 1;
}
.placeholder-caption {
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
  max-width: 320px;
  z-index: 1;
  font-style: italic;
  line-height: 1.5;
}

/* =========================
   S2 TEMPUS ONE SPOTLIGHT — the agent gets its own moment
   ========================= */
.spotlight {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.spotlight .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.spotlight .text-col h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.spotlight .lede {
  font-size: 19px;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 460px;
  line-height: 1.5;
}
.spotlight .body {
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.spotlight .meta-tag {
  display: inline-block;
  padding: 5px 11px;
  background: var(--surface-3);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Tempus One UI mock — conversational interface */
.t1-mock {
  background: linear-gradient(180deg, #FDFCFA 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 30px 80px -40px rgba(10,42,94,0.22);
  position: relative;
  overflow: hidden;
}
.t1-mock.has-image,
.agent-mock.has-image,
.compute-mock.has-image {
  padding: 0;
  background: #fff;
}
.t1-mock.has-image img, .t1-mock.has-image video,
.agent-mock.has-image img, .agent-mock.has-image video,
.compute-mock.has-image img, .compute-mock.has-image video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
.t1-mock .head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
}
.t1-mock .head .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #206EF3);
  box-shadow: 0 0 0 4px rgba(32,110,243,0.12);
}
.t1-mock .head .label-1 { color: var(--ink); }
.t1-mock .head .label-2 { color: var(--muted-2); font-weight: 500; }
.t1-mock .msg {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.t1-mock .msg.user {
  background: var(--surface-3);
  color: var(--ink);
  border: 1px solid var(--line);
}
.t1-mock .msg.agent {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.t1-mock .msg-bar {
  height: 9px; background: var(--surface-3); border-radius: 4px;
}
.t1-mock .msg-bar.short { width: 50%; }
.t1-mock .msg-bar.med { width: 75%; }
.t1-mock .msg-bar.long { width: 92%; margin-bottom: 6px; }
.t1-mock .msg-bar.accent { background: rgba(32,110,243,0.25); }
.t1-mock .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.t1-mock .chip {
  font-size: 10px;
  padding: 4px 8px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.t1-mock .chip.outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.t1-mock .cite {
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 10px;
  font-style: italic;
}

/* =========================
   SHOWCASE (S3, S4, S5) — alternating, restrained
   ========================= */
.showcase {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.showcase.alt { background: var(--cream); }
.showcase .container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.showcase.reverse .container { grid-template-columns: 1.05fr 1fr; }
.showcase.reverse .text-col { order: 2; }
.showcase h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.028em;
  margin-bottom: 18px;
}
.showcase .lede {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 480px;
  line-height: 1.45;
}
.showcase .body {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 480px;
  line-height: 1.65;
}
.gif-frame {
  aspect-ratio: 5/4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px;
  box-shadow: 0 20px 50px -28px rgba(10,42,94,0.18);
}
.gif-frame .ui-mock {
  width: 88%; height: 78%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 9px;
}
.gif-frame .reel {
  width: 88%;
  height: 78%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: block;
}
.ui-mock .bar { background: var(--surface-3); border-radius: 4px; height: 10px; }
.ui-mock .bar.short { width: 40%; }
.ui-mock .bar.medium { width: 70%; }
.ui-mock .bar.long { width: 92%; }
.ui-mock .bar.accent { background: rgba(32,110,243,0.35); }
.ui-mock .row { display: flex; gap: 6px; align-items: center; }
.ui-mock .chip { background: var(--ink); color: white; font-size: 9px; padding: 3px 7px; border-radius: 3px; font-weight: 600; letter-spacing: 0.02em; }
.ui-mock .chip.outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.gif-frame .caption {
  position: absolute; bottom: 18px; left: 28px; right: 28px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* =========================
   LOCATIVE CALLOUT BAND — the dark Tempus moment
   ========================= */
.locative {
  background: var(--navy-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(32,110,243,0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(10,42,94,0.4), transparent 60%),
    linear-gradient(180deg, #061236 0%, #02091F 100%);
  color: #fff;
  text-align: center;
  padding: 140px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.locative::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 80px, rgba(255,255,255,0.012) 80px, rgba(255,255,255,0.012) 81px);
  pointer-events: none;
}
.locative .eyebrow {
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.18em;
}
.locative h2 {
  color: #fff;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.035em;
  max-width: 960px;
  margin: 0 auto 28px;
  line-height: 1.0;
}
.locative .sub {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-style: italic;
}
.photo-note {
  position: absolute; top: 18px; right: 22px;
  font-size: 10px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600;
}

/* =========================
   S6 BRIDGE TO PLATFORM — dark visual moment, 6-up layer grid
   ========================= */
.bridge {
  background: var(--ink);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: none;
  padding-top: 130px;
  padding-bottom: 130px;
}
.bridge::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(32,110,243,0.18), transparent 70%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(10,42,94,0.45), transparent 60%);
  pointer-events: none;
}
.bridge::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 80px, rgba(255,255,255,0.012) 80px, rgba(255,255,255,0.012) 81px);
  pointer-events: none;
}
.bridge .container { position: relative; z-index: 1; }
.bridge .eyebrow { color: rgba(255,255,255,0.5); }
.bridge h2 {
  color: #fff;
  font-size: clamp(34px, 4.2vw, 56px);
  max-width: 880px;
  margin: 0 auto 56px;
  letter-spacing: -0.032em;
}
.layer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto 60px;
  text-align: left;
  max-width: 1080px;
}
.layer {
  background: linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.025) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 30px 28px 28px;
  transition: transform .26s cubic-bezier(0.4, 0, 0.2, 1),
              background .26s ease,
              border-color .26s ease,
              box-shadow .26s ease;
  position: relative;
  box-shadow:
    inset 0 1px 0 0 rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.005),
    0 1px 0 0 rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
}
.layer:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 0 rgba(255,255,255,0.14),
    0 18px 40px -22px rgba(0,0,0,0.65);
}
.layer .num {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-bottom: 16px;
  font-feature-settings: 'tnum' 1;
}
.layer .num::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: rgba(32,110,243,0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(32,110,243,0.15);
}
.layer .name {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 10px;
  line-height: 1.22;
  min-height: 2.44em;
}
.layer .desc {
  color: rgba(255,255,255,0.68);
  font-size: 13.5px;
  line-height: 1.6;
  letter-spacing: -0.003em;
}
.bridge .btn { background: #fff; color: var(--ink); }
.bridge .btn:hover { background: var(--cream); color: var(--ink); }

/* =========================
   S7 IMPACT — customer-forward
   ========================= */
.impact {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.impact h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  margin-bottom: 16px;
  letter-spacing: -0.028em;
}
.impact .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 48px;
}

/* logo strip */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 36px;
  padding: 36px 12px;
  margin-bottom: 56px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.logo-cell {
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-style: normal;
  font-size: 15px;
  letter-spacing: -0.012em;
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
  text-align: center;
  transition: color .25s ease, transform .25s ease;
  white-space: nowrap;
}
.logo-cell:hover {
  color: var(--ink);
  transform: translateY(-1px);
}
a.logo-cell {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  position: relative;
  padding: 4px 2px 6px;
}
a.logo-cell .link-arrow {
  font-size: 11px;
  color: var(--accent);
  opacity: 0;
  transform: translate(-2px, 0);
  transition: opacity .2s ease, transform .2s ease;
}
a.logo-cell:hover { color: var(--accent); }
a.logo-cell:hover .link-arrow {
  opacity: 1;
  transform: translate(0, -1px);
}
a.logo-cell::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width .25s ease, left .25s ease;
}
a.logo-cell:hover::after { width: calc(100% - 4px); left: 2px; }
.logo-strip-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 56px;
  font-style: italic;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.logo-strip-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 14px;
  margin-top: 8px;
}

/* ============================================================
   Logo button grid — clickable cards linking to press releases
   ============================================================ */
.logo-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 14px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.logo-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 88px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  text-align: center;
  transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .25s ease,
              border-color .25s ease,
              color .25s ease;
  overflow: hidden;
}
.logo-button img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter .25s ease, opacity .25s ease;
}
.logo-button::after {
  content: '↗';
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  opacity: 0;
  transition: opacity .2s ease, color .2s ease, transform .2s ease;
}
.logo-button:hover {
  border-color: var(--ink-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -16px rgba(10,42,94,0.18);
  color: var(--ink);
}
.logo-button:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.logo-button:hover::after {
  opacity: 1;
  color: var(--accent);
  transform: translate(1px, -1px);
}
@media (max-width: 960px) {
  .logo-buttons { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .logo-buttons { grid-template-columns: repeat(2, 1fr); }
  .logo-button { height: 72px; }
  .logo-button img { max-height: 30px; }
}

/* stat row */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}
.stat .num {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.035em;
  margin-bottom: 10px;
  line-height: 1;
}
.stat .label { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 200px; }

/* customer cards — customer identity is unmistakable */
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -32px rgba(10,42,94,0.18);
  border-color: var(--line-2);
}
.case-card .brand-band {
  padding: 26px 28px;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
}
.case-card .customer-wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.1;
}
.case-card .industry {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.case-card .body {
  padding: 26px 28px 24px;
  display: flex; flex-direction: column;
  flex: 1;
}
.case-card .case-tag {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.case-card .metric {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 16px;
}
.case-card .desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.case-card .quote {
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  margin-bottom: 14px;
  line-height: 1.5;
}
.case-card .attr { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.case-card .read {
  font-size: 13px; color: var(--accent); font-weight: 600;
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 4px;
}
.case-card .read:hover { text-decoration: underline; }

.more-stories { text-align: center; margin-top: 20px; }
.more-stories a { font-size: 14px; color: var(--accent); font-weight: 600; }
.more-stories a:hover { text-decoration: underline; }

.fn-ref {
  font-size: 0.55em;
  color: var(--accent);
  font-weight: 600;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
}
.footnote {
  max-width: 760px;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  font-size: 11px;
  color: var(--muted-2);
  text-align: center;
  letter-spacing: 0.01em;
}
.footnote .fn-ref {
  font-size: 0.85em;
  vertical-align: baseline;
  color: var(--accent);
  margin-right: 2px;
}

/* =========================
   S8 LEADERSHIP — editorial quote
   ========================= */
.leadership {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.leadership .container.narrow { text-align: center; }
.leadership blockquote {
  margin: 0 0 36px;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 26px;
  line-height: 1.42;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.012em;
}
.leadership blockquote p { margin-bottom: 22px; }
.leadership blockquote p:last-child { margin-bottom: 0; }
.leadership blockquote em { font-weight: 500; font-style: italic; }
.leadership .attribution {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.leadership .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-3), var(--cream));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--muted-2); letter-spacing: 0.12em;
  margin-bottom: 10px;
  font-weight: 700;
}
.leadership .name { font-weight: 600; color: var(--ink); font-size: 15px; }
.leadership .title { font-size: 13px; color: var(--muted); }

/* =========================
   S9 SECURITY
   ========================= */
.security {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.security h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; letter-spacing: -0.028em; }
.security .lede {
  font-size: 17px; color: var(--muted); max-width: 640px; margin-bottom: 48px;
}
.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 32px; }
.badge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.badge .title {
  font-weight: 700; color: var(--ink); font-size: 15px;
  margin-bottom: 8px;
  letter-spacing: -0.012em;
}
.badge .blurb {
  font-size: 13px; color: var(--muted); line-height: 1.55;
}

/* =========================
   S10 CLOSING
   ========================= */
.closing {
  background: var(--surface);
  text-align: center;
}
.closing h2 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.closing .sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px var(--pad-x) 32px;
}
footer .top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
footer .top strong { color: #fff; font-weight: 600; }
footer .top .footer-logo {
  display: inline-block;
  height: 22px;
  width: auto;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}
footer .cols {
  max-width: var(--maxw); margin: 36px auto 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px;
}
footer .col h4 {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}
footer .col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  padding: 4px 0;
}
footer .col a:hover { color: #fff; }
footer .bottom {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: rgba(255,255,255,0.45);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 960px) {
  :root { --section-y: 80px; --pad-x: 22px; }
  .navlinks, .login-link { display: none; }
  .hero .container,
  .showcase .container,
  .showcase.reverse .container,
  .spotlight .container { grid-template-columns: 1fr; gap: 48px; }
  .showcase.reverse .text-col { order: 1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .case-cards { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }
  .layer-grid { grid-template-columns: repeat(2, 1fr); }
  .bridge { padding-top: 90px; padding-bottom: 90px; }
  footer .cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .layer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   POLISH LAYER — scroll motion, focus states, icons,
   hamburger, mobile CTA, refined hover, decorative details
   ============================================================ */

/* Scroll-triggered fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(0.22, 1, 0.36, 1),
              transform .8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: .08s; }
.fade-up-delay-2 { transition-delay: .16s; }
.fade-up-delay-3 { transition-delay: .24s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-up-delay-1, .fade-up-delay-2, .fade-up-delay-3 {
    opacity: 1; transform: none; transition: none;
  }
  .hero-visual, .t1-mock, .gif-frame, .layer { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Focus states — keyboard accessibility */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; }

/* Button active/press state */
.btn { transform: translateZ(0); }
.btn:active { transform: scale(0.98); }

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  font-size: 13px;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Header scrolled state */
header.site { transition: border-color .3s ease, background .3s ease; }
header.site.scrolled {
  border-bottom-color: var(--line-2);
  box-shadow: 0 1px 12px -8px rgba(10,42,94,0.18);
}
.navlinks a {
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.navlinks a.active { color: var(--accent); }
.navlinks a.active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
  border-radius: 2px;
}

/* Hamburger menu */
.hamburger {
  display: none;
  background: transparent; border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  border-radius: 8px;
}
.hamburger:hover { background: var(--surface-2); }
.hamburger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: 64px; right: 0; bottom: 0; left: 0;
  background: var(--surface);
  padding: 32px var(--pad-x);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 49;
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 20px; align-self: flex-start; }

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 40;
  padding: 13px 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 14px 32px -10px rgba(32,110,243,0.5), 0 4px 12px -4px rgba(10,42,94,0.3);
  opacity: 0; transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.mobile-cta.visible {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .mobile-cta { display: inline-flex; }
}

/* Hero — subtle noise texture + breathing visual */
.hero { position: relative; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.16 0 0 0 0 0.36 0 0 0 0.3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero .container { position: relative; z-index: 1; }
.hero-visual {
  animation: gentle-breath 8s ease-in-out infinite;
}
@keyframes gentle-breath {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.005); }
}

/* Eyebrow dot accent */
.small-eyebrow.with-dot::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(32,110,243,0.15);
}

/* Tempus One spotlight — pulsing dot, typing animation */
.t1-mock .head .dot {
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(32,110,243,0.12); }
  50% { box-shadow: 0 0 0 7px rgba(32,110,243,0.04); }
}
.t1-mock .msg.agent::after {
  content: '↳ View audit trail';
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Bridge layer cards — icon */
.layer .icon {
  width: 36px; height: 36px;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.10);
}
.layer .icon svg {
  width: 18px; height: 18px;
  color: rgba(255,255,255,0.85);
  stroke: rgba(255,255,255,0.85);
  stroke-width: 1.5;
  fill: none;
}

/* Security badges — icons */
.badge {
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .22s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .22s ease, border-color .22s ease;
}
.badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(10,42,94,0.18);
  border-color: var(--line-2);
}
.badge .icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(32,110,243,0.08), rgba(32,110,243,0.02));
  border: 1px solid rgba(32,110,243,0.12);
  margin-bottom: 4px;
}
.badge .icon svg {
  width: 16px; height: 16px;
  stroke: var(--accent);
  stroke-width: 1.75;
  fill: none;
}

/* Leadership — decorative quote glyph + monogram avatar */
.leadership { position: relative; }
.leadership .container.narrow { position: relative; }
.leadership .quote-glyph {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 140px;
  line-height: 1;
  color: rgba(10,42,94,0.06);
  font-weight: 500;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.leadership blockquote { position: relative; z-index: 1; }
.leadership .avatar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: none;
  box-shadow: 0 8px 20px -8px rgba(10,42,94,0.4);
}
.leadership .avatar .monogram {
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.01em;
  font-weight: 500;
  font-style: italic;
}

/* Logo strip wordmark hover lift — color handled in base */
.logo-strip { background: linear-gradient(180deg, transparent, rgba(10,42,94,0.015), transparent); }

/* Stats — tabular numbers */
.stat .num {
  font-feature-settings: 'tnum' 1, 'ss01' 1;
}

/* Customer cards — indication tag */
.case-card .indication-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* Closing — subtle background graphic */
.closing {
  position: relative;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(32,110,243,0.05), transparent 60%),
              var(--surface);
}
.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.closing .btn {
  padding: 16px 32px;
  font-size: 15px;
  box-shadow: 0 12px 28px -8px rgba(32,110,243,0.35);
}
.closing .secondary-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.closing .secondary-note a { color: var(--accent); font-weight: 500; }
.closing .secondary-note a:hover { text-decoration: underline; }

/* Footer — social icons */
.social-row a {
  display: inline-flex; align-items: center; gap: 8px;
}
.social-row svg {
  width: 14px; height: 14px;
  fill: currentColor;
}

/* Bridge layer cards — clean layout (icon left, number right, no stacking) */
.layer {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 0;
  align-items: center;
}
.layer .icon {
  grid-column: 1; grid-row: 1;
  margin-bottom: 0;
}
.layer .num {
  grid-column: 2; grid-row: 1;
  justify-self: end; align-self: center;
  margin-bottom: 0;
  display: block;
  color: rgba(255,255,255,0.42);
  font-size: 12px;
  font-feature-settings: 'tnum' 1;
}
.layer .num::before { display: none; }
.layer .name {
  grid-column: 1 / -1; grid-row: 2;
  margin-top: 22px;
  align-self: start;
  min-height: 2.44em;
}
.layer .desc {
  grid-column: 1 / -1; grid-row: 3;
  align-self: start;
}
