:root {
  --ink: #102033;
  --muted: #5b6878;
  --soft: #f5f8fc;
  --line: #dfe7f0;
  --blue: #155cce;
  --blue-deep: #102a56;
  --green: #0f8b73;
  --purple: #7354d6;
  --purple-soft: #efeafb;
  --green-soft: #e9f8f3;
  --blue-soft: #eaf2ff;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 42, 79, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

img,
svg {
  display: block;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.06);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 92, 206, 0.95), rgba(115, 84, 214, 0.95)),
    var(--blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand-copy span {
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #304158;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  padding: 10px 14px !important;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

.nav-cta path,
.button path,
.service-card path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 850px;
}

.section-pad {
  padding: 92px 0;
}

.compact-top {
  padding-top: 36px;
}

.hero {
  background:
    linear-gradient(180deg, rgba(234, 242, 255, 0.58), rgba(255, 255, 255, 0) 58%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 820px;
}

.hero-copy p,
.page-hero p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 19px;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 12px 30px rgba(21, 92, 206, 0.2);
}

.button.secondary {
  color: var(--blue-deep);
  background: var(--white);
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 46px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  max-width: 640px;
}

.trust-strip div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.trust-strip dd {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 800;
}

.hero-panel,
.form-shell,
.case-sidebar,
.content-block,
.service-card,
.pricing-row article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 22px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-header span {
  color: var(--muted);
  font-size: 13px;
}

.panel-header strong {
  display: block;
  margin-top: 3px;
  font-size: 19px;
}

.status-dot {
  color: #075f4f !important;
  background: var(--green-soft);
  border: 1px solid #bce8db;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 800;
}

.workflow-preview {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
}

.flow-step {
  min-height: 94px;
  display: grid;
  gap: 8px;
  place-items: center;
  text-align: center;
  background: var(--soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 12px;
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--muted);
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
}

.flow-step.active {
  background: var(--blue-soft);
  border-color: #bdd3fb;
}

.flow-step.active span {
  background: var(--blue);
}

.flow-step p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.metric-grid div,
.quote-logic div,
.result-strip div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.metric-grid span,
.quote-logic span,
.result-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.metric-grid strong,
.quote-logic strong,
.result-strip strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.sample-table,
.findings-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13px;
}

.sample-table [role="row"],
.findings-table [role="row"] {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
}

.sample-table span,
.findings-table span {
  padding: 11px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sample-table span:last-child,
.findings-table span:last-child {
  border-right: 0;
}

.sample-table [role="row"]:last-child span,
.findings-table [role="row"]:last-child span {
  border-bottom: 0;
}

.table-head {
  background: var(--blue-deep);
  color: var(--white);
  font-weight: 800;
}

.split-section,
.quote-grid,
.value-calc {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.plain-text p,
.section-heading p,
.sample-copy p,
.quote-grid p,
.value-calc p,
.contact-copy p,
.legal-copy p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.service-card {
  padding: 24px;
  box-shadow: none;
}

.service-card svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
  margin-bottom: 20px;
}

.service-card:nth-child(2) svg {
  color: var(--green);
}

.service-card:nth-child(3) svg {
  color: var(--purple);
}

.service-card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.process-band {
  background: linear-gradient(135deg, #102033, #102a56);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 18px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-list article {
  background: rgba(255, 255, 255, 0.06);
  padding: 28px;
}

.process-list span {
  color: #8ee7d2;
  font-weight: 850;
  font-size: 13px;
}

.process-list h3 {
  margin-top: 18px;
}

.process-list p {
  color: rgba(255, 255, 255, 0.72);
  margin: 12px 0 0;
}

.sample-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
}

.check-list,
.feature-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li,
.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #334257;
}

.check-list li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.before-after div {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--soft);
}

.before-after div:last-child {
  background: linear-gradient(135deg, var(--green-soft), var(--blue-soft));
  border-color: #bce8db;
}

.before-after p {
  color: var(--muted);
}

.before-after strong {
  font-size: 24px;
}

.quote-band {
  background: var(--soft);
}

