:root {
  --blue: #1a6eff;
  --section-tag-blue: #6eb0ff;
  --navy: #1e3347;
  --slate: #8a9bb0;
  --white: #ffffff;
  --navy-dark: #141f2d;
  --navy-mid: #243b52;
  --slate-light: #b4c2d0;
  --blue-hover: #0f5de0;
  --green: #00c48c;
  --red: #ff5a5a;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--navy-dark);
  color: var(--white);
  font-family: "Work Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 4px;
  z-index: 2000;
  font-size: 14px;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

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

.container {
  width: min(1200px, 100% - 96px);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.bg-navy {
  background: var(--navy);
}

.bg-navy-dark {
  background: var(--navy-dark);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--section-tag-blue);
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-tag::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--section-tag-blue);
}

h1 {
  font-family: "Jura", sans-serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

h2 {
  font-family: "Jura", sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}

h3 {
  font-family: "Jura", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 12px;
}

p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  margin: 0 0 16px;
  color: var(--slate-light);
}

.lead {
  font-size: 18px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--slate-light);
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.btn-ghost:hover {
  color: var(--white);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 1000;
  background: rgba(20, 31, 45, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(138, 155, 176, 0.1);
  transition: background 0.2s ease;
}

.site-header.scrolled {
  background: rgba(20, 31, 45, 0.98);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 0;
  padding-bottom: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 36px;
}

.mark {
  width: 36px;
  height: 30px;
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  background: var(--navy);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.mark span {
  font-family: "Jura", sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 21px;
  line-height: 1;
}

.mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--blue);
}

.wordmark-modern {
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}

.wordmark-sub {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 300;
}

.wordmark-sub::before {
  content: "";
  width: 40px;
  height: 3px;
  background: var(--blue);
}

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

.nav-link {
  color: var(--slate-light);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.15;
  padding: 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--white);
}

.site-header .btn-primary {
  padding: 5px 16px;
  font-size: 14px;
  line-height: 1.2;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(138, 155, 176, 0.2);
  background: transparent;
  color: var(--slate-light);
  border-radius: 6px;
  padding: 6px 7px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  margin: 3px 0;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  border-top: 1px solid rgba(138, 155, 176, 0.1);
  border-bottom: 1px solid rgba(138, 155, 176, 0.1);
  z-index: 999;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 8px 20px;
  color: var(--slate-light);
  border-bottom: 1px solid rgba(138, 155, 176, 0.08);
}

.mobile-menu .btn-primary {
  margin: 8px 20px 12px;
  width: calc(100% - 40px);
}

main {
  padding-top: 56px;
}

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

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

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

.card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(138, 155, 176, 0.15);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(26, 110, 255, 0.35);
  background: rgba(26, 110, 255, 0.05);
  transform: translateY(-2px);
}

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

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(138, 155, 176, 0.1);
  padding: 60px 0 36px;
}

.site-footer .brand-logo {
  height: 40px;
}

.site-footer .brand + p {
  font-size: 11px;
  line-height: 1.45;
  color: var(--slate);
  margin: 8px 0 0;
  max-width: 260px;
}

.about-hero-photo {
  margin: 0;
  justify-self: end;
  width: clamp(280px, 38vw, 480px);
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(138, 155, 176, 0.2);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.about-hero-photo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1024 / 983;
  object-fit: cover;
  object-position: center 18%;
}

.page-about .about-hero .hero-copy h1 {
  font-size: clamp(28px, 3.25vw, 44px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.about-credentials h2 {
  max-width: 720px;
}

.about-credentials-grid {
  margin-top: 28px;
  align-items: stretch;
}

.about-credentials-grid .card h3 {
  margin-top: 0;
}

.about-credential-list li span:last-child {
  line-height: 1.5;
}

.about-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-timeline li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 12px 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(138, 155, 176, 0.12);
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate-light);
}

.about-timeline li:first-child {
  padding-top: 0;
}

.about-timeline li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-timeline-year {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--section-tag-blue);
  white-space: nowrap;
}

.about-founder .section-tag {
  margin-bottom: 12px;
}

.about-founder h2 {
  margin: 0 0 18px;
}

.about-founder-bio > p:first-child {
  margin-top: 0;
}

