:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #101b4f;
  --ink-strong: #071346;
  --text: #24324b;
  --muted: #64748b;
  --line: #dce8f3;
  --line-strong: #b8d2ea;
  --teal: #0f766e;
  --teal-dark: #0d6963;
  --teal-soft: rgba(15, 118, 110, 0.09);
  --blue: #0369a1;
  --sapphire: #2563eb;
  --cyan: #14b8c6;
  --violet: #7c3aed;
  --green: #16a34a;
  --amber: #d97706;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 18px 46px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 34px 90px rgba(3, 105, 161, 0.18);
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1180px;
  --header: 74px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 420px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.06), transparent 28%, rgba(3, 105, 161, 0.08));
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #ffffff;
  background: var(--teal);
  border-radius: var(--radius);
  transition: transform 160ms ease;
}

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

.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: 150;
  background: rgba(248, 250, 252, 0.84);
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.nav-shell,
.hero-inner,
.section-inner,
.site-footer {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-strong);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: linear-gradient(145deg, #ffffff, #e7f7f5);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.brand strong {
  display: block;
  font-size: 17px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.brand-mark svg,
.nav-toggle svg,
.button svg,
.icon-shell svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #475569;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--teal);
  background: var(--teal-soft);
}

.nav-links .login-link {
  margin-left: 8px;
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.22);
}

.nav-links .login-link:hover {
  color: #ffffff;
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 76px 0 58px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.5;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-bg::after,
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0.98) 31%, rgba(248, 250, 252, 0.78) 58%, rgba(248, 250, 252, 0.2)),
    linear-gradient(180deg, rgba(248, 250, 252, 0.64), rgba(248, 250, 252, 0.94));
}

.hero::after,
.final-cta::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 156px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, var(--bg)),
    radial-gradient(62% 56px at 50% 100%, rgba(3, 105, 161, 0.18), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.52fr);
  gap: 48px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink-strong);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(86px, 15vw, 188px);
  line-height: 0.84;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5.1vw, 64px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.24;
}

.hero-lede {
  max-width: 780px;
  margin-bottom: 18px;
  color: #24324b;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
  font-weight: 750;
}

.builder-line {
  max-width: 700px;
  margin-bottom: 30px;
  color: #475569;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-weight: 900;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 18px 36px rgba(15, 118, 110, 0.25);
}

.button.primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.button.secondary:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.quote-chip {
  width: fit-content;
  max-width: min(640px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.quote-chip span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--teal), var(--sapphire));
  border-radius: 999px;
}

.hero-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(184, 210, 234, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.panel-topline strong {
  color: var(--teal);
}

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

.hero-metrics div,
.metric-card,
.engine-card,
.value-card,
.level-card,
.guardrail {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-metrics div {
  min-height: 118px;
  padding: 16px;
}

.hero-metrics dt {
  color: var(--sapphire);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.hero-metrics dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mini-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.mini-flow span {
  min-height: 40px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 40px;
}

.section-heading.wide {
  max-width: 960px;
}

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

.section-heading p,
.section-copy p,
.proof-copy p,
.cta-inner p {
  max-width: 760px;
  color: #475569;
  font-size: 18px;
  line-height: 1.72;
}

.intro {
  background: linear-gradient(180deg, var(--bg), #ffffff);
}

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

.value-card,
.level-card,
.engine-card,
.guardrail {
  padding: 24px;
}

.value-card p,
.level-card p,
.engine-card p,
.guardrail p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.icon-shell {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--sapphire);
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius);
}

.proof-strip,
.ai-maturity,
.ir,
.differentiators {
  background:
    linear-gradient(180deg, rgba(241, 245, 249, 0.78), rgba(255, 255, 255, 0.92)),
    linear-gradient(90deg, rgba(15, 118, 110, 0.05), transparent 48%, rgba(3, 105, 161, 0.06));
  border-top: 1px solid rgba(226, 232, 240, 0.74);
  border-bottom: 1px solid rgba(226, 232, 240, 0.74);
}

.proof-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(340px, 1fr) minmax(0, 0.9fr);
}

.wide-visual,
.visual-card {
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(184, 210, 234, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.wide-visual img,
.visual-card img {
  width: 100%;
  height: auto;
}

.compact-list,
.process-table,
.roadmap-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.compact-list li,
.process-table div,
.roadmap-list div {
  position: relative;
  padding: 14px 16px 14px 46px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compact-list li::before,
.process-table div::before,
.roadmap-list div::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 12px;
  height: 12px;
  background: var(--teal);
  border: 4px solid #dff6f1;
  border-radius: 999px;
}

.process-table strong,
.roadmap-list strong {
  display: block;
  color: var(--ink-strong);
}

.process-table span,
.roadmap-list p {
  display: block;
  margin-top: 4px;
  color: #475569;
}

.operating-system,
.management,
.roadmap {
  background: #ffffff;
}

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

.level-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 32px;
  margin-bottom: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sapphire), var(--teal));
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 950;
}