.quote-logic {
  display: grid;
  gap: 12px;
}

.quote-logic div {
  background: var(--white);
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(21, 92, 206, 0.08), rgba(15, 139, 115, 0.08)),
    var(--white);
}

.cta-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.page-hero {
  background: var(--soft);
}

.two-column,
.contact-grid,
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.content-block {
  padding: 28px;
  box-shadow: none;
}

.content-block.tinted {
  background: linear-gradient(135deg, var(--blue-soft), var(--purple-soft));
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.pricing-row article {
  box-shadow: none;
  color: var(--ink);
  padding: 26px;
}

.pricing-row strong {
  display: block;
  margin: 18px 0 12px;
  color: var(--blue);
  font-size: 26px;
}

.pricing-row p {
  margin: 0;
  color: var(--muted);
}

.formula-box {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.formula-box span {
  font-weight: 850;
}

.formula-box code {
  display: block;
  white-space: normal;
  color: #15345f;
  background: var(--blue-soft);
  border: 1px solid #cfe0fb;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 14px;
}

.case-grid {
  grid-template-columns: 330px minmax(0, 1fr);
}

.case-sidebar {
  position: sticky;
  top: 102px;
  padding: 24px;
  box-shadow: none;
}

.case-sidebar dl {
  margin: 24px 0 0;
  display: grid;
  gap: 18px;
}

.case-sidebar dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-sidebar dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.case-content {
  display: grid;
  gap: 24px;
}

.case-content p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.findings-table {
  font-size: 14px;
}

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

.note {
  padding: 14px 16px;
  border-left: 4px solid var(--purple);
  background: var(--purple-soft);
  border-radius: var(--radius);
}

.contact-copy {
  padding-right: 30px;
}

.contact-method {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-method span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 850;
}

.contact-method a {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 850;
}

.form-shell {
  padding: 24px;
  box-shadow: var(--shadow);
}

.assessment-form {
  display: grid;
  gap: 18px;
}

.form-heading h2,
.form-heading p {
  margin: 0;
}

.form-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

.assessment-form label > span,
.assessment-form legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.assessment-form input,
.assessment-form select,
.assessment-form textarea {
  width: 100%;
  border: 1px solid #c8d4e3;
  border-radius: 6px;
  padding: 10px 11px;
  background: var(--white);
  color: var(--ink);
}

.assessment-form textarea {
  resize: vertical;
}

.assessment-form input:focus,
.assessment-form select:focus,
.assessment-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(21, 92, 206, 0.14);
}

.assessment-form fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px;
}

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

.choice-grid label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
}

.choice-grid input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.form-consent,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.form-consent a {
  color: var(--blue);
  font-weight: 800;
}

.form-actions {
  display: grid;
  gap: 10px;
}

.form-actions .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-actions .button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status[data-state="error"] {
  color: #a12626;
}

.form-status[data-state="success"] {
  color: #08705d;
  font-weight: 750;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-fallback {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-fallback a,
.assessment-form a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

.legal-copy h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin-top: 12px;
}

.legal-copy a {
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  padding: 46px 0;
  background: #0d1726;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid strong {
  display: block;
  margin-bottom: 10px;
}

.footer-grid span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  margin: 7px 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-cta {
    justify-content: center;
  }

  .hero-grid,
  .split-section,
  .sample-showcase,
  .quote-grid,
  .value-calc,
  .two-column,
  .contact-grid,
  .case-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-sidebar {
    position: static;
  }

  .service-grid,
  .process-list,
  .pricing-row,
  .result-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .form-grid.two-columns,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .container {
    padding: 0 18px;
  }

  .section-pad {
    padding: 64px 0;
  }

  .compact-top {
    padding-top: 28px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 17px;
  }

  .trust-strip,
  .metric-grid,
  .before-after {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

  .flow-line {
    width: 2px;
    height: 20px;
    margin: 0 auto;
  }

  .sample-table,
  .findings-table {
    overflow-x: auto;
  }

  .sample-table [role="row"],
  .findings-table [role="row"] {
    min-width: 600px;
  }

  .cta-panel {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
