/* ============================================================================
   AspectIQ — marketing site layer
   Built on the MatCommunity design tokens (ds-tokens.css).
   Keeps: Inter + JetBrains Mono, amber primary, hairline borders, 12px cards,
   semantic status colors. Extends the type scale upward for marketing.
   ========================================================================= */

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

:root {
  --maxw: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* slightly warmer page base for the marketing surface */
  --bg-rgb: 252 252 253;
  --ink: rgb(var(--text-rgb));
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ───────────────────────── layout ──────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--surface-2); border-block: 1px solid var(--border); }
.section--ink {
  background: var(--grad-ink);
  color: #eef2f8;
}
.section--ink .lead, .section--ink .body { color: rgb(238 242 248 / 0.72); }

/* ───────────────────────── type scale (marketing) ──────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-data);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--primary);
}
.eyebrow--muted { color: var(--text-tertiary); }
.eyebrow--muted::before { background: var(--text-tertiary); }
.eyebrow--light { color: var(--accent-light); }
.eyebrow--light::before { background: var(--accent-light); }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.display {
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -0.035em; line-height: 1.02;
  font-weight: 700;
}
.h-sec { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.06; }
.h-card { font-size: 21px; letter-spacing: -0.02em; font-weight: 650; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--text-secondary); font-weight: 400; }
.body { font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
.muted { color: var(--text-tertiary); }
.measure { max-width: 60ch; }
.measure-sm { max-width: 46ch; }
.amber { color: var(--primary); }
.mono { font-family: var(--font-data); font-variant-numeric: tabular-nums; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .h-sec { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }

/* ───────────────────────── buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--motion-base), color var(--motion-fast), border-color var(--motion-fast), transform var(--motion-base), box-shadow var(--motion-base), filter var(--motion-base);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--grad-brand-2); color: var(--primary-on); box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(37 99 235 / 0.22), 0 16px 40px rgb(37 99 235 / 0.34); filter: brightness(1.06); }
.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { background: var(--surface); border-color: var(--text-tertiary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost-light { background: rgb(255 255 255 / 0.06); color: #fff; border-color: rgb(255 255 255 / 0.18); }
.btn--ghost-light:hover { background: rgb(255 255 255 / 0.12); }
.btn--sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.arrow { transition: transform var(--motion-base); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 15px; color: var(--primary);
}
.link-arrow svg { width: 16px; height: 16px; }

/* ───────────────────────── badges / chips ──────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 10px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; }
.tag--success { background: rgb(var(--green-rgb) / 0.10); color: var(--green); border-color: rgb(var(--green-rgb) / 0.28); }
.tag--info    { background: rgb(var(--blue-rgb) / 0.10); color: var(--blue); border-color: rgb(var(--blue-rgb) / 0.28); }
.tag--brand   { background: rgb(var(--amber-rgb) / 0.10); color: var(--primary); border-color: rgb(var(--amber-rgb) / 0.28); }
.tag--neutral { background: var(--surface-2); color: var(--text-secondary); border-color: var(--border); }
.tag .dot.g { background: var(--green); } .tag .dot.b { background: var(--blue); }
.tag .dot.a { background: var(--primary); } .tag .dot.r { background: var(--red); }

.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green); opacity: 0.5;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(0.7); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ───────────────────────── header / nav ────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(var(--bg-rgb) / 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav__link {
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 500; color: var(--text-secondary);
  transition: color var(--motion-fast), background var(--motion-fast);
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); background: var(--surface-2); }
.nav__link.is-active { color: var(--text); font-weight: 600; }
.nav__spacer { flex: 1; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.nav__phone svg { width: 15px; height: 15px; color: var(--primary); }

.nav__toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); cursor: pointer;
  align-items: center; justify-content: center; color: var(--text);
}
.nav__toggle svg { width: 20px; height: 20px; }

/* brand mark */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(150deg, #1c1d22, #0c0d10);
  display: grid; place-items: center; flex: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}
