/* DocketVet — Style System */

/* Self-hosted fonts */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans.woff2') format('woff2');
}

:root, [data-theme="dark"] {
  --bg: #0a0d12;
  --surface: #10141a;
  --surface-raised: #161b24;
  --text: #eef2f7;
  --text-dim: #c0cad8;
  --text-bright: #f8fafc;
  --accent: #299DF0;
  --accent-light: #38E2FF;
  --accent-muted: rgba(41,157,240,0.15);
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(41,157,240,0.2);
  --success: #34c77b;
  --error: #e05252;
  --brand-fill: #eef2f7;
  --divider-fill: #2B2855;
  --subtitle-fill: #76B3EA;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --nav-height: 60px;
  --container: 1200px;
  --container-narrow: 800px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg: #f0f2f5;
  --surface: #fff;
  --surface-raised: #f6f7fa;
  --text: #1a2a3a;
  --text-dim: #5a6878;
  --text-bright: #0c1824;
  --accent: #1565c0;
  --accent-light: #1e88e5;
  --accent-muted: rgba(21,101,192,0.1);
  --border: rgba(0,0,0,0.08);
  --border-accent: rgba(21,101,192,0.15);
  --success: #1a8e50;
  --error: #c0392b;
  --brand-fill: #222451;
  --divider-fill: #c0c8d8;
  --subtitle-fill: #4a7aaa;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Typography */
.section-eyebrow {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.35;
  color: var(--text-bright);
  max-width: 42ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  min-height: 44px;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-light); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn--sm { padding: 0.4rem 1rem; font-size: 0.85rem; }

/* ── Nav ── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav--scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: clamp(3px, 1vw, 6px);
  flex-shrink: 1;
  min-width: 0;
}
.nav__brand .fp-mark {
  height: clamp(28px, 5vw, 42px);
  width: auto;
  grid-row: 1 / -1;
  position: relative;
  top: 4px;
}
.nav__brand .logo-text { height: clamp(14px, 3vw, 22px); width: auto; color: var(--text-bright); min-width: 0; }
.nav__subtitle {
  font-size: clamp(0.5rem, 1.6vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1;
  margin-top: -2px;
}

.nav__right { display: flex; align-items: center; gap: clamp(0.5rem, 1.5vw, 1.5rem); flex-shrink: 0; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }

.nav__link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s;
  padding: 0.5rem 0;
}
.nav__link:hover, .nav__link--active { color: var(--text-bright); }
.nav__link--active { border-bottom: 1.5px solid var(--accent); padding-bottom: calc(0.5rem - 1.5px); }

.nav__cta {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 50px;
  transition: background 0.15s, color 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav__cta:hover { background: var(--accent-light); color: #fff; }

.nav__cta--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.nav__cta--ghost:hover { background: var(--accent); color: #fff; }

.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-dim);
  transition: color 0.15s;
}
.theme-toggle:hover { color: var(--text-bright); }
.theme-toggle__icon { width: 16px; height: 16px; }
.theme-toggle__icon--light { display: none; }
[data-theme="light"] .theme-toggle__icon--dark { display: none; }
[data-theme="light"] .theme-toggle__icon--light { display: block; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; min-height: 44px; min-width: 44px; justify-content: center; align-items: center; }
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: transform 0.2s; }

/* ── Hero ── */

.hero {
  padding-top: calc(var(--nav-height) + clamp(1rem, 2vw, 1.5rem));
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  position: relative;
  overflow: visible;
}

/* Subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: 50%; right: 20%;
  width: 600px; height: 600px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(41,157,240,0.08) 0%, transparent 65%);
  pointer-events: none;
}
[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(21,101,192,0.1) 0%, transparent 65%);
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  min-height: auto;
  position: relative;
}

.hero__content {
  position: relative;
  z-index: 1;
  animation: hero-enter 0.8s var(--ease-out) both;
}

.hero__process {
  min-width: 0;
  position: relative;
  z-index: 1;
  animation: hero-enter 1s var(--ease-out) 0.2s both;
}
.process__heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero__process .process__slides { min-height: 380px; }
.hero__process .process__details { grid-template-columns: 1fr; }
.hero__process .process__step { font-size: clamp(2rem, 3vw, 3rem); }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero__title em { font-style: italic; color: var(--accent); }

.hero__desc {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-bright);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}
.logo-inline,
.hero__logo-inline {
  display: inline-block;
  height: 1.1em;
  width: auto;
  vertical-align: -0.15em;
  margin-right: 0.15em;
  color: var(--text-bright);
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Ticker ── */

.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
  display: inline-flex;
  animation: tickerScroll 90s linear infinite;
  will-change: transform;
}
.ticker__track span {
  flex-shrink: 0;
  padding: 0 clamp(0.8rem, 1.5vw, 1.5rem);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.ticker__track span::after { content: ' \00B7 '; color: var(--text-dim); opacity: 0.4; }

@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ── Metrics ── */

.metrics {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}

.metrics__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
}

