@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f2eee5;
  --paper-soft: #f8f6f0;
  --paper-deep: #e5ded1;
  --ink: #061a29;
  --ink-soft: #123546;
  --ink-muted: #52707c;
  --teal: #009aa2;
  --teal-dark: #007c84;
  --aqua: #76d6d5;
  --mint: #c9e6d6;
  --warm: #d4a15d;
  --danger: #c9535e;
  --line: rgb(6 26 41 / 16%);
  --line-light: rgb(255 255 255 / 17%);
  --white: #fff;
  --shadow: 0 26px 70px rgb(6 26 41 / 15%);
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
select {
  cursor: pointer;
}

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

::selection {
  color: var(--white);
  background: var(--teal-dark);
}

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

.shell {
  width: min(100% - 64px, 1450px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--ink);
  background: rgb(242 238 229 / 92%);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

.brand svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.brand svg path {
  stroke: var(--teal);
  stroke-width: 2;
}

.brand small {
  color: var(--teal);
  font-size: .62em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: .8rem;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 10px;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  min-height: 46px;
  padding: 12px 17px;
  color: var(--white);
  background: var(--ink);
  transition: color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  color: var(--ink);
  background: var(--aqua);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.menu-button i,
.menu-button i::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.menu-button i {
  position: relative;
}

.menu-button i::before {
  position: absolute;
  top: 7px;
  left: 0;
}

.menu-button[aria-expanded="true"] i {
  transform: translateY(3px) rotate(45deg);
}

.menu-button[aria-expanded="true"] i::before {
  transform: translateY(-7px) rotate(90deg);
}

.hero {
  position: relative;
  padding: 146px 0 0;
  overflow: clip;
  background: var(--paper);
}

.hero::before {
  position: absolute;
  top: 82px;
  right: max(32px, calc((100vw - 1450px) / 2));
  bottom: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.hero-shell {
  position: relative;
}

.hero-index {
  position: absolute;
  top: 4px;
  right: 24px;
  color: var(--ink-muted);
  font-size: .61rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, .72fr);
  align-items: end;
  gap: 70px;
  padding-right: 72px;
}

.kicker {
  display: flex;
  gap: 18px;
  margin: 0 0 30px;
  color: var(--teal-dark);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.kicker span + span::before {
  margin-right: 18px;
  color: var(--ink-muted);
  content: "/";
}

.hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(4.3rem, 8.2vw, 8.35rem);
  font-weight: 600;
  letter-spacing: -.072em;
  line-height: .82;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-top: .11em;
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: .91em;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .94;
}

.hero-copy {
  padding: 0 0 11px 28px;
  border-left: 1px solid var(--line);
}

.hero-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.7;
}

.hero-actions {
  display: grid;
  gap: 19px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 56px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: .8rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

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

.button-dark:hover {
  color: var(--ink);
  background: var(--aqua);
}

.button-accent {
  width: 100%;
  color: var(--ink);
  background: var(--aqua);
}

.button-accent:hover {
  color: var(--white);
  background: var(--teal-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: .78rem;
  font-weight: 600;
}

.hero-facts {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-facts li {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .7rem;
}

.hero-facts b {
  color: var(--teal-dark);
}

.hero-product {
  position: relative;
  z-index: 2;
  margin: 88px 72px 0 0;
}

.hero-product figcaption {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--ink);
  color: var(--ink-muted);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-frame {
  position: relative;
  overflow: hidden;
  background: #edf3f3;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.product-frame-bar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  min-height: 39px;
  padding: 0 14px;
  color: rgb(255 255 255 / 69%);
  background: var(--ink);
  font-size: .55rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.product-frame-bar i {
  width: 7px;
  height: 7px;
  background: var(--aqua);
  border-radius: 50%;
  box-shadow: 13px 0 0 var(--warm), 26px 0 0 rgb(255 255 255 / 45%);
}

.product-frame-bar span {
  justify-self: center;
}

.product-frame-bar b {
  color: var(--aqua);
  font-weight: 600;
}

.product-frame img {
  width: 100%;
  height: auto;
}

.hero-status {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 18px;
  margin-right: 72px;
  padding: 24px 0 30px;
  border-bottom: 1px solid var(--ink);
}

.hero-status .status-dot {
  width: 9px;
  height: 9px;
  background: #4daf68;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(77 175 104 / 13%);
}

.hero-status p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .74rem;
}

.hero-status p b {
  margin-right: 8px;
  color: var(--ink);
}

.hero-status a {
  font-size: .72rem;
  font-weight: 600;
}

.chapter {
  position: relative;
  padding: 138px 0;
}

.chapter-label {
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 66px;
  color: var(--ink-muted);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.chapter-label::after {
  grid-column: 2 / -1;
  grid-row: 1;
  height: 1px;
  margin-left: 160px;
  background: var(--line);
  content: "";
}

.chapter-label p {
  grid-column: 2;
  grid-row: 1;
  width: max-content;
  margin: 0;
}

.chapter-label span {
  color: var(--teal-dark);
}

.chapter-label.light {
  color: rgb(255 255 255 / 56%);
}

.chapter-label.light::after {
  background: var(--line-light);
}

.chapter-label.light span {
  color: var(--aqua);
}

.overline {
  margin: 0 0 22px;
  color: var(--teal-dark);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(3.2rem, 5.5vw, 6.05rem);
  font-weight: 600;
  letter-spacing: -.062em;
  line-height: .94;
}

.origin {
  background: var(--paper-soft);
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(420px, .88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 8.3vw;
}

.origin-portrait {
  position: relative;
  margin: 0;
  min-height: 690px;
  overflow: hidden;
  background: var(--paper-deep);
}

.origin-portrait::after,
.team-photo::after {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
  content: "";
  mix-blend-mode: soft-light;
  opacity: .32;
  pointer-events: none;
}

.origin-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.origin-portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  color: var(--white);
  background: rgb(6 26 41 / 92%);
  font-size: .67rem;
  letter-spacing: .03em;
}

.origin-copy {
  align-self: center;
  max-width: 720px;
}

.origin-copy h2 {
  font-size: clamp(3.5rem, 5.5vw, 5.9rem);
}

.large-copy {
  max-width: 650px;
  margin: 37px 0 0;
  color: var(--ink-soft);
  font-size: 1.16rem;
  line-height: 1.72;
}

.evidence-number {
  display: grid;
  grid-template-columns: minmax(230px, .68fr) 1fr;
  align-items: end;
  gap: 36px;
  margin-top: 64px;
  padding: 28px 0 22px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.evidence-number strong {
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: clamp(4rem, 6vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .78;
}

.evidence-number p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.55;
}

.source-note {
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: .61rem;
  line-height: 1.6;
}

.source-note.inverse {
  color: rgb(255 255 255 / 46%);
}

.practice-reality {
  color: var(--white);
  background: var(--ink);
}

.reality-intro {
  display: grid;
  grid-template-columns: 1.15fr .55fr;
  align-items: end;
  gap: 10vw;
}

.reality-intro h2 {
  max-width: 950px;
}

.reality-intro > p {
  margin: 0;
  color: rgb(255 255 255 / 64%);
  font-size: 1rem;
  line-height: 1.72;
}

.reality-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 92px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.reality-stats article {
  min-height: 270px;
  padding: 34px 30px 30px 0;
}

.reality-stats article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line-light);
}

.reality-stats strong {
  display: block;
  color: var(--aqua);
  font-family: var(--serif);
  font-size: clamp(3.2rem, 4.6vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .9;
}

.reality-stats p {
  max-width: 220px;
  margin: 90px 0 0;
  color: rgb(255 255 255 / 64%);
  font-size: .76rem;
  line-height: 1.55;
}

.product-story {
  background: var(--paper);
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .55fr);
  align-items: end;
  gap: 9vw;
}

.product-heading h2 {
  max-width: 950px;
}

.product-heading > p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .96rem;
  line-height: 1.7;
}

.product-explorer {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 730px;
  margin-top: 85px;
  color: var(--white);
  background: var(--ink);
}

.product-tabs {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  border-right: 1px solid var(--line-light);
}

.product-tabs button {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-content: center;
  gap: 7px 13px;
  padding: 26px;
  color: rgb(255 255 255 / 52%);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  transition: color 180ms ease, background 180ms ease;
}

.product-tabs button:last-child {
  border-bottom: 0;
}

.product-tabs button:hover {
  color: var(--white);
}

.product-tabs button[aria-selected="true"] {
  color: var(--white);
  background: var(--ink-soft);
}

.product-tabs button span {
  grid-row: 1 / span 2;
  color: var(--aqua);
  font-size: .62rem;
  font-weight: 600;
}

.product-tabs button b {
  font-size: .91rem;
}

.product-tabs button small {
  font-size: .64rem;
  line-height: 1.45;
  opacity: .7;
}

.product-panels {
  min-width: 0;
  padding: 26px;
  overflow: hidden;
}

.product-panels figure {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #edf4f4;
}

.product-panels figure[hidden] {
  display: none;
}

.product-panels img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  animation: product-in 440ms cubic-bezier(.22, .8, .24, 1) both;
}

#panel-patient img,
#panel-workflows img {
  object-fit: cover;
  object-position: top left;
}

@keyframes product-in {
  from { opacity: 0; transform: scale(1.012); }
  to { opacity: 1; transform: scale(1); }
}

.product-rail {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--ink);
}