.brand__mark svg { width: 21px; height: 21px; }
.brand__word { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.brand__word b { color: var(--primary); font-weight: 700; }
.brand__mark svg path { stroke: var(--primary); }
.brand--light .brand__word { color: #fff; }

/* ───────────────────────── hero ────────────────────────────────────────── */
/* Hero — dark signature moment (control-room) */
.hero { position: relative; padding: 100px 0 108px; overflow: hidden; background: var(--grad-ink); color: #e7ecf5; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(680px 380px at 86% 2%, rgb(34 211 238 / 0.16), transparent 66%),
    radial-gradient(720px 460px at 4% 104%, rgb(124 58 237 / 0.18), transparent 62%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(920px 520px at 72% 6%, #000 0%, transparent 78%);
          mask-image: radial-gradient(920px 520px at 72% 6%, #000 0%, transparent 78%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 22px; color: #fff; }
.hero .lead { margin-top: 22px; color: rgb(231 236 245 / 0.74); }
.hero .eyebrow { color: #7cc7ff; }
.hero .eyebrow::before { background: #22d3ee; box-shadow: 0 0 10px rgb(34 211 238 / 0.9); }
.hero .display .amber { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn--secondary { background: rgb(255 255 255 / 0.07); color: #fff; border-color: rgb(255 255 255 / 0.20); }
.hero .btn--secondary:hover { background: rgb(255 255 255 / 0.13); border-color: rgb(255 255 255 / 0.34); }
.hero__trust { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__trust-label { font-size: 13px; color: rgb(231 236 245 / 0.55); }

/* ───────────────────────── dashboard mock ──────────────────────────────── */
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgb(17 17 19 / 0.04), 0 20px 48px -24px rgb(17 17 19 / 0.18);
}
.panel__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.panel__title { font-size: 12.5px; font-weight: 600; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.panel__dots { display: flex; gap: 6px; margin-left: auto; }
.panel__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: block; }
.panel__body { padding: 16px; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi {
  border: 1px solid var(--border); border-radius: 10px; padding: 12px;
  background: var(--surface-2);
}
.kpi__label { font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
.kpi__val { font-family: var(--font-data); font-weight: 700; font-size: 23px; letter-spacing: -0.01em; margin-top: 5px; font-variant-numeric: tabular-nums; }
.kpi__delta { font-family: var(--font-data); font-size: 11px; font-weight: 600; margin-top: 3px; }
.kpi__delta.up { color: var(--green); }
.kpi__delta.down { color: var(--green); }

.chart {
  border: 1px solid var(--border); border-radius: 10px; padding: 14px; background: var(--surface);
}
.chart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.chart__head .t { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); }
.spark { width: 100%; height: 78px; display: block; }
.spark path.area { fill: url(#sparkfill); }
.spark path.line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; }
.spark .pt { fill: var(--green); }

.feed { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.feed__row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.feed__row .mono { color: var(--text-tertiary); font-size: 11px; }
.feed__row .txt { color: var(--text-secondary); }
.feed__row .sev { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sev.g { background: var(--green); } .sev.a { background: var(--primary); } .sev.b { background: var(--blue); }

/* floating stat card on hero panel */
.float-stat {
  position: absolute; left: -22px; bottom: 28px; z-index: 2;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 16px; box-shadow: 0 18px 40px -20px rgb(17 17 19 / 0.30);
  display: flex; align-items: center; gap: 12px;
}
.float-stat .big { font-family: var(--font-data); font-weight: 700; font-size: 26px; color: var(--green); line-height: 1; }
.float-stat .lbl { font-size: 11px; color: var(--text-secondary); line-height: 1.3; max-width: 11ch; }

/* ───────────────────────── stat strip ──────────────────────────────────── */
.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-md); }
.statstrip .cell { padding: 28px 26px; border-right: 1px solid var(--border-light); }
.statstrip .cell:last-child { border-right: none; }
.statstrip .num { font-family: var(--font-data); font-weight: 700; font-size: clamp(30px, 3.2vw, 40px); letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.statstrip .num em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.statstrip .cap { margin-top: 6px; font-size: 13.5px; color: var(--text-secondary); }

/* ───────────────────────── logo / stack row ────────────────────────────── */
.stack-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.stack-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-family: var(--font-data); font-size: 13.5px; font-weight: 500; color: var(--text-secondary);
}
.stack-chip .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ───────────────────────── cards / grids ───────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 26px; transition: border-color var(--motion-base), box-shadow var(--motion-base), transform var(--motion-base);
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.card--link { cursor: pointer; }
.card--link:hover { border-color: rgb(var(--primary-rgb) / 0.35); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-brand-2); color: #fff; margin-bottom: 18px; box-shadow: var(--shadow-glow);
}
.card__icon svg { width: 22px; height: 22px; }
.card__num { font-family: var(--font-data); font-size: 12px; color: var(--text-tertiary); margin-bottom: 14px; letter-spacing: 0.04em; }
.card h3 { margin-bottom: 10px; }
.card .body { font-size: 14.5px; }
.card__foot { margin-top: auto; padding-top: 18px; }

.feature-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.feature-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.5; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 4px;
  background: rgb(var(--green-rgb) / 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
}

/* ───────────────────────── process stepper ─────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 26px 0 0; }
.step__n {
  font-family: var(--font-data); font-size: 13px; font-weight: 700; color: var(--primary);
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgb(var(--primary-rgb) / 0.3);
  display: grid; place-items: center; background: rgb(var(--primary-rgb) / 0.06); margin-bottom: 18px;
}
.step::after {
  content: ""; position: absolute; top: 19px; left: 46px; right: 18px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step h4 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* ───────────────────────── split / why ─────────────────────────────────── */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.valuecard { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--border); }
.valuecard:first-child { border-top: none; }
.valuecard__ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgb(var(--primary-rgb) / 0.10); border: 1px solid rgb(var(--primary-rgb) / 0.18); color: var(--primary); }
.section--ink .valuecard { border-top-color: rgb(255 255 255 / 0.10); }
.section--ink .valuecard__ic { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.16); color: #7cc7ff; }
.section--ink .valuecard p { color: rgb(238 242 248 / 0.66); }
.valuecard__ic svg { width: 20px; height: 20px; }
.valuecard h4 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 6px; }
.valuecard p { font-size: 14.5px; color: var(--text-secondary); margin: 0; line-height: 1.55; }

/* ───────────────────────── testimonial ─────────────────────────────────── */
.quote-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: stretch; }
.quote-card {
  background: var(--grad-ink); color: #fff; border: 1px solid rgb(255 255 255 / 0.08); border-radius: var(--radius-xl); padding: 40px;
  position: relative; box-shadow: var(--shadow-lg); overflow: hidden;
}
.quote-card .mark { font-family: var(--font-data); color: rgb(124 199 255 / 0.45); font-size: 68px; line-height: 0.6; height: 30px; }
.quote-card blockquote { margin: 0 0 24px; font-size: 22px; line-height: 1.5; letter-spacing: -0.015em; font-weight: 500; color: #fff; }
.quote-card .by { display: flex; align-items: center; gap: 12px; }
.quote-card .by .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand-2); flex: none; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 15px; }
.quote-card .by .who { font-size: 14px; color: rgb(231 236 245 / 0.66); }
.quote-card .by .who b { display: block; color: #fff; font-weight: 600; }

/* open-standards strip */
.openstd__eyebrow { font-family: var(--font-data); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--text-tertiary); margin: 0 0 22px; }
.openstd__note { font-size: 13px; line-height: 1.6; max-width: 72ch; margin: 20px auto 0; }

/* trust & data-handling badges */
.trust .section-head { max-width: 680px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.trust-badge { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform var(--motion-base), box-shadow var(--motion-base); }
.trust-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trust-badge__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--primary-rgb) / 0.10); border: 1px solid rgb(var(--primary-rgb) / 0.18); color: var(--primary); margin-bottom: 16px; }
.trust-badge__ic svg { width: 22px; height: 22px; }
.trust-badge h4 { font-size: 16px; letter-spacing: -0.01em; margin: 0 0 7px; }
.trust-badge p { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }
.quote-card .by .who span { color: var(--text-tertiary); }

.proof-stats { display: flex; flex-direction: column; gap: 14px; }
.proof-stat { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px 26px; flex: 1; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-sm); transition: transform var(--motion-base), box-shadow var(--motion-base); }
.proof-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.proof-stat .num { font-family: var(--font-data); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; color: var(--text); }
.proof-stat .num em { font-style: normal; color: var(--green); }
.proof-stat .cap { font-size: 13.5px; color: var(--text-secondary); margin-top: 4px; }

/* ───────────────────────── CTA band ────────────────────────────────────── */
.ctaband { position: relative; overflow: hidden; }
.ctaband__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center; }
.ctaband .h-sec { color: #fff; }
.ctaband .lead { color: rgb(245 245 245 / 0.72); }
.ctaband__lines {
  position: absolute; inset: 0; z-index: 0; opacity: 0.4;
  background-image: linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 48px 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 100%);
}

/* ───────────────────────── resources ───────────────────────────────────── */
.res-card { padding: 0; overflow: hidden; }
.res-card__top { padding: 22px 24px 0; }
.res-card__viz { height: 140px; margin: 18px 0 0; border-top: 1px solid var(--border); background: var(--surface-2); position: relative; overflow: hidden; }
.res-card__body { padding: 22px 24px; }
.res-type { font-family: var(--font-data); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ───────────────────────── forms ───────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field label .req { color: var(--red); }
.input, .textarea, .select {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-ui); font-size: 15px; outline: none;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}
.textarea { height: auto; padding: 12px 14px; min-height: 130px; resize: vertical; line-height: 1.55; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgb(var(--primary-rgb) / 0.12); }
.input::placeholder, .textarea::placeholder { color: var(--text-tertiary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--text-tertiary); margin-top: 4px; }

.contact-aside { display: flex; flex-direction: column; gap: 4px; }
.contact-item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); }
.contact-item:first-child { border-top: none; }
.contact-item__ic { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; background: rgb(var(--primary-rgb) / 0.10); color: var(--primary); }
.contact-item__ic svg { width: 19px; height: 19px; }
.contact-item .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-tertiary); font-weight: 600; }
.contact-item .v { font-size: 15.5px; color: var(--text); font-weight: 500; margin-top: 3px; }

