:root {
  color-scheme: light;
  --page: #fbfdfc;
  --surface: #ffffff;
  --surface-soft: #f1f7f5;
  --surface-raised: #ffffff;
  --text: #0f172a;
  --text-soft: #475569;
  --text-subtle: #64748b;
  --border: #d9e4e1;
  --border-strong: #64748b;
  --accent: #14b8a6;
  --accent-deep: #0f766e;
  --accent-soft: #dcf7f2;
  --navy: #0f172a;
  --navy-soft: #17233a;
  --on-dark: #f8fafc;
  --on-dark-soft: #cbd5e1;
  --focus: #0f172a;
  --focus-inner: #ffffff;
  --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.11);
  --shadow-small: 0 12px 36px rgba(15, 23, 42, 0.08);
  --shell: 1180px;
  --header-height: 76px;
  --radius-large: 32px;
  --radius-medium: 22px;
  --radius-small: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #0b1220;
    --surface: #111c2e;
    --surface-soft: #0f1929;
    --surface-raised: #162238;
    --text: #f4f7f8;
    --text-soft: #b7c2cc;
    --text-subtle: #94a3b8;
    --border: #2b3b50;
    --border-strong: #94a3b8;
    --accent: #35c7ba;
    --accent-deep: #5eead4;
    --accent-soft: rgba(53, 199, 186, 0.13);
    --focus: #5eead4;
    --focus-inner: #0b1220;
    --shadow-soft: 0 26px 76px rgba(0, 0, 0, 0.3);
    --shadow-small: 0 14px 42px rgba(0, 0, 0, 0.22);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 0;
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-thickness: 0.13em;
}

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

button {
  font: inherit;
}

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

.button:focus-visible,
.menu-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--focus-inner), 0 0 0 5px var(--focus);
}

.shell {
  width: min(calc(100% - clamp(2rem, 6vw, 4rem)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  inset-block-start: 12px;
  inset-inline-start: 16px;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: var(--page);
  background: color-mix(in srgb, var(--page) 88%, transparent);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

@supports (backdrop-filter: blur(16px)) {
  .site-header {
    backdrop-filter: blur(16px) saturate(135%);
  }
}

.site-header.is-scrolled,
.site-header:focus-within {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.header-inner {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand,
.footer-brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 164px;
  height: auto;
}

.header-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.primary-nav,
.footer-nav {
  display: flex;
  align-items: center;
}

.primary-nav {
  gap: clamp(1rem, 2.4vw, 2rem);
}

.primary-nav a,
.footer-nav a {
  text-decoration: none;
}

.primary-nav a {
  position: relative;
  padding-block: 0.75rem;
  color: var(--text-soft);
  font-size: 0.91rem;
  font-weight: 600;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--text);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  gap: 5px;
  padding: 11px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #0f172a;
  box-shadow: 0 9px 24px rgba(20, 184, 166, 0.18);
}

.button-primary:hover {
  border-color: #2dd4bf;
  background: #2dd4bf;
  box-shadow: 0 13px 30px rgba(20, 184, 166, 0.24);
}

.button-secondary {
  border-color: var(--border-strong);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--text);
  background: var(--surface);
}

.button-small {
  min-height: 43px;
  padding: 0.62rem 1rem;
  font-size: 0.88rem;
}

.hero,
.section,
.decision-section,
.company-section {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.legacy-anchor {
  position: absolute;
  top: calc(var(--header-height) * -1);
}

.hero {
  min-height: min(860px, calc(100svh - var(--header-height)));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8.5rem);
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--page) 96%, transparent), transparent 48%),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--accent-soft) 72%, transparent), transparent 36%);
  content: "";
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-one {
  width: 500px;
  height: 500px;
  top: -330px;
  right: -160px;
}

