:root {
  --background: #f3f5f8;
  --background-soft: #fbfcfd;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --surface-strong: #101827;
  --surface-muted: #e7ebf1;
  --ink: #101827;
  --ink-soft: #475467;
  --ink-muted: #667085;
  --line: #d8dee8;
  --line-strong: #c3ccd8;
  --brand: #0b4a8b;
  --brand-strong: #083763;
  --navy: #101827;
  --purple: #6f63ff;
  --success: #0f766e;
  --radius-xs: 12px;
  --radius-sm: 18px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 39, 0.06);
  --shadow-sm: 0 10px 30px rgba(16, 24, 39, 0.06);
  --shadow-md: 0 22px 50px rgba(16, 24, 39, 0.08);
  --shadow-lg: 0 40px 90px rgba(16, 24, 39, 0.12);
  --max-width: 1360px;
  --max-width-wide: 1520px;
  --max-width-narrow: 900px;
  --container-gutter: clamp(20px, 3vw, 56px);
  --section-space: clamp(108px, 7vw, 136px);
  --card-padding: clamp(28px, 2vw, 36px);
  --grid-gap: clamp(20px, 1.5vw, 24px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--background);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(11, 74, 139, 0.05), transparent 28rem),
    linear-gradient(180deg, #f8fafc 0%, #f3f5f8 48%, #eef2f6 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: rgba(11, 74, 139, 0.14);
}

main {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

ul {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(0.93rem, 0.56vw, 1rem);
  line-height: 1.7;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.16rem, 0.7vw, 1.22rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: min(var(--max-width), calc(100% - 2 * var(--container-gutter)));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.section-shell--wide {
  width: min(var(--max-width-wide), calc(100% - 2 * var(--container-gutter)));
}

.section-shell--narrow {
  width: min(var(--max-width-narrow), calc(100% - 2 * var(--container-gutter)));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: clamp(0.7rem, 0.39vw, 0.74rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand);
}

.site-header {
  position: sticky;
  top: 20px;
  z-index: 30;
  width: min(var(--max-width-wide), calc(100% - 2 * var(--container-gutter)));
  margin: 20px auto 0;
  padding: 10px 10px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.97);
  color: #fff;
  box-shadow: 0 20px 48px rgba(16, 24, 39, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--grid-gap);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-warehouse {
  width: 45px;
  height: 31px;
  fill: #fff;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(1.42rem, 0.78vw, 1.48rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.brand-dist {
  color: #fff;
}

.brand-we {
  color: #084376;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
}

.nav-links-panel {
  display: contents;
}

.nav-toggle,
.nav-cta--mobile {
  display: none;
}

.nav-links a,
.nav-cta {
  outline-offset: 4px;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.84rem, 0.5vw, 0.9rem);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: clamp(0.8rem, 0.44vw, 0.84rem);
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #edf2ff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(clamp(400px, 25vw, 460px), 1.12fr);
  gap: clamp(48px, 3.5vw, 72px);
  align-items: center;
  padding-top: 82px;
  padding-bottom: 72px;
}

.hero-copy {
  max-width: clamp(520px, 38vw, 620px);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.48;
  color: var(--ink-soft);
}

.hero-trust-card {
  margin-top: 26px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.trust-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--ink);
}

.trust-card-header svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex: 0 0 auto;
}

.trust-card-header strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 16px 28px rgba(16, 24, 39, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #182233;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #fff;
}

.dashboard-stage {
  position: relative;
}

/* ─── Illustration scaling system ───────────────────────────────────────────
 * Any element marked [data-illu] inside a [data-illu-stage] container
 * receives proportional scaling via initializeIllustrationScaling() in
 * main.js. Desktop is left untouched; mobile/tablet scales automatically.
 * Future illustrations: add data-illu-stage to the wrapper and data-illu
 * to the illustration element — no custom CSS needed.
 * ─────────────────────────────────────────────────────────────────────────── */
