:root {
  --cream: #f4f0e8;
  --porcelain: #fcfbf7;
  --indigo: #0b1454;
  --blue: #0753f6;
  --graphite: #2e3446;
  --secondary: #626979;
  --rule: #d8d2c8;
  --pale-blue: #eaf1ff;
  --white: #ffffff;
  --shell: 1260px;
  --gutter: clamp(22px, 5vw, 72px);
  --radius: 24px;
  --shadow: 0 22px 64px rgba(11, 20, 84, 0.09);
  --font: Inter, Aptos, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--cream);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--graphite);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 11px 17px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(216, 210, 200, 0.86);
  background: rgba(244, 240, 232, 0.96);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  color: var(--indigo);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.brand img {
  width: 43px;
  height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 38px);
  font-size: 14px;
  font-weight: 650;
}

.site-nav > a:not(.button),
.text-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.site-nav > a:not(.button)::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav > a:not(.button):hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: var(--porcelain);
  color: var(--indigo);
  cursor: pointer;
}

.menu-toggle i {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] i:first-of-type {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:last-of-type {
  transform: translateY(-3.5px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 23px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-small {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 13px;
}

.button-large {
  min-width: 196px;
  min-height: 54px;
  padding-inline: 28px;
}

.button-indigo {
  background: var(--indigo);
  color: var(--white);
}

.button-indigo:hover {
  background: #17236e;
}

.button-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(7, 83, 246, 0.18);
}

.button-blue:hover {
  background: #0648d6;
}

.hero {
  position: relative;
  padding: clamp(88px, 8vw, 116px) 0 clamp(102px, 9vw, 132px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(590px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 5vw, 76px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--indigo);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(52px, 5.2vw, 72px);
}

.hero-intro {
  max-width: 710px;
  margin: 28px 0 0;
  color: var(--graphite);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.text-link {
  gap: 8px;
  color: var(--indigo);
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  color: var(--blue);
  font-size: 18px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 0;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 700;
}

.hero-trust span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.evidence-model {
  position: relative;
  display: grid;
  min-height: 440px;
  align-items: center;
  margin: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 42px 0;
}

.model-diagram {
  display: grid;
  grid-template-columns: minmax(126px, 0.82fr) minmax(288px, 1.64fr) minmax(168px, 1fr);
  align-items: center;
  gap: 18px;
}

.model-inputs {
  display: grid;
  gap: 14px;
}

.model-inputs span {
  display: grid;
  min-height: 50px;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 9px 11px;
  background: var(--porcelain);
  color: var(--graphite);
  font-size: clamp(10px, 0.78vw, 13px);
  line-height: 1.25;
  text-align: center;
}

.model-engine {
  display: grid;
  gap: 24px;
}

.model-rail p {
  margin: 0 0 9px 7px;
  color: var(--graphite);
  font-size: clamp(9px, 0.72vw, 12px);
  line-height: 1.3;
  white-space: nowrap;
}

.model-rail span {
  position: relative;
  display: block;
  height: 1px;
  background: #969bad;
  transform-origin: left;
}

.model-rail span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo);
  content: "";
  transform: translateY(-50%);
}

.model-concepts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.model-concepts strong {
  display: grid;
  min-height: 128px;
  place-items: center;
  border: 2px solid #9da1b4;
  border-radius: 14px;
  padding: 16px 10px;
  color: #080808;
  font-size: clamp(14px, 1.04vw, 18px);
  line-height: 1.2;
  text-align: center;
}

.model-outcome {
  display: grid;
  justify-items: center;
  text-align: center;
}

.model-outcome img {
  width: clamp(78px, 7vw, 106px);
  height: auto;
  margin-bottom: 15px;
}

.model-outcome p {
  margin: 0;
  font-size: clamp(12px, 0.98vw, 17px);
  font-weight: 800;
  line-height: 1.32;
}

.model-outcome strong,
.model-outcome span {
  display: block;
}

.model-outcome strong {
  color: var(--blue);
}

.model-outcome span {
  color: var(--indigo);
}

.js .model-inputs span,
.js .model-concepts strong,
.js .model-outcome {
  opacity: 0;
}

.js .model-inputs span {
  transform: translateX(-10px);
  animation: model-settle 460ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .model-inputs span:nth-child(1) { animation-delay: 80ms; }
.js .model-inputs span:nth-child(2) { animation-delay: 150ms; }
.js .model-inputs span:nth-child(3) { animation-delay: 220ms; }
.js .model-inputs span:nth-child(4) { animation-delay: 290ms; }

.js .model-rail span {
  transform: scaleX(0);
  animation: model-rail 620ms 300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .model-concepts strong {
  transform: translateY(8px);
  animation: model-settle 500ms 460ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .model-outcome {
  transform: translateX(10px);
  animation: model-settle 540ms 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes model-settle {
  to { opacity: 1; transform: translate(0); }
}

@keyframes model-rail {
  to { transform: scaleX(1); }
}

.section {
  padding: clamp(98px, 9vw, 136px) 0;
}

.section h2 {
  max-width: 900px;
  font-size: clamp(42px, 4.4vw, 62px);
}

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

.section-intro {
  max-width: 770px;
  margin: 26px 0 0;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.65;
}

.process-section {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--porcelain);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(66px, 7vw, 88px) 0 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  position: relative;
  min-height: 320px;
  border-top: 2px solid var(--blue);
  padding: 38px clamp(28px, 3vw, 46px) 0 0;
}

.process-steps li + li {
  border-left: 1px solid var(--rule);
  padding-left: clamp(28px, 3vw, 46px);
}

.step-number {
  display: block;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-steps h3 {
  max-width: 310px;
  margin: 0;
  color: var(--indigo);
  font-size: clamp(22px, 2vw, 27px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.process-steps p {
  max-width: 360px;
  margin: 20px 0 0;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.65;
}

.evidence-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 52px 0 0;
  color: var(--indigo);
  font-size: 15px;
  font-weight: 800;
}

.evidence-promise span {
  width: 42px;
  height: 2px;
  background: var(--blue);
}

.proof-section {
  padding-bottom: clamp(110px, 10vw, 150px);
}

.proof-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.72fr);
  align-items: end;
  gap: clamp(54px, 8vw, 118px);
}

.proof-summary > p {
  max-width: 520px;
  margin: 0 0 5px;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.68;
}

.proof-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 30px 0 0;
  border-top: 1px solid var(--rule);
  padding: 22px 0 0;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.proof-labels li {
  position: relative;
  padding-left: 14px;
}

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

.proof-demo {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.proof-demo > p {
  max-width: 230px;
  margin: 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.5;
}

.about-cta {
  border-top: 1px solid var(--rule);
  padding: clamp(82px, 8vw, 112px) 0 clamp(92px, 9vw, 126px);
  background: var(--porcelain);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(40px, 7vw, 96px);
  border-radius: var(--radius);
  padding: clamp(46px, 6vw, 76px);
  background: var(--indigo);
  color: var(--white);
}

.cta-band h2 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(38px, 4vw, 56px);
}

.cta-band p {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.65;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 30px 0;
  background: var(--cream);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  color: var(--secondary);
  font-size: 13px;
}

.brand-footer {
  font-size: 20px;
}

.brand-footer img {
  width: 35px;
  height: 34px;
}

.footer-inner > a:not(.brand):hover {
  color: var(--blue);
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 1180px) {
  .hero-layout,
  .proof-intro {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 72px;
  }

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

  .evidence-model {
    width: min(100%, 920px);
    min-height: 420px;
  }

  .proof-summary > p {
    max-width: 760px;
  }

  .process-steps li {
    padding-right: 28px;
  }

  .process-steps li + li {
    padding-left: 28px;
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 12px;
    background: var(--porcelain);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav > a:not(.button) {
    padding: 8px 12px;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps li {
    min-height: 0;
    padding: 32px 0 46px;
  }

  .process-steps li + li {
    border-left: 0;
    padding-left: 0;
  }

  .step-number {
    margin-bottom: 26px;
  }

  .process-steps h3,
  .process-steps p {
    max-width: 650px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-band .button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 22px;
    --radius: 20px;
  }

  body {
    font-size: 16px;
  }

  html {
    scroll-padding-top: 80px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    font-size: 22px;
  }

  .brand img {
    width: 38px;
    height: 37px;
  }

  .hero {
    padding: 66px 0 82px;
  }

  .hero-layout {
    gap: 60px;
  }

  .eyebrow,
  .section-label {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 53px);
  }

  .hero-intro {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.58;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
  }

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

  .hero-actions .text-link {
    justify-content: center;
  }

  .hero-trust {
    align-items: flex-start;
    margin-top: 26px;
    line-height: 1.5;
  }

  .hero-trust span {
    margin-top: 6px;
  }

  .evidence-model {
    min-height: 0;
    padding: 42px 0;
  }

  .model-diagram {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .model-inputs {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .model-inputs span {
    min-height: 52px;
    font-size: 13px;
  }

  .model-engine {
    gap: 22px;
  }

  .model-rail p {
    margin-left: 0;
    font-size: 12px;
    white-space: normal;
  }

  .model-concepts {
    gap: 12px;
  }

  .model-concepts strong {
    min-height: 126px;
    padding-inline: 8px;
    font-size: 16px;
  }

  .model-outcome {
    grid-template-columns: 82px 1fr;
    align-items: center;
    justify-items: start;
    gap: 18px;
    text-align: left;
  }

  .model-outcome img {
    width: 82px;
    margin: 0;
  }

  .model-outcome p {
    font-size: 17px;
  }

  .section {
    padding: 82px 0;
  }

  .section h2 {
    font-size: clamp(38px, 10.5vw, 48px);
  }

  .process-steps {
    margin-top: 50px;
  }

  .section-intro {
    margin-top: 22px;
    font-size: 16px;
  }

  .process-steps li {
    padding: 28px 0 42px;
  }

  .process-steps h3 {
    font-size: 24px;
  }

  .process-steps p {
    margin-top: 16px;
    font-size: 16px;
  }

  .evidence-promise {
    align-items: flex-start;
    margin-top: 28px;
    line-height: 1.5;
  }

  .evidence-promise span {
    flex: 0 0 28px;
    margin-top: 10px;
  }

  .proof-intro {
    gap: 30px;
  }

  .proof-summary > p {
    font-size: 16px;
  }

  .proof-labels {
    display: grid;
    gap: 12px;
  }

  .proof-demo {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .proof-demo .button {
    width: 100%;
  }

  .proof-demo > p {
    max-width: none;
  }

  .about-cta {
    padding: 70px 0 82px;
  }

  .cta-band {
    gap: 32px;
    padding: 38px 28px;
  }

  .cta-band h2 {
    font-size: clamp(36px, 9.8vw, 45px);
  }

  .cta-band p {
    font-size: 15px;
  }

  .cta-band .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .model-inputs span,
  .model-rail span,
  .model-concepts strong,
  .model-outcome {
    opacity: 1;
    transform: none;
  }
}