.about-founder-bio p {
  margin-bottom: 14px;
}

.about-founder-bio p:last-child {
  margin-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-family: "Courier New", monospace;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  color: var(--slate-light);
  margin: 8px 0;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 36px;
  border-top: 1px solid rgba(138, 155, 176, 0.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--slate);
  font-size: 12px;
}

.hero-grid {
  min-height: calc(100svh - 56px);
  min-height: calc(100vh - 56px);
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.hero-surface {
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
}

.scene-banner {
  position: relative;
  margin: 0;
  width: 100%;
  height: clamp(180px, 26vw, 320px);
  overflow: hidden;
  background: var(--navy-dark);
}

.scene-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.scene-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 28, 0.55) 0%,
    rgba(8, 16, 28, 0.2) 45%,
    rgba(8, 16, 28, 0.55) 100%
  );
  pointer-events: none;
}

.scene-banner--top img {
  object-position: center 35%;
}

.scene-banner--wide img {
  object-position: center 42%;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background: var(--navy-dark);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(rgba(26, 110, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 110, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero-bg::before,
.page-hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  will-change: transform;
}

.page-hero-bg::before {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  left: -8%;
  top: -20%;
  background: radial-gradient(circle, rgba(26, 110, 255, 0.55) 0%, transparent 68%);
  animation: page-hero-gradient-drift-a 20s ease-in-out infinite alternate;
}

.page-hero-bg::after {
  width: min(48vw, 440px);
  height: min(48vw, 440px);
  right: -6%;
  bottom: -28%;
  background: radial-gradient(circle, rgba(110, 176, 255, 0.35) 0%, transparent 70%);
  animation: page-hero-gradient-drift-b 24s ease-in-out infinite alternate;
}

@keyframes page-hero-gradient-drift-a {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(6%, 8%) scale(1.12);
  }
}

@keyframes page-hero-gradient-drift-b {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-8%, -6%) scale(1.1);
  }
}

.page-hero .container,
.page-hero-inner,
.hero-surface .container,
.hero-surface .hero-grid {
  position: relative;
  z-index: 1;
}

.page-hero-inner {
  max-width: 760px;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(138, 155, 176, 0.15);
  border-radius: 12px;
  padding: 36px;
  position: relative;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 12px 12px 0 0;
}

.mono {
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--slate);
  text-transform: lowercase;
}

.metric {
  font-family: "Jura", sans-serif;
  font-size: 36px;
}

.metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.metric-change {
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
}

.bar {
  height: 7px;
  background: rgba(138, 155, 176, 0.2);
  border-radius: 99px;
  overflow: hidden;
}

.bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
  transition: width 1s ease;
}

.bar.red span {
  background: var(--red);
}

.kpi-row {
  margin: 14px 0;
}

.kpi-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate-light);
  margin-bottom: 6px;
}

.live {
  margin-top: 18px;
  font-size: 12px;
  color: var(--slate);
}

.dashboard-footnote {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate-light);
  max-width: 22rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--green);
  margin-right: 8px;
  box-shadow: 0 0 0 rgba(0, 196, 140, 0.6);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 196, 140, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 196, 140, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 196, 140, 0);
  }
}

.trust-bar {
  border-top: 1px solid rgba(138, 155, 176, 0.08);
  border-bottom: 1px solid rgba(138, 155, 176, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  color: var(--slate-light);
  font-size: 14px;
}

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

.list-plain li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--slate-light);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 9px;
  background: var(--blue);
  flex-shrink: 0;
}

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

.line-list p {
  font-family: "Jura", sans-serif;
  font-size: clamp(22px, 3vw, 42px);
  color: var(--slate);
  border-bottom: 1px solid rgba(138, 155, 176, 0.1);
  padding: 14px 0;
  transition: color 0.2s ease;
}

.line-list p:hover,
.line-list p.active {
  color: var(--white);
}

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

.service-detail {
  border-top: 1px solid rgba(138, 155, 176, 0.12);
  border-bottom: 1px solid rgba(138, 155, 176, 0.12);
}

/* Services page */
.page-services .page-hero h1 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.12;
}

.services-hero-highlights {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.services-hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(138, 155, 176, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--slate-light);
  font-size: 13px;
  line-height: 1.4;
}