[data-illu] {
  transform-origin: top left;
  will-change: transform;
}

.dashboard-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: var(--navy);
  color: #fff;
}

.preview-topbar strong {
  font-size: 0.96rem;
  font-weight: 750;
}

.preview-topbar small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

.preview-window-controls {
  display: inline-flex;
  gap: 7px;
}

.preview-window-controls span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.preview-window-controls span:first-child {
  background: #9ab7ff;
}

.preview-body {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  min-height: clamp(460px, 28vw, 520px);
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px 13px;
  background: #121c2d;
}

.preview-sidebar span {
  padding: 9px 11px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
}

.preview-sidebar .active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 3px 0 0 #9ab7ff;
}

.preview-main {
  padding: 21px;
  background: linear-gradient(180deg, #fdfefe 0%, #f5f8fb 100%);
}

.preview-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview-summary strong,
.narrative-panel-frame strong,
.pricing-table-header strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.summary-badge {
  min-width: 136px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.summary-badge span,
.hero-metric span,
.hero-metric small,
.pillar-stats span,
.panel-row span,
.finance-stack span,
.pricing-table-row span:first-child,
.footer-bottom span,
.legal-updated {
  color: var(--ink-muted);
}

.summary-badge strong {
  margin-top: 8px;
  font-size: 1.72rem;
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.hero-metric span,
.hero-metric small,
.pillar-stats span,
.finance-stack span,
.panel-row span,
.footer-grid strong,
.legal-toc strong {
  display: block;
}

.hero-metric span,
.hero-metric small,
.pillar-stats span,
.finance-stack span,
.panel-row span,
.pricing-card .price span,
label span,
.form-note,
.form-status {
  font-size: 0.82rem;
}

.hero-metric strong,
.pillar-stats strong,
.finance-stack strong,
.panel-row strong {
  display: block;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.hero-metric strong {
  margin: 8px 0 6px;
  font-size: 1.58rem;
}

.preview-columns {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-top: 18px;
}

.preview-panel,
.pillar-card,
.story-shell,
.narrative-panel-frame,
.pricing-card,
.pricing-table-card,
.contact-form-shell,
.legal-toc,
.legal-section {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.confidence-card,
.environment-card,
.commercial-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.faq-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.preview-panel {
  padding: 20px;
  border-radius: 22px;
}

.preview-panel-dark {
  background: var(--navy);
  border-color: #202d43;
  color: #fff;
  box-shadow: none;
}

.preview-panel-dark .panel-eyebrow,
.preview-panel-dark li span,
.preview-panel-dark li strong,
.preview-panel-dark .preview-panel-header strong {
  color: inherit;
}

.preview-panel-dark .panel-eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.preview-panel-dark .preview-list li {
  border-color: rgba(255, 255, 255, 0.12);
}

.preview-panel-header {
  margin-bottom: 18px;
}

.preview-list {
  display: grid;
  gap: 12px;
}

.preview-list li,
.finance-stack div,
.panel-row,
.pricing-table-row,
.footer-grid nav,
.contact-points,
.legal-content {
  display: grid;
}

.preview-list li {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.preview-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.preview-list li span {
  color: rgba(255, 255, 255, 0.78);
}

.preview-list li strong {
  color: #fff;
  font-size: 0.88rem;
}

.finance-stack {
  gap: 12px;
}

.finance-stack div,
.panel-row {
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-alt);
}

.finance-stack strong,
.panel-row strong {
  font-size: 1rem;
}

.confidence-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.confidence-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 21px;
  border-radius: 22px;
}

.confidence-icon,
.pillar-icon,
.environment-icon,
.contact-points span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--surface-alt);
  color: var(--brand);
  border: 1px solid var(--line);
}

.confidence-icon svg,
.pillar-icon svg,
.environment-icon svg,
.contact-points span svg,
.panel-link svg {
  width: 20px;
  height: 20px;
}

.confidence-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.section-heading {
  max-width: clamp(680px, 50vw, 800px);
  margin-bottom: 42px;
}

.platform-section {
  display: grid;
  gap: clamp(32px, 3vw, 42px);
}

.platform-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(clamp(360px, 31vw, 520px), 0.88fr);
  grid-template-areas:
    "eyebrow ."
    "copy video";
  column-gap: clamp(28px, 3vw, 44px);
  row-gap: 0;
  align-items: start;
}

.platform-eyebrow {
  grid-area: eyebrow;
}

.platform-heading-copy {
  grid-area: copy;
}

.platform-intro .section-heading {
  margin-bottom: 0;
}

.platform-video-panel {
  grid-area: video;
  align-self: start;
}

.platform-video-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 252, 0.9));
  box-shadow: var(--shadow-md);
}