.metric { text-align: left; }

.metric__val, .metric__val--text {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--text-bright);
  line-height: 1.1;
  display: inline;
}
.metric__unit {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--accent);
}
.metric__val--text {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-style: italic;
  color: var(--accent);
  display: block;
}
.metric__label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ── Services ── */

.services {
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  overflow: hidden;
}

.services__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.services__head {
  margin-bottom: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.services__head::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 1.2s var(--ease-out);
}
.services__head.visible::after { width: 120px; }

/* Shared parallax fingerprint behind all service panels */
.svc-stack {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0;
  margin: 0;
}

.svc {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(0.75rem, 1.5vw, 1.25rem) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.svc:last-child { border-bottom: 1px solid var(--border); }
.svc-stack__fingerprint {
  position: absolute;
  right: -25%;
  top: -30%;
  height: 220%;
  width: auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.svc-stack__fingerprint path {
  stroke: url(#svc-fp-grad);
  stroke-width: 1.5;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
}
.svc-stack__fingerprint path.drawing {
  animation: svc-draw var(--dur) var(--del) ease-out forwards;
}
.svc-stack__fingerprint path.filled {
  fill: url(#svc-fp-grad);
  stroke-width: 0.2;
  transition: fill 0.6s ease, stroke-width 0.3s ease;
}
@keyframes svc-draw { to { stroke-dashoffset: 0; } }

.svc {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 3px;
}

.svc__left { position: relative; z-index: 1; }
.svc__details { position: relative; z-index: 1; }

.svc__num {
  font-family: var(--font-body);
  font-size: 2rem;
  font-style: italic;
  color: var(--accent);
  opacity: 1;
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1;
}

.svc__title {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--text-bright);
}

.svc__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2rem;
}
.svc__details li {
  font-size: 1.05rem;
  color: var(--text);
  position: relative;
  line-height: 1.6;
}

.svc--highlight {
  background: var(--surface-raised);
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 3px;
  border-top-color: var(--border-accent);
}
.svc--highlight .svc__title { color: var(--accent); }
.svc__title-logo {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: -0.05em;
}

.brand-logo {
  display: inline-block;
  height: 2.4em;
  width: 7em;
  object-fit: cover;
  object-position: center center;
  vertical-align: -0.5em;
}

/* ── Process Flow Commercial ── */

.process {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.process__header { margin-bottom: clamp(2rem, 4vw, 3rem); }

.process__stage {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  background: linear-gradient(160deg, rgba(41,157,240,0.08) 0%, rgba(10,13,18,0.95) 30%, rgba(18,29,170,0.06) 100%);
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: visible;
  box-shadow:
    0 8px 60px rgba(41,157,240,0.1),
    0 2px 20px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  background-clip: padding-box;
}
.process__stage::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(160deg, rgba(56,226,255,0.3), rgba(41,157,240,0.1) 40%, rgba(18,29,170,0.2) 80%, rgba(56,226,255,0.15));
  z-index: -1;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}
[data-theme="light"] .process__stage {
  background: linear-gradient(160deg, rgba(21,101,192,0.06) 0%, rgba(255,255,255,0.95) 30%, rgba(21,101,192,0.03) 100%);
  box-shadow: 0 8px 60px rgba(21,101,192,0.08), 0 2px 20px rgba(0,0,0,0.05);
}
[data-theme="light"] .process__stage::before {
  background: linear-gradient(160deg, rgba(21,101,192,0.2), rgba(21,101,192,0.05) 40%, rgba(21,101,192,0.1));
}

.process__progress {
  height: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.process__bar {
  height: 100%;
  width: 14.28%;
  background: linear-gradient(90deg, #38E2FF, #299DF0, #121DAA);
  transition: width 0.5s var(--ease-out);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(56,226,255,0.4);
}

.process__slides {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.process__slide {
  position: absolute;
  inset: 0;
  padding: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  opacity: 0;
  pointer-events: none;
}
.process__slide.active {
  opacity: 1;
  pointer-events: auto;
}
.process__slide.exit {
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Step number scales in */
.process__slide .process__step {
  opacity: 0;
  transform: scale(0.5);
  transition: none;
}
.process__slide.active .process__step {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1s var(--ease-out) 0.15s, transform 1s var(--ease-out) 0.15s;
}

/* Title types in from left */
.process__slide .process__title {
  opacity: 0;
  transform: translateX(-20px);
  transition: none;
}
.process__slide.active .process__title {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.8s var(--ease-out) 0.4s, transform 0.8s var(--ease-out) 0.4s;
}

/* Bullets fly in staggered */
.process__slide .process__details li {
  opacity: 0;
  transform: translateX(-15px);
  transition: none;
}
.process__slide.active .process__details li {
  opacity: 1;
  transform: translateX(0);
}
.process__slide.active .process__details li:nth-child(1) { transition: opacity 0.7s var(--ease-out) 0.7s, transform 0.7s var(--ease-out) 0.7s; }
.process__slide.active .process__details li:nth-child(2) { transition: opacity 0.7s var(--ease-out) 0.95s, transform 0.7s var(--ease-out) 0.95s; }
.process__slide.active .process__details li:nth-child(3) { transition: opacity 0.7s var(--ease-out) 1.2s, transform 0.7s var(--ease-out) 1.2s; }
.process__slide.active .process__details li:nth-child(4) { transition: opacity 0.7s var(--ease-out) 1.45s, transform 0.7s var(--ease-out) 1.45s; }

/* Bullet circles fill in on entrance */
.process__slide .process__details li::before {
  transform: scale(0);
  transition: none;
}
.process__slide.active .process__details li:nth-child(1)::before { transition: transform 0.5s var(--ease-out) 0.8s; transform: scale(1); }
.process__slide.active .process__details li:nth-child(2)::before { transition: transform 0.5s var(--ease-out) 1.05s; transform: scale(1); }
.process__slide.active .process__details li:nth-child(3)::before { transition: transform 0.5s var(--ease-out) 1.3s; transform: scale(1); }
.process__slide.active .process__details li:nth-child(4)::before { transition: transform 0.5s var(--ease-out) 1.55s; transform: scale(1); }

/* Annotation — invisible until triggered */
.process__slide .process__details span[data-key] {
  position: relative;
  display: inline;
  padding: 2px 4px;
  margin: 0 -2px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.process__slide .process__details span[data-key].glow {
  background-color: color-mix(in srgb, var(--slide-color, #38E2FF) 15%, transparent);
}

/* Connector — hidden div replaced by SVG drawn via JS */
.process__slide .process__details span[data-key] .connector-line {
  display: none;
}

/* SVG connector drawn dynamically */
.annotation-connector {
  position: absolute;
  pointer-events: none;
  z-index: 15;
  overflow: visible;
}
.annotation-connector path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.annotation-connector.drawn path {
  stroke-dashoffset: 0;
}
.annotation-connector circle {
  opacity: 0;
  transition: opacity 0.2s ease 0s;
}
.annotation-connector.drawn circle {
  opacity: 1;
}

/* Floating annotation — small typed-out label */
.floating-annotation {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transform-origin: left center;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 20;
  pointer-events: none;
  white-space: nowrap;
}
.floating-annotation.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
[data-theme="light"] .floating-annotation {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}


.floating-annotation__text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  overflow: hidden;
}

.process__step {
  display: none;
}

.process__title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.process__title::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #38E2FF, #299DF0);
  border-radius: 1px;
  flex-shrink: 0;
}

.process__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2.5rem;
  max-width: 700px;
}
.process__details li {
  font-size: 1.05rem;
  color: var(--text);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.7;
}
.process__details li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: transparent;
}

.process__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.2rem clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.process__arrows {
  display: flex;
  gap: 0.35rem;
}
.process__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dim);
  transition: all 0.2s;
  background: transparent;
}
.process__arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(41,157,240,0.08);
}
.process__arrow svg {
  width: 12px;
  height: 12px;
}
.process__nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.process__dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process__dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: all 0.3s var(--ease-out);
}
.process__dot:hover::after {
  background: rgba(41,157,240,0.35);
  transform: scale(1.2);
}
.process__dot.active::after {
  background: var(--accent);
  width: 24px;
  height: 8px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(41,157,240,0.4);
}
[data-theme="light"] .process__dot::after { background: rgba(0,0,0,0.1); }
[data-theme="light"] .process__dot.active::after { background: var(--accent); }

.process__label { display: none; }

/* ── Differentiator ── */

.diff {
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.diff__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.diff__content {
  position: relative;
}

.diff__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.infographic {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.infographic__img {
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
}
[data-theme="light"] .infographic__img {
  mix-blend-mode: multiply;
}

.infographic__label {
  position: absolute;
  font-size: clamp(0.5rem, 1.6vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #111;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 2;
}
[data-theme="dark"] .infographic__label { color: #fff; }
.infographic__label--records { right: -19%; top: 2%; }
.infographic__label--ai { right: -5%; top: 50%; }

.infographic__label--review { right: -16%; top: 65%; }
.infographic__label--delivery { right: -20%; top: 83%; }

.diff__title {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.diff__text {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2.5rem;
}

/* ── CTA Band ── */

.cta-band {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
}
@keyframes cta-gradient-flow {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(110deg, rgba(18,29,170,0.18) 0%, rgba(41,157,240,0.14) 12%, rgba(56,226,255,0.2) 25%, rgba(41,157,240,0.14) 38%, rgba(18,29,170,0.18) 50%);
  animation: cta-gradient-flow 8s linear infinite;
  pointer-events: none;
}

.cta-band__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-band__title {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text-bright);
  letter-spacing: -0.01em;
}

/* ── Contact Page ── */

.contact-hero {
  padding-top: calc(var(--nav-height) + 1rem);
  padding-bottom: 0.5rem;
}

.contact-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.contact-hero__title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.contact-hero__desc {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.75;
  color: var(--text);
}

.contact-form-section { padding-bottom: clamp(3rem, 6vw, 5rem); }

.contact-form-section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 3px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-group--check { margin-top: 0.5rem; }

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.req { color: var(--accent); }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}
.form-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(224,82,82,0.1);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237e8da0' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  appearance: none;
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-check { display: flex; gap: 0.75rem; cursor: pointer; align-items: flex-start; }
.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check__text { font-size: 1rem; line-height: 1.6; color: var(--text-dim); }

.form-message { margin-top: 1rem; font-size: 1rem; line-height: 1.6; display: none; border-radius: 3px; }
.form-message--success { display: block; color: var(--success); padding: 1rem; background: rgba(52,199,123,0.08); border-left: 3px solid var(--success); }
.form-message--error { display: block; color: var(--error); padding: 1rem; background: rgba(224,82,82,0.08); border-left: 3px solid var(--error); }

.contact-aside { padding-top: 1rem; }
.contact-aside__block { margin-bottom: 2.5rem; }
.contact-aside__heading { font-size: 1rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.4rem; }
.contact-aside__link { font-size: 1.05rem; color: var(--accent); font-weight: 500; transition: color 0.15s; }
.contact-aside__link:hover { color: var(--accent-light); }
.contact-aside__text { font-size: 1rem; color: var(--text-dim); line-height: 1.6; }

/* ── Privacy ── */

.privacy { padding-top: calc(var(--nav-height) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.privacy__inner { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.privacy__title { font-family: var(--font-body); font-size: clamp(2rem, 4vw, 3rem); color: var(--text-bright); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.privacy__updated { font-size: 1rem; color: var(--text-dim); margin-bottom: 3rem; }
.privacy__content h2 { font-family: var(--font-body); font-size: 1.3rem; color: var(--text-bright); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.privacy__content p { color: var(--text-dim); margin-bottom: 0.75rem; line-height: 1.8; }
.privacy__content ul { margin-bottom: 0.75rem; padding-left: 1.5rem; }
.privacy__content li { color: var(--text-dim); line-height: 1.8; list-style: disc; }
.privacy__content a { color: var(--accent); transition: color 0.15s; }
.privacy__content a:hover { color: var(--accent-light); }
.privacy__content h3 { font-family: var(--font-body); font-size: 1.1rem; color: var(--text-bright); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.privacy__content ol { margin-bottom: 0.75rem; padding-left: 1.5rem; }
.privacy__content ol li { color: var(--text-dim); line-height: 1.8; list-style: decimal; }

.privacy-form { margin-top: 1.5rem; }
.privacy-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.privacy-form__field { margin-bottom: 1rem; }
.privacy-form__field label { display: block; font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.privacy-form__field label span { color: var(--accent); }
.privacy-form__field input,
.privacy-form__field textarea { width: 100%; padding: 0.6rem 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 3px; color: var(--text-bright); font-size: 1rem; font-family: inherit; }
.privacy-form__field input:focus,
.privacy-form__field textarea:focus { outline: none; border-color: var(--accent); }
.privacy-form__steps { margin-top: 1.5rem; padding: 1rem 1.25rem; background: var(--surface-raised); border-radius: 3px; }
.privacy-form__steps ol { margin-top: 0.5rem; }

/* ── Footer ── */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 1rem;
}

.footer__inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.footer__logo-link { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 30px; }
.footer__subtitle { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); width: 100%; padding-left: 34px; margin-top: -4px; }
.footer__logo-link .fp-mark { height: 28px; width: auto; }
.footer__logo-link .logo-text { height: 18px; width: auto; color: var(--text-bright); }
.footer__tagline { font-size: 1rem; color: var(--text-dim); margin-top: 0.75rem; line-height: 1.6; }
.footer__heading { font-size: 1rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.75rem; }
.footer__link { display: block; font-size: 1rem; color: var(--text-dim); margin-bottom: 0.5rem; transition: color 0.15s; }
.footer__link:hover { color: var(--text-bright); }
.footer__bottom { padding-top: 1rem; }
.footer__bottom p { font-size: 1rem; color: var(--text); opacity: 1; }
.footer__logo-dim .logo-inline { color: var(--text-dim); height: 0.9em; }
.footer__logo-dim .logo-inline rect[fill="#2F86E7"],
.footer__logo-dim .logo-inline path[fill="#2F86E7"] { fill: var(--text-dim); }

/* ── Reusable Components ── */

.fp-mark { display: block; }
.fp-mark--sm { height: 20px; width: auto; }
.fp-mark--md { height: 32px; width: auto; }
.fp-mark--lg { height: 48px; width: auto; }
.fp-mark--watermark { opacity: 0.08; position: absolute; height: 80px; width: auto; pointer-events: none; }

.logo-text { display: block; }

/* ── Animations ── */

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.slide-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.slide-right.visible { opacity: 1; transform: translateX(0); }

.svc.visible .svc__details li {
  opacity: 0;
  animation: stagger-in 0.4s var(--ease-out) forwards;
}
.svc.visible .svc__details li:nth-child(1) { animation-delay: 0.05s; }
.svc.visible .svc__details li:nth-child(2) { animation-delay: 0.1s; }
.svc.visible .svc__details li:nth-child(3) { animation-delay: 0.15s; }
.svc.visible .svc__details li:nth-child(4) { animation-delay: 0.2s; }
.svc.visible .svc__details li:nth-child(5) { animation-delay: 0.25s; }

@keyframes stagger-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.metric { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.metrics.in-view .metric { opacity: 1; transform: translateY(0); }
.metrics.in-view .metric:nth-child(1) { transition-delay: 0s; }
.metrics.in-view .metric:nth-child(2) { transition-delay: 0.1s; }
.metrics.in-view .metric:nth-child(3) { transition-delay: 0.15s; }
.metrics.in-view .metric:nth-child(4) { transition-delay: 0.2s; }

/* ── Cookie Banner ── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 12, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  color: #fff;
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__content {
  flex: 1;
  min-width: 0;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
  line-height: 1.5;
}
.cookie-banner__text a { color: #5ab4f5; }
.cookie-banner__text a:hover { color: #8ccbfa; }

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-banner .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}
.cookie-banner .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.cookie-banner .btn--primary {
  background: #2F86E7;
  color: #fff;
}
.cookie-banner .btn--primary:hover {
  background: #5ab4f5;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__process { order: 1; }
  .hero__content { text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__desc { margin-left: auto; margin-right: auto; }

  .process__slides, .hero__process .process__slides { min-height: 420px; }
  .process__controls { gap: 0.75rem; padding: 1rem 0.75rem; flex-wrap: wrap; }
  .process__nav { gap: 0; }
  .process__dot { width: 44px; height: 44px; }
  .process__dot::after { width: 6px; height: 6px; }
  .process__dot.active::after { width: 18px; height: 6px; }
  .process__arrow { width: 28px; height: 28px; }
  .process__arrow svg { width: 10px; height: 10px; }

  .metrics__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .svc { grid-template-columns: 1fr; gap: 1rem; }
  .svc__details { grid-template-columns: 1fr; }

  .contact-form-section__inner { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }

  .diff__inner { grid-template-columns: 1fr; }
  .diff__visual { order: -1; }
  .diff__visual img { max-width: 350px; margin: 0 auto; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; }

  .infographic__label--records { right: -7%; }
  .infographic__label--ai { right: 3%; }
  .infographic__label--review { right: -7%; }
  .infographic__label--delivery { right: -8%; }

  .svc-stack__fingerprint {
    right: auto;
    left: -310%;
    transform: translateX(-50%);
    top: -40%;
    height: 120%;
  }
}

@media (max-width: 600px) {
  .nav__links {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
    gap: 0.75rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    align-items: flex-start;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__toggle { display: flex; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg) translate(2px, 3px); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg) translate(2px, -3px); }

  .metrics__inner { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
  .contact-hero__inner { max-width: 100%; }

  .nav__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .nav__brand .fp-mark { height: 24px; top: 0; }
  .nav__brand .logo-text { height: 12px; }
  .nav__subtitle { font-size: 0.45rem; letter-spacing: 0.08em; margin-top: 0; }
  .nav__cta { font-size: 0.8rem; padding: 0.4rem 0.8rem; min-height: 36px; }

  .process__slides, .hero__process .process__slides { min-height: 480px; }

  .process__controls { gap: 0.5rem; padding: 0.75rem 0.5rem; }
  .process__nav { gap: 0; }
  .process__dot { width: 44px; height: 44px; }
  .process__dot::after { width: 5px; height: 5px; }
  .process__dot.active::after { width: 14px; height: 5px; }
  .process__arrow { width: 26px; height: 26px; }
  .process__arrows { gap: 0.25rem; }
  .floating-annotation { max-width: 90vw; white-space: normal; }
  .floating-annotation__text { font-size: 0.9rem; }
}

/* ── Demo ── */
.demo-hero {
  padding-top: calc(var(--nav-height) + clamp(2rem, 5vw, 4rem));
  padding-bottom: 0.5rem;
}
.demo-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.demo-hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.demo-hero__title em { font-style: italic; color: var(--accent); }
.demo-hero__desc {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.75;
  color: var(--text);
  max-width: 56ch;
  margin-bottom: 1.5rem;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

/* Wordmark sizing, appended 2026-08-12.
   The wordmark SVGs are sized height-only with width:auto, which asks the browser
   to infer width from the viewBox ratio. That worked while the mark was a <text>
   element (it carries its own advance width) and stopped working once the mark
   became <path> geometry, collapsing the in-sentence logos to an empty gap.
   viewBox is 292x36, so the ratio is 8.111:1 — stated explicitly here so nothing
   is inferred. */
.logo-inline,
.hero__logo-inline { width: 8.92em; }   /* 1.1em x 8.111 */
.svc__title-logo   { width: 8.11em; }   /* 1em   x 8.111 */
.nav__brand .logo-text,
.footer__logo-link .logo-text { width: auto; }