/* ───────────────────────── page hero (interior) ────────────────────────── */
.page-hero { padding: 76px 0 60px; border-bottom: 1px solid var(--border-light); position: relative; overflow: hidden; background: var(--grad-mesh); }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(760px 360px at 84% -10%, #000, transparent 72%);
          mask-image: radial-gradient(760px 360px at 84% -10%, #000, transparent 72%);
  opacity: 0.7;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; margin-top: 18px; }
.page-hero .lead { margin-top: 18px; max-width: 62ch; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-tertiary); }
.crumbs a:hover { color: var(--text-secondary); }

/* ───────────────────────── footer ──────────────────────────────────────── */
.site-footer { background: rgb(var(--ink-rgb)); color: rgb(241 245 249 / 0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .body { color: rgb(245 245 245 / 0.55); font-size: 14px; max-width: 32ch; margin-top: 16px; }
.footer-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgb(245 245 245 / 0.5); font-weight: 600; margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: rgb(245 245 245 / 0.72); transition: color var(--motion-fast); }
.footer-col a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-contact a { color: rgb(245 245 245 / 0.72); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.08); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgb(245 245 245 / 0.5); }
.social { display: flex; gap: 10px; }
.social a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid rgb(255 255 255 / 0.12); display: grid; place-items: center; color: rgb(245 245 245 / 0.7); transition: background var(--motion-fast), color var(--motion-fast); }
.social a:hover { background: rgb(255 255 255 / 0.08); color: #fff; }
.social svg { width: 17px; height: 17px; }

/* ───────────────────────── reveal animation ────────────────────────────── */
/* Progressive enhancement: content is visible by default. Only when JS marks
   the document <html class="reveal-on"> do we hide-then-reveal on scroll. */
html.reveal-on .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.reveal-on .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.reveal-on .reveal { opacity: 1 !important; transform: none !important; } .live-dot::after { animation: none; } html { scroll-behavior: auto; } }