.level-card:nth-child(4) span,
.level-card:nth-child(5) span {
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.level-card:nth-child(6) span {
  background: linear-gradient(135deg, var(--violet), var(--teal));
}

.engine {
  background:
    linear-gradient(180deg, #ffffff, var(--bg)),
    linear-gradient(90deg, rgba(20, 184, 198, 0.06), transparent);
}

.engine-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: center;
  margin-bottom: 22px;
}

.engine-stage {
  min-height: 190px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.engine-stage span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
}

.engine-stage strong {
  display: block;
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.2;
}

.engine-stage p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.engine-arrow {
  height: 2px;
  background: linear-gradient(90deg, var(--sapphire), var(--teal));
  position: relative;
}

.engine-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
  transform: translateY(-50%) rotate(45deg);
}

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

.engine-card span {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 10px;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.impact-row,
.management-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

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

.impact-row div,
.management-kpis div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.impact-row strong,
.management-kpis span,
.metric-card span {
  display: block;
  color: var(--sapphire);
  font-size: 31px;
  font-weight: 950;
  line-height: 1;
}

.impact-row span,
.management-kpis small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.metric-card {
  padding: 20px;
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink-strong);
}

.metric-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.ir-table {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.ir-table div {
  display: grid;
  grid-template-columns: 1.2fr 0.4fr 1.7fr;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.ir-table div:last-child {
  border-bottom: 0;
}

.ir-table span {
  color: var(--ink-strong);
  font-weight: 850;
}

.ir-table strong {
  color: var(--teal);
}

.ir-table em {
  color: var(--muted);
  font-style: normal;
}

.security {
  background:
    linear-gradient(180deg, #ffffff, var(--bg)),
    linear-gradient(90deg, rgba(15, 118, 110, 0.05), transparent 55%, rgba(3, 105, 161, 0.06));
}

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

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

.differentiator-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.differentiator-tags span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 850;
}

.roadmap-list span {
  position: absolute;
  left: 13px;
  top: 14px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--teal);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.roadmap-list div::before {
  display: none;
}

.final-cta {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.54;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.cta-inner {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 0 max(20px, calc((100% - var(--container)) / 2));
}

.cta-inner h2 {
  font-size: clamp(38px, 5.2vw, 70px);
}

.site-footer {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  color: var(--ink-strong);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms ease, transform 540ms ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .hero-inner,
  .proof-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 720px;
  }

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

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

  .engine-diagram {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .engine-arrow {
    width: 2px;
    height: 28px;
    margin-left: 26px;
    background: linear-gradient(180deg, var(--sapphire), var(--teal));
  }

  .engine-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 860px) {
  :root {
    --header: 68px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: var(--header) 12px auto;
    z-index: 220;
    display: grid;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links .login-link {
    margin-left: 0;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-bg {
    opacity: 0.32;
  }

  .hero-bg::after,
  .cta-bg::after {
    background: rgba(248, 250, 252, 0.88);
  }

  h1 {
    font-size: clamp(72px, 22vw, 120px);
  }

  h2 {
    font-size: 34px;
  }

  .hero-lede {
    font-size: 24px;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading p,
  .section-copy p,
  .proof-copy p,
  .cta-inner p {
    font-size: 17px;
  }

  .engine-grid,
  .security-grid,
  .impact-row,
  .management-kpis,
  .value-grid,
  .guardrail-grid {
    grid-template-columns: 1fr;
  }

  .ir-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .hero-inner,
  .section-inner,
  .site-footer {
    width: min(100% - 28px, var(--container));
  }

  .brand small {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    padding: 16px;
  }

  .hero-metrics,
  .maturity-grid,
  .ir-metrics,
  .mini-flow {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: auto;
  }

  .wide-visual,
  .visual-card {
    border-radius: var(--radius);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }
}
