:root {
  --navy-950: #071a2e;
  --navy-900: #0f2b4a;
  --navy-800: #173c63;
  --blue-700: #0f6fbf;
  --blue-600: #1687de;
  --blue-100: #dff1ff;
  --mint-600: #00a98f;
  --mint-500: #00c9a7;
  --mint-100: #dffaf5;
  --gold-500: #f5a623;
  --gold-100: #fff4dc;
  --red-600: #c94d5f;
  --red-100: #fff0f2;
  --ink: #10263c;
  --muted: #5b6f82;
  --line: #dbe5ee;
  --line-strong: #c7d5e2;
  --paper: #ffffff;
  --canvas: #f5f8fc;
  --canvas-blue: #eef6fb;
  --shadow-sm: 0 8px 24px rgba(15, 43, 74, 0.07);
  --shadow-md: 0 18px 48px rgba(15, 43, 74, 0.12);
  --shadow-lg: 0 32px 80px rgba(7, 26, 46, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1180px;
  --font-sans: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
.display-type {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.35;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section--compact {
  padding: 72px 0;
}

.section--white {
  background: var(--paper);
}

.section--blue {
  background: var(--canvas-blue);
}

.section--navy {
  color: #fff;
  background: var(--navy-950);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 52px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section--navy .section-heading p,
.section--navy .muted {
  color: #b9c9d7;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  background: var(--mint-500);
  content: "";
}

.section--navy .eyebrow {
  color: #78ddcd;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.65;
}

.muted {
  color: var(--muted);
}

.fine-print {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(199, 213, 226, 0.65);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 11px;
  align-items: center;
  color: var(--navy-900);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy-900), var(--blue-700));
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(15, 111, 191, 0.22);
  place-items: center;
}

.brand-mark::after {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 7px;
  height: 7px;
  background: var(--mint-500);
  border: 2px solid var(--navy-900);
  border-radius: 50%;
  content: "";
}

.brand-name {
  font-size: 1.28rem;
}

.brand-pro {
  padding: 3px 7px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links > a:not(.button) {
  position: relative;
  color: #40576d;
  font-size: 0.91rem;
  font-weight: 700;
}

.nav-links > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--mint-500);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links > a:hover::after,
.nav-links > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy-900);
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--blue-700);
  box-shadow: 0 12px 24px rgba(15, 111, 191, 0.22);
}

.button--primary:hover {
  background: #0b63ad;
  box-shadow: 0 16px 30px rgba(15, 111, 191, 0.28);
}

.button--mint {
  color: var(--navy-950);
  background: var(--mint-500);
  box-shadow: 0 12px 28px rgba(0, 201, 167, 0.2);
}

.button--secondary {
  color: var(--navy-900);
  background: #fff;
  border-color: var(--line-strong);
}

.button--ghost {
  min-height: auto;
  padding: 8px 0;
  color: var(--blue-700);
  background: transparent;
}

.button--full {
  width: 100%;
}

.button svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 84px;
  background:
    radial-gradient(circle at 84% 14%, rgba(0, 201, 167, 0.14), transparent 27%),
    radial-gradient(circle at 9% 89%, rgba(15, 111, 191, 0.11), transparent 31%),
    #f8fbfd;
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(#6f91ab 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 48%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 72px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
}

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

.hero-copy h1 span {
  color: var(--blue-700);
}

.hero-copy .lead {
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  display: flex;
  margin-top: 24px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
}

.hero-note span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.hero-note span::before {
  width: 6px;
  height: 6px;
  background: var(--mint-500);
  border-radius: 50%;
  content: "";
}

.product-window {
  position: relative;
  padding: 13px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(199, 213, 226, 0.86);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}

.product-window::after {
  position: absolute;
  z-index: -1;
  right: -25px;
  bottom: -28px;
  width: 170px;
  height: 170px;
  background: var(--mint-100);
  border-radius: 40px;
  content: "";
  transform: rotate(12deg);
}

.window-bar {
  display: flex;
  padding: 8px 9px 14px;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  background: #cfdae3;
  border-radius: 50%;
}

.window-url {
  color: #7a8d9e;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 750;
}

.dashboard-preview {
  padding: 22px;
  background: #fff;
  border-radius: 18px;
}