/* ───────────────────────── responsive ──────────────────────────────────── */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 560px; }
  .split, .quote-feature, .ctaband__inner { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn--quote-desktop { padding: 0 12px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .statstrip { grid-template-columns: 1fr 1fr; }
  .statstrip .cell:nth-child(2) { border-right: none; }
  .statstrip .cell:nth-child(1), .statstrip .cell:nth-child(2) { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-stat { left: 8px; }
}
@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .statstrip { grid-template-columns: 1fr; }
  .statstrip .cell { border-right: none; border-bottom: 1px solid var(--border); }
  .statstrip .cell:last-child { border-bottom: none; }
}

/* ───────────────────────── mobile drawer ───────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(0 0 0 / 0.5); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: var(--surface); border-left: 1px solid var(--border); padding: 20px; display: flex; flex-direction: column; gap: 6px; transform: translateX(100%); transition: transform var(--motion-base); }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__close { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; display: grid; place-items: center; color: var(--text); }
.drawer__link { padding: 13px 14px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 500; color: var(--text); }
.drawer__link:hover { background: var(--surface-2); }
.drawer .btn { margin-top: 12px; }

/* ===========================================================================
   OBSERVABILITY-CENTRIC ADDITIONS
   ======================================================================== */

/* hero console tabs */
.panel__tabs { display: flex; gap: 4px; padding: 8px 10px 0; border-bottom: 1px solid var(--border); }
.ptab { font-family: var(--font-data); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; padding: 8px 12px; color: var(--text-tertiary); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ptab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* trace waterfall (hero console) */
.waterfall { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.wf-cap { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); margin-bottom: 2px; }
.wf-row { display: grid; grid-template-columns: 92px 1fr 48px; align-items: center; gap: 10px; }
.wf-svc { font-family: var(--font-data); font-size: 11px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-track { position: relative; height: 14px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.wf-bar { position: absolute; top: 2px; height: 10px; border-radius: 3px; background: var(--blue); }
.wf-bar.g { background: var(--green); } .wf-bar.a { background: var(--primary); } .wf-bar.p { background: var(--purple); }
.wf-ms { font-family: var(--font-data); font-size: 10.5px; color: var(--text-tertiary); text-align: right; }

/* OpenTelemetry pipeline diagram */
.pipeline { display: flex; align-items: stretch; gap: 0; margin-top: 8px; }
.pipe-stage { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; position: relative; z-index: 1; display: flex; flex-direction: column; }
.pipe-stage.is-core { border-color: rgb(var(--primary-rgb) / 0.4); box-shadow: 0 0 0 1px rgb(var(--primary-rgb) / 0.10), 0 14px 36px -22px rgb(var(--primary-rgb) / 0.4); }
.pipe-stage__n { font-family: var(--font-data); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
.pipe-stage__ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--primary); margin: 14px 0; }
.pipe-stage.is-core .pipe-stage__ic { background: rgb(var(--primary-rgb) / 0.10); border-color: rgb(var(--primary-rgb) / 0.3); }
.pipe-stage__ic svg { width: 20px; height: 20px; }
.pipe-stage h4 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 7px; }
.pipe-stage p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.pipe-stage__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pipe-chip { font-family: var(--font-data); font-size: 10.5px; font-weight: 500; color: var(--text-secondary); background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 3px 7px; }
.pipe-arrow { flex: 0 0 46px; position: relative; align-self: center; height: 60px; }
.pipe-arrow::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--border) 0 5px, transparent 5px 11px); }
.pipe-arrow .dot { position: absolute; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); transform: translateY(-50%); box-shadow: 0 0 0 3px rgb(var(--primary-rgb) / 0.15); animation: flowx 2.4s linear infinite; }
.pipe-arrow .dot.d2 { animation-delay: 0.8s; background: var(--green); box-shadow: 0 0 0 3px rgb(var(--green-rgb) / 0.15); }
.pipe-arrow .dot.d3 { animation-delay: 1.6s; background: var(--blue); box-shadow: 0 0 0 3px rgb(var(--blue-rgb) / 0.15); }
@keyframes flowx { 0% { left: 2px; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pipe-arrow .dot { animation: none; left: 50%; } }

/* three-signal cards */
.signal-card { padding: 0; overflow: hidden; }
.signal-card__head { display: flex; align-items: center; gap: 12px; padding: 20px 22px 14px; }
.signal-card__head .ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.signal-card__head .ic svg { width: 18px; height: 18px; }
.signal-card__head h4 { font-size: 16px; letter-spacing: -0.01em; margin: 0; }
.signal-card__head .k { font-family: var(--font-data); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
.signal-card__viz { height: 92px; margin: 0 22px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.signal-card__body { padding: 16px 22px 22px; }
.signal-card__body p { font-size: 13.5px; color: var(--text-secondary); margin: 0; line-height: 1.55; }
.sig-metrics .ic { background: rgb(var(--green-rgb) / 0.12); color: var(--green); }
.sig-logs .ic { background: rgb(var(--blue-rgb) / 0.12); color: var(--blue); }
.sig-traces .ic { background: rgb(var(--purple-rgb) / 0.12); color: var(--purple); }
.mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 100%; padding: 12px 14px; box-sizing: border-box; }
.mini-bars i { flex: 1; background: rgb(var(--green-rgb) / 0.6); border-radius: 2px 2px 0 0; display: block; }
.mini-logs { padding: 11px 14px; display: flex; flex-direction: column; gap: 5px; font-family: var(--font-data); font-size: 10px; }
.mini-logs .ln { display: flex; gap: 7px; align-items: center; color: var(--text-tertiary); white-space: nowrap; }
.mini-logs .lv { font-weight: 600; padding: 0 4px; border-radius: 3px; font-size: 9px; }
.mini-logs .lv.info { color: var(--blue); background: rgb(var(--blue-rgb) / 0.12); }
.mini-logs .lv.warn { color: var(--orange); background: rgb(var(--orange-rgb) / 0.12); }
.mini-logs .lv.ok { color: var(--green); background: rgb(var(--green-rgb) / 0.12); }
.mini-trace { padding: 13px 14px; display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; }
.mini-trace .tr { height: 9px; border-radius: 3px; background: rgb(var(--purple-rgb) / 0.85); }

/* ===========================================================================
   PARTNER / SUBCONTRACTING SECTION (for systems integrators & primes)
   ======================================================================== */
.partner { position: relative; overflow: hidden; }
.partner__inner { position: relative; z-index: 1; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.pcard { background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--radius); padding: 24px 22px; transition: background var(--motion-base), border-color var(--motion-base); }
.pcard:hover { background: rgb(255 255 255 / 0.07); border-color: rgb(var(--amber-rgb) / 0.5); }
.pcard__ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgb(var(--primary-rgb) / 0.20); color: var(--accent-light); margin-bottom: 16px; }
.pcard__ic svg { width: 21px; height: 21px; }
.pcard h4 { font-size: 17px; color: #fff; letter-spacing: -0.01em; margin-bottom: 8px; }
.pcard p { font-size: 13.5px; line-height: 1.55; color: rgb(245 245 245 / 0.66); margin: 0; }
.partner-audience { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; align-items: center; }
.partner-audience .lbl { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(245 245 245 / 0.5); font-weight: 600; margin-right: 4px; }
.aud-chip { font-family: var(--font-data); font-size: 13px; color: rgb(245 245 245 / 0.82); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 999px; padding: 7px 14px; background: rgb(255 255 255 / 0.03); }
.partner__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; }
.partner__points .pt { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgb(245 245 245 / 0.82); }
.partner__points .pt svg { width: 17px; height: 17px; color: var(--green); flex: none; }

@media (max-width: 1000px) {
  .pipeline { flex-direction: column; gap: 0; }
  .pipe-arrow { width: 60px; height: 44px; transform: rotate(90deg); align-self: center; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .partner-grid { grid-template-columns: 1fr; }
  .wf-row { grid-template-columns: 78px 1fr 44px; }
}

/* recruiter / staffing quick-path call-out (on dark partner section) */
.recruiter-cta { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 22px 26px; border: 1px solid rgb(var(--accent-light-rgb) / 0.45); border-radius: var(--radius); background: rgb(var(--primary-rgb) / 0.14); }
.recruiter-cta .rc-copy { margin: 0; color: #fff; font-size: 15.5px; line-height: 1.5; max-width: 62ch; }
.recruiter-cta .rc-copy strong { color: var(--accent-light); font-weight: 600; }
.recruiter-cta .rc-acts { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 700px) { .recruiter-cta { flex-direction: column; align-items: flex-start; } }

/* ===========================================================================
   TALENT NETWORK (two-sided C2C marketplace)
   ======================================================================== */
.path-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.path-card { display: flex; align-items: center; gap: 16px; padding: 26px 28px; border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color var(--motion-base), box-shadow var(--motion-base), transform var(--motion-base); }
.path-card:hover { border-color: rgb(var(--primary-rgb) / 0.4); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.path-card__ic { width: 50px; height: 50px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--grad-brand-2); color: #fff; box-shadow: var(--shadow-glow); }
.path-card__ic svg { width: 24px; height: 24px; }
.path-card h3 { font-size: 18px; letter-spacing: -0.01em; margin: 0 0 3px; }
.path-card p { margin: 0; font-size: 13.5px; color: var(--text-secondary); }
.path-card .arrow-r { margin-left: auto; color: var(--text-tertiary); flex: none; }
.path-card:hover .arrow-r { color: var(--primary); }

/* job board mock */
.jb-row { display: grid; grid-template-columns: 1.7fr 0.9fr 0.7fr auto; gap: 14px; align-items: center; padding: 13px 16px; border-top: 1px solid var(--border); }
.jb-row:first-of-type { border-top: none; }
.jb-title { font-weight: 600; font-size: 13.5px; color: var(--text); }
.jb-meta { font-family: var(--font-data); font-size: 10.5px; color: var(--text-tertiary); margin-top: 3px; }
.jb-rate { font-family: var(--font-data); font-weight: 600; font-size: 12.5px; color: var(--text); }
.jb-loc { font-size: 11.5px; color: var(--text-secondary); }
.jb-apply { font-size: 11.5px; font-weight: 600; color: var(--primary); border: 1px solid rgb(var(--primary-rgb) / 0.32); border-radius: 6px; padding: 5px 11px; background: rgb(var(--primary-rgb) / 0.06); white-space: nowrap; }

.toast { display: inline-flex; align-items: center; gap: 11px; padding: 11px 15px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: 0 12px 32px -16px rgb(15 23 42 / 0.32); }
.toast .bell { width: 32px; height: 32px; border-radius: 8px; background: rgb(var(--primary-rgb) / 0.10); color: var(--primary); display: grid; place-items: center; flex: none; }
.toast .bell svg { width: 17px; height: 17px; }
.toast .t-main { font-size: 13px; font-weight: 600; color: var(--text); }
.toast .t-sub { font-size: 11px; color: var(--text-tertiary); font-family: var(--font-data); margin-top: 1px; }

/* agreement checkbox */
.rtr-box { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); padding: 15px 16px; margin: 6px 0 18px; display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; gap: 11px; align-items: flex-start; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.check label { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }
.check label a { color: var(--primary); text-decoration: underline; }

@media (max-width: 760px) {
  .path-cards { grid-template-columns: 1fr; }
  .jb-row { grid-template-columns: 1fr auto; }
  .jb-row .jb-loc, .jb-row .jb-rate { display: none; }
}

/* ============================================================================
   ULTRA-PREMIUM POLISH LAYER
   Additive depth, motion & finish on top of the existing tokens. No structural
   changes — purely elevates the look & feel.
   ========================================================================= */
body { text-rendering: optimizeLegibility; }

/* Refined custom scrollbar */
* { scrollbar-width: thin; scrollbar-color: rgb(15 23 42 / 0.22) transparent; }
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-thumb { background: rgb(15 23 42 / 0.16); border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: rgb(15 23 42 / 0.30); background-clip: content-box; }

/* On-brand focus ring */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid rgb(var(--primary-rgb) / 0.55); outline-offset: 2px; border-radius: 8px;
}

/* Buttons — depth, sheen, spring */
.btn { position: relative; overflow: hidden; transition: transform .2s var(--ease), box-shadow .24s var(--ease), background .18s var(--ease); }
.btn--primary { box-shadow: 0 1px 1px rgb(15 23 42 / 0.05), 0 8px 18px -9px rgb(var(--primary-rgb) / 0.55); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 2px 5px rgb(15 23 42 / 0.07), 0 14px 30px -10px rgb(var(--primary-rgb) / 0.62); }
.btn--primary::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.28), transparent); transform: skewX(-18deg); transition: left .6s var(--ease); }
.btn--primary:hover::after { left: 130%; }