.platform-video-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 24, 39, 0.03);
}

.platform-video-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.16);
}

.platform-video {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, rgba(16, 24, 39, 0.08), rgba(16, 24, 39, 0.02));
  object-fit: cover;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
  min-height: 100%;
  padding: var(--card-padding);
  border-radius: 26px;
}

.pillar-copy p,
.environment-card p,
.commercial-card p,
.pricing-card p,
.contact-copy p,
.faq-item p,
.legal-section p {
  color: var(--ink-soft);
}

.pillar-card ul,
.environment-card ul,
.narrative-copy ul,
.pricing-card ul,
.trust-list {
  display: grid;
  gap: 10px;
}

.pillar-stats {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.pillar-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.pillar-stats strong {
  font-size: 0.95rem;
}

.story-section {
  padding-top: 20px;
}

.story-shell {
  padding: 38px;
  border-radius: 32px;
}

.story-shell .section-heading {
  margin-bottom: 34px;
}

.story-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.story-step {
  position: relative;
  padding-top: 28px;
}

.story-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
}

.story-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: clamp(0.8rem, 0.44vw, 0.84rem);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.narrative-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.narrative-section.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.narrative-section.reverse .narrative-copy {
  order: 2;
}

.narrative-section.reverse .narrative-panel {
  order: 1;
}

/* Clip illustration overflow so the JS scale transform contains correctly. */
.narrative-panel {
  overflow: hidden;
}

.narrative-copy ul {
  margin-top: 24px;
}

.narrative-panel-frame {
  padding: var(--card-padding);
  border-radius: 28px;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-link {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--brand);
  border: 1px solid var(--line);
}

.panel-row-stack {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.industries-section,
.pricing-section,
.faq-section,
.contact-section {
  padding-top: 100px;
}

.environment-grid,
.commercial-grid,
.pricing-grid {
  display: grid;
  gap: var(--grid-gap);
}

.environment-grid,
.commercial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.environment-card,
.commercial-card,
.pricing-card {
  padding: var(--card-padding);
  border-radius: 26px;
}

.environment-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.commercial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 1.35vw, 26px);
  align-items: start;
}

.commercial-intro {
  max-width: clamp(510px, 28.125vw, 540px);
}

.commercial-grid {
  align-items: stretch;
}

.commercial-card h3 {
  margin-bottom: 10px;
}