.hero-glow-two {
  width: 340px;
  height: 340px;
  right: 30%;
  bottom: -285px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

.hero-copy,
.architecture-visual,
.section-intro,
.ask-copy,
.company-copy,
.contact-panel {
  min-width: 0;
}

.eyebrow,
.section-label,
.product-name,
.contact-kicker {
  margin: 0 0 1rem;
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.eyebrow::before,
.section-label::before {
  width: 26px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.1rem, 6.3vw, 5.9rem);
  font-weight: 800;
  line-height: 1.005;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.07;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.24;
}

p {
  margin-top: 0;
}

.hero-lead {
  max-width: 63ch;
  margin-bottom: 2rem;
  color: var(--text-soft);
  font-size: clamp(1.06rem, 1.6vw, 1.23rem);
  line-height: 1.67;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.1rem;
}

.market-note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.87rem;
  font-weight: 600;
}

.market-note span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.architecture-visual {
  position: relative;
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface-raised);
  background: color-mix(in srgb, var(--surface-raised) 92%, transparent);
  box-shadow: var(--shadow-soft);
}

.architecture-visual::before {
  position: absolute;
  z-index: -1;
  top: 16%;
  left: -9%;
  width: 42%;
  height: 64%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  filter: blur(34px);
  content: "";
}

.architecture-visual figcaption,
.ask-visual figcaption {
  margin-bottom: 1.35rem;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.record-stream {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.record-stream span {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.flow-connector {
  position: relative;
  width: 1px;
  height: 34px;
  margin-inline: auto;
  background: var(--border-strong);
}

.flow-connector span {
  position: absolute;
  right: -3px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  transform: rotate(45deg);
}

.foundation-node {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--border));
  border-radius: 16px;
  background: var(--accent-soft);
}

.foundation-node > div:last-child {
  min-width: 0;
}

.foundation-node span,
.branch-heading span {
  display: block;
  margin-bottom: 0.14rem;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foundation-node span {
  color: var(--text-soft);
}

.foundation-node strong,
.branch-heading strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.3;
}

.foundation-mark {
  width: 42px;
  height: 42px;
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 12px;
  background: var(--navy);
}

.foundation-mark i {
  width: 4px;
  border-radius: 3px;
  background: var(--accent);
}

.foundation-mark i:nth-child(1) { height: 14px; }
.foundation-mark i:nth-child(2) { height: 25px; }
.foundation-mark i:nth-child(3) { height: 21px; background: #ffffff; }
.foundation-mark i:nth-child(4) { height: 12px; }

.branch-line {
  position: relative;
  width: calc(50% + 1px);
  height: 38px;
  margin-inline: auto;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.product-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.branch-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
}

.branch-intelligence {
  border-top: 3px solid var(--accent);
}

.branch-ask {
  border-top: 3px solid var(--navy);
}

@media (prefers-color-scheme: dark) {
  .branch-ask {
    border-top-color: #e2e8f0;
  }
}

.branch-heading {
  margin-bottom: 0.9rem;
}

.branch-card p {
  margin: 0.8rem 0 0;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.mini-timeline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 27px;
}

.mini-timeline::before {
  position: absolute;
  right: 5px;
  left: 5px;
  height: 1px;
  background: var(--border-strong);
  content: "";
}

.mini-timeline span {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border-strong);
}

.mini-timeline i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.source-path {
  display: grid;
  grid-template-columns: 10px 1fr 10px 1fr 10px;
  align-items: center;
  height: 27px;
}

.source-path span {
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 3px;
}

.source-path i {
  height: 1px;
  background: var(--border-strong);
}

.section {
  padding-block: clamp(4.8rem, 9vw, 8rem);
}

.section-intro {
  max-width: 680px;
}

.section-intro-wide {
  max-width: 830px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-intro > p:last-child,
.product-summary,
.ask-lead,
.company-copy > p,
.integration-copy > p {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.72;
}

.problem-section {
  background: var(--surface);
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
}

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

.problem-rail li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 0 0 2rem;
}

.problem-rail li:not(:last-child)::before {
  position: absolute;
  top: 36px;
  bottom: 0;
  left: 20px;
  width: 1px;
  background: var(--border);
  content: "";
}

.problem-rail li > span {
  position: relative;
  z-index: 1;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 800;
}

.problem-rail h3 {
  margin-bottom: 0.4rem;
}

.problem-rail p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.product-family {
  background: var(--surface-soft);
}

.intelligence-product {
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface-raised);
  box-shadow: var(--shadow-small);
}