/* Cards — richer hover lift */
.card { transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease); }
.card--link:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -26px rgb(15 23 42 / 0.30); border-color: rgb(var(--primary-rgb) / 0.35); }

/* Hero console — deeper float + top sheen */
.panel { position: relative; box-shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 34px 64px -34px rgb(15 23 42 / 0.30); }
.panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.65); }
.kpi { transition: border-color .2s var(--ease), transform .2s var(--ease); }
.kpi:hover { border-color: rgb(var(--primary-rgb) / 0.30); transform: translateY(-1px); }

/* Sparkline — glow + breathing endpoint */
.spark path.line { filter: drop-shadow(0 2px 6px rgb(var(--green-rgb) / 0.30)); }
.spark .pt { filter: drop-shadow(0 0 4px rgb(var(--green-rgb) / 0.8)); transform-origin: center; transform-box: fill-box; animation: ptpulse 2.6s var(--ease) infinite; }
@keyframes ptpulse { 0%, 100% { r: 3; } 50% { r: 4.5; } }

/* Stat strip + stack chips — micro-interactions */
.statstrip .cell { transition: background .2s var(--ease); }
.statstrip .cell:hover { background: var(--surface-2); }
.stack-chip { transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease); }
.stack-chip:hover { transform: translateY(-2px); border-color: rgb(var(--primary-rgb) / 0.35); box-shadow: 0 10px 22px -16px rgb(15 23 42 / 0.35); }