.services-hero-highlight-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--section-tag-blue);
  flex-shrink: 0;
}

.services-hero-highlight-icon svg {
  width: 100%;
  height: 100%;
}

.page-services .page-hero .hero-actions {
  margin-top: 28px;
}

.service-detail-grid {
  align-items: start;
  gap: 28px 36px;
}

.page-services .service-detail-grid > div:first-child h3 {
  margin-bottom: 0;
}

.page-services .service-detail-grid > div:nth-child(2) p:last-child {
  margin-bottom: 0;
}

.services-engagement-lead {
  max-width: 640px;
  margin-bottom: 28px;
}

.services-phase-grid {
  margin-top: 8px;
}

.services-phase-card {
  position: relative;
  padding-top: 32px;
}

.services-phase-icon {
  margin-bottom: 14px;
}

.services-phase-step {
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--section-tag-blue);
  margin: 0 0 8px;
}

.services-phase-card h3 {
  margin-top: 0;
}

.services-cta {
  background: linear-gradient(180deg, var(--navy-dark) 0%, rgba(26, 110, 255, 0.08) 100%);
  border-top: 1px solid rgba(138, 155, 176, 0.1);
}

.services-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.services-cta-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(26, 110, 255, 0.12);
  border: 1px solid rgba(26, 110, 255, 0.25);
}

.services-cta-inner h2 {
  margin-bottom: 12px;
}

.services-cta-inner p:last-child {
  margin-bottom: 0;
}

.service-number {
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-detail ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-detail li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 10px;
  color: var(--slate-light);
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

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

.flow-step {
  border: 1px solid rgba(138, 155, 176, 0.15);
  border-radius: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
}

.flow-step.highlight {
  background: rgba(26, 110, 255, 0.1);
  border-color: rgba(26, 110, 255, 0.35);
}

.page-method .method-requirements {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 1025px) {
  .page-method .section {
    padding: 84px 0;
  }

  .page-method main > .page-hero + .section {
    padding-top: 64px;
  }

  .page-method .method-step-row {
    grid-template-columns: minmax(0, 1.22fr) minmax(240px, min(36%, 400px));
    gap: 32px 44px;
    align-items: start;
  }

  .page-method .method-step-row > aside.card {
    align-self: start;
  }

  .page-method .method-requirements {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 22px;
  }

  .page-method .framework-flow {
    gap: 18px 22px;
  }

  .page-method .flow-step {
    padding: 22px 20px;
  }

  .page-method .flow-step:not(:last-child)::after {
    right: -12px;
    font-size: 17px;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .page-method .framework-flow {
    gap: 16px 14px;
  }

  .page-method .flow-step {
    padding: 18px 14px;
  }

  .page-method .flow-step:not(:last-child)::after {
    right: -8px;
    font-size: 14px;
  }
}

.insight-card {
  border: 1px solid rgba(138, 155, 176, 0.12);
  border-radius: 8px;
  padding: 32px;
}

.insight-card .btn-ghost {
  margin-top: 6px;
}

.check-list li .dot {
  background: var(--green);
}

.qualify-card p {
  margin: 0;
  color: var(--white);
  font-weight: 400;
}

.compare-matrix {
  margin-top: 44px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(138, 155, 176, 0.16);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 50%, rgba(0, 0, 0, 0.15) 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.compare-matrix-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(138, 155, 176, 0.12);
}

.compare-pillar {
  font-family: "Jura", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 22px;
  line-height: 1.3;
}

.compare-pillar--legacy {
  color: var(--slate);
  background: rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(138, 155, 176, 0.1);
}

.compare-pillar--mfi {
  color: var(--white);
  background: linear-gradient(135deg, rgba(26, 110, 255, 0.22) 0%, rgba(26, 110, 255, 0.06) 55%, rgba(20, 31, 45, 0.4) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.compare-matrix-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(138, 155, 176, 0.1);
  transition: background 0.2s ease;
}

.compare-row:first-child {
  border-top: none;
}

.compare-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.compare-cell {
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.5;
}

.compare-cell--legacy {
  color: var(--slate-light);
  border-right: 1px solid rgba(138, 155, 176, 0.08);
}

.compare-cell--mfi {
  color: var(--white);
  font-weight: 500;
  background: rgba(26, 110, 255, 0.05);
  box-shadow: inset 3px 0 0 var(--blue);
}

.compare-mob-label {
  display: none;
}

@media (max-width: 720px) {
  .compare-matrix-header {
    display: none;
  }

  .compare-matrix-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .compare-row {
    grid-template-columns: 1fr;
    border: 1px solid rgba(138, 155, 176, 0.14);
    border-top: 1px solid rgba(138, 155, 176, 0.14);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .compare-cell {
    border-right: none;
    box-shadow: none;
    padding: 16px 18px;
  }

  .compare-cell--legacy {
    border-bottom: 1px solid rgba(138, 155, 176, 0.1);
  }

  .compare-cell--mfi {
    background: linear-gradient(180deg, rgba(26, 110, 255, 0.1) 0%, rgba(26, 110, 255, 0.03) 100%);
    border-top: none;
  }

  .compare-mob-label {
    display: block;
    font-family: "Jura", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--section-tag-blue);
    margin-bottom: 6px;
  }

  .compare-cell--legacy .compare-mob-label {
    color: var(--slate);
  }

  .compare-row:hover {
    background: rgba(0, 0, 0, 0.22);
  }

  .compare-row:first-child {
    border-top: 1px solid rgba(138, 155, 176, 0.14);
  }
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid rgba(138, 155, 176, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
}

.form-card textarea {
  min-height: 120px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.label-optional {
  color: var(--slate);
  font-weight: 400;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: var(--red);
  font-size: 13px;
  min-height: 1.2em;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--red);
}

.form-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 15px;
}

.form-status--success {
  background: rgba(0, 196, 140, 0.12);
  border: 1px solid rgba(0, 196, 140, 0.35);
  color: #b8f5e4;
}

.form-status--error {
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.35);
  color: #ffd4d4;
}

.form-status--error a {
  color: var(--white);
  text-decoration: underline;
}

.form-privacy-note {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--slate-light);
  line-height: 1.5;
}

.form-privacy-note a {
  color: var(--blue);
  text-decoration: underline;
}

.form-card label {
  display: block;
  margin-bottom: 6px;
  color: var(--slate-light);
  font-size: 13px;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--blue);
  outline: none;
}

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

