:root {
  --ink: #162434;
  --muted: #637187;
  --navy: #082a55;
  --navy-deep: #061d3b;
  --green: #19aa67;
  --green-dark: #0b8650;
  --green-soft: #e9f7f0;
  --blue: #1769c2;
  --soft: #f5f8fb;
  --line: #d9e3eb;
  --shadow: 0 22px 58px rgba(8, 42, 85, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

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

section {
  scroll-margin-top: 98px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 6px;
  transform: translateY(-150%);
}

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

.top-strip {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 7px 20px;
  color: #fff;
  background: linear-gradient(90deg, #061d3b 0%, #0d5944 58%, #0b8650 100%);
  font-size: 13px;
}

.top-strip span,
.top-strip a {
  color: #b7f5d2;
  font-weight: 900;
}

.top-strip a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  min-height: 76px;
  align-items: center;
  gap: 16px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(8, 42, 85, 0.08);
}

.site-header.simple {
  position: sticky;
}

.brand {
  display: flex;
  align-items: center;
  width: 174px;
}

.brand img {
  width: 174px;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.desktop-nav {
  gap: clamp(10px, 1vw, 18px);
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.desktop-nav a {
  position: relative;
  padding: 27px 0 23px;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--green-dark);
}

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

.header-actions {
  gap: 10px;
}

.login-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.login-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  background: #f7fafc;
  border: 1px solid #d4e1ea;
  border-radius: 8px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

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

.button:focus-visible,
.desktop-nav a:focus-visible,
.login-link:focus-visible,
.site-footer a:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid rgba(23, 105, 194, 0.35);
  outline-offset: 3px;
}

.button.primary {
  color: #fff;
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(11, 134, 80, 0.2);
}

.button.primary:hover {
  background: #076f42;
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border-color: #c9d7e3;
}

.button.small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.menu-button {
  display: none;
  min-width: 54px;
  min-height: 44px;
  padding: 0 11px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.mobile-nav {
  position: fixed;
  top: 114px;
  right: 18px;
  left: 18px;
  z-index: 60;
  display: none;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  padding: 12px;
  color: var(--navy);
  font-weight: 850;
  border-bottom: 1px solid #eef2f5;
}

.page-hero {
  padding: 92px max(24px, calc((100vw - var(--max)) / 2)) 72px;
  background:
    linear-gradient(112deg, rgba(234, 248, 241, 0.96), rgba(244, 248, 251, 0.72) 56%, rgba(255, 255, 255, 0.9)),
    #f4faf7;
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: #4b5d72;
  font-size: 19px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: 46px;
  align-items: center;
  min-height: 590px;
  padding: 36px max(24px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(112deg, rgba(234, 248, 241, 0.96), rgba(244, 248, 251, 0.72) 52%, rgba(255, 255, 255, 0.88)),
    #f4faf7;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #9df0c4;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--navy-deep);
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 740px;
  margin: 24px 0 0;
  color: #4b5d72;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 700px;
  margin-top: 30px;
}

.hero-metrics div {
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d4e5df;
  border-radius: 12px;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--navy);
  font-size: 18px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-panel {
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d6e3df;
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(8, 42, 85, 0.14);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 10px 12px;
  border-bottom: 1px solid var(--line);
}

.panel-head span {
  width: 9px;
  height: 9px;
  background: #c7d3df;
  border-radius: 50%;
}

.panel-head strong {
  margin-left: auto;
  color: var(--navy);
  font-size: 13px;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.signal-grid article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.signal-grid small {
  display: block;
  color: var(--green-dark);
  font-weight: 900;
}

.signal-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.32;
}

.flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.flow-row span {
  padding: 10px 8px;
  color: #075c36;
  background: #e7f8ef;
  border: 1px solid #c6ead7;
  border-radius: 9px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.product-panel figure {
  margin: 14px 0 0;
  overflow: hidden;
  background: #f4f7fa;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.product-panel img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top left;
}

.product-panel figcaption {
  padding: 12px 14px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-bar div {
  padding: 0 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.proof-bar div:last-child {
  border-right: 0;
}

.proof-bar strong,
.proof-bar span {
  display: block;
}

.proof-bar strong {
  color: var(--navy);
  font-size: 20px;
}

.proof-bar span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
}

.section.soft {
  background: var(--soft);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading.align-left {
  max-width: 860px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.platform-section h2,
.diagnosis-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p:last-child,
.platform-section > div > p,
.diagnosis-section > div > p {
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.feature-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(8, 42, 85, 0.08);
}

.feature-card.dark {
  color: #fff;
  background: linear-gradient(145deg, #061d3b 0%, #0b704d 100%);
  border: 0;
}

.feature-card > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 8px;
  font-weight: 900;
}

.feature-card.dark > span {
  color: #061d3b;
  background: #b7f5d2;
}

.feature-card h3 {
  margin: 20px 0 12px;
  color: inherit;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.14;
}

.feature-card p,
.feature-card li {
  color: inherit;
  opacity: 0.82;
}

.feature-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.architecture-grid article,
.industry-grid article,
.boundary-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(8, 42, 85, 0.05);
}

.architecture-grid span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
}

.architecture-grid strong,
.industry-grid strong,
.boundary-grid strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.28;
}

.architecture-grid p,
.industry-grid p,
.boundary-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.industry-grid,
.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.boundary-grid {
  grid-template-columns: repeat(4, 1fr);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.channel-grid a {
  display: grid;
  min-height: 250px;
  align-content: start;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(8, 42, 85, 0.05);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.channel-grid a:hover {
  transform: translateY(-2px);
  border-color: #a8d7bf;
  box-shadow: 0 18px 42px rgba(8, 42, 85, 0.09);
}

.channel-grid span {
  width: max-content;
  padding: 5px 9px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
}

.channel-grid strong {
  display: block;
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.2;
}

.channel-grid p {
  margin: 0;
  color: var(--muted);
}

.strategy-grid a {
  min-height: 310px;
}

.strategy-grid .strategy-primary {
  border-color: #6bc393;
  box-shadow: 0 18px 44px rgba(11, 134, 80, 0.12);
}

.strategy-grid em {
  align-self: end;
  margin-top: 22px;
  color: #315d4a;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.strategy-secondary {
  justify-content: center;
  margin-top: 28px;
}

.text-action {
  padding: 8px 4px;
  color: var(--green-dark);
  border-bottom: 1px solid currentColor;
  font-weight: 900;
}

.trust-process {
  color: #fff;
  background: var(--navy-deep);
}

.trust-process .section-heading h2 {
  color: #fff;
}

.trust-process .section-heading p {
  color: #c7d7e6;
}

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

.trust-process-grid article {
  display: grid;
  align-content: start;
  min-height: 240px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}

.trust-process-grid span {
  width: max-content;
  padding: 5px 9px;
  color: #082a22;
  background: #9df0c4;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 950;
}

.trust-process-grid strong {
  margin-top: 24px;
  font-size: 23px;
}

.trust-process-grid p {
  margin: 12px 0 0;
  color: #c7d7e6;
  font-size: 14px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.scenario-grid a,
.ecosystem-list article {
  display: grid;
  gap: 10px;
  min-height: 172px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(8, 42, 85, 0.05);
}

.scenario-grid strong,
.ecosystem-list strong {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}

.scenario-grid span,
.ecosystem-list span {
  color: var(--muted);
  font-size: 14px;
}

.ecosystem-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 38px;
  align-items: center;
}

.ecosystem-split h2,
.resource-band h2 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  letter-spacing: 0;
}

.ecosystem-split p,
.resource-band p {
  max-width: 740px;
  color: var(--muted);
}

.ecosystem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.resource-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.resource-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inner-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 46px;
  align-items: center;
  padding: 82px max(24px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(112deg, rgba(234, 248, 241, 0.96), rgba(244, 248, 251, 0.78) 54%, rgba(255, 255, 255, 0.9)),
    #f4faf7;
}

.inner-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-product-shot {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-product-shot img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: top left;
}

.hero-product-shot figcaption {
  padding: 14px 18px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.hero-product-shot figcaption span {
  color: var(--navy);
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #4b5d72;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

.solution-toc {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.solution-toc a,
.solution-toc span {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.solution-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 42px;
  align-items: start;
}

.solution-copy {
  position: sticky;
  top: 104px;
}

.solution-copy h2,
.integration-flow h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  letter-spacing: 0;
}

.solution-copy p:not(.eyebrow),
.integration-flow > div > p {
  color: var(--muted);
  font-size: 17px;
}

.solution-panels {
  display: grid;
  gap: 14px;
}

.solution-panels article,
.usecase-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(8, 42, 85, 0.05);
}

.solution-panels strong,
.usecase-grid strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.solution-panels p,
.usecase-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.solution-panels a,
.usecase-grid a {
  color: var(--green-dark);
  font-weight: 900;
}

.platform-architecture {
  grid-template-columns: repeat(5, 1fr);
}

.platform-usecases .section-heading {
  margin-bottom: 30px;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.platform-connect .section-heading {
  margin-bottom: 30px;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.connect-grid article {
  min-height: 240px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(8, 42, 85, 0.05);
}

.connect-grid span {
  display: inline-flex;
  min-width: 46px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.connect-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-size: 21px;
}

.connect-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.integration-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 42px;
  align-items: start;
}

.simple-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.simple-steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(8, 42, 85, 0.05);
}

.simple-steps span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 10px;
  font-weight: 950;
}

.simple-steps h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
}

.simple-steps p {
  margin: 6px 0 0;
  color: var(--muted);
}

.about-panel {
  max-width: 980px;
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(8, 42, 85, 0.08);
}

.about-panel h2 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
}

.about-panel p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.split-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.split-cta h2 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
}

.split-cta p {
  max-width: 720px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  color: #fff;
  background: var(--navy-deep);
}

.final-cta h2 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.15;
}

.final-cta p {
  max-width: 780px;
  color: #cbd7e5;
}

.light-button {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.outline-light:hover,
.outline-light:focus-visible {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.platform-cards {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.platform-cards article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.platform-cards strong,
.platform-cards span {
  display: block;
}

.platform-cards strong {
  color: var(--navy);
}

.platform-cards span {
  color: var(--muted);
}

.platform-section figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.diagnosis-section {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 34px;
  align-items: center;
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background:
    linear-gradient(130deg, rgba(6, 29, 59, 0.98), rgba(11, 112, 77, 0.94)),
    var(--navy-deep);
}

.diagnosis-section.contact-page {
  min-height: calc(100vh - 76px);
}

.diagnosis-section h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.08;
}

.diagnosis-section h2 {
  max-width: 780px;
  color: #fff;
}

.diagnosis-section > div > p {
  max-width: 740px;
  color: #d5e6f0;
}

.contact-card {
  display: grid;
  justify-items: center;
  padding: 24px;
  color: var(--navy);
  background: #fff;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.contact-card img {
  width: 210px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contact-card strong {
  margin-top: 14px;
  color: var(--green-dark);
}

.contact-card span {
  margin: 2px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
  padding: 84px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.contact-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--navy-deep);
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: 0;
}

.contact-hero > div > p {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  position: relative;
  padding-left: 24px;
  color: var(--navy);
  font-weight: 800;
}

.contact-points li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--green-dark);
  border-radius: 50%;
  content: "";
}

.contact-copy {
  width: 100%;
  margin-bottom: 12px;
}

.contact-card .text-link {
  color: var(--navy);
  font-weight: 850;
}

.contact-form-section {
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
  background: #fff;
}

.contact-form-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.contact-form-heading h2,
.diagnosis-result h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.contact-form-heading p,
.diagnosis-result p {
  margin: 12px 0 0;
  color: var(--muted);
}

.diagnosis-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 980px;
  padding: 34px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.diagnosis-form > label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.diagnosis-form label > span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.diagnosis-form input,
.diagnosis-form select,
.diagnosis-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #c9d8e4;
  border-radius: 8px;
  font: inherit;
}

.diagnosis-form textarea {
  min-height: 132px;
  resize: vertical;
}

.diagnosis-form input:focus,
.diagnosis-form select:focus,
.diagnosis-form textarea:focus {
  border-color: var(--green-dark);
  outline: 3px solid rgba(14, 159, 96, 0.14);
}

.field-wide {
  grid-column: 1 / -1;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.form-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-consent a {
  color: var(--green-dark);
  font-weight: 850;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}

.form-submit p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.diagnosis-result {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin-top: 28px;
  padding: 30px;
  background: #edf8f2;
  border: 1px solid #b9e2cb;
  border-radius: 16px;
}

.diagnosis-result[hidden] {
  display: none;
}

.diagnosis-result textarea {
  width: 100%;
  min-height: 240px;
  padding: 16px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #b8cebf;
  border-radius: 8px;
  font: 15px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(300px, 1.35fr) minmax(100px, 0.45fr) minmax(120px, 0.55fr) minmax(230px, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  padding: 52px max(32px, calc((100vw - var(--max)) / 2)) 22px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 200px;
  max-width: 100%;
  height: auto;
}

.footer-brand p {
  max-width: 430px;
  margin: 20px 0 0;
  color: #4b5d72;
  font-size: 16px;
  line-height: 1.7;
}

.site-footer > div:not(.footer-brand):not(.footer-legal) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 950;
}

.site-footer a,
.site-footer span {
  color: #4b5d72;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green-dark);
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-legal span,
.footer-legal a {
  font-size: 14px;
  line-height: 1.5;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 45;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #fff;
  background: var(--green-dark);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(11, 134, 80, 0.26);
  font-weight: 900;
}

.floating-contact-button {
  position: fixed;
  right: 22px;
  bottom: 76px;
  z-index: 47;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #c8d8e6;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(17, 44, 80, 0.16);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.floating-contact-button:hover {
  color: var(--green-dark);
  border-color: #91d0b1;
}

.floating-contact-button:focus-visible,
.floating-contact-close:focus-visible,
.floating-contact-actions a:focus-visible,
.floating-contact-actions button:focus-visible,
.floating-contact-qr summary:focus-visible {
  outline: 3px solid rgba(14, 159, 96, 0.35);
  outline-offset: 3px;
}

.floating-contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 46;
  background: rgba(7, 28, 53, 0.44);
  backdrop-filter: blur(2px);
}

.floating-contact-backdrop[hidden] {
  display: none;
}

.contact-panel-open {
  overflow: hidden;
}

.contact-panel-open .floating-cta,
.contact-panel-open .floating-contact-button {
  visibility: hidden;
  pointer-events: none;
}

.floating-contact-panel {
  position: fixed;
  right: 22px;
  bottom: 130px;
  z-index: 48;
  width: min(286px, calc(100vw - 44px));
  max-height: calc(100dvh - 150px);
  overflow-y: auto;
  padding: 20px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 52px rgba(10, 35, 66, 0.22);
  text-align: center;
}

.floating-contact-panel[hidden] {
  display: none;
}

.floating-contact-panel h2 {
  margin: 2px 28px 6px;
  font-size: 19px;
  line-height: 1.3;
}

.floating-contact-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.floating-contact-panel img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid #dbe5ee;
  border-radius: 10px;
}

.floating-contact-panel strong {
  display: block;
  margin-top: 12px;
  color: var(--green-dark);
  font-size: 14px;
}

.floating-contact-actions {
  display: grid;
  gap: 8px;
}

.floating-contact-actions a,
.floating-contact-actions button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #c8d8e6;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.floating-contact-actions a:hover,
.floating-contact-actions button:hover {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: #91d0b1;
}

.floating-contact-copy {
  color: #fff !important;
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
}

.floating-contact-qr {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.floating-contact-qr summary {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.floating-contact-qr span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.floating-contact-links {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.floating-contact-links a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.floating-contact-links a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.floating-contact-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.floating-contact-close:hover {
  color: var(--navy);
  background: var(--soft);
}

.mini-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.mini-footer a {
  color: var(--green-dark);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .hero,
  .inner-hero,
  .platform-section,
  .diagnosis-section,
  .contact-hero,
  .ecosystem-split,
  .resource-band,
  .solution-detail,
  .integration-flow {
    grid-template-columns: 1fr;
  }

  .architecture-grid,
  .platform-architecture,
  .solution-toc,
  .usecase-grid,
  .connect-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-copy {
    position: static;
  }

  .hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 176px 1fr auto;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

	  .proof-bar,
	  .two-column,
	  .industry-grid,
	  .boundary-grid,
	  .channel-grid,
	  .scenario-grid,
	  .ecosystem-list,
	  .trust-process-grid,
	  .solution-toc,
	  .usecase-grid,
	  .connect-grid,
	  .platform-architecture {
	    grid-template-columns: 1fr 1fr;
	  }

  .split-cta {
    grid-template-columns: 1fr;
  }

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

  .proof-bar div:nth-child(2) {
    border-right: 0;
  }

  .proof-bar div {
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .proof-bar div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .site-footer {
    grid-template-columns: minmax(209px, 1.15fr) repeat(2, minmax(72px, 0.5fr)) minmax(184px, 0.9fr);
    gap: 14px;
    padding: 40px 156px 22px 24px;
  }

  .footer-brand p {
    margin-top: 16px;
    font-size: 15px;
  }

  .site-footer a,
  .site-footer span {
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
    padding: 30px 18px 72px;
  }

  .site-footer img {
    width: 160px;
  }

  .footer-brand p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.6;
  }

  .site-footer strong {
    font-size: 17px;
  }

  .site-footer a,
  .site-footer span {
    font-size: 15px;
  }

  .footer-brand,
  .site-footer > div:nth-child(4),
  .footer-legal {
    grid-column: 1 / -1;
  }

  .site-footer > div:nth-child(4) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .site-footer > div:nth-child(4) strong {
    grid-column: 1 / -1;
  }

  .footer-legal {
    display: grid;
  }

  .footer-legal span,
  .footer-legal a {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .top-strip {
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .top-strip span,
  .top-strip a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .top-strip strong {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand,
  .brand img {
    width: 156px;
  }

  .mobile-nav {
    top: 104px;
  }

  .hero {
    gap: 20px;
    min-height: auto;
    padding: 24px 18px 28px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions .secondary,
  .hero-metrics,
  .signal-grid,
  .product-panel figcaption {
    display: none;
  }

  .product-panel {
    padding: 12px;
    border-radius: 12px;
  }

  .flow-row {
    gap: 4px;
    margin-top: 10px;
  }

  .flow-row span {
    padding: 8px 4px;
    font-size: 11px;
  }

  .product-panel figure {
    margin-top: 10px;
  }

  .product-panel img {
    height: 110px;
  }

  .hero-metrics,
  .signal-grid,
  .proof-bar,
  .two-column,
  .architecture-grid,
  .industry-grid,
	  .boundary-grid,
	  .channel-grid,
	  .scenario-grid,
	  .ecosystem-list,
	  .trust-process-grid,
	  .solution-toc,
	  .usecase-grid,
	  .connect-grid,
	  .platform-architecture {
	    grid-template-columns: 1fr;
	  }

	  .footer-legal span,
	  .footer-legal a,
	  .mini-footer {
	    font-size: 14px;
	  }

	  .final-cta {
	    padding-top: 56px;
	    padding-bottom: 56px;
	  }

	  .final-cta .cta-actions {
	    display: grid;
	    width: 100%;
	  }

	  .inner-hero {
	    gap: 34px;
	    padding: 56px 18px 62px;
	  }

	  .inner-hero h1 {
	    font-size: 40px;
	  }

	  .hero-product-shot img {
	    min-height: 0;
	  }

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

  .flow-row {
    grid-template-columns: 1fr 1fr;
  }

  .product-panel {
    padding: 12px;
  }

  .product-panel img {
    height: auto;
    max-height: 300px;
    object-fit: contain;
  }

  .proof-bar div {
    border-right: 0;
  }

  .proof-bar div:nth-child(n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .proof-bar div:last-child {
    border-bottom: 0;
  }

  .section,
  .page-hero,
  .diagnosis-section,
  .contact-hero,
  .contact-form-section {
    padding: 64px 18px;
  }

  .contact-hero h1 {
    font-size: 40px;
  }

  .contact-hero > div > p {
    font-size: 17px;
  }

  .diagnosis-form {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .field-wide {
    grid-column: auto;
  }

  .form-submit,
  .result-actions {
    display: grid;
  }

  .feature-card {
    min-height: auto;
    padding: 26px;
  }

  .legal {
    display: grid;
  }

  .mini-footer {
    display: grid;
    padding: 28px 18px;
  }

  .floating-cta {
    right: 16px;
    bottom: 14px;
  }

  .floating-contact-button {
    display: none;
  }

  .floating-contact-panel {
    right: 12px;
    bottom: 72px;
    width: min(278px, calc(100vw - 24px));
  }
}

/* Keep the primary channel paths visible in tablet-sized embedded browsers. */
@media (min-width: 761px) and (max-width: 920px) {
  .site-header {
    grid-template-columns: 174px minmax(0, 1fr) auto;
    gap: 14px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .desktop-nav {
    display: flex;
    min-width: 0;
    gap: 14px;
    font-size: 13px;
  }

  .desktop-nav a {
    white-space: nowrap;
  }

  .desktop-nav a:nth-child(n + 6) {
    display: none;
  }

  .menu-button {
    min-width: 60px;
  }
}