.product-header {
  display: grid;
  grid-template-columns: 68px minmax(0, 1.15fr) minmax(250px, 0.65fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.product-header h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.product-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 58%, var(--border));
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-name {
  margin-bottom: 0.75rem;
}

.product-summary {
  margin: 0;
}

.capability-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-rail > article {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1rem, 2vw, 1.55rem);
}

.capability-rail > article + article {
  border-left: 1px solid var(--border);
}

.capability-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--accent-deep);
}

.capability-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.capability-step {
  margin-bottom: 0.7rem;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-rail h3 {
  min-height: 2.9em;
}

.capability-rail article > p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.91rem;
}

.intelligence-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}

.intelligence-footer p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.intelligence-footer p:last-child {
  color: var(--accent-deep);
  font-weight: 700;
}

.ask-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 10%, rgba(20, 184, 166, 0.13), transparent 32%),
    #0f172a;
  color: var(--on-dark);
}

.ask-section::before {
  position: absolute;
  top: -190px;
  left: -150px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(53, 199, 186, 0.16);
  border-radius: 50%;
  content: "";
}

.ask-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.ask-section h2,
.ask-section h3 {
  color: var(--on-dark);
}

.product-number-light {
  margin-bottom: 1.4rem;
  border-color: rgba(53, 199, 186, 0.38);
  background: rgba(53, 199, 186, 0.12);
  color: #5eead4;
}

.product-name-light {
  color: #5eead4;
}

.ask-lead {
  color: var(--on-dark-soft);
}

.ask-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.ask-points li {
  position: relative;
  padding-left: 1.35rem;
  color: #e2e8f0;
  font-size: 0.91rem;
}

.ask-points li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.evidence-definition {
  margin: 0;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.045);
  color: var(--on-dark-soft);
  font-size: 0.84rem;
}

.ask-visual {
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.045);
}

.ask-visual figcaption {
  color: #94a3b8;
}

.ask-flow-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
}

.ask-flow-node > span {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 800;
}

.ask-flow-node small,
.integration-stage small {
  display: block;
  margin-bottom: 0.18rem;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ask-flow-node strong {
  display: block;
  color: var(--on-dark);
  font-size: 0.91rem;
  line-height: 1.38;
}

.ask-flow-node-accent {
  border-color: rgba(53, 199, 186, 0.42);
  background: rgba(53, 199, 186, 0.09);
}

.ask-flow-node-accent > span {
  border-color: rgba(53, 199, 186, 0.45);
  color: #5eead4;
}

.ask-flow-arrow {
  position: relative;
  width: 1px;
  height: 30px;
  margin-inline: auto;
  background: rgba(148, 163, 184, 0.55);
}

.ask-flow-arrow i {
  position: absolute;
  right: -3px;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid #94a3b8;
  border-bottom: 1px solid #94a3b8;
  transform: rotate(45deg);
}

.foundation-section {
  background: var(--surface);
}

.foundation-flow {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 70px minmax(300px, 1.45fr) 70px minmax(190px, 1fr);
  align-items: center;
  margin-top: 3rem;
}

.foundation-inputs,
.foundation-outputs {
  display: grid;
  gap: 0.65rem;
}

.foundation-inputs span,
.foundation-outputs span {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.foundation-arrow {
  position: relative;
  height: 1px;
  background: var(--border-strong);
}

.foundation-arrow span {
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
  transform: rotate(45deg);
}

.foundation-core {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--border));
  border-radius: 22px;
  background: var(--accent-soft);
}