.product-rail p {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.product-rail span {
  padding: 16px 15px 16px 0;
  color: var(--ink-muted);
  font-size: .7rem;
}

.product-rail span + span {
  padding-left: 15px;
  border-left: 1px solid var(--line);
}

.local-architecture {
  color: var(--white);
  background: #092534;
}

.architecture-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 10vw;
}

.architecture-copy .overline,
.team .overline,
.contact .overline {
  color: var(--aqua);
}

.architecture-copy h2 {
  max-width: 690px;
}

.architecture-copy > p:not(.overline) {
  max-width: 610px;
  margin: 35px 0 0;
  color: rgb(255 255 255 / 63%);
  font-size: 1rem;
  line-height: 1.73;
}

.architecture-copy ul {
  margin: 55px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.architecture-copy li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 15px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-light);
}

.architecture-copy li > span {
  color: var(--aqua);
  font-size: .63rem;
  font-weight: 700;
}

.architecture-copy li b {
  display: block;
  margin-bottom: 4px;
  font-size: .86rem;
}

.architecture-copy li p {
  margin: 0;
  color: rgb(255 255 255 / 53%);
  font-size: .72rem;
  line-height: 1.55;
}

.architecture-diagram {
  position: relative;
  min-height: 730px;
  padding: 28px;
  border: 1px solid var(--line-light);
  background-image: linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 44px 44px;
}

.diagram-meta {
  display: flex;
  justify-content: space-between;
  color: rgb(255 255 255 / 47%);
  font-size: .59rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.diagram-meta span:last-child {
  color: var(--aqua);
}

.diagram-node {
  position: absolute;
  display: grid;
  padding: 24px;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid rgb(255 255 255 / 36%);
  box-shadow: 0 22px 50px rgb(0 0 0 / 24%);
}

.diagram-node small {
  margin-bottom: 27px;
  color: var(--teal-dark);
  font-size: .61rem;
  font-weight: 700;
}

.diagram-node b {
  font-size: 1.05rem;
}

.diagram-node span {
  margin-top: 7px;
  color: var(--ink-muted);
  font-size: .68rem;
}

.node-practice {
  top: 113px;
  left: 46px;
  width: 52%;
}

.node-os {
  top: 298px;
  right: 45px;
  width: 58%;
  background: var(--aqua);
}

.node-ai {
  bottom: 67px;
  left: 68px;
  width: 57%;
}

.diagram-arrow {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 53px;
  background: var(--aqua);
}

.diagram-arrow:nth-of-type(3) {
  top: 252px;
}

.diagram-arrow:nth-of-type(5) {
  top: 449px;
}

.diagram-arrow i {
  position: absolute;
  bottom: -1px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--aqua);
  border-bottom: 1px solid var(--aqua);
  transform: rotate(45deg);
}

.cloud-boundary {
  position: absolute;
  top: 106px;
  right: -28px;
  display: grid;
  width: 180px;
  padding: 17px 20px;
  color: rgb(255 255 255 / 62%);
  background: #153746;
  border: 1px dashed rgb(255 255 255 / 20%);
  font-size: .62rem;
}

.cloud-boundary b {
  margin-top: 4px;
  color: var(--white);
  font-size: .64rem;
}

.cloud-boundary i {
  position: absolute;
  inset: -5px 50% auto auto;
  width: 1px;
  height: calc(100% + 10px);
  background: var(--danger);
  transform: rotate(57deg);
}

.migration {
  background: var(--paper-soft);
}

.migration-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 9vw;
}

.migration-grid h2 {
  max-width: 770px;
}

.migration-steps {
  border-top: 1px solid var(--ink);
}

.migration-steps article {
  display: grid;
  grid-template-columns: 45px minmax(150px, .7fr) 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.migration-steps article > span {
  color: var(--teal-dark);
  font-size: .62rem;
  font-weight: 700;
}

.migration-steps h3 {
  margin: 0;
  font-size: 1rem;
}

.migration-steps p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .75rem;
  line-height: 1.58;
}

.team {
  color: var(--white);
  background: var(--ink);
}

.team-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, .48fr);
  align-items: end;
  gap: 10vw;
}

.team-heading .overline {
  grid-column: 1 / -1;
  margin-bottom: -3vw;
}

.team-heading h2 {
  max-width: 980px;
}

.team-heading > p:last-child {
  margin: 0;
  color: rgb(255 255 255 / 59%);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: 1.14fr repeat(3, 1fr);
  margin-top: 88px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.team-member {
  position: relative;
  min-width: 0;
  padding: 0 20px 34px;
}

.team-member:first-child {
  padding-left: 0;
}

.team-member:last-child {
  padding-right: 0;
}

.team-member + .team-member {
  border-left: 1px solid var(--line-light);
}

.team-photo {
  position: relative;
  height: 410px;
  margin: 0 -20px 28px;
  overflow: hidden;
  background: #183746;
}

.team-member:first-child .team-photo {
  margin-left: 0;
}

.team-member:last-child .team-photo {
  margin-right: 0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.04);
  transition: filter 400ms ease, transform 600ms cubic-bezier(.2, .8, .2, 1);
}

.team-member:hover .team-photo img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.02);
}

.team-member:nth-child(1) .team-photo img {
  object-position: 48% center;
}

.team-member:nth-child(2) .team-photo img {
  object-position: center center;
}

