@font-face {
  font-family: Inter;
  src: url('/assets/fonts/InterLatin.3100e775e8616cd2.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f7fa;
  --rule: #d7e1ea;
  --deep: #081a32;
  --shell: 1320px;
  --gutter: clamp(20px, 4.2vw, 72px);
  --edge: max(var(--gutter), calc((100% - var(--shell)) / 2));
  --section-space: clamp(62px, 7vw, 108px);
  --section-title: clamp(30px, 3.1vw, 47px);
  font-family: Inter, sans-serif;
}

body { line-height: 1.65; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.037em; line-height: 1.12; }
.eyebrow {
  margin-bottom: 16px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: .105em;
}
.eyebrow:not(.eyebrow-light) { color: #3c5c7d; }
.eyebrow-light { color: #a5dce7; }
.section { max-width: none; padding: var(--section-space) var(--edge); }
.section-heading { margin-bottom: clamp(30px, 4vw, 56px); }
.section-heading h2, .final-cta h2 { font-size: var(--section-title); }
.section-heading h2 span, .final-cta h2 span { color: inherit; }
.section-intro { font-size: 16px; }
.section-heading-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; }
.section-heading-row > .text-link { justify-self: end; }
.centered-heading { text-align: left; margin-inline: 0; }
.centered-heading .section-intro { margin-inline: 0; }

.site-header { background: #fff; backdrop-filter: none; border-color: var(--rule); }
.header-inner { max-width: none; padding: 12px var(--edge); min-height: 78px; }
.primary-nav { gap: clamp(15px, 2.2vw, 32px); }
.primary-nav > a:not(.button) { font-size: 13px; font-weight: 550; }
.primary-nav > a:not(.button)::after { bottom: -7px; }
/* Compact the inline navigation before the existing mobile menu takes over. */
@media (min-width: 781px) and (max-width: 900px) {
  .header-inner { gap: 12px; }
  .primary-nav { gap: clamp(8px, calc(10vw - 70px), 20px); }
}
.button {
  min-height: 48px;
  padding: 11px 19px;
  border-radius: 5px;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: none; box-shadow: none; }
.button-navy:hover { background: #163959; }
.button-blue { background: #0b62b2; }
.button-blue:hover { background: #084c8d; }
.button-cyan:hover { background: #70e6ef; }
.button-ghost { background: transparent; border-color: #7188a0; }
.button-ghost:hover { border-color: #c7d9eb; background: #ffffff0d; }
.nav-cta { min-height: 44px; white-space: nowrap; }
.text-link { font-weight: 650; }

/* Home pairs a full-width brand field with open editorial sections. */
body[data-page="home"] .hero-home {
  max-width: none;
  min-height: 0;
  padding: clamp(54px, 5.2vw, 90px) var(--edge) 48px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(26px, 4vw, 66px);
  background: radial-gradient(ellipse at 73% 44%, #102e4d, var(--deep) 67%);
}
.hero-home::before, .hero-home::after { content: none; }
.hero-home h1 {
  margin-bottom: 24px;
  font-size: clamp(35px, 3.25vw, 56px);
  font-weight: 650;
  line-height: 1.07;
  letter-spacing: -.052em;
}
.hero-home h1 em { color: #a6e7ec; }
.hero-home .hero-lede { max-width: 43ch; margin-bottom: 32px; font-size: clamp(15px, 1.2vw, 17px); }
.hero-home .hero-actions { gap: 12px; }
.hero-home .hero-actions > .button { min-height: 48px; padding-inline: clamp(12px, 1.4vw, 20px); }
.intelligence-frame { position: relative; width: 100%; }
.workflow-illustration { display: block; width: 100%; height: auto; }
.workflow-compact, [data-workflow-motion] { display: none; }
.motion-ready [data-workflow-motion] { display: inline; }
.motion-toggle {
  display: block;
  margin: 2px 0 0 auto;
  padding: 10px 0;
  min-height: 44px;
  border: 0;
  color: #c8d7e6;
  background: transparent;
  font-size: 11px;
  text-underline-offset: 4px;
  text-decoration: underline;
  cursor: pointer;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: #fff; }

.proof-strip {
  max-width: none;
  margin: 0;
  padding: 25px var(--edge);
  gap: 12px 28px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
body[data-page="home"] .proof-strip > div { padding: 0; border: 0; }
.proof-icon { display: none; }
.proof-strip strong { font-size: 13px; font-weight: 650; }
.proof-strip small { font-size: 12px; }
.section-challenges, .value-section {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(30px, 5vw, 80px);
}
.section-challenges > .section-heading { display: block; margin: 0; }
.section-challenges > .section-heading .section-intro { margin-top: 20px; }
.challenge-grid { display: block; border-bottom: 1px solid var(--rule); }
.challenge-card, .challenge-card:hover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 8px 24px;
  min-height: 0;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
.challenge-card .card-icon, .solution-cards .solution-symbol, .value-grid article > span { display: none; }
.challenge-card .card-index { grid-column: 1 / -1; color: #3c5c7d; font-size: 10px; margin: 0; }
.challenge-card h3 { min-height: 0; font-size: 20px; margin: 0; }
.challenge-card > p:not(.card-index) { font-size: 14px; margin: 0; }
.challenge-card > a { grid-column: 2; font-size: 13px; }
.about-section { align-items: start; gap: 50px; background: var(--deep); }
.about-copy h2, .human-copy h2, .technology-teaser h2 { font-size: var(--section-title); }
.about-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 0 28px; }
.about-points > div, .about-points > div:last-child { border: 0; border-top: 1px solid #38516d; padding: 18px 0; }
.about-points > div > span { flex: 0 0 20px; }
.about-points small { font-size: 13px; }
.human-section { grid-template-columns: minmax(130px, 1fr) minmax(0, 3fr); gap: clamp(26px, 5vw, 85px); }
.human-mark { min-height: 0; }
.human-ring { display: none; }
.human-copy h2 span { color: inherit; }
.value-section { background: var(--paper); }
.value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border: 0; border-radius: 0; }
.value-grid article, .value-grid article:last-child { border: 0; border-top: 1px solid var(--rule); padding: 20px 0; }
.value-grid article h3 { font-size: 19px; }
.value-grid article p, .solution-card p { font-size: 14px; }
.health-banner {
  max-width: none;
  margin: 0;
  padding: clamp(38px, 5vw, 68px) var(--edge);
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: #fff;
}
.health-illustration { align-self: center; }
.solution-cards { gap: 24px; }
.solution-card, .solution-card:hover {
  min-height: 0;
  padding: 22px 2px 12px;
  border: 0;
  border-top: 2px solid #7796b4;
  border-radius: 0;
  background: transparent;
  transform: none;
  box-shadow: none;
}
.solution-card:hover { border-color: var(--blue); }
.solution-card h3 { font-size: 24px; }
.solutions-preview { background: var(--paper); }
.technology-teaser {
  max-width: none;
  border-radius: 0;
  padding: var(--section-space) var(--edge);
  background: var(--deep);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.mini-loop { gap: 0; }
.mini-loop > div { background: none; box-shadow: none; border: 0; border-top: 1px solid #57758e; border-radius: 0; }
.final-cta { max-width: none; text-align: left; padding: var(--section-space) var(--edge); }
.final-cta .hero-actions { justify-content: start; gap: 14px 24px; }

/* Interior pages share the same grid, white space and document-like surfaces. */
.page-hero, .demo-page-hero, .tech-hero {
  max-width: none;
  margin: 0;
  padding: clamp(52px, 6vw, 94px) var(--edge);
  border-radius: 0;
}
.page-hero-soft, .page-hero-process, .page-hero-contact { background: var(--paper); }
.page-hero-soft::before, .page-hero-soft::after, .page-hero-process::before, .page-hero-process::after,
.page-hero-contact::before, .page-hero-contact::after, .tech-hero::before, .tech-hero::after,
.tech-manifesto::before { content: none; }
.page-hero h1, .demo-page-copy h1, .tech-hero h1 {
  font-size: clamp(36px, 4.5vw, 66px);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: 1.08;
}
.page-hero h1 span { color: #174d7d; }
.page-hero-copy > p:not(.eyebrow), .demo-page-copy > p:not(.eyebrow) { max-width: 48ch; font-size: 16px; }
.page-hero-process-art img, .solution-offerings-art img { filter: none; }
.detail-card {
  padding: clamp(26px,4vw,54px) 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.detail-card:last-child { border-bottom: 1px solid var(--rule); }
.detail-card-head > div { display: block; }
.detail-card-head .solution-symbol { display: none; }
.detail-card-head h3 { font-size: clamp(27px,3vw,42px); }
.detail-card-head .eyebrow { margin-bottom: 8px; }
.detail-lede { font-size: 16px; max-width: 65ch; }
.detail-divider { background: var(--rule); }
.service-list { font-size: 14px; }
.pricing-panel, .health-workflow, .demo-ribbon, .governance-section, .hosting-section, .predictable-costs {
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--edge);
  border-radius: 0;
}
.pricing-panel, .hosting-section { background: var(--paper); }
.health-workflow, .demo-ribbon, .tech-hero, .governance-section, .predictable-costs, .demo-page-hero { background: var(--deep); }
.demo-ribbon { margin-bottom: 0; }
.journey-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; align-items: stretch; }
.journey-grid > i, .journey-icon { display: none; }
.journey-grid article, .journey-grid article:nth-of-type(3) {
  min-height: 0;
  padding: 22px 0;
  border: 0;
  border-top: 2px solid #7796b4;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.journey-number { position: static; display: block; margin-bottom: 14px; color: #446584; }
.journey-grid h3 { font-size: 20px; }
.journey-grid p { font-size: 14px; }
.loop-context, .loop-human, .platform-card, .foundation-grid article, .foundation-grid article:nth-child(2), .hosting-options article {
  min-height: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
  padding: 20px 0;
}
.foundation-grid, .platform-grid, .hosting-options { gap: 18px 28px; }
.platform-card-wide { display: block; }
.platform-card > span, .foundation-icon { display: none; }
.platform-card h3, .foundation-grid h3, .hosting-options h3 { font-size: 19px; }
.platform-card p, .foundation-grid article > p:not(.eyebrow), .hosting-options p { min-height: 0; font-size: 14px; }
.loop-layout { gap: clamp(16px,2.2vw,36px); }
.loop-context > p:not(.eyebrow), .loop-human > p:not(.eyebrow) { font-size: 13px; }
.architecture-node { background: #153653; border-color: #254b6a; border-radius: 7px; box-shadow: none; }
.architecture-governance { border-color: #5b8fa8; }
.architecture-symbol { border-radius: 5px; }
.architecture-node p { font-size: 12px; }
.architecture-detail { font-size: 10.5px; }
.architecture-node .architecture-kicker { font-size: 9px; }
.architecture-status { border-radius: 4px; }
.contact-prompts > a, .contact-prompts > a:hover {
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 12px 0;
  transform: none;
}
.contact-prompts > a > span { background: none; border-radius: 0; }
.page-hero-contact { align-items: start; }
.demo-page-hero { align-items: start; }
.demo-page-copy { padding-top: 12px; }
.form-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 42px);
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: white;
  box-shadow: none;
}
.form-card h2 { font-size: clamp(22px,2vw,30px); }
.form-card label:not(.consent-row) { font-size: 13px; }
.form-card input:not([type="checkbox"]), .form-card select, .form-card textarea {
  min-height: 44px;
  padding: 10px 12px;
  border-color: #aabccc;
  border-radius: 4px;
  font-size: 14px;
}
.form-card :is(.form-privacy, .consent-row, .form-status) { font-size: 13px; }
.site-footer { background: var(--deep); }
.footer-main, .footer-bottom { max-width: none; padding-inline: var(--edge); }
.footer-main { align-items: start; }
.footer-main > p, .footer-links a { font-size: 13px; }
.footer-bottom { border-color: #354961; }
.assistant-launch { background: #133754; border-color: #456884; box-shadow: none; }

@media (max-width: 1200px) {
  body[data-page="home"] .hero-home {
    grid-template-columns: minmax(0,1fr);
    gap: 28px;
  }
  body[data-page="home"] .hero-home h1 { font-size: clamp(36px, 5vw, 54px); }
  body[data-page="home"] .hero-art { margin-inline: auto; }
}

@media (max-width: 850px) {
  .section-heading-row, .section-challenges, .value-section { grid-template-columns: 1fr; }
  .section-heading-row > .text-link { justify-self: start; }
  .value-section > .section-heading { margin-bottom: 0; }
}

@media (max-width: 780px) {
  .header-inner { min-height: 72px; gap: 8px; }
  .header-inner .brand { flex-shrink: 1; min-width: 0; }
  .header-inner .brand img, .header-inner .nav-toggle { flex-shrink: 0; }
  .header-inner .brand-copy { min-width: 0; }
  .technology-teaser { grid-template-columns: 1fr; gap: 32px; }
  .proof-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .proof-strip > div { align-items: flex-start; }
  .journey-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .architecture-node p, .architecture-parallel .architecture-node p { font-size: 11.5px; }
  body[data-page] .assistant-root {
    --assistant-edge: 12px;
    --assistant-left: calc(var(--assistant-edge) + env(safe-area-inset-left, 0px));
    --assistant-right: calc(var(--assistant-edge) + env(safe-area-inset-right, 0px));
    --assistant-bottom: calc(var(--assistant-edge) + env(safe-area-inset-bottom, 0px));
    top: auto;
    left: var(--assistant-left);
    right: var(--assistant-right);
    bottom: var(--assistant-bottom);
    pointer-events: none;
  }
  .assistant-launch, .assistant-panel { pointer-events: auto; }
  .assistant-launch {
    width: 48px;
    min-height: 48px;
    padding: 0;
    gap: 0;
    justify-content: center;
    font-size: 0;
  }
  .assistant-launch-dot { display: none; }
  .assistant-launch[data-dock-covered]:not(.is-active):not(:focus-visible) { visibility: hidden; }
  .assistant-panel {
    width: min(360px, 100%);
    max-height: min(570px, calc(100vh - var(--assistant-bottom) - 70px - env(safe-area-inset-top, 0px)));
    max-height: min(570px, calc(100dvh - var(--assistant-bottom) - 70px - env(safe-area-inset-top, 0px)));
    overflow-y: auto;
  }
  .assistant-head { position: sticky; top: 0; z-index: 1; }
  .chat-log { min-height: 0; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; }
  body[data-page="home"] .hero-home { padding-block: 44px 24px; }
  body[data-page="home"] .hero-home h1 { font-size: clamp(29px, 7.55vw, 44px); }
  body[data-page="home"] .hero-art { width: calc(100% + 16px); margin-inline: -8px; }
  .workflow-wide { display: none; }
  .workflow-compact { display: block; }
  .challenge-card, .challenge-card:hover, .solution-cards, .about-points { grid-template-columns: 1fr; }
  .challenge-card > a { grid-column: 1; }
  .human-section, .health-banner { grid-template-columns: 1fr; }
  .human-mark { justify-content: start; }
  .human-mark img { width: 68px; height: 68px; }
  .health-illustration { display: none; }
  .mini-loop > div { min-width: 0; }
  .mini-loop > div strong { font-size: 10px; }
  .footer-main { gap: 24px; }
  .page-hero-process .page-hero-process-art { width: 100%; height: auto; min-width: 0; transform: none; }
  .page-hero-process-art picture, .page-hero-process-art img { width: 100%; height: auto; }
}

@media (max-width: 380px) {
  body[data-page="solutions"] .page-hero h1 { font-size: 30px; }
  body[data-page="technology"] .ai-loop-section h2 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-workflow-motion], .motion-toggle { display: none; }
}