.foundation-core-label {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.foundation-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.foundation-principles strong {
  padding: 0.65rem;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--text-soft);
  font-size: 0.73rem;
  font-weight: 700;
  text-align: center;
}

.scope-note {
  max-width: 760px;
  margin: 2.25rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 0.82rem;
  text-align: center;
}

.integration-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 90%, rgba(20, 184, 166, 0.12), transparent 35%),
    #0c1829;
  color: var(--on-dark);
}

.integration-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(390px, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.integration-section h2 {
  color: var(--on-dark);
}

.section-label-light {
  color: #5eead4;
}

.integration-copy > p {
  color: var(--on-dark-soft);
}

.integration-copy > p:last-child {
  margin-bottom: 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #e2e8f0;
  font-size: 0.9rem;
}

.integration-path {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.045);
}

.integration-stage {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(15, 23, 42, 0.52);
}

.integration-stage > span {
  color: #5eead4;
  font-size: 0.68rem;
  font-weight: 800;
}

.integration-stage strong {
  display: block;
  color: var(--on-dark);
  font-size: 0.92rem;
}

.integration-stage-accent {
  border-color: rgba(53, 199, 186, 0.38);
  background: rgba(53, 199, 186, 0.08);
}

.integration-divider {
  position: relative;
  width: 1px;
  height: 24px;
  margin-inline: auto;
  background: rgba(148, 163, 184, 0.55);
}

.integration-divider i {
  position: absolute;
  right: -3px;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid #94a3b8;
  border-bottom: 1px solid #94a3b8;
  transform: rotate(45deg);
}

.decision-section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px dashed var(--border-strong);
  background: var(--surface-soft);
}

.decision-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr) 60px;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.decision-inner .section-label {
  margin-bottom: 0.65rem;
}

.decision-inner h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
}

.decision-inner > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.decision-arrow {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent-deep);
}

.decision-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.company-section {
  padding-block: clamp(5rem, 10vw, 8.5rem);
  background: var(--page);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(370px, 0.7fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.company-copy h2 {
  max-width: 13ch;
}

.company-copy > p {
  max-width: 650px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.7rem, 4vw, 3rem);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 199, 186, 0.17), transparent 34%),
    var(--navy);
  color: var(--on-dark);
  box-shadow: var(--shadow-soft);
}

.contact-panel::after {
  position: absolute;
  right: -64px;
  bottom: -74px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(53, 199, 186, 0.18);
  border-radius: 50%;
  content: "";
}

.contact-kicker {
  color: #5eead4;
}

.contact-panel h2 {
  color: var(--on-dark);
}

.contact-panel > p:not(.contact-kicker):not(.contact-note) {
  margin-bottom: 1.7rem;
  color: var(--on-dark-soft);
}

.contact-panel .button {
  position: relative;
  z-index: 1;
  margin-bottom: 1.4rem;
}