.team-member:nth-child(3) .team-photo img {
  object-position: center 38%;
}

.team-member:nth-child(4) .team-photo img {
  object-position: center center;
}

.team-number {
  color: var(--aqua);
  font-size: .6rem;
  font-weight: 700;
}

.team-member h3 {
  margin: 17px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 2.45vw, 2.85rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .94;
}

.team-role {
  min-height: 38px;
  margin: 19px 0 0;
  color: var(--aqua);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.team-bio {
  margin: 18px 0 0;
  color: rgb(255 255 255 / 54%);
  font-size: .71rem;
  line-height: 1.58;
}

.pilot {
  background: var(--paper);
}

.pilot-grid {
  display: grid;
  grid-template-columns: 1.12fr .58fr;
  gap: 11vw;
}

.pilot-copy h2 {
  max-width: 920px;
}

.pilot-copy > p:not(.overline) {
  max-width: 680px;
  margin: 36px 0 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.73;
}

.pilot-copy ul {
  margin: 58px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.pilot-copy li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.pilot-copy li b {
  font-size: .74rem;
}

.pilot-copy li span {
  color: var(--ink-muted);
  font-size: .75rem;
  line-height: 1.58;
}

.pilot-note {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
  padding: 34px;
  color: var(--white);
  background: var(--teal-dark);
}

.pilot-note > span {
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.pilot-note p {
  margin: auto 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 3.4vw, 4rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.pilot-note small {
  color: rgb(255 255 255 / 59%);
  font-size: .63rem;
  line-height: 1.5;
}

.contact {
  color: var(--white);
  background: #092534;
}

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: start;
  gap: 9vw;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-copy h2 {
  max-width: 690px;
}

.contact-copy > p:not(.overline) {
  max-width: 580px;
  margin: 34px 0 0;
  color: rgb(255 255 255 / 61%);
  font-size: 1rem;
  line-height: 1.72;
}

.contact-copy > a {
  display: flex;
  justify-content: space-between;
  max-width: 580px;
  margin-top: 51px;
  padding: 17px 0;
  color: var(--aqua);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.contact-secondary {
  max-width: 580px;
  margin-top: 54px;
  padding-left: 22px;
  border-left: 2px solid var(--aqua);
}

.contact-secondary p {
  margin: 0;
  color: rgb(255 255 255 / 56%);
  font-size: .72rem;
  line-height: 1.6;
}

.contact-secondary b {
  color: var(--white);
}

.contact-form {
  padding: 42px;
  color: var(--ink);
  background: var(--paper-soft);
}

.form-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 42px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form-head span:last-child {
  color: var(--teal-dark);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 27px;
}

.contact-form label > span:first-child {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  transition: border-color 180ms ease;
}

.contact-form select {
  min-height: 49px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal-dark);
  box-shadow: 0 1px 0 var(--teal-dark);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a9a9f;
}

.contact-form .honeypot {
  position: absolute;
  left: -9999px;
}

.contact-form .privacy-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 11px;
  margin: 31px 0 24px;
  color: var(--ink-muted);
}

.privacy-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--teal-dark);
}

.contact-form .privacy-check span {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.privacy-check a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: .62rem;
  line-height: 1.5;
}

.form-status.is-success {
  color: #2f8048;
}

.form-status.is-error {
  color: var(--danger);
}

.faq {
  background: var(--paper-soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
  gap: 10vw;
}

.faq-grid h2 {
  max-width: 500px;
  font-size: clamp(3.2rem, 4.8vw, 5.4rem);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 22px;
  height: 22px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 760px;
  margin: -7px 0 28px;
  color: var(--ink-muted);
  font-size: .83rem;
  line-height: 1.7;
}

.site-footer {
  padding: 92px 0 30px;
  color: var(--white);
  background: var(--ink);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line-light);
}

.brand-light {
  color: var(--white);
}

.footer-top > p {
  margin: 0;
  text-align: right;
  font-size: clamp(2.6rem, 4.4vw, 5rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .9;
}

.footer-top > p em {
  color: var(--aqua);
  font-family: var(--serif);
  font-weight: 400;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 58px 0 80px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-grid span {
  margin-bottom: 11px;
  color: var(--aqua);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-grid a {
  width: max-content;
  max-width: 100%;
  color: rgb(255 255 255 / 63%);
  font-size: .72rem;
  transition: color 150ms ease;
}

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

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 28px;
  padding-top: 21px;
  color: rgb(255 255 255 / 43%);
  border-top: 1px solid var(--line-light);
  font-size: .58rem;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 650ms cubic-bezier(.22, .8, .24, 1), transform 650ms cubic-bezier(.22, .8, .24, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Legal pages */
.legal-page {
  background: var(--paper-soft);
}

.legal-header {
  border-bottom: 1px solid var(--line);
}

.legal-header .header-row {
  min-height: 86px;
}

.legal-back {
  font-size: .73rem;
  font-weight: 600;
}

.legal-main {
  padding: 110px 0 140px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  justify-content: space-between;
  gap: 9vw;
}

.legal-index {
  color: var(--ink-muted);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.legal-content h1 {
  margin: 0 0 66px;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 7vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .9;
}

.legal-content h2 {
  margin: 43px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.legal-content p,
.legal-content li {
  color: var(--ink-muted);
  font-size: .86rem;
  line-height: 1.75;
}

.legal-content a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-alert {
  margin: 40px 0;
  padding: 24px;
  color: var(--ink);
  background: var(--paper-deep);
  border-left: 3px solid var(--warm);
}

.legal-alert p {
  margin-bottom: 0;
}

@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, .75fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(4.25rem, 7.9vw, 7rem);
  }

  .origin-grid {
    gap: 6vw;
  }

  .origin-portrait {
    min-height: 620px;
  }

  .product-explorer {
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 650px;
  }

  .architecture-grid {
    gap: 6vw;
  }

  .cloud-boundary {
    right: 15px;
  }

  .team-photo {
    height: 340px;
  }

  .team-member h3 {
    font-size: 2.1rem;
  }
}

@media (max-width: 1024px) {
  .shell {
    width: min(100% - 42px, 940px);
  }

  .main-nav {
    gap: 20px;
  }

  .hero {
    padding-top: 126px;
  }

  .hero::before,
  .hero-index {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .hero h1 {
    max-width: 900px;
    font-size: clamp(4.5rem, 11vw, 7.1rem);
  }

  .hero-copy {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 36px;
    padding: 30px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-lead {
    grid-row: 1 / span 2;
  }

  .hero-actions,
  .hero-facts {
    margin-top: 0;
  }

  .hero-product,
  .hero-status {
    margin-right: 0;
  }

  .origin-grid,
  .architecture-grid,
  .migration-grid,
  .pilot-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
  }

  .origin-portrait {
    min-height: 560px;
  }

  .evidence-number {
    grid-template-columns: 1fr;
  }

  .reality-intro,
  .product-heading,
  .team-heading {
    gap: 5vw;
  }

  .reality-stats article {
    min-height: 235px;
  }

  .reality-stats p {
    margin-top: 63px;
  }

  .product-explorer {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-tabs {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .product-tabs button {
    min-height: 132px;
    padding: 19px;
    border-right: 1px solid var(--line-light);
    border-bottom: 0;
  }

  .product-tabs button:last-child {
    border-right: 0;
  }

  .product-panels {
    min-height: 600px;
  }

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

  .team-member:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .team-member:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }

  .team-member:nth-child(3) .team-photo {
    margin-left: 0;
  }

  .team-photo {
    height: 470px;
  }

  .contact-copy {
    position: static;
  }

  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 76px;
  }

  .shell {
    width: min(100% - 30px, 720px);
  }

  .header-row {
    min-height: 72px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .brand svg {
    width: 30px;
    height: 30px;
  }

  .menu-button {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 0;
    z-index: 99;
    display: none;
    align-content: start;
    align-items: stretch;
    gap: 0;
    padding: 38px 15px;
    color: var(--white);
    background: var(--ink);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a,
  .main-nav .nav-cta {
    min-height: 62px;
    padding: 20px 0;
    background: transparent;
    border-bottom: 1px solid var(--line-light);
    font-size: 1.05rem;
  }

  .main-nav .nav-cta {
    color: var(--aqua);
  }

  .hero {
    padding-top: 112px;
  }

  .kicker {
    margin-bottom: 23px;
  }

  .hero h1 {
    font-size: clamp(3.85rem, 16.3vw, 6.2rem);
    line-height: .84;
  }

  .hero h1 em {
    margin-top: .16em;
    font-size: .82em;
    line-height: .96;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-lead {
    grid-row: auto;
  }

  .hero-actions {
    gap: 15px;
  }

  .hero-product {
    margin-top: 52px;
  }

  .hero-product figcaption {
    grid-template-columns: 1fr auto;
  }

  .hero-product figcaption span:nth-child(2) {
    display: none;
  }

  .product-frame-bar {
    grid-template-columns: 1fr auto;
  }

  .product-frame-bar span {
    display: none;
  }

  .product-frame {
    width: calc(100vw - 15px);
    overflow-x: auto;
  }

  .product-frame img {
    width: 960px;
    max-width: none;
  }

  .hero-status {
    grid-template-columns: 13px 1fr;
    gap: 13px;
  }

  .hero-status a {
    grid-column: 2;
  }

  .chapter {
    padding: 96px 0;
  }

  .chapter-label {
    margin-bottom: 48px;
  }

  .chapter-label::after {
    margin-left: 120px;
  }

  h2 {
    font-size: clamp(3.15rem, 13vw, 5rem);
  }

  .origin-grid,
  .reality-intro,
  .product-heading,
  .architecture-grid,
  .migration-grid,
  .team-heading,
  .pilot-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .origin-portrait {
    min-height: 580px;
  }

  .origin-copy h2 {
    font-size: clamp(3.15rem, 13vw, 5rem);
  }

  .evidence-number {
    gap: 25px;
    margin-top: 48px;
  }

  .reality-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 60px;
  }

  .reality-stats article {
    min-height: 210px;
    padding: 26px 22px 24px 0;
  }

  .reality-stats article + article {
    padding-left: 22px;
  }

  .reality-stats article:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .reality-stats article:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }

  .reality-stats p {
    margin-top: 52px;
  }

  .product-explorer {
    display: block;
    margin-top: 58px;
  }

  .product-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .product-tabs button {
    min-width: 225px;
    min-height: 118px;
    flex: 0 0 225px;
    scroll-snap-align: start;
  }

  .product-panels {
    min-height: 510px;
    padding: 14px;
    overflow-x: auto;
  }

  .product-panels figure {
    width: 900px;
  }

  .product-rail p {
    grid-template-columns: 1fr 1fr;
  }

  .product-rail span:nth-child(3),
  .product-rail span:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .product-rail span:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .architecture-diagram {
    min-height: 670px;
  }

  .node-practice,
  .node-os,
  .node-ai {
    width: calc(100% - 74px);
  }

  .node-practice {
    left: 28px;
  }

  .node-os {
    right: 28px;
  }

  .node-ai {
    left: 40px;
  }

  .cloud-boundary {
    right: 12px;
  }

  .migration-steps article {
    grid-template-columns: 35px 1fr;
  }

  .migration-steps p {
    grid-column: 2;
  }

  .team-heading .overline {
    grid-column: auto;
    margin-bottom: -28px;
  }

  .team-grid {
    margin-top: 60px;
  }

  .team-photo {
    height: 380px;
  }

  .pilot-note {
    min-height: 520px;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-copy > a {
    font-size: 1.4rem;
  }

  .footer-top {
    display: grid;
    padding-bottom: 60px;
  }

  .footer-top > p {
    margin-top: 38px;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px 25px;
  }

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

  .legal-main {
    padding: 80px 0 100px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 28px, 500px);
  }

  .hero h1 {
    font-size: clamp(3.35rem, 15.7vw, 4.7rem);
  }

  .kicker {
    gap: 8px;
    font-size: .57rem;
  }

  .kicker span + span::before {
    margin-right: 8px;
  }

  .hero-lead {
    font-size: .93rem;
  }

  .origin-portrait {
    min-height: 470px;
  }

  .origin-portrait figcaption {
    display: grid;
    gap: 3px;
  }

  .large-copy {
    font-size: 1rem;
  }

  .reality-stats {
    grid-template-columns: 1fr;
  }

  .reality-stats article,
  .reality-stats article + article,
  .reality-stats article:nth-child(3) {
    min-height: 170px;
    padding: 24px 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .reality-stats article:first-child {
    border-top: 0;
  }

  .reality-stats p {
    margin-top: 35px;
  }

  .product-rail p {
    grid-template-columns: 1fr;
  }

  .product-rail span,
  .product-rail span + span,
  .product-rail span:nth-child(3) {
    padding: 13px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .product-rail p:first-child span:first-child {
    border-top: 0;
  }

  .architecture-diagram {
    min-height: 640px;
    padding: 18px;
  }

  .diagram-node {
    padding: 18px;
  }

  .node-practice,
  .node-os,
  .node-ai {
    width: calc(100% - 44px);
  }

  .node-practice {
    top: 95px;
    left: 22px;
  }

  .node-os {
    top: 280px;
    right: 22px;
  }

  .node-ai {
    bottom: 49px;
    left: 22px;
  }

  .cloud-boundary {
    top: 224px;
    right: 22px;
    width: 155px;
  }

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

  .team-member,
  .team-member:first-child,
  .team-member:nth-child(3) {
    padding: 0 0 35px;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .team-member:first-child {
    border-top: 0;
  }

  .team-member + .team-member {
    border-left: 0;
  }

  .team-photo,
  .team-member:first-child .team-photo,
  .team-member:last-child .team-photo,
  .team-member:nth-child(3) .team-photo {
    height: 450px;
    margin: 0 0 28px;
  }

  .team-member h3 {
    font-size: 2.7rem;
  }

  .pilot-copy li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pilot-note {
    min-height: 480px;
    padding: 26px;
  }

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

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Hero redesign — product-first, calm and clinically confident */
.brand .brand-app-mark {
  width: 38px;
  height: 38px;
  overflow: visible;
  stroke: none;
}

.brand .brand-app-mark path {
  stroke: var(--white);
  stroke-width: 2.1;
}

.brand > span {
  letter-spacing: -.045em;
}

.site-header {
  color: var(--white);
  background: rgb(5 24 36 / 88%);
  border-bottom-color: rgb(255 255 255 / 10%);
  backdrop-filter: blur(20px) saturate(115%);
}

.site-header.is-scrolled {
  border-bottom-color: rgb(255 255 255 / 16%);
  box-shadow: 0 12px 34px rgb(1 12 21 / 16%);
}

.site-header .nav-cta {
  color: var(--ink);
  background: var(--aqua);
}

.site-header .nav-cta:hover {
  color: var(--ink);
  background: var(--white);
}

.hero {
  min-height: 920px;
  padding: 82px 0 0;
  color: var(--white);
  background: #061b29;
  isolation: isolate;
}

.hero::before {
  z-index: -2;
  inset: 0;
  width: auto;
  background:
    linear-gradient(rgb(255 255 255 / 3.6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3.6%) 1px, transparent 1px);
  background-size: 88px 88px;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: -24%;
  right: -8%;
  width: 62vw;
  height: 62vw;
  max-width: 980px;
  max-height: 980px;
  background: radial-gradient(circle, rgb(30 174 176 / 16%) 0, rgb(30 174 176 / 4%) 42%, transparent 70%);
  border-radius: 50%;
  content: "";
}

.hero-shell {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(440px, .85fr) minmax(580px, 1.15fr);
  align-items: center;
  gap: clamp(52px, 6vw, 104px);
  min-height: 720px;
  padding: 76px 0 68px;
}

.hero-content {
  position: relative;
  z-index: 3;
  min-width: 0;
  max-width: 690px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 32px;
  color: rgb(255 255 255 / 68%);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .115em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-kicker-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #64d58b;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(100 213 139 / 12%);
}

.hero-kicker b {
  margin-left: 5px;
  padding-left: 16px;
  color: var(--aqua);
  border-left: 1px solid rgb(255 255 255 / 22%);
  font-weight: 600;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-size: clamp(4.25rem, 6.15vw, 7rem);
  font-weight: 600;
  letter-spacing: -.068em;
  line-height: .88;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  max-width: 660px;
  margin-top: .18em;
  color: var(--aqua);
  font-family: var(--serif);
  font-size: .84em;
  font-weight: 400;
  letter-spacing: -.034em;
  line-height: .91;
}

.hero .hero-lead {
  max-width: 610px;
  margin: 35px 0 0;
  color: rgb(255 255 255 / 70%);
  font-size: 1.05rem;
  line-height: 1.72;
}

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

.hero-primary {
  width: auto;
  min-width: 246px;
  color: var(--ink);
  background: var(--aqua);
  border-color: var(--aqua);
  border-radius: 4px;
}

.hero-primary:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgb(255 255 255 / 82%);
  font-size: .78rem;
  font-weight: 600;
}

.hero-secondary:hover {
  color: var(--aqua);
}

.hero-play {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding-left: 2px;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  font-size: .54rem;
  transition: border-color 180ms ease, background 180ms ease;
}

.hero-secondary:hover .hero-play {
  background: rgb(118 214 213 / 10%);
  border-color: var(--aqua);
}

.hero-founder {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 470px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.hero-founder img {
  width: 53px;
  height: 53px;
  flex: 0 0 53px;
  object-fit: cover;
  object-position: 48% center;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 50%;
  filter: saturate(.85);
}

.hero-founder p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.hero-founder b {
  color: var(--white);
  font-size: .73rem;
}

.hero-founder span {
  color: rgb(255 255 255 / 52%);
  font-size: .67rem;
  line-height: 1.45;
}

.hero-product {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.hero-product::before {
  position: absolute;
  z-index: -1;
  inset: 34px -24px -26px 28px;
  background: rgb(118 214 213 / 7%);
  border: 1px solid rgb(118 214 213 / 11%);
  border-radius: 18px;
  content: "";
}

.hero-product figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 3px 12px;
  color: rgb(255 255 255 / 56%);
  border: 0;
  font-size: .59rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-product figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-product figcaption i {
  width: 6px;
  height: 6px;
  background: #64d58b;
  border-radius: 50%;
}

.hero-product figcaption b {
  color: var(--aqua);
  font-weight: 600;
}

.hero .product-frame {
  overflow: hidden;
  background: #edf3f3;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 12px;
  box-shadow: 0 44px 100px rgb(0 7 12 / 42%);
}

.hero .product-frame-bar {
  min-height: 38px;
  color: rgb(255 255 255 / 54%);
  background: #0d2b3c;
}

.hero-product-viewport {
  height: clamp(490px, 46vw, 650px);
  min-width: 0;
  overflow: hidden;
}

.hero-product-viewport img {
  width: 100%;
  height: auto;
  max-width: none;
}

.hero-callout {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 285px;
  padding: 15px 17px;
  color: var(--ink);
  background: rgb(255 255 255 / 96%);
  border: 1px solid rgb(6 26 41 / 10%);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgb(0 11 18 / 24%);
  backdrop-filter: blur(12px);
}

.hero-callout > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: var(--teal-dark);
  background: #e4f7f4;
  border-radius: 7px;
  font-size: .64rem;
  font-weight: 700;
}

.hero-callout svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.hero-callout p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.hero-callout b {
  font-size: .72rem;
  line-height: 1.3;
}

.hero-callout small {
  color: var(--ink-muted);
  font-size: .57rem;
  line-height: 1.4;
}

.hero-callout-local {
  bottom: 64px;
  left: -46px;
}

.hero-callout-control {
  top: 122px;
  right: -34px;
  width: 270px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: stretch;
  border-top: 1px solid rgb(255 255 255 / 15%);
  border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.hero-proof > div {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  min-height: 100px;
  padding: 22px 22px 21px 0;
}

.hero-proof > div + div {
  padding-left: 22px;
  border-left: 1px solid rgb(255 255 255 / 15%);
}

.hero-proof > div > span {
  padding-top: 2px;
  color: var(--aqua);
  font-size: .61rem;
  font-weight: 700;
}

.hero-proof p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.hero-proof b {
  font-size: .74rem;
}

.hero-proof small {
  max-width: 225px;
  color: rgb(255 255 255 / 48%);
  font-size: .6rem;
  line-height: 1.4;
}

.hero-proof > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 190px;
  padding: 22px;
  color: var(--ink);
  background: var(--aqua);
  font-size: .7rem;
  font-weight: 700;
  transition: background 180ms ease;
}

.hero-proof > a:hover {
  background: var(--white);
}

@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: minmax(390px, .82fr) minmax(520px, 1.18fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(4rem, 6vw, 5.8rem);
  }

  .hero-callout-control {
    right: -14px;
  }

  .hero-callout-local {
    left: -24px;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 0;
    padding-top: 82px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
    min-height: 0;
    padding: 68px 0 66px;
  }

  .hero-content {
    width: 100%;
    max-width: 790px;
  }

  .hero h1 {
    max-width: 820px;
    font-size: clamp(4.8rem, 10vw, 7.2rem);
  }

  .hero .hero-lead {
    max-width: 680px;
  }

  .hero-product {
    width: calc(100% - 18px);
    margin-left: 18px;
  }

  .hero-product-viewport {
    height: clamp(520px, 69vw, 650px);
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof > a {
    grid-column: 1 / -1;
    min-height: 62px;
  }
}

@media (max-width: 780px) {
  .site-header {
    background: rgb(5 24 36 / 94%);
  }

  .site-header .main-nav {
    background: #061b29;
  }

  .hero {
    padding-top: 72px;
  }

  .hero::before {
    background-size: 54px 54px;
  }

  .hero::after {
    top: 3%;
    right: -55%;
    width: 150vw;
    height: 150vw;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
    padding: 52px 0 46px;
  }

  .hero-kicker {
    flex-wrap: wrap;
    width: auto;
    margin-bottom: 25px;
    font-size: .59rem;
  }

  .hero-kicker b {
    margin-left: 0;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 15.8vw, 6.1rem);
    line-height: .87;
  }

  .hero h1 em {
    margin-top: .22em;
    font-size: .82em;
  }

  .hero .hero-lead {
    margin-top: 29px;
    font-size: .94rem;
    line-height: 1.66;
  }

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

  .hero-primary {
    width: 100%;
  }

  .hero-founder {
    margin-top: 32px;
  }

  .hero-product {
    width: 100%;
    margin-left: 0;
  }

  .hero-product::before {
    inset: 22px -10px -16px 16px;
  }

  .hero-product figcaption {
    grid-template-columns: none;
    padding-bottom: 10px;
  }

  .hero-product figcaption b {
    display: inline;
  }

  .hero .product-frame {
    width: 100%;
    overflow: hidden;
  }

  .hero-product-viewport {
    height: 345px;
  }

  .hero-product-viewport img {
    width: 760px;
    transform: translateX(-112px);
  }

  .hero-callout-control {
    display: none;
  }

  .hero-callout-local {
    bottom: 18px;
    left: 14px;
    width: calc(100% - 28px);
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof > div {
    min-height: 82px;
    padding: 19px 0;
  }

  .hero-proof > div + div {
    padding-left: 0;
    border-top: 1px solid rgb(255 255 255 / 15%);
    border-left: 0;
  }

  .hero-proof > a {
    grid-column: auto;
    margin-inline: -15px;
    padding-inline: 15px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(3.25rem, 15.2vw, 4.1rem);
  }

  .hero-founder span {
    font-size: .62rem;
  }

  .hero-product figcaption {
    font-size: .51rem;
  }

  .hero-product-viewport {
    height: 310px;
  }

  .hero-product-viewport img {
    width: 700px;
    transform: translateX(-103px);
  }
}

/* Premium UX and conversion pass */
.chapter {
  padding-block: 124px;
}

.hero-secondary {
  min-height: 44px;
}

.mobile-scroll-hint,
.mobile-demo-cta {
  display: none;
}

.product-conversion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-top: 38px;
  padding: 28px 30px;
  background: var(--paper-soft);
  border: 1px solid #cfdee1;
  border-radius: 16px;
}

.product-conversion p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.product-conversion strong {
  font-size: .92rem;
}

.product-conversion p span {
  max-width: 700px;
  color: var(--ink-muted);
  font-size: .74rem;
  line-height: 1.55;
}

.product-conversion .button {
  width: auto;
  min-width: 245px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 28px;
}

.product-conversion .button:hover {
  color: var(--white);
  background: var(--ink);
}

.contact-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 580px;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.contact-process li {
  display: grid;
  gap: 7px;
  min-height: 92px;
  align-content: center;
  padding: 16px 14px 16px 0;
}

.contact-process li + li {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.contact-process span {
  color: var(--teal-dark);
  font-size: .58rem;
  font-weight: 700;
}

.contact-process b {
  font-size: .68rem;
  line-height: 1.4;
}

.contact-copy > a {
  margin-top: 38px;
}

.button-accent {
  min-height: 58px;
  border-radius: 29px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.faq-list summary {
  min-height: 72px;
}

@media (max-width: 1024px) {
  .chapter {
    padding-block: 104px;
  }

  .product-conversion {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-conversion .button {
    width: 100%;
  }
}

@media (max-width: 780px) {
  body {
    padding-bottom: 72px;
  }

  body.nav-open .mobile-demo-cta {
    display: none;
  }

  .chapter {
    padding-block: 76px;
  }

  .chapter-label {
    margin-bottom: 38px;
  }

  h2,
  .origin-copy h2,
  .faq-grid h2 {
    font-size: clamp(2.65rem, 11.6vw, 3.8rem);
    line-height: .96;
  }

  .large-copy,
  .pilot-copy > p:not(.overline),
  .contact-copy > p:not(.overline),
  .architecture-copy > p:not(.overline) {
    font-size: .94rem;
    line-height: 1.67;
  }

  .origin-grid,
  .reality-intro,
  .product-heading,
  .architecture-grid,
  .migration-grid,
  .team-heading,
  .pilot-grid,
  .contact-grid,
  .faq-grid {
    gap: 38px;
  }

  .origin-portrait {
    min-height: 430px;
  }

  .evidence-number {
    margin-top: 40px;
  }

  .evidence-number strong {
    font-size: 4rem;
  }

  .reality-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
    padding-inline: 16px;
    border-radius: 14px;
  }

  .reality-stats article,
  .reality-stats article + article,
  .reality-stats article:nth-child(3),
  .reality-stats article:nth-child(4) {
    min-height: 172px;
    padding: 22px 16px 20px 0;
    border-top: 0;
  }

  .reality-stats article:nth-child(2),
  .reality-stats article:nth-child(4) {
    padding-right: 0;
    padding-left: 16px;
    border-left: 1px solid rgb(255 255 255 / 35%);
  }

  .reality-stats article:nth-child(3),
  .reality-stats article:nth-child(4) {
    border-top: 1px solid rgb(255 255 255 / 35%);
  }

  .reality-stats article:nth-child(3) {
    border-left: 0;
  }

  .reality-stats strong {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .reality-stats p {
    margin-top: 34px;
    font-size: .68rem;
  }

  .mobile-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0 -28px;
    color: var(--ink-muted);
    font-size: .62rem;
    line-height: 1.45;
  }

  .mobile-scroll-hint span {
    color: var(--teal-dark);
    font-size: 1rem;
  }

  .product-explorer {
    margin-top: 48px;
    border-radius: 14px;
  }

  .product-tabs button {
    min-width: 196px;
    min-height: 106px;
    flex-basis: 196px;
  }

  .product-panels {
    min-height: 420px;
    padding: 12px;
  }

  .product-panels figure {
    width: 760px;
  }

  .product-conversion {
    gap: 24px;
    margin-top: 30px;
    padding: 23px;
    border-radius: 14px;
  }

  .architecture-diagram {
    min-height: 610px;
    border-radius: 14px;
  }

  .migration-steps article {
    padding-block: 22px;
  }

  .team-heading {
    gap: 24px;
  }

  .team-scroll-hint {
    margin-bottom: 22px;
  }

  .team-grid {
    display: flex;
    gap: 12px;
    margin-top: 0;
    padding: 0 1px 14px;
    overflow-x: auto;
    scroll-padding-inline: 1px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .team .team-member,
  .team .team-member:first-child,
  .team .team-member:last-child,
  .team .team-member:nth-child(3),
  .team .team-member:nth-child(4) {
    min-width: min(82vw, 330px);
    flex: 0 0 min(82vw, 330px);
    scroll-snap-align: start;
  }

  .team-photo,
  .team-member:first-child .team-photo,
  .team-member:last-child .team-photo,
  .team-member:nth-child(3) .team-photo {
    height: 330px;
  }

  .pilot-copy ul {
    margin-top: 42px;
  }

  .pilot-note {
    min-height: 360px;
    border-radius: 14px;
  }

  .pilot-note p {
    font-size: clamp(2.2rem, 10vw, 3.25rem);
  }

  .contact-copy {
    position: static;
  }

  .contact-process {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .contact-process li,
  .contact-process li + li {
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-process li:first-child {
    border-top: 0;
  }

  .contact-copy > a {
    margin-top: 32px;
    font-size: 1.35rem;
  }

  .contact-secondary {
    margin-top: 38px;
  }

  .contact-form {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .privacy-check input {
    min-height: 17px;
  }

  .faq-list summary {
    min-height: 64px;
    padding-block: 19px;
    font-size: .88rem;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top > p {
    text-align: left;
  }

  .mobile-demo-cta {
    position: fixed;
    z-index: 120;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 13px 19px;
    color: var(--white);
    background: var(--ink);
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 28px;
    box-shadow: 0 16px 38px rgb(7 29 54 / 24%);
    font-size: .75rem;
    font-weight: 700;
  }

  .mobile-demo-cta b {
    color: var(--aqua);
    font-size: .95rem;
  }
}

@media (max-width: 430px) {
  .reality-stats {
    grid-template-columns: 1fr 1fr;
  }

  .reality-stats article,
  .reality-stats article + article,
  .reality-stats article:nth-child(3),
  .reality-stats article:nth-child(4) {
    min-height: 165px;
    padding: 21px 13px 18px 0;
  }

  .reality-stats article:nth-child(2),
  .reality-stats article:nth-child(4) {
    padding-right: 0;
    padding-left: 13px;
    border-left: 1px solid rgb(255 255 255 / 35%);
  }

  .team .team-member,
  .team .team-member:first-child,
  .team .team-member:last-child,
  .team .team-member:nth-child(3),
  .team .team-member:nth-child(4) {
    min-width: min(84vw, 315px);
    flex-basis: min(84vw, 315px);
  }
}

@media (max-width: 360px) {
  .shell {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14.3vw, 3.3rem);
  }

  h2,
  .origin-copy h2,
  .faq-grid h2 {
    font-size: clamp(2.35rem, 11.4vw, 3rem);
  }

  .hero-kicker {
    letter-spacing: .085em;
  }

  .reality-stats {
    padding-inline: 12px;
  }

  .reality-stats strong {
    font-size: 1.95rem;
  }

  .reality-stats p {
    font-size: .62rem;
  }

  .contact-form {
    padding-inline: 17px;
  }
}

/* Editorial refinement: no grid, glow or floating SaaS cards */
.hero {
  background: #061b29;
}

.hero::before,
.hero::after,
.hero-product::before {
  display: none;
}

.hero-kicker-dot {
  width: 20px;
  height: 1px;
  flex-basis: 20px;
  background: var(--aqua);
  border-radius: 0;
  box-shadow: none;
}

.hero .product-frame {
  border-color: rgb(255 255 255 / 24%);
  border-radius: 3px;
  box-shadow: 0 28px 68px rgb(0 7 12 / 28%);
}

.hero-notes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 82px;
  border-top: 1px solid rgb(255 255 255 / 17%);
}

.hero-notes p {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  color: rgb(255 255 255 / 58%);
  font-size: .66rem;
  line-height: 1.5;
}

.hero-notes p span {
  display: inline-flex;
  align-items: center;
}

.hero-notes p span + span::before {
  width: 3px;
  height: 3px;
  margin: 0 17px;
  background: var(--aqua);
  border-radius: 50%;
  content: "";
}

.hero-notes > a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  color: var(--aqua);
  font-size: .68rem;
  font-weight: 700;
}

.hero-notes > a:hover {
  color: var(--white);
}

@media (max-width: 1024px) {
  .hero-notes {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 23px 0 26px;
  }
}

@media (max-width: 780px) {
  .hero-notes p {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-notes p span + span::before {
    width: 12px;
    height: 1px;
    margin: 0 9px 3px 0;
    border-radius: 0;
  }

  .hero-product-viewport {
    height: 330px;
  }
}

@media (max-width: 430px) {
  .hero-product-viewport {
    height: 295px;
  }
}

/* Company-profile visual system: white canvas, navy typography, focused teal */
:root {
  --paper: #ffffff;
  --paper-soft: #f4f8f9;
  --paper-deep: #e7f1f3;
  --ink: #071d36;
  --ink-soft: #17374c;
  --ink-muted: #557180;
  --teal: #009ba7;
  --teal-dark: #008d98;
  --aqua: #14b9c3;
  --mint: #eaf5ee;
  --line: rgb(7 29 54 / 15%);
  --shadow: 0 24px 60px rgb(7 29 54 / 12%);
}

body {
  background: var(--white);
}

.site-header {
  color: var(--ink);
  background: rgb(255 255 255 / 94%);
  border-bottom-color: var(--line);
  box-shadow: none;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgb(7 29 54 / 7%);
}

.site-header .nav-cta {
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 24px;
}

.site-header .nav-cta:hover {
  color: var(--white);
  background: var(--ink);
}

.hero {
  color: var(--ink);
  background: var(--white);
}

.hero-kicker {
  color: var(--ink-muted);
}

.hero-kicker b {
  color: var(--teal-dark);
  border-left-color: var(--line);
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(4.05rem, 5.75vw, 6.55rem);
  line-height: .91;
}

.hero h1 em {
  max-width: 690px;
  margin-top: .14em;
  color: var(--teal-dark);
  font-family: var(--sans);
  font-size: .78em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -.056em;
  line-height: .96;
}

.hero .hero-lead {
  color: var(--ink-soft);
}

.hero-primary {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  border-radius: 26px;
}

.hero-primary:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.hero-secondary {
  color: var(--ink-soft);
}

.hero-secondary:hover {
  color: var(--teal-dark);
}

.hero-play {
  color: var(--teal-dark);
  border-color: rgb(7 29 54 / 24%);
}

.hero-secondary:hover .hero-play {
  background: var(--paper-soft);
  border-color: var(--teal-dark);
}

.hero-founder {
  border-top-color: var(--line);
}

.hero-founder img {
  border-color: var(--line);
}

.hero-founder b {
  color: var(--ink);
}

.hero-founder span {
  color: var(--ink-muted);
}

.hero-product figcaption {
  color: var(--ink-muted);
}

.hero-product figcaption b {
  color: var(--teal-dark);
}

.hero .product-frame {
  border-color: #c9dde1;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgb(7 29 54 / 15%);
}

.hero-notes {
  border-top-color: var(--line);
}

.hero-notes p {
  color: var(--ink-muted);
}

.hero-notes > a {
  color: var(--teal-dark);
}

.hero-notes > a:hover {
  color: var(--ink);
}

.chapter-label.light {
  color: var(--ink-muted);
}

.chapter-label.light::after {
  background: var(--line);
}

.chapter-label.light span {
  color: var(--teal-dark);
}

.practice-reality {
  color: var(--ink);
  background: var(--white);
}

.reality-intro > p {
  color: var(--ink-muted);
}

.reality-stats {
  overflow: hidden;
  margin-top: 72px;
  padding: 0 28px;
  color: var(--white);
  background: var(--teal-dark);
  border: 0;
  border-radius: 20px;
}

.reality-stats article {
  min-height: 230px;
}

.reality-stats article + article {
  border-left-color: rgb(255 255 255 / 35%);
}

.reality-stats strong {
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(2.7rem, 3.7vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -.05em;
}

.reality-stats p {
  margin-top: 67px;
  color: rgb(255 255 255 / 82%);
}

.practice-reality .source-note.inverse,
.local-architecture .source-note.inverse {
  color: var(--ink-muted);
}

.product-explorer {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 22px 58px rgb(7 29 54 / 13%);
}

.local-architecture {
  color: var(--ink);
  background: var(--white);
}

.architecture-copy .overline,
.team .overline,
.contact .overline {
  color: var(--teal-dark);
}

.architecture-copy > p:not(.overline) {
  color: var(--ink-muted);
}

.architecture-copy ul {
  border-top-color: var(--line);
}

.architecture-copy li {
  border-bottom-color: var(--line);
}

.architecture-copy li > span {
  color: var(--teal-dark);
}

.architecture-copy li p {
  color: var(--ink-muted);
}

.architecture-diagram {
  overflow: hidden;
  background: var(--paper-soft);
  background-image: none;
  border-color: #cfe0e3;
  border-radius: 20px;
}

.diagram-meta {
  color: var(--ink-muted);
}

.diagram-meta span:last-child {
  color: var(--teal-dark);
}

.diagram-node {
  background: var(--white);
  border-color: #cfdee1;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgb(7 29 54 / 10%);
}

.node-os {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.node-os small,
.node-os span {
  color: rgb(255 255 255 / 78%);
}

.cloud-boundary {
  color: var(--ink-muted);
  background: var(--white);
  border-color: #c7d8dc;
  border-radius: 12px;
}

.cloud-boundary b {
  color: var(--ink);
}

.team {
  color: var(--ink);
  background: var(--white);
}

.team-heading > p:last-child {
  color: var(--ink-muted);
}

.team-grid {
  gap: 14px;
  border: 0;
}

.team .team-member,
.team .team-member:first-child,
.team .team-member:last-child,
.team .team-member:nth-child(3),
.team .team-member:nth-child(4) {
  overflow: hidden;
  padding: 0 18px 30px;
  background: var(--white);
  border: 1px solid #cfdee1;
  border-radius: 14px;
}

.team .team-member + .team-member {
  border-left: 1px solid #cfdee1;
}

.team-photo,
.team-member:first-child .team-photo,
.team-member:last-child .team-photo,
.team-member:nth-child(3) .team-photo {
  height: 350px;
  margin: 0 -18px 25px;
  background: var(--paper-deep);
}

.team-number {
  color: var(--teal-dark);
}

.team-member h3 {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 2.1vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
}

.team-role {
  color: var(--teal-dark);
}

.team-bio {
  color: var(--ink-muted);
}

.pilot-note {
  overflow: hidden;
  background: var(--teal-dark);
  border-radius: 20px;
}

.contact {
  color: var(--ink);
  background: var(--paper-soft);
}

.contact-copy > p:not(.overline),
.contact-secondary p {
  color: var(--ink-muted);
}

.contact-copy > a {
  color: var(--teal-dark);
  border-top-color: var(--line);
  border-bottom-color: var(--line);
  font-family: var(--sans);
  font-weight: 600;
}

.contact-secondary {
  border-left-color: var(--teal-dark);
}

.contact-secondary b {
  color: var(--ink);
}

.contact-form {
  background: var(--white);
  border: 1px solid #cfdee1;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgb(7 29 54 / 8%);
}

.faq {
  background: var(--white);
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: clamp(4.5rem, 9.5vw, 6.8rem);
  }

  .team-grid {
    gap: 14px;
  }
}

@media (max-width: 780px) {
  .site-header .main-nav {
    color: var(--ink);
    background: var(--white);
  }

  .main-nav a,
  .main-nav .nav-cta {
    border-bottom-color: var(--line);
  }

  .main-nav .nav-cta {
    color: var(--teal-dark);
  }

  .hero h1 {
    font-size: clamp(3.55rem, 14.8vw, 5.8rem);
  }

  .reality-stats {
    padding: 0 20px;
  }

  .reality-stats article:nth-child(3),
  .reality-stats article:nth-child(4) {
    border-top-color: rgb(255 255 255 / 35%);
  }

  .team .team-member,
  .team .team-member:first-child,
  .team .team-member:last-child,
  .team .team-member:nth-child(3),
  .team .team-member:nth-child(4) {
    padding: 0 18px 30px;
    border: 1px solid #cfdee1;
  }

  .team-photo,
  .team-member:first-child .team-photo,
  .team-member:last-child .team-photo,
  .team-member:nth-child(3) .team-photo {
    height: 440px;
    margin: 0 -18px 25px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(3.15rem, 14vw, 3.85rem);
  }

  .reality-stats {
    grid-template-columns: 1fr;
  }

  .reality-stats article,
  .reality-stats article + article,
  .reality-stats article:nth-child(3),
  .reality-stats article:nth-child(4) {
    min-height: 150px;
    padding: 24px 0;
    border-top: 1px solid rgb(255 255 255 / 35%);
    border-left: 0;
  }

  .reality-stats article:first-child {
    border-top: 0;
  }

  .reality-stats p {
    margin-top: 28px;
  }
}

/* Final responsive layer - intentionally last in cascade */
.team .source-note.inverse {
  color: var(--ink-muted);
}

@media (max-width: 780px) {
  body.nav-open .mobile-demo-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
  }

  .mobile-demo-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
    transition: opacity 180ms ease, transform 220ms cubic-bezier(.22, .8, .24, 1);
  }

  .mobile-demo-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .reality-stats {
    grid-template-columns: 1fr 1fr;
    padding-inline: 16px;
  }

  .reality-stats article,
  .reality-stats article + article,
  .reality-stats article:nth-child(3),
  .reality-stats article:nth-child(4) {
    min-height: 172px;
    padding: 22px 16px 20px 0;
    border-left: 0;
  }

  .reality-stats article:nth-child(2),
  .reality-stats article:nth-child(4) {
    padding-right: 0;
    padding-left: 16px;
    border-left: 1px solid rgb(255 255 255 / 35%);
  }

  .reality-stats article:first-child,
  .reality-stats article:nth-child(2) {
    border-top: 0;
  }

  .reality-stats article:nth-child(3),
  .reality-stats article:nth-child(4) {
    border-top: 1px solid rgb(255 255 255 / 35%);
  }

  .reality-stats p {
    margin-top: 34px;
  }

  .team-photo,
  .team-member:first-child .team-photo,
  .team-member:last-child .team-photo,
  .team-member:nth-child(3) .team-photo {
    height: 330px;
  }
}

@media (max-width: 430px) {
  .reality-stats {
    grid-template-columns: 1fr 1fr;
  }

  .reality-stats article,
  .reality-stats article + article,
  .reality-stats article:nth-child(3),
  .reality-stats article:nth-child(4) {
    min-height: 165px;
    padding: 21px 13px 18px 0;
  }

  .reality-stats article:nth-child(2),
  .reality-stats article:nth-child(4) {
    padding-right: 0;
    padding-left: 13px;
    border-left: 1px solid rgb(255 255 255 / 35%);
  }

  .reality-stats article:first-child,
  .reality-stats article:nth-child(2) {
    border-top: 0;
  }

  .reality-stats article:nth-child(3),
  .reality-stats article:nth-child(4) {
    border-top: 1px solid rgb(255 255 255 / 35%);
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: clamp(2.85rem, 14.3vw, 3.3rem);
  }
}