.dashboard-head {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
}

.client-mini-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 850;
}

.client-mini-logo {
  display: grid;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 9px;
  place-items: center;
}

.status-pill,
.chip {
  display: inline-flex;
  padding: 5px 9px;
  gap: 6px;
  align-items: center;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
}

.status-pill {
  color: #087866;
  background: var(--mint-100);
}

.status-pill::before {
  width: 6px;
  height: 6px;
  background: var(--mint-500);
  border-radius: 50%;
  content: "";
}

.preview-title {
  margin-bottom: 4px;
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.preview-subtitle {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.76rem;
}

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

.preview-metric {
  padding: 13px;
  background: var(--canvas);
  border: 1px solid #e4edf4;
  border-radius: 12px;
}

.preview-metric span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.64rem;
}

.preview-metric strong {
  color: var(--navy-900);
  font-size: 1.03rem;
}

.preview-callout {
  display: flex;
  padding: 13px;
  gap: 11px;
  align-items: flex-start;
  color: #40576d;
  background: var(--gold-100);
  border: 1px solid #f7ddb0;
  border-radius: 12px;
  font-size: 0.72rem;
  line-height: 1.45;
}

.preview-callout b {
  color: var(--navy-900);
}

.floating-card {
  position: absolute;
  right: -34px;
  bottom: 54px;
  width: 190px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
}

.floating-card small {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  margin: 3px 0 8px;
  color: var(--navy-900);
  font-size: 0.92rem;
}

.mini-progress {
  height: 6px;
  overflow: hidden;
  background: #e5edf3;
  border-radius: 999px;
}

.mini-progress span {
  display: block;
  width: 78%;
  height: 100%;
  background: var(--mint-500);
  border-radius: inherit;
}

.proof-strip {
  background: var(--navy-900);
}

.proof-grid {
  display: grid;
  color: #fff;
  grid-template-columns: repeat(3, 1fr);
}

.proof-item {
  display: flex;
  min-height: 116px;
  padding: 24px 28px;
  gap: 16px;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-number {
  color: var(--mint-500);
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
}

.proof-item strong {
  display: block;
  font-size: 0.92rem;
}

.proof-item span:last-child {
  display: block;
  color: #b9c9d7;
  font-size: 0.75rem;
}

.cards-3,
.steps-grid,
.tools-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card,
.step-card,
.feature-card,
.tool-card,
.trust-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.problem-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--mint-500));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 13px;
  place-items: center;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.problem-card p,
.step-card p,
.feature-card p,
.tool-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.step-card {
  padding-top: 76px;
}