.contact-email {
  position: relative;
  z-index: 1;
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 1.15rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-note {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  font-size: 0.75rem;
}

.site-footer {
  padding-top: clamp(3.2rem, 6vw, 5rem);
  background: #08111f;
  color: var(--on-dark-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  width: 154px;
  height: auto;
}

.footer-nav {
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-contact {
  justify-self: end;
  text-align: right;
}

.footer-contact span {
  display: block;
  margin-bottom: 0.15rem;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-contact a {
  color: #ffffff;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.74rem;
}

.footer-bottom > div {
  display: flex;
  gap: 1.2rem;
}

.footer-bottom a {
  color: #94a3b8;
  font-size: 0.74rem;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms cubic-bezier(0.2, 0.65, 0.25, 1), transform 620ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

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

@media (max-width: 1050px) {
  .hero-grid,
  .ask-grid,
  .integration-grid,
  .company-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
  }

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

  .architecture-visual,
  .ask-visual,
  .integration-path,
  .contact-panel {
    width: min(100%, 720px);
  }

  .product-header {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .product-summary {
    grid-column: 2;
  }

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

  .capability-rail > article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .capability-rail > article:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .capability-rail h3 {
    min-height: 0;
  }

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

  .footer-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  html:not(.js) .site-header {
    position: static;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .brand img {
    width: 150px;
  }

  .header-panel {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 0 1rem;
    border-top: 1px solid var(--border);
  }

  .primary-nav {
    flex-wrap: wrap;
  }

  .js .menu-toggle {
    display: grid;
  }

  .js .header-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(390px, calc(100vw - 2rem));
    display: none;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-small);
  }

  .js .header-panel.is-open {
    display: flex;
    flex-direction: column;
  }

  .js .primary-nav {
    display: grid;
    gap: 0.15rem;
  }

  .js .primary-nav a {
    padding: 0.75rem 0.8rem;
    border-radius: 10px;
  }

  .js .primary-nav a::after {
    display: none;
  }

  .js .primary-nav a:hover {
    background: var(--surface-soft);
  }

  .js .header-panel .button {
    width: 100%;
  }

  .problem-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .foundation-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .foundation-arrow {
    width: 1px;
    height: 38px;
    margin-inline: auto;
  }

  .foundation-arrow span {
    right: -3px;
    bottom: 0;
    border-top: 0;
    border-right: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
  }

  .foundation-core {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .foundation-inputs,
  .foundation-outputs {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .decision-inner {
    grid-template-columns: minmax(0, 1fr) 50px;
  }

  .decision-inner > p {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .hero {
    padding-block: 4.25rem 5rem;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10.5vw, 3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .market-note {
    align-items: flex-start;
  }

  .market-note span {
    margin-top: 0.42rem;
  }

  .architecture-visual,
  .intelligence-product,
  .ask-visual,
  .integration-path,
  .contact-panel {
    border-radius: 22px;
  }

  .record-stream {
    flex-wrap: wrap;
  }

  .product-branches {
    grid-template-columns: minmax(0, 1fr);
  }

  .branch-line {
    width: 1px;
    height: 28px;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid var(--border-strong);
  }

  .product-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-header .product-number {
    grid-row: auto;
  }

  .product-summary {
    grid-column: auto;
  }

  .capability-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .capability-rail > article + article,
  .capability-rail > article:nth-child(3),
  .capability-rail > article:nth-child(4) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .intelligence-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .ask-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .foundation-principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .decision-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .decision-arrow {
    display: none;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-nav {
    grid-row: auto;
    grid-column: auto;
    flex-wrap: wrap;
  }

  .footer-contact {
    justify-self: start;
    text-align: left;
  }

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

@media (max-width: 350px) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--shell));
  }

  .brand img {
    width: 138px;
  }

  .architecture-visual,
  .intelligence-product,
  .ask-visual,
  .integration-path,
  .contact-panel {
    padding: 1rem;
  }

  .foundation-node {
    align-items: flex-start;
    flex-direction: column;
  }

  .record-stream span {
    padding-inline: 0.55rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

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

@media (prefers-contrast: more) {
  :root {
    --border: var(--border-strong);
  }

  .architecture-visual,
  .intelligence-product,
  .ask-visual,
  .integration-path,
  .contact-panel {
    box-shadow: none;
  }
}

@media (forced-colors: active) {
  .button,
  .menu-toggle,
  .architecture-visual,
  .intelligence-product,
  .ask-visual,
  .integration-path,
  .contact-panel,
  .branch-card,
  .foundation-core {
    border: 1px solid CanvasText;
    forced-color-adjust: auto;
  }

  .market-note span,
  .ask-points li::before,
  .eyebrow::before,
  .section-label::before {
    background: CanvasText;
  }
}