/* Pipeline core — gentle glow pulse */
.pipe-stage.is-core { animation: coreglow 3.6s ease-in-out infinite; }
@keyframes coreglow {
  0%, 100% { box-shadow: 0 0 0 1px rgb(var(--primary-rgb) / 0.10), 0 14px 36px -22px rgb(var(--primary-rgb) / 0.40); }
  50% { box-shadow: 0 0 0 1px rgb(var(--primary-rgb) / 0.22), 0 18px 46px -20px rgb(var(--primary-rgb) / 0.55); }
}

/* Eyebrow marker — soft radar pulse */
.eyebrow::before { animation: ebpulse 2.8s ease-out infinite; }
@keyframes ebpulse { 0% { box-shadow: 0 0 0 0 rgb(var(--primary-rgb) / 0.45); } 70% { box-shadow: 0 0 0 6px rgb(var(--primary-rgb) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--primary-rgb) / 0); } }

/* Links & inputs */
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.input, .textarea, .select { transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.input:focus, .textarea:focus, .select:focus { box-shadow: 0 0 0 3px rgb(var(--primary-rgb) / 0.14); }

/* Testimonial card depth */
.quote-card { box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 26px 54px -36px rgb(15 23 42 / 0.28); }

/* Header subtle elevation on the sticky bar */
.site-header { box-shadow: 0 1px 0 rgb(15 23 42 / 0.04); }

/* Section reveal easing upgrade */
html.reveal-on .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .pipe-stage.is-core, .eyebrow::before, .spark .pt { animation: none !important; }
  .btn, .card, .stack-chip, .kpi { transition: none !important; }
  .btn--primary::after { display: none; }
}

/* Nav "Sign in" link (portal login entry point) */
.nav__signin { display: inline-flex; align-items: center; height: 38px; padding: 0 13px; font-size: 14px; font-weight: 600; color: var(--text); border-radius: var(--radius-sm); white-space: nowrap; transition: background var(--motion-fast), color var(--motion-fast); }
.nav__signin:hover { background: var(--surface-2); color: var(--primary); }
@media (max-width: 760px) { .nav__signin { display: none; } }