.step-number {
  position: absolute;
  top: 24px;
  left: 28px;
  color: var(--blue-700);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step-card::after {
  position: absolute;
  top: 35px;
  right: 28px;
  width: 56px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.split-grid {
  display: grid;
  gap: 70px;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.output-stack {
  position: relative;
  min-height: 520px;
}

.output-card {
  position: absolute;
  width: min(88%, 440px);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.output-card--prospect {
  z-index: 2;
  top: 0;
  left: 0;
}

.output-card--cabinet {
  right: 0;
  bottom: 0;
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-800);
}

.output-label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 6px 10px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.output-card--cabinet .output-label {
  color: var(--mint-500);
  background: rgba(0, 201, 167, 0.13);
}

.output-card h3 {
  font-size: 1.35rem;
}

.output-metric {
  display: flex;
  margin: 18px 0;
  padding: 14px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.output-card--cabinet .output-metric {
  border-color: rgba(255, 255, 255, 0.13);
}

.output-metric span {
  color: var(--muted);
  font-size: 0.75rem;
}

.output-card--cabinet .output-metric span {
  color: #b9c9d7;
}

.output-metric strong {
  font-size: 1.1rem;
}

.clean-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding: 8px 0 8px 25px;
  color: var(--muted);
  font-size: 0.9rem;
}

.clean-list li::before {
  position: absolute;
  top: 13px;
  left: 0;
  display: grid;
  width: 15px;
  height: 15px;
  color: var(--navy-950);
  background: var(--mint-500);
  border-radius: 50%;
  content: "✓";
  font-size: 0.6rem;
  font-weight: 900;
  place-items: center;
}

.section--navy .clean-list li,
.output-card--cabinet .clean-list li {
  color: #d5e0e9;
}

.integration-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 10px;
}

.integration-pill {
  display: inline-flex;
  padding: 10px 14px;
  gap: 8px;
  align-items: center;
  color: #dbe7ef;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 750;
}

.integration-pill::before {
  width: 7px;
  height: 7px;
  background: var(--mint-500);
  border-radius: 2px;
  content: "";
}

.trust-visual {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.trust-row {
  display: grid;
  padding: 17px 0;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 34px 1fr auto;
}

.trust-row:last-child {
  border-bottom: 0;
}

.trust-check {
  display: grid;
  width: 30px;
  height: 30px;
  color: #087866;
  background: var(--mint-100);
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 900;
  place-items: center;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.75rem;
}

.trust-row time {
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 800;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 68px;
  color: #fff;
  background: linear-gradient(125deg, var(--navy-950), var(--navy-900) 66%, #0b5870);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.cta-panel::before,
.cta-panel::after {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(0, 201, 167, 0.22);
  border-radius: 50%;
  content: "";
}

.cta-panel::before {
  top: -150px;
  right: -30px;
}

.cta-panel::after {
  right: -120px;
  bottom: -170px;
}

.cta-panel-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 44px;
  align-items: flex-end;
  justify-content: space-between;
}

.cta-panel h2 {
  max-width: 700px;
  margin-bottom: 15px;
}

.cta-panel p {
  max-width: 620px;
  color: #c5d5e1;
}

.site-footer {
  padding: 62px 0 24px;
  color: #c5d5e1;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  padding-bottom: 44px;
  gap: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 1.5fr repeat(3, 1fr);
}

.site-footer .brand {
  margin-bottom: 18px;
  color: #fff;
}

.footer-intro {
  max-width: 350px;
  color: #92a9ba;
  font-size: 0.86rem;
}

.footer-column strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 9px 0;
  color: #9fb3c2;
  font-size: 0.84rem;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  padding-top: 22px;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  color: #7790a2;
  font-size: 0.74rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 88px;
  background: linear-gradient(180deg, #f8fbfd, #eef6fb);
}

.page-hero--dark {
  color: #fff;
  background: var(--navy-950);
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.65rem, 5.5vw, 4.6rem);
}

.page-hero .lead {
  max-width: 700px;
}

.page-hero--dark .lead {
  color: #c2d2de;
}

.breadcrumb {
  display: flex;
  margin-bottom: 28px;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.page-hero--dark .breadcrumb {
  color: #91a9ba;
}

.breadcrumb span {
  color: #9dafbd;
}

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

.feature-card {
  min-height: 220px;
}

.feature-card--dark {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-800);
}

.feature-card--dark p {
  color: #b8c9d6;
}

.metric-band {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  grid-template-columns: repeat(4, 1fr);
}

.metric-band-item {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.metric-band-item:last-child {
  border-right: 0;
}

.metric-band-item strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.metric-band-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.price-card {
  display: grid;
  padding: 36px;
  gap: 34px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  grid-template-columns: 1fr auto;
}

.price {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 2.9rem;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
}

.pilot-steps {
  counter-reset: pilot;
}

.pilot-row {
  display: grid;
  padding: 26px 0;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 48px 1fr auto;
}

.pilot-row::before {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 12px;
  content: counter(pilot, decimal-leading-zero);
  counter-increment: pilot;
  font-size: 0.72rem;
  font-weight: 900;
  place-items: center;
}

.pilot-row time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.pilot-form,
.lead-capture {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.field {
  min-width: 0;
}

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

.field label,
.field legend {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 800;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.7rem;
}

.input-wrap {
  position: relative;
}

.input-wrap input,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.input-wrap input {
  padding-right: 50px;
}

.input-suffix {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  transform: translateY(-50%);
  pointer-events: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.input-wrap input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(22, 135, 222, 0.12);
}

.field input[aria-invalid="true"] {
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(201, 77, 95, 0.1);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.78rem;
}

.checkbox-row input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--blue-700);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px;
  color: #086e5e;
  background: var(--mint-100);
  border: 1px solid #b9ece3;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

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

.tool-card {
  min-height: 190px;
  padding: 22px;
}

.tool-card .chip {
  margin-bottom: 20px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.tool-card--featured {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-800);
}

.tool-card--featured p {
  color: #b7c8d5;
}

.source-list {
  display: grid;
  gap: 16px;
}

.source-item {
  display: grid;
  padding: 24px;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  grid-template-columns: 48px 1fr auto;
}

.source-item a {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
}

.source-icon {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 12px;
  font-weight: 900;
  place-items: center;
}

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

.principle {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.principle strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-900);
}

.principle p {
  color: var(--muted);
  font-size: 0.86rem;
}

/* Diagnostic application */
.demo-body {
  background: #edf3f8;
}

.demo-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.demo-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.co-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.co-brand-logo {
  display: grid;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  place-items: center;
}

.co-brand strong,
.co-brand span {
  display: block;
}

.co-brand strong {
  color: var(--navy-900);
  font-size: 0.9rem;
}

.co-brand span {
  color: var(--muted);
  font-size: 0.65rem;
}

.powered-by {
  color: var(--muted);
  font-size: 0.7rem;
}

.powered-by b {
  color: var(--navy-900);
}

.demo-shell {
  display: grid;
  width: min(calc(100% - 40px), 1120px);
  margin: 38px auto 80px;
  gap: 28px;
  align-items: start;
  grid-template-columns: 270px minmax(0, 1fr);
}

.demo-sidebar {
  position: sticky;
  top: 28px;
  padding: 26px;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.demo-sidebar h1 {
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.demo-sidebar > p {
  color: #b8cad7;
  font-size: 0.8rem;
}

.progress-track {
  height: 5px;
  margin: 24px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--mint-500);
  border-radius: inherit;
  transition: width 240ms ease;
}

.demo-steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.demo-step {
  display: grid;
  padding: 10px 0;
  gap: 11px;
  align-items: center;
  color: #7f9aaf;
  font-size: 0.77rem;
  font-weight: 750;
  grid-template-columns: 27px 1fr;
}

.demo-step span {
  display: grid;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 0.65rem;
  place-items: center;
}

.demo-step.is-current {
  color: #fff;
}

.demo-step.is-current span {
  color: var(--navy-950);
  background: var(--mint-500);
  border-color: var(--mint-500);
}

.demo-step.is-done {
  color: #cbd9e3;
}

.demo-step.is-done span {
  color: var(--mint-500);
  border-color: var(--mint-500);
}

.demo-content {
  min-width: 0;
}

.wizard-card {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
  animation: fade-up 240ms ease both;
}

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

.wizard-heading h2 {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.wizard-heading p {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.radio-card {
  position: relative;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card label {
  display: block;
  min-height: 88px;
  padding: 16px;
  background: #fbfdff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.radio-card label strong,
.radio-card label span {
  display: block;
}

.radio-card label strong {
  color: var(--navy-900);
  font-size: 0.84rem;
}

.radio-card label span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.radio-card input:checked + label {
  background: #f2f9ff;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(22, 135, 222, 0.1);
}

.radio-card input:focus-visible + label {
  outline: 3px solid rgba(22, 135, 222, 0.25);
  outline-offset: 2px;
}

.form-divider {
  height: 1px;
  margin: 30px 0;
  background: var(--line);
}

.form-section-title {
  display: flex;
  margin-bottom: 18px;
  gap: 8px;
  align-items: center;
  color: var(--navy-900);
  font-size: 0.85rem;
  font-weight: 850;
}

.estimate-badge {
  display: inline-flex;
  padding: 3px 7px;
  color: #8b5f0e;
  background: var(--gold-100);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calculated-line {
  display: flex;
  margin-top: 16px;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  background: var(--canvas);
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  font-size: 0.78rem;
}

.calculated-line strong {
  color: var(--navy-900);
  font-size: 0.92rem;
}

.wizard-actions {
  display: flex;
  margin-top: 34px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.wizard-actions .button:last-child {
  margin-left: auto;
}

.demo-disclaimer {
  display: flex;
  margin-top: 16px;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.7rem;
}

.demo-disclaimer::before {
  display: grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 50%;
  content: "i";
  font-size: 0.65rem;
  font-weight: 900;
  place-items: center;
}

.results-view {
  display: none;
}

.results-view.is-active {
  display: block;
  animation: fade-up 320ms ease both;
}

.results-header {
  padding: 34px;
  color: #fff;
  background: linear-gradient(130deg, var(--navy-950), var(--navy-900));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.results-header .status-pill {
  margin-bottom: 18px;
}

.results-header h2 {
  margin-bottom: 9px;
  font-family: var(--font-sans);
  font-size: 1.7rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.results-header p {
  color: #bdcfdb;
  font-size: 0.86rem;
}

.results-body {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.result-metrics {
  display: grid;
  margin-bottom: 26px;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.result-metric {
  padding: 18px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.result-metric span,
.result-metric strong,
.result-metric small {
  display: block;
}

.result-metric span {
  min-height: 34px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
}

.result-metric strong {
  margin: 5px 0 2px;
  color: var(--navy-900);
  font-size: 1.22rem;
}

.result-metric small {
  color: var(--muted);
  font-size: 0.6rem;
}

.orientation-card {
  display: grid;
  margin: 24px 0;
  padding: 22px;
  gap: 18px;
  align-items: center;
  background: var(--blue-100);
  border: 1px solid #c3e2f6;
  border-radius: 14px;
  grid-template-columns: 42px 1fr;
}

.orientation-icon {
  display: grid;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--blue-700);
  border-radius: 12px;
  place-items: center;
}

.orientation-card strong,
.orientation-card span {
  display: block;
}

.orientation-card strong {
  color: var(--navy-900);
}

.orientation-card span {
  color: #44647e;
  font-size: 0.78rem;
}

.checks-grid {
  display: grid;
  margin: 18px 0 28px;
  gap: 12px;
}

.check-item {
  display: grid;
  padding: 15px;
  gap: 12px;
  align-items: start;
  background: #fffaf1;
  border: 1px solid #f5dfb9;
  border-radius: 11px;
  grid-template-columns: 24px 1fr;
}

.check-item > span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  color: #8b5f0e;
  background: var(--gold-100);
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 900;
  place-items: center;
}

.check-item strong,
.check-item small {
  display: block;
}

.check-item strong {
  color: var(--navy-900);
  font-size: 0.79rem;
}

.check-item small {
  color: var(--muted);
  font-size: 0.68rem;
}

.result-tabs {
  display: flex;
  margin: 32px 0 18px;
  padding: 4px;
  gap: 4px;
  background: var(--canvas);
  border-radius: 11px;
}

.result-tab {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.result-tab.is-active {
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 43, 74, 0.08);
}

.result-panel {
  display: none;
}

.result-panel.is-active {
  display: block;
}

.cabinet-dossier {
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
  border-radius: 16px;
}

.dossier-head {
  display: flex;
  padding: 22px;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dossier-head small,
.dossier-head strong {
  display: block;
}

.dossier-head small {
  color: #85a0b3;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dossier-head strong {
  margin-top: 3px;
  font-size: 0.95rem;
}

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

.dossier-stat {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dossier-stat:nth-child(3n) {
  border-right: 0;
}

.dossier-stat span,
.dossier-stat strong,
.dossier-stat small {
  display: block;
}

.dossier-stat span {
  color: #85a0b3;
  font-size: 0.63rem;
}

.dossier-stat strong {
  margin: 5px 0;
  font-size: 0.92rem;
}

.dossier-stat small {
  color: #b8c9d6;
  font-size: 0.62rem;
}

.next-action {
  margin: 20px;
  padding: 17px;
  color: var(--navy-950);
  background: var(--mint-500);
  border-radius: 11px;
}

.next-action small,
.next-action strong {
  display: block;
}

.next-action small {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-action strong {
  margin-top: 4px;
  font-size: 0.82rem;
}

.lead-capture {
  margin-top: 22px;
  background: #fbfdff;
  box-shadow: none;
}

.lead-capture h3 {
  margin-bottom: 5px;
}

.lead-capture > p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

details.technical-details {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

details.technical-details summary {
  padding: 18px 0 0;
  color: var(--blue-700);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

.technical-grid {
  display: grid;
  margin-top: 15px;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technical-row {
  display: flex;
  padding: 11px 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

.technical-row strong {
  color: var(--navy-900);
}

.demo-reset {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 0;
  color: var(--blue-700);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1020px) {
  .hero-grid {
    gap: 46px;
    grid-template-columns: 1fr 0.85fr;
  }

  .floating-card {
    right: -10px;
  }

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

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

@media (max-width: 860px) {
  .section {
    padding: 82px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    z-index: 90;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 24px 20px 30px;
    gap: 21px;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a:not(.button)::after {
    display: none;
  }

  .hero {
    padding-top: 68px;
  }

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

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

  .product-window {
    max-width: 580px;
    margin-inline: auto;
    transform: none;
  }

  .proof-grid,
  .cards-3,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .output-stack {
    max-width: 620px;
    min-height: 500px;
    margin-inline: auto;
  }

  .metric-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-band-item:nth-child(2) {
    border-right: 0;
  }

  .metric-band-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .footer-column:last-child {
    grid-column: 2;
  }

  .demo-shell {
    grid-template-columns: 1fr;
  }

  .demo-sidebar {
    position: static;
  }

  .demo-sidebar h1,
  .demo-sidebar > p {
    max-width: 620px;
  }

  .demo-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .demo-step {
    grid-template-columns: 25px 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .container--narrow,
  .demo-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 66px 0;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hero {
    padding: 54px 0 64px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    gap: 7px;
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-card {
    display: none;
  }

  .dashboard-preview {
    padding: 16px;
  }

  .preview-metrics,
  .feature-grid,
  .form-grid,
  .principles-grid,
  .radio-grid,
  .technical-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .output-stack {
    display: grid;
    min-height: 0;
    gap: 18px;
  }

  .output-card {
    position: static;
    width: 100%;
  }

  .cta-panel {
    padding: 38px 24px;
    border-radius: var(--radius-lg);
  }

  .cta-panel-inner,
  .footer-bottom {
    gap: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-panel-inner .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .price-card {
    grid-template-columns: 1fr;
  }

  .pilot-row {
    grid-template-columns: 42px 1fr;
  }

  .pilot-row time {
    grid-column: 2;
  }

  .pilot-form,
  .lead-capture,
  .wizard-card,
  .results-body,
  .results-header {
    padding: 24px 18px;
  }

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

  .source-item {
    grid-template-columns: 42px 1fr;
  }

  .source-item a {
    grid-column: 2;
  }

  .demo-header-inner {
    min-height: 68px;
  }

  .powered-by {
    display: none;
  }

  .demo-shell {
    margin-top: 18px;
  }

  .demo-sidebar {
    padding: 20px;
  }

  .demo-steps {
    gap: 4px;
  }

  .demo-step {
    display: block;
    text-align: center;
  }

  .demo-step span {
    margin: 0 auto 5px;
  }

  .demo-step b {
    display: none;
  }

  .result-metrics,
  .dossier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dossier-stat:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dossier-stat:nth-child(2n) {
    border-right: 0;
  }

  .wizard-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .wizard-actions .button,
  .wizard-actions .button:last-child {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .tools-grid,
  .result-metrics,
  .dossier-grid {
    grid-template-columns: 1fr;
  }

  .dossier-stat,
  .dossier-stat:nth-child(3n),
  .dossier-stat:nth-child(2n) {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid rgba(15, 111, 191, 0.35);
  outline-offset: 3px;
}

/* CalcFi Pro UI upgrade */
:root {
  --color-navy: var(--navy-900);
  --color-blue: var(--blue-700);
  --color-accent: var(--mint-500);
  --color-danger: var(--red-600);
  --color-warning: var(--gold-500);
  --color-bg: var(--canvas);
  --color-surface: var(--paper);
  --color-border: var(--line);
  --color-text: var(--ink);
  --color-muted: var(--muted);
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --radius-small: 10px;
  --radius-medium: 16px;
  --radius-large: 24px;
  --radius-pill: 999px;
}

h1,
h2,
.display-type {
  font-family: var(--font-sans);
  font-weight: 850;
  letter-spacing: 0;
}

h1 {
  font-size: 4.35rem;
  line-height: 1.03;
}

h2 {
  font-size: 3rem;
  line-height: 1.08;
}

.lead {
  font-size: 1.16rem;
}

.hero {
  padding: 96px 0 90px;
  background: linear-gradient(180deg, #f8fbfd 0%, #edf5fb 100%);
}

.hero::before,
.product-window::after,
.cta-panel::before,
.cta-panel::after {
  display: none;
}

.hero-grid {
  gap: 56px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
}

.hero-copy h1 span {
  color: inherit;
}

.hero-badges {
  flex-wrap: wrap;
}

.hero-badges span {
  padding: 8px 12px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 5px 16px rgba(15, 43, 74, 0.05);
}

.product-window {
  transform: none;
}

.product-window--split {
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(199, 213, 226, 0.9);
}

.dual-preview {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-side {
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.preview-side--cabinet {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-800);
}

.preview-side--cabinet .preview-title,
.preview-side--cabinet .lead-score strong {
  color: #fff;
}

.preview-side--cabinet .preview-subtitle,
.preview-side--cabinet .lead-score span {
  color: #b9c9d7;
}

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

.mini-check-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.mini-check-list li {
  padding: 8px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}

.lead-score {
  display: grid;
  margin: 18px 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.lead-score span {
  font-size: 0.72rem;
  font-weight: 800;
}

.lead-score strong {
  font-size: 2rem;
  line-height: 1.1;
}

.dossier-mini-grid {
  display: grid;
  gap: 10px;
}

.dossier-mini-grid span {
  padding: 11px 12px;
  color: #dbe7ef;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 750;
}

.cards-4,
.steps-grid--4,
.compliance-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps-grid--4 .step-card {
  min-height: 250px;
}

.section--tight-top {
  padding-top: 0;
}

.split-grid--wide {
  gap: 56px;
}

.prospect-preview-card,
.cabinet-preview-card,
.white-label-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.prospect-preview-card {
  padding: 28px;
}

.preview-card-head {
  display: flex;
  margin-bottom: 22px;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.preview-card-head strong {
  color: var(--navy-900);
  font-size: 1.05rem;
}

.prospect-kpis {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prospect-kpis div,
.secondary-kpi {
  padding: 16px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.prospect-kpis span,
.prospect-kpis strong,
.prospect-kpis small,
.secondary-kpi span,
.secondary-kpi strong {
  display: block;
}

.prospect-kpis span,
.secondary-kpi span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.prospect-kpis strong,
.secondary-kpi strong {
  margin-top: 4px;
  color: var(--navy-900);
  font-size: 1.05rem;
}

.prospect-kpis small {
  color: var(--muted);
  font-size: 0.66rem;
}

.analysis-list {
  margin-top: 20px;
  padding: 18px;
  background: #f7fbff;
  border: 1px solid #d9e9f6;
  border-radius: 14px;
}

.analysis-list strong {
  color: var(--navy-900);
}

.analysis-list ol {
  padding-left: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.cabinet-preview-card {
  color: #fff;
  background: var(--navy-950);
  border-color: var(--navy-800);
}

.cabinet-preview-card .dossier-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

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

.cabinet-crm-grid div {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cabinet-crm-grid div:nth-child(3n) {
  border-right: 0;
}

.cabinet-crm-grid span,
.cabinet-crm-grid strong {
  display: block;
}

.cabinet-crm-grid span {
  color: #88a4b8;
  font-size: 0.66rem;
  font-weight: 800;
}

.cabinet-crm-grid strong {
  overflow-wrap: anywhere;
  margin-top: 5px;
  color: #fff;
  font-size: 0.82rem;
}

.white-label-card {
  background: #fff;
}

.white-label-browser {
  display: flex;
  padding: 17px 20px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--navy-900);
}

.white-label-browser span,
.white-label-browser small {
  font-weight: 850;
}

.white-label-browser small {
  color: #b9c9d7;
}

.white-label-body {
  padding: 30px;
}

.white-label-body h3 {
  color: var(--navy-900);
  font-size: 1.35rem;
}

.white-label-body p {
  color: var(--muted);
}

.brand-swatch-row {
  display: flex;
  margin-bottom: 22px;
  gap: 10px;
}

.brand-swatch-row span {
  width: 34px;
  height: 34px;
  background: var(--swatch);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.export-list {
  display: grid;
  margin-top: 22px;
  gap: 10px;
}

.export-list span {
  padding: 12px 14px;
  color: var(--navy-900);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
}

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

.tools-grid--modules .tool-card {
  min-height: 160px;
}

.button--on-dark {
  border-color: rgba(255, 255, 255, 0.24);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.compact-fieldset {
  padding: 0;
  margin: 0 0 24px;
  border: 0;
}

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

.optional-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.field-label {
  display: flex;
  min-height: 24px;
  gap: 8px;
  align-items: center;
}

.tooltip {
  position: relative;
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--blue-700);
  background: var(--blue-100);
  border: 1px solid #bcdcf2;
  border-radius: 50%;
  cursor: help;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.tooltip::after {
  position: absolute;
  z-index: 40;
  bottom: calc(100% + 9px);
  left: 50%;
  width: min(260px, calc(100vw - 48px));
  padding: 10px 12px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  content: attr(aria-label);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.tooltip:hover::after,
.tooltip:focus::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.advanced-fields {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.advanced-fields summary,
.cashflow-details summary,
details.technical-details summary {
  color: var(--blue-700);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 850;
}

.advanced-fields .form-grid {
  margin-top: 16px;
}

.calculated-line--highlight {
  background: var(--mint-100);
  border-color: #b8ece2;
}

.result-metric--primary {
  background: #f7fbff;
  border-color: #cce4f6;
}

.result-metric--primary small {
  line-height: 1.35;
}

.cashflow-explainer {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cashflow-details {
  margin: 0 0 24px;
  padding: 18px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.cashflow-breakdown {
  display: grid;
  margin-top: 14px;
  gap: 2px;
}

.cashflow-breakdown div {
  display: flex;
  padding: 10px 0;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.cashflow-breakdown div:last-child {
  border-bottom: 0;
}

.cashflow-breakdown strong {
  color: var(--navy-900);
}

.cashflow-total {
  color: var(--navy-900) !important;
  font-weight: 850;
}

.secondary-kpis {
  display: grid;
  margin: 26px 0 8px;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analysis-preview {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.analysis-preview-head h3 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: 1.2rem;
}

.analysis-preview-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analysis-preview-grid div {
  min-width: 0;
  padding: 15px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.analysis-preview-grid div:last-child {
  grid-column: 1 / -1;
}

.analysis-preview-grid strong,
.analysis-preview-grid span {
  display: block;
}

.analysis-preview-grid strong {
  color: var(--navy-900);
  font-size: 0.84rem;
}

.analysis-preview-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
}

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

.dossier-notes {
  display: grid;
  padding: 20px;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
}

.dossier-notes small {
  display: block;
  color: #85a0b3;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dossier-notes ul {
  padding-left: 18px;
  margin: 8px 0 0;
  color: #d5e0e9;
  font-size: 0.75rem;
}

.dossier-notes .next-action {
  margin: 0;
}

@media (max-width: 1080px) {
  .cards-4,
  .steps-grid--4,
  .compliance-grid,
  .tools-grid--modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cabinet-crm-grid div:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .cabinet-crm-grid div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 860px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.45rem;
  }

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

  .dual-preview,
  .secondary-kpis,
  .dossier-notes {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .demo-sidebar {
    top: auto;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .cards-4,
  .steps-grid--4,
  .compliance-grid,
  .tools-grid--modules,
  .prospect-kpis,
  .analysis-preview-grid,
  .cabinet-crm-grid,
  .radio-grid--compact {
    grid-template-columns: 1fr;
  }

  .hero-badges span,
  .cta-actions,
  .cta-actions .button {
    width: 100%;
  }

  .preview-card-head,
  .cashflow-breakdown div {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-window--split,
  .prospect-preview-card,
  .analysis-preview {
    border-radius: 18px;
  }

  .tooltip::after {
    right: 0;
    left: auto;
    transform: translateY(4px);
  }

  .tooltip:hover::after,
  .tooltip:focus::after {
    transform: translateY(0);
  }
}