.pricing-layout {
  display: grid;
  gap: clamp(24px, 1.35vw, 26px);
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.pricing-card.highlighted {
  border-color: #b8c6d8;
  box-shadow: var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.price strong {
  color: var(--ink);
  font-size: 1.95rem;
  letter-spacing: -0.06em;
}

.plan-users {
  color: var(--ink);
  font-weight: 800;
}

.regular-price {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: line-through;
}

.trial-badge {
  align-self: flex-start;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.pricing-card ul {
  margin-top: auto;
  padding-top: 8px;
}

.pricing-table-card {
  padding: 28px;
  border-radius: 26px;
}

.pricing-table-header {
  margin-bottom: 18px;
}

.pricing-table-header p,
.pricing-note {
  margin-top: 10px;
  color: var(--ink-soft);
}

.pricing-note {
  margin-bottom: 0;
}

.pricing-table {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.pricing-table-row {
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.pricing-table-row:first-child {
  border-top: 0;
}

.pricing-table-row.heading {
  background: var(--surface-alt);
}

.pricing-table-row span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.pricing-table-row span:first-child {
  color: var(--ink);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border-radius: 22px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 19px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(11, 74, 139, 0.18);
  outline-offset: -3px;
}

.faq-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-alt);
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
  padding: 0 24px 24px;
  border-top: 1px solid var(--line);
  margin: 0 24px;
  padding-top: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.contact-copy {
  padding: 30px;
  border-radius: 28px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.contact-copy .eyebrow,
.contact-copy .eyebrow::before {
  color: #9ab7ff;
  background: #9ab7ff;
}

.contact-copy h2,
.contact-copy p,
.contact-points strong {
  color: #fff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-points {
  gap: 18px;
  margin-top: 26px;
}

.contact-points div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.contact-points strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.contact-points span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #9ab7ff;
}

.contact-points p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form-shell {
  padding: 18px;
  border-radius: 28px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(11, 74, 139, 0.11);
}

.full-width {
  grid-column: 1 / -1;
}

.form-note {
  color: var(--ink-muted);
  line-height: 1.6;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-weight: 700;
}

.form-status[data-status='success'] {
  color: var(--success);
}

.form-status[data-status='error'] {
  color: #b42318;
}

.form-status[data-status='pending'] {
  color: var(--brand);
}

button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.footer {
  width: min(var(--max-width), calc(100% - 2 * var(--container-gutter)));
  margin: 0 auto 28px;
  padding: 30px;
  border-radius: 28px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 28px 54px rgba(16, 24, 39, 0.18);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-block p {
  max-width: clamp(390px, 21.875vw, 420px);
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand .brand-warehouse {
  width: 45px;
  height: 31px;
}

.footer-brand .brand-wordmark {
  font-size: clamp(1.42rem, 0.78vw, 1.48rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-grid strong {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.footer-grid nav {
  gap: 10px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.8rem;
}

.footer-bottom span {
  color: rgba(255, 255, 255, 0.58);
}

.legal-hero {
  padding-bottom: 40px;
}

.legal-hero-card {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.legal-hero-card .hero-subtitle {
  color: rgba(255, 255, 255, 0.76);
}

.back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 28px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: clamp(0.8rem, 0.44vw, 0.84rem);
  font-weight: 760;
}

.back-link:hover,
.back-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.legal-document {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 18px;
}

.legal-toc {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 136px);
  overflow: auto;
  padding: 20px;
  border-radius: 24px;
}

.legal-toc strong {
  margin-bottom: 14px;
  color: var(--ink);
}

.legal-toc nav {
  display: grid;
  gap: 6px;
}

.legal-toc a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: var(--surface-alt);
  color: var(--brand);
}

.legal-section {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 28px;
  scroll-margin-top: 128px;
}

.legal-section span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.legal-section h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.legal-section p + p {
  margin-top: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

li::before {
  content: '';
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .dashboard-preview {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .nav-cta {
    display: none;
  }

  .hero,
  .narrative-section,
  .narrative-section.reverse,
  .commercial-section,
  .contact-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 40px;
  }

  .platform-intro {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  }

  .hero-copy {
    max-width: 820px;
  }

  .dashboard-preview {
    transform: none;
  }

  .confidence-band,
  .pillar-grid,
  .environment-grid,
  .commercial-grid,
  .pricing-grid,
  .story-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .narrative-section.reverse .narrative-copy,
  .narrative-section.reverse .narrative-panel {
    order: initial;
  }

  .pricing-table-row {
    grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --section-space: clamp(82px, 9vw, 90px);
  }

  .site-header {
    position: static;
    width: 100%;
    margin-top: 0;
    border-radius: 0 0 28px 28px;
    padding-inline: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 66px;
    padding-bottom: 52px;
  }

  .platform-intro {
    column-gap: 24px;
  }

  .preview-body,
  .legal-document {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .preview-columns,
  .pricing-layout,
  .footer-grid,
  .pricing-grid,
  .environment-grid,
  .commercial-grid,
  .story-timeline,
  .confidence-band,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics-grid {
    grid-template-columns: 1fr;
  }

  .pricing-table-row {
    grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: relative;
    top: 0;
    max-height: none;
  }

  .legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --section-space: 74px;
    --container-gutter: 24px;
  }

  .section-shell,
  .footer {
    width: min(var(--max-width), calc(100% - 2 * var(--container-gutter)));
  }

  .site-header {
    padding-inline: 12px;
    border-radius: 0 0 22px 22px;
  }

  .brand-wordmark,
  .footer-brand .brand-wordmark {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .platform-section {
    gap: 32px;
  }

  .platform-intro {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "copy"
      "video";
    row-gap: 0;
  }

  .platform-heading-copy {
    margin-bottom: 28px;
  }

  .hero-trust-card,
  .story-shell,
  .pillar-card,
  .environment-card,
  .commercial-card,
  .pricing-card,
  .pricing-table-card,
  .contact-copy,
  .contact-form-shell,
  .legal-hero-card,
  .legal-section,
  .legal-toc,
  .confidence-card,
  .narrative-panel-frame {
    padding: 22px;
  }

  .preview-topbar,
  .preview-main {
    padding: 18px;
  }

  .preview-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-summary {
    flex-direction: column;
  }

  .summary-badge {
    width: 100%;
  }

  .pricing-table {
    overflow-x: auto;
  }

  .pricing-table-row {
    min-width: 620px;
  }

  .faq-item summary {
    padding: 18px;
    min-height: 66px;
  }

  .faq-item p {
    margin: 0 18px;
    padding: 16px 0 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-toc nav,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-product {
  background: #f8fafc;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}

.preview-browser-bar {
  display: flex;
  gap: 9px;
  padding: 15px 18px;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.preview-browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #a7b0bd;
}

.product-shell {
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr);
  min-height: clamp(460px, 28vw, 520px);
  background: #f7f9fc;
}

.product-sidebar {
  padding: 18px 10px;
  background: radial-gradient(circle at 20% 0%, rgba(34, 117, 255, 0.22), transparent 34%), #03142a;
  color: #fff;
}

.product-brand {
  gap: 5px;
  margin-bottom: 22px;
  color: #fff;
}

.product-brand .brand-warehouse {
  width: 20px;
  height: 20px;
}

.product-brand .brand-wordmark {
  font-size: 0.82rem;
}

.product-nav-group {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.product-nav-group > strong {
  margin: 0 0 4px 3px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-nav-item {
  padding: 7px 7px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.58rem;
  font-weight: 750;
  line-height: 1.28;
  white-space: nowrap;
}

.product-nav-item.active {
  color: #06152a;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.product-workspace {
  min-width: 0;
}

.product-topbar {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #03142a;
}

.product-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(240px, 58%);
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.64rem;
}

.product-main {
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, #fff 0%, #f7f9fc 56%, #eef3f8 100%);
}

.product-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.product-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.product-heading p {
  margin-top: 5px;
  color: var(--ink-muted);
  font-size: 0.58rem;
  font-weight: 700;
}

.product-heading time {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}

.product-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.product-kpi,
.product-card {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.product-kpi {
  min-height: 108px;
  padding: 12px;
}

.product-kpi div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.product-kpi span {
  color: var(--ink-muted);
  font-size: 0.52rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-kpi i {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-style: normal;
  font-weight: 900;
}

.product-kpi strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: -0.05em;
}

.product-kpi em {
  display: block;
  margin-top: 5px;
  color: #10b981;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 900;
}

.product-kpi.red em,
.product-kpi.alert em {
  color: #ef4444;
}

.product-kpi.compliance-score strong {
  font-size: 1.28rem;
}

.product-kpi small {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 0.52rem;
}

.product-kpi b {
  display: block;
  height: 2px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7357ff, #7357ff 48%, #dbe4ee 48%);
}

.product-kpi.green b,
.product-kpi.blue b {
  background: linear-gradient(90deg, #22c55e, #22c55e 88%, #dbe4ee 88%);
}

.product-kpi.alert b,
.product-kpi.red b {
  background: linear-gradient(90deg, #ef4444, #ef4444 70%, #dbe4ee 70%);
}

.product-lower-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 12px;
}

.product-card {
  padding: 13px;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 0.82rem;
}

.product-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
}

.product-card-title h3 {
  margin: 0;
}

.product-card-title a {
  color: #4f46e5;
  font-size: 0.58rem;
  font-weight: 900;
}

.activity-row {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.activity-row:first-of-type {
  border-top: 0;
}

.activity-row i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.62rem;
  font-style: normal;
}

.activity-row i.violet { background: #f1efff; color: #6d5dfc; }
.activity-row i.green { background: #ecfdf5; color: #10b981; }

.activity-row strong,
.activity-row span,
.activity-row time {
  display: block;
  font-size: 0.58rem;
}

.activity-row strong {
  color: var(--ink);
  font-weight: 900;
}

.activity-row span,
.activity-row time {
  color: var(--ink-muted);
  font-weight: 700;
}

.product-side-stack {
  display: grid;
  gap: 12px;
}

.inventory-row {
  margin-top: 9px;
}

.inventory-row div,
.compliance-lines span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.inventory-row div {
  grid-template-columns: 10px 1fr auto;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
}

.dot.orange { background: #f59e0b; }
.dot.red { background: #ef4444; }
.dot.slate { background: #64748b; }
.dot.violet { background: #8b5cf6; }

.inventory-row strong,
.inventory-row em,
.inventory-row small,
.compliance-lines span {
  color: var(--ink);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
}

.inventory-row small {
  display: block;
  margin-top: 2px;
  text-align: right;
  color: var(--ink-muted);
}

.inventory-row b {
  display: block;
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.inventory-row b i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #10b981;
}

.compliance-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 12px;
  align-items: center;
}

.compliance-lines {
  display: grid;
  gap: 8px;
}

.compliance-lines span {
  position: relative;
  padding-bottom: 7px;
}

.compliance-lines span::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #e2e8f0;
  content: "";
}

.compliance-lines span i {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5b4dff, #0284c7 52%, #10b981);
}

.compliance-ring {
  --compliance-green: #10b981;

  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #fff 54%, transparent 55%), conic-gradient(var(--compliance-green) 0deg 288deg, #e5eaf1 288deg 360deg);
  box-shadow: inset 0 0 0 10px #e5eaf1, 0 12px 22px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.compliance-ring strong {
  color: var(--compliance-green);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.compliance-ring small {
  margin-top: -18px;
  color: #64748b;
  font-size: 0.5rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  html,
  body {
    overflow-x: clip;
  }

  body.nav-lock {
    overflow: hidden;
  }

  p {
    font-size: 1rem;
    line-height: 1.68;
  }

  h1 {
    font-size: clamp(2.55rem, 10vw, 4.25rem);
    line-height: 1;
    letter-spacing: -0.065em;
  }

  h2 {
    font-size: clamp(2rem, 7vw, 3.2rem);
    line-height: 1.05;
  }

  h3 {
    font-size: 1.18rem;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 12px var(--container-gutter);
    border-radius: 0 0 24px 24px;
  }

  .nav-toggle {
    position: relative;
    z-index: 91;
    display: inline-grid;
    place-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 90;
    width: 100%;
    padding: 86px var(--container-gutter) 28px;
    overflow: hidden;
    pointer-events: none;
    background: rgba(3, 20, 42, 0.3);
    opacity: 0;
    transition: opacity 0.22s ease;
  }

  .site-header.nav-open .nav-links {
    pointer-events: auto;
    opacity: 1;
  }

  .nav-links-panel {
    display: grid;
    gap: 10px;
    width: min(100%, 440px);
    margin-left: auto;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: rgba(16, 24, 39, 0.98);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    transition: transform 0.22s ease;
  }

  .site-header.nav-open .nav-links-panel {
    transform: translateY(0);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 1rem;
    white-space: normal;
  }

  .site-header > .nav-cta {
    display: none;
  }

  .nav-cta--mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 6px;
    color: var(--navy) !important;
  }

  .hero {
    align-items: start;
    gap: 34px;
    padding-top: 56px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-subtitle {
    font-size: clamp(1.14rem, 4.2vw, 1.34rem);
  }

  .button,
  input,
  textarea,
  .back-link,
  .panel-link {
    min-height: 48px;
  }

  .dashboard-stage {
    width: calc(100% + 2 * var(--container-gutter));
    margin-inline: calc(-1 * var(--container-gutter));
    overflow: hidden;
    padding: 8px 0 24px;
  }

  .dashboard-product {
    /* Fixed natural design width — JS scales this proportionally */
    width: 820px;
    transform: none;
    transform-origin: top left;
  }

  .product-shell {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  :root {
    --container-gutter: clamp(18px, 6vw, 24px);
    --section-space: 68px;
    --card-padding: 22px;
    --grid-gap: 18px;
  }

  .section-shell,
  .footer {
    width: min(var(--max-width), calc(100% - 2 * var(--container-gutter)));
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .cta-row,
  .lead-form {
    gap: 12px;
  }

  .cta-row .button,
  .lead-form .button {
    width: 100%;
  }

  .confidence-card,
  .contact-points div {
    grid-template-columns: 1fr;
  }

  .narrative-section,
  .narrative-section.reverse,
  .contact-layout,
  .commercial-section,
  .footer-top,
  .platform-intro {
    gap: 24px;
  }

  .pricing-table-card {
    overflow: hidden;
  }

  .pricing-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .footer {
    padding: 24px;
    text-align: center;
  }

  .footer-brand,
  .footer-bottom {
    justify-content: center;
  }

  .footer-brand-block p {
    margin-inline: auto;
  }

  .footer-bottom {
    align-items: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.34rem, 12vw, 3rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .hero-trust-card,
  .story-shell,
  .pillar-card,
  .environment-card,
  .commercial-card,
  .pricing-card,
  .pricing-table-card,
  .contact-copy,
  .contact-form-shell,
  .legal-hero-card,
  .legal-section,
  .legal-toc,
  .confidence-card,
  .narrative-panel-frame {
    padding: 20px;
    border-radius: 22px;
  }

  .dashboard-product {
    width: 820px;
  }

  .product-shell {
    grid-template-columns: 122px minmax(0, 1fr);
  }

  .product-kpi-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 360px) {
  :root {
    --container-gutter: 18px;
  }

  .brand-warehouse {
    width: 38px;
    height: 27px;
  }

  .brand-wordmark,
  .footer-brand .brand-wordmark {
    font-size: 1.32rem;
  }

  .dashboard-product {
    width: 820px;
  }
}

/* Operations / Platform Overview product illustrations */
.ops-illu {
  width: 820px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.ops-illu-header,
.compliance-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.ops-illu-header strong,
.compliance-title strong,
.growth-illu h3,
.commercial-lower strong,
.compliance-layout section > strong {
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.ops-illu-header span,
.compliance-title span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.compliance-title span {
  border-color: rgba(22, 163, 74, 0.18);
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
}

.ops-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.ops-kpi-grid article,
.compliance-layout section,
.compliance-layout aside article,
.growth-cards article,
.growth-note,
.commercial-lower section,
.commercial-lower aside {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.ops-kpi-grid article {
  min-height: 92px;
  padding: 16px;
}

.ops-kpi-grid span,
.ops-table-head span,
.compliance-layout span,
.commercial-lower span,
.growth-cards span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ops-kpi-grid strong {
  display: block;
  margin: 10px 0 5px;
  font-size: 1.48rem;
  letter-spacing: -0.05em;
}

.ops-kpi-grid em {
  color: #16a34a;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}

.ops-kpi-grid article:nth-child(3) em {
  color: #b45309;
}

.ops-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 750;
}

.ops-tabs b {
  position: relative;
  color: #075cd8;
}

.ops-tabs b::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: #075cd8;
}

.ops-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.ops-table-row {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr 0.7fr 0.65fr 0.85fr 1fr 0.8fr;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.ops-table-row:first-child { border-top: 0; }
.ops-table-head { min-height: 42px; background: var(--surface-alt); }
.ops-table-row strong { font-size: 0.78rem; }
.ops-table-row small { display: block; color: var(--ink-muted); font-size: 0.65rem; }
.ops-table-row em { color: #16a34a; font-style: normal; font-weight: 800; }

.ops-action-strip {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.ops-action-strip span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
}

.compliance-illu { width: 690px; }
.compliance-layout { display: grid; grid-template-columns: 0.9fr 1.75fr 0.75fr; gap: 18px; }
.compliance-layout nav { display: grid; align-content: start; gap: 8px; }
.compliance-layout nav b,
.compliance-layout nav span { padding: 14px 16px; border-radius: 12px; text-transform: none; letter-spacing: 0; }
.compliance-layout nav b { background: #eef4ff; color: #075cd8; font-size: 0.78rem; }
.compliance-layout section { padding: 24px; }
.compliance-layout section div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding-top: 22px; font-size: 0.8rem; }
.compliance-layout section div span { color: var(--ink); text-transform: none; letter-spacing: 0; }
.compliance-layout section b { font-size: 0.78rem; }
.compliance-layout em { color: #16a34a; font-style: normal; }
.compliance-layout em.warn { color: #f59e0b; }
.compliance-layout aside { display: grid; gap: 14px; }
.compliance-layout aside article { padding: 18px; }
.compliance-layout aside strong { display: block; margin-top: 12px; font-size: 1.4rem; }

.commercial-illu { width: 760px; }
.commercial-lower { display: grid; grid-template-columns: 1.55fr 0.8fr; gap: 14px; }
.commercial-lower section,
.commercial-lower aside { padding: 18px; }
.commercial-lower svg { width: 100%; margin-top: 16px; overflow: visible; }
.commercial-lower path { fill: none; stroke: var(--line); stroke-width: 1; }
.commercial-lower polyline { fill: none; stroke: #075cd8; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.commercial-lower aside div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 0.78rem; }
.commercial-lower aside div:first-of-type { margin-top: 12px; }
.commercial-lower aside span { text-transform: none; letter-spacing: 0; color: var(--ink); }

.growth-illu { width: 640px; }
.growth-illu h3 { margin: 0 0 20px; }
.growth-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.growth-cards article { padding: 22px; }
.growth-cards b { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 12px; background: #eef4ff; color: #075cd8; }
.growth-cards strong { display: block; margin-bottom: 4px; font-size: 0.98rem; }
.growth-cards span { margin-bottom: 18px; text-transform: none; letter-spacing: 0; }
.growth-cards p { margin: 10px 0 0; color: var(--ink-soft); font-size: 0.78rem; }
.growth-note { margin-top: 16px; padding: 14px 16px; color: var(--ink-soft); font-size: 0.82rem; }