.form-field {
  margin-bottom: 14px;
}

.diagnostic-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.diagnostic-form-intro {
  margin-bottom: 32px;
}

.diagnostic-form-intro-heading {
  font-family: "Jura", sans-serif;
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 18px;
}

.diagnostic-form-points {
  margin: 18px auto 0;
  max-width: 420px;
  text-align: left;
}

@media (min-width: 768px) {
  .diagnostic-form-wrap {
    text-align: left;
  }

  .diagnostic-form-points {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
}

.diagnostic-form-points li {
  margin-bottom: 12px;
}

.diagnostic-form-points li:last-child {
  margin-bottom: 0;
}

.diagnostic-form {
  text-align: left;
}

.diagnostic-form-submit {
  width: 100%;
  margin-top: 4px;
}

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

.hero-surface:not(.about-hero) .hero-copy h1 {
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-surface:not(.about-hero) .hero-copy h1 .h1-keep {
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .hero-surface:not(.about-hero) .hero-copy h1 {
    font-size: clamp(34px, 3.8vw, 50px);
  }
}

.hero-surface:not(.about-hero) .hero-copy .section-tag {
  margin-bottom: 14px;
}

.hero-surface:not(.about-hero) .hero-copy p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.hero-surface:not(.about-hero) .hero-copy .lead {
  font-size: 15px;
}

.hero-surface:not(.about-hero) .hero-copy .hero-actions {
  margin: 22px 0 10px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 30px 0 14px;
}

.hero-note {
  letter-spacing: 0.04em;
}

.problem-callout,
.diagnostic-card,
.mfi-advantage {
  background: rgba(26, 110, 255, 0.06);
  border-color: rgba(26, 110, 255, 0.2);
}

.callout-inline {
  border-left: 3px solid var(--blue);
  padding-left: 12px;
}

.method-card {
  position: relative;
  padding: 48px 40px;
  overflow: hidden;
}

.method-card::before {
  content: attr(data-step);
  position: absolute;
  right: 20px;
  top: 14px;
  font-family: "Jura", sans-serif;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
}

.method-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.method-card:hover::after {
  width: 100%;
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.service-grid-home {
  margin-top: 26px;
}

.service-tile {
  min-height: 220px;
  position: relative;
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 12px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.diagnostic-steps li .dot {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border: 1px solid var(--blue);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-home {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 32px 44px;
}

.about-home-photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(138, 155, 176, 0.2);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.about-home-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 983;
  object-fit: cover;
  object-position: center 18%;
}

.about-home-copy h2 {
  margin-bottom: 14px;
}

.about-home-copy p:last-child {
  margin-bottom: 0;
}

.industry-grid {
  margin-top: 8px;
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.industry-icon {
  width: 44px;
  height: 44px;
  margin: 0 0 14px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(26, 110, 255, 0.12);
  border: 1px solid rgba(26, 110, 255, 0.25);
}

.industry-card h3 {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.8vw, 20px);
}

.industry-card p {
  margin: 0;
}

.section-tag.center {
  justify-content: center;
}

@media (max-width: 1024px) {
  h1 {
    margin-bottom: 14px;
  }
  h2 {
    margin-bottom: 14px;
  }
  p {
    margin-bottom: 14px;
  }
  .section {
    padding: 80px 0;
  }
  .hero-grid {
    min-height: auto;
    padding: 36px 0 26px;
    gap: 28px;
  }
  .dashboard-card {
    padding: 30px;
  }
  .grid-2 {
    gap: 30px;
  }
  .grid-3,
  .grid-4 {
    gap: 18px;
  }
  .card {
    padding: 24px;
  }
  .service-tile {
    min-height: 0;
  }
  .trust-items {
    gap: 14px 22px;
    justify-content: flex-start;
  }
  .line-list p {
    padding: 12px 0;
  }
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .about-hero-photo {
    justify-self: center;
    width: min(100%, clamp(280px, 72vw, 360px));
  }

  .about-timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-home {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-home-photo-wrap {
    max-width: min(100%, 360px);
    justify-self: center;
  }

  .page-hero {
    padding: 72px 0 56px;
  }

  .services-hero-highlights {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .service-detail-grid {
    gap: 22px;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .framework-flow,
  .method-requirements,
  .comparison,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .flow-step:not(:last-child)::after {
    content: "";
  }
  .footer-bottom {
    flex-direction: column;
  }
  .services-head,
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1200px, 100% - 48px);
  }
  .section {
    padding: 64px 0;
  }
  .hero-grid {
    gap: 22px;
    padding: 30px 0 12px;
  }
  .hero-actions {
    gap: 12px;
    margin: 20px 0 10px;
  }
  .btn-primary {
    padding: 12px 22px;
    font-size: 14px;
  }
  .btn-ghost {
    font-size: 13px;
  }
  .dashboard-card {
    padding: 24px;
  }
  .metric {
    font-size: 32px;
  }
  .trust-bar {
    padding: 14px 0;
  }
  .section-tag {
    margin-bottom: 14px;
  }
  .page-hero {
    padding: 64px 0 48px;
  }
  .footer-grid {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1200px, 100% - 32px);
  }
  .section {
    padding: 56px 0;
  }
  h1 {
    font-size: clamp(34px, 11vw, 42px);
    line-height: 1.12;
  }
  h2 {
    font-size: clamp(26px, 8.2vw, 32px);
    line-height: 1.2;
  }
  p {
    font-size: 15px;
    line-height: 1.65;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .dashboard-card {
    padding: 20px;
  }
  .kpi-line {
    font-size: 12px;
  }
  .card {
    padding: 20px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    gap: 8px;
    margin-top: 24px;
  }
}

.section--light {
  background: var(--navy-dark, #0a1628);
}

.faq-list {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  max-width: 820px;
}

.faq-item {
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.125rem;
}

.faq-item p {
  margin: 0;
}

.footer-nap {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.footer-nap p {
  margin: 0 0 4px;
  font-size: 14px;
}

.footer-nap a {
  color: inherit;
  text-decoration: none;
}

.footer-nap a:hover {
  color: var(--accent, #1a6eff);
}
