@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700&display=swap");

:root {
  --surface: #f9f9f9;
  --surface-soft: #f3f3f4;
  --surface-mid: #eeeeee;
  --surface-high: #ffffff;
  --ink: #1a1c1c;
  --ink-strong: #000000;
  --muted: #4c4546;
  --muted-soft: #78797d;
  --line: #e5e5e7;
  --line-soft: #f1f1f2;
  --accent: #168faa;
  --accent-dark: #08728b;
  --accent-soft: #e8f6fa;
  --accent-pale: #e9f8fc;
  --success: #15915b;
  --success-soft: #eaf8f1;
  --success-line: #ccefd8;
  --warning: #bb7a13;
  --warning-soft: #fff5e2;
  --blue: #3c83f6;
  --amber: #f2a000;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  --shadow-lift: 0 18px 58px rgba(0, 0, 0, 0.07);
  --pane-surface: rgba(255, 255, 255, 0.9);
  --pane-surface-strong: rgba(255, 255, 255, 0.96);
  --pane-line: rgba(223, 226, 228, 0.82);
  --pane-shadow: 0 24px 64px rgba(24, 33, 37, 0.08), 0 8px 24px rgba(24, 33, 37, 0.05);
  --pane-shadow-soft: 0 14px 38px rgba(24, 33, 37, 0.055);
  --pane-inner-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  color-scheme: light;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 6%, rgba(201, 223, 238, 0.42), transparent 30rem),
    radial-gradient(circle at 96% 22%, rgba(227, 242, 238, 0.54), transparent 34rem),
    var(--surface);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4,
p,
dl,
dd,
pre {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  border-bottom-color: rgba(255, 255, 255, 0.32);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 auto;
  padding: 0 36px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(24, 33, 37, 0.035);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition:
    top 260ms cubic-bezier(0.22, 1, 0.36, 1),
    width 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    border-radius 260ms cubic-bezier(0.22, 1, 0.36, 1),
    background 260ms ease,
    box-shadow 260ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  width: calc(100% - 20px);
  border-color: rgba(255, 255, 255, 0.42);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(24, 33, 37, 0.04),
    0 14px 34px rgba(24, 33, 37, 0.065),
    0 3px 10px rgba(24, 33, 37, 0.038);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink-strong);
  font-size: 1.04rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand img {
  width: auto;
  height: 33px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
}

.site-nav a {
  padding: 6px 0;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  color: var(--ink-strong);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.site-nav .nav-cta {
  border: 1px solid var(--accent-dark);
  min-width: 236px;
  min-height: 52px;
  border-radius: 18px;
  background: var(--accent);
  color: #ffffff;
  padding: 0 28px;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(22, 143, 170, 0.18);
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
  color: #ffffff;
}

.nav-cta:active,
.button:active {
  transform: scale(0.98);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
}

.section-pad {
  scroll-margin-top: 96px;
  width: min(100% - 64px, 1280px);
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  display: grid;
  min-height: 740px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 58px;
  align-items: center;
  padding-top: 118px;
}

.hero-inner {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 26px;
}

.hero-brand img {
  width: min(100%, 360px);
  height: auto;
  max-height: 112px;
  object-fit: contain;
}

h1,
h2 {
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 4rem;
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.08rem;
  line-height: 1.12;
}

h3,
h4 {
  color: var(--ink-strong);
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.58rem;
  line-height: 1.22;
}

h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.28;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.section-heading .hero-actions {
  justify-content: center;
  margin-top: 24px;
}

.button {
  min-width: 176px;
  min-height: 48px;
  padding: 0 24px;
}

.button.primary {
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(22, 143, 170, 0.17);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-strong);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: #cfcfd3;
  background: #ffffff;
}

.hero-product {
  position: relative;
}

.hero-product::before {
  position: absolute;
  inset: 42px -10px -14px 44px;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(232, 246, 250, 0.72), rgba(255, 255, 255, 0));
  content: "";
}

.hero-panel {
  overflow: hidden;
  border: 1px solid var(--pane-line);
  border-radius: 30px;
  background: var(--pane-surface);
  box-shadow: var(--pane-shadow);
  backdrop-filter: blur(20px);
}

.platform-console .mini-browser {
  min-height: 510px;
}

.platform-console .browser-body {
  min-height: 462px;
}

.hero-stage-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.hero-stage-strip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pane-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  box-shadow: var(--pane-inner-shadow);
}

.mini-browser {
  min-height: 475px;
  background:
    radial-gradient(circle at 88% 10%, rgba(232, 248, 252, 0.76), transparent 16rem),
    linear-gradient(180deg, #ffffff, #fbfbfc);
}

.browser-bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(226, 229, 231, 0.72);
  background: rgba(247, 248, 249, 0.72);
  padding: 0 18px;
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfcfd4;
}

.browser-bar strong {
  margin-left: 8px;
  color: var(--muted-soft);
  font-size: 0.74rem;
  font-weight: 600;
}

.browser-body {
  display: grid;
  min-height: 426px;
  grid-template-columns: 180px minmax(0, 1fr);
}

.preview-sidebar {
  border-right: 1px solid rgba(233, 235, 236, 0.86);
  background: rgba(249, 249, 249, 0.72);
  padding: 28px 20px;
}

.preview-sidebar img {
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
}

.preview-sidebar p {
  margin-bottom: 5px;
  color: var(--ink-strong);
  font-weight: 700;
}

.preview-sidebar span {
  color: var(--muted-soft);
  font-size: 0.78rem;
}

.preview-main {
  padding: 32px;
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted-soft);
  font-size: 0.84rem;
}

.preview-heading strong {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(224, 247, 253, 0.78);
  color: var(--accent);
  padding: 0 12px;
  font-size: 0.92rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(22, 143, 170, 0.08);
}

.source-row,
.map-row,
.stack-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--pane-line);
  border-radius: 18px;
  background: var(--pane-surface-strong);
  box-shadow: var(--pane-inner-shadow), 0 10px 26px rgba(24, 33, 37, 0.035);
}

.source-row {
  min-height: 78px;
  margin-bottom: 12px;
  padding: 14px;
}

.source-row.active {
  border-color: var(--success-line);
  background: linear-gradient(135deg, rgba(236, 250, 243, 0.96), rgba(255, 255, 255, 0.9));
  box-shadow: var(--pane-inner-shadow), 0 12px 28px rgba(21, 145, 91, 0.08);
}

.source-row strong,
.map-row strong,
.stack-card strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-strong);
  font-size: 0.92rem;
}

.source-row p,
.map-row p,
.stack-card p {
  margin-bottom: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.source-row em,
.map-row em {
  margin-left: auto;
  border-radius: 999px;
  background: #dcf6e8;
  color: var(--success);
  padding: 6px 10px;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(21, 145, 91, 0.08);
}

.section-heading {
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading.narrow {
  max-width: 760px;
}

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

.section-heading.compact {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  font-size: 1rem;
  line-height: 1.7;
}

.product-section {
  padding-top: 78px;
}

.platform-section {
  padding-top: 78px;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.stage-card,
.beta-boundary,
.journey-step,
.opportunity-card,
.expert-panel,
.deployment-grid article {
  border: 1px solid var(--pane-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(22, 143, 170, 0.1), transparent 13rem),
    var(--pane-surface);
  box-shadow: var(--pane-shadow-soft);
  backdrop-filter: blur(18px);
}

.stage-card {
  position: relative;
  min-height: 276px;
  padding: 30px;
}

.stage-card em {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(22, 143, 170, 0.08);
}

.stage-card h3 {
  margin-top: 28px;
}

.stage-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.beta-boundary {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: center;
  margin-top: 28px;
  padding: 34px;
}

.beta-boundary h3,
.beta-boundary p,
.beta-boundary .eyebrow {
  margin-bottom: 0;
}

.beta-boundary p:last-child {
  line-height: 1.7;
}

.split-block,
.blueprint-split,
.security-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: 62px;
  align-items: center;
}

.copy-block {
  max-width: 620px;
}

.journey-section {
  max-width: 1120px;
}

.journey-proof-sequence {
  display: grid;
  gap: 34px;
  margin: -18px auto 52px;
}

.journey-product-proof {
  margin: 0;
}

.journey-product-proof img {
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(218, 221, 224, 0.86);
  border-radius: 30px;
  background: #ffffff;
  box-shadow:
    0 28px 78px rgba(24, 33, 37, 0.11),
    0 8px 24px rgba(24, 33, 37, 0.06);
}

.journey-product-proof figcaption {
  display: grid;
  max-width: 780px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
}

.journey-product-proof figcaption > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
}

.journey-product-proof figcaption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-strong);
  font-size: 0.94rem;
}

.journey-product-proof figcaption p {
  margin-bottom: 0;
  font-size: inherit;
  line-height: inherit;
}

.journey-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.journey-step {
  display: grid;
  min-height: 190px;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
}

.journey-step .step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.78rem;
  box-shadow: var(--pane-inner-shadow), 0 14px 26px rgba(22, 143, 170, 0.08);
}

.journey-step h3 {
  font-size: 1.22rem;
}

.journey-step p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.understanding-section {
  padding-top: 72px;
}

.model-card {
  width: 100%;
  max-width: none;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.model-grid span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pane-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--pane-inner-shadow);
}

.opportunity-section {
  padding-top: 72px;
}

.opportunity-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 24px;
}

.opportunity-card {
  min-height: 230px;
  padding: 32px;
}

.opportunity-card.primary-opportunity {
  grid-row: span 2;
  min-height: 484px;
}

.opportunity-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.opportunity-top em {
  border-radius: 999px;
  background: #dcf6e8;
  color: var(--success);
  padding: 7px 11px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(21, 145, 91, 0.08);
}

.opportunity-card h3 {
  font-size: 1.54rem;
}

.opportunity-card p {
  margin-bottom: 0;
  line-height: 1.68;
}

.opportunity-card > span {
  display: block;
  margin-top: 24px;
  border-top: 1px solid var(--pane-line);
  padding-top: 18px;
  color: var(--muted-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.opportunity-card dl {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
}

.opportunity-card dl div {
  border: 1px solid var(--pane-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
  box-shadow: var(--pane-inner-shadow);
}

.opportunity-card dt {
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.opportunity-card dd {
  margin: 4px 0 0;
  color: var(--ink-strong);
  font-weight: 800;
}

.copy-block p {
  margin-bottom: 0;
  line-height: 1.7;
}

.connector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.connector-card,
.capability-card,
.principle-grid article,
.small-case-grid article,
.feature-case,
.belief-card,
.belief-grid article,
.workspace-cta,
.spec-card,
.approval-card,
.security-card {
  border: 1px solid var(--pane-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(232, 248, 252, 0.36), transparent 13rem),
    var(--pane-surface);
  box-shadow: var(--pane-shadow-soft);
  backdrop-filter: blur(18px);
}

.connector-card {
  min-height: 156px;
  padding: 28px;
}

.connector-card strong {
  display: block;
  margin-top: 18px;
  margin-bottom: 4px;
  color: var(--ink-strong);
}

.connector-card p {
  margin-bottom: 18px;
  font-size: 0.84rem;
}

.bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(223, 226, 228, 0.7);
  box-shadow: inset 0 1px 2px rgba(24, 33, 37, 0.08);
}

.bar.blue {
  background: linear-gradient(90deg, var(--accent) 0 62%, rgba(223, 226, 228, 0.7) 62% 100%);
}

.bar.amber {
  background: linear-gradient(90deg, var(--amber) 0 48%, rgba(223, 226, 228, 0.7) 48% 100%);
}

.map-showcase {
  padding: 112px 0 98px;
}

.map-card {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--pane-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 248, 252, 0.62), transparent 16rem),
    var(--pane-surface-strong);
  padding: 30px;
  box-shadow: var(--pane-shadow);
  backdrop-filter: blur(18px);
}

.map-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.map-card-head strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-strong);
  font-size: 1rem;
}

.map-card-head span,
.map-card-head p {
  color: var(--muted-soft);
  font-size: 0.82rem;
}

.map-card-head p {
  display: inline-flex;
  min-height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  border-radius: 999px;
  background: rgba(224, 247, 253, 0.78);
  color: var(--accent);
  padding: 0 12px;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(22, 143, 170, 0.08);
}

.map-card-head b {
  display: inline;
  color: inherit;
  font-size: inherit;
  margin-right: 3px;
}

.map-row {
  min-height: 76px;
  margin-top: 12px;
  padding: 16px;
}

.map-row em {
  background: #ffffff;
  color: var(--muted);
}

.opportunity-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.capability-grid,
.small-case-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.capability-card {
  position: relative;
  min-height: 255px;
  padding: 24px;
}

.capability-card em,
.small-case-grid em {
  position: absolute;
  top: 22px;
  right: 22px;
  border-radius: 999px;
  background: #dcf6e8;
  color: var(--success);
  padding: 6px 10px;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(21, 145, 91, 0.08);
}

.capability-card h4 {
  margin-top: 20px;
}

.capability-card p {
  min-height: 66px;
  margin-bottom: 18px;
  font-size: 0.84rem;
}

.capability-card dl {
  display: grid;
  grid-template-columns: minmax(92px, 0.78fr) minmax(0, 1.22fr);
  gap: 10px;
  margin-bottom: 0;
}

.capability-card dl div {
  display: flex;
  min-height: 54px;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(229, 231, 232, 0.74);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 12px;
  text-align: center;
}

.capability-card dt {
  width: 100%;
  color: var(--muted-soft);
  font-size: 0.66rem;
  line-height: 1.2;
  text-align: center;
}

.capability-card dd {
  width: 100%;
  margin: 0;
  color: var(--ink-strong);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.blueprint-split {
  padding-top: 104px;
}

.stack-card {
  min-height: 86px;
  margin-top: 18px;
  padding: 18px;
}

.spec-card {
  padding: 28px;
}

.spec-card pre {
  overflow: auto;
  margin-bottom: 18px;
  border: 1px solid var(--pane-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  padding: 22px;
  font-size: 0.9rem;
  line-height: 1.7;
  box-shadow: var(--pane-inner-shadow);
}

.confidence-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--success-line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236, 250, 243, 0.96), rgba(255, 255, 255, 0.82));
  color: var(--success);
  padding: 14px 16px;
  box-shadow: var(--pane-inner-shadow);
}

.confidence-row strong {
  color: var(--ink-strong);
  font-size: 0.9rem;
}

.confidence-row em {
  margin-left: auto;
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-style: normal;
}

.loop-section {
  max-width: 980px;
}

.loop-list {
  display: grid;
  gap: 42px;
}

.loop-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 30px;
}

.step-number {
  color: var(--ink-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.step-content {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.loop-step:last-child .step-content {
  padding-bottom: 0;
  border-bottom: 0;
}

.step-content p {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.scope-options,
.evidence-mini-grid {
  display: grid;
  gap: 12px;
}

.scope-options {
  max-width: 590px;
}

.scope-options span,
.evidence-mini-grid span,
.case-tabs button {
  border: 1px solid var(--pane-line);
  border-radius: 16px;
  background: var(--pane-surface-strong);
  color: var(--ink);
  padding: 13px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: var(--pane-inner-shadow), 0 8px 20px rgba(24, 33, 37, 0.03);
}

.scope-options span.selected,
.case-tabs button.active {
  border-color: rgba(22, 143, 170, 0.2);
  background: var(--accent-pale);
}

.evidence-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.evidence-mini-grid span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
}

.processing-box {
  display: flex;
  min-height: 132px;
  max-width: 620px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed rgba(22, 143, 170, 0.32);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.86rem;
  box-shadow: var(--pane-inner-shadow);
}

.processing-box span {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-top-color: var(--ink);
  border-radius: 50%;
}

.brand-tile {
  display: flex;
  max-width: 620px;
  min-height: 178px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pane-line);
  border-radius: 24px;
  background: var(--pane-surface-strong);
  padding: 22px;
  box-shadow: var(--pane-shadow-soft);
}

.brand-tile img {
  max-height: 126px;
  object-fit: contain;
}

.understanding-meter {
  display: flex;
  max-width: 620px;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--success-line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236, 250, 243, 0.96), rgba(255, 255, 255, 0.82));
  color: var(--success);
  padding: 0 16px;
  font-size: 0.82rem;
  box-shadow: var(--pane-inner-shadow), 0 10px 24px rgba(21, 145, 91, 0.06);
}

.blueprint-lines {
  display: grid;
  max-width: 620px;
  min-height: 150px;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--pane-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  padding: 34px 82px;
  box-shadow: var(--pane-inner-shadow);
}

.blueprint-lines span {
  height: 8px;
  border-radius: 999px;
  background: #d8d8dc;
}

.blueprint-lines span:nth-child(2) {
  width: 80%;
}

.blueprint-lines span:nth-child(3) {
  width: 64%;
}

.blueprint-lines span:nth-child(4) {
  width: 72%;
}

.use-section {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 243, 244, 0.7);
  padding-right: max(32px, calc((100% - 1280px) / 2));
  padding-left: max(32px, calc((100% - 1280px) / 2));
}

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}

.case-tabs button {
  border-radius: 999px;
  padding: 9px 18px;
}

.case-tabs button.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 143, 170, 0.12);
}

.case-tabs button:focus-visible {
  outline: 3px solid rgba(22, 143, 170, 0.24);
  outline-offset: 3px;
}

.feature-case {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 60px;
  margin-bottom: 34px;
  padding: 52px;
}

.case-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.case-badges span {
  border-radius: 999px;
  background: var(--accent-pale);
  padding: 5px 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(22, 143, 170, 0.08);
}

.feature-case h3 {
  font-size: 2rem;
}

.case-list {
  display: grid;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.case-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.case-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-strong);
  font-size: 0.82rem;
}

.case-list p {
  margin-bottom: 0;
}

.boundary-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  border: 1px solid var(--pane-line);
  border-radius: 24px;
  background: var(--pane-surface-strong);
  padding: 30px;
  box-shadow: var(--pane-inner-shadow), 0 12px 30px rgba(24, 33, 37, 0.04);
}

.boundary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.boundary-head h4 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.boundary-head span {
  border-radius: 999px;
  background: var(--warning-soft);
  color: var(--warning);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.impact-metric {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  margin-top: auto;
  border: 1px solid rgba(22, 143, 170, 0.14);
  border-radius: 20px;
  background: var(--accent-pale);
  padding: 22px;
  box-shadow: var(--pane-inner-shadow);
}

.impact-metric span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.84rem;
}

.impact-metric strong {
  color: var(--accent);
  font-size: 2rem;
  line-height: 1.1;
}

.impact-metric em {
  align-self: end;
  color: var(--ink);
  font-style: normal;
}

.small-case-grid article {
  position: relative;
  min-height: 320px;
  padding: 34px;
}

.small-case-grid h3 {
  margin-top: 26px;
  font-size: 1.42rem;
}

.small-case-grid p {
  min-height: 78px;
  margin-bottom: 28px;
}

.small-case-grid hr {
  height: 1px;
  margin: 0 0 18px;
  border: 0;
  background: rgba(226, 229, 231, 0.86);
}

.small-case-grid strong,
.small-case-grid span:not(.icon) {
  display: block;
  font-size: 0.86rem;
}

.small-case-grid span:not(.icon) {
  margin-top: 7px;
  color: var(--muted);
}

.deployment-section {
  padding-top: 86px;
}

.build-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 32px;
  align-items: stretch;
  margin-bottom: 34px;
}

.build-split > * {
  min-width: 0;
}

.implementation-card {
  display: flex;
  min-height: 520px;
  min-width: 0;
  flex-direction: column;
}

.spec-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.spec-header strong {
  display: block;
  color: var(--ink-strong);
  font-size: 1rem;
}

.spec-header p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.implementation-card pre {
  flex: 1;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.expert-panel {
  display: flex;
  min-height: 520px;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
}

.expert-panel p {
  margin-bottom: 28px;
  line-height: 1.7;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.expert-grid span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pane-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  box-shadow: var(--pane-inner-shadow);
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.deployment-grid article {
  min-height: 260px;
  padding: 28px;
}

.deployment-grid h3 {
  margin-top: 24px;
  font-size: 1.22rem;
}

.deployment-grid p {
  margin-bottom: 0;
  font-size: 0.86rem;
  line-height: 1.65;
}

.security-hero {
  min-height: 420px;
}

.security-card {
  justify-self: center;
  width: min(100%, 540px);
  padding: 30px;
}

.security-card .browser-bar {
  border: 1px solid var(--pane-line);
  border-radius: 18px 18px 0 0;
}

.security-lines {
  min-height: 210px;
  border: 1px solid var(--pane-line);
  border-top: 0;
  background: rgba(255, 255, 255, 0.82);
  padding: 38px;
}

.security-lines span {
  display: block;
  height: 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #e5e7eb;
}

.security-lines span:first-child {
  width: 26%;
}

.security-lines span:nth-child(2) {
  width: 82%;
}

.security-lines span:nth-child(3) {
  width: 66%;
}

.secure-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid var(--success-line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236, 250, 243, 0.96), rgba(255, 255, 255, 0.86));
  padding: 14px 16px;
  color: var(--ink);
  font-size: 0.86rem;
  box-shadow: var(--pane-inner-shadow);
}

.principle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 110px;
}

.principle-grid article {
  min-height: 260px;
  padding: 36px;
}

.principle-grid h4 {
  margin-top: 24px;
  font-size: 1.08rem;
}

.principle-grid p {
  margin-bottom: 0;
}

.oauth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  border: 1px solid var(--pane-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 13px 14px;
  font-size: 0.8rem;
  box-shadow: var(--pane-inner-shadow);
}

.oauth-row em {
  border-radius: 999px;
  background: #dcf6e8;
  color: var(--success);
  padding: 5px 8px;
  font-style: normal;
  font-weight: 700;
}

.governance-block {
  text-align: center;
}

.governance-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 48px 0 52px;
  text-align: left;
}

.governance-steps article span {
  display: block;
  width: 100%;
  height: 8px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(223, 226, 228, 0.7);
  box-shadow: inset 0 1px 2px rgba(24, 33, 37, 0.08);
}

.governance-steps article:first-child span {
  background: linear-gradient(90deg, var(--ink) 0 100%);
}

.governance-steps article:nth-child(2) span {
  background: linear-gradient(90deg, var(--accent) 0 64%, rgba(223, 226, 228, 0.7) 64% 100%);
}

.governance-steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-strong);
}

.governance-steps p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.approval-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.approval-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(226, 229, 231, 0.8);
  padding: 18px 22px;
}

.approval-head em {
  border-radius: 999px;
  background: var(--warning-soft);
  color: var(--warning);
  padding: 5px 8px;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
}

.approval-card > p,
.approval-card > span {
  display: block;
  margin: 0;
  padding: 0 22px;
}

.approval-card > p {
  padding-top: 18px;
  color: var(--ink-strong);
  font-weight: 600;
}

.approval-card > span {
  padding-top: 7px;
  color: var(--muted);
  font-size: 0.82rem;
}

.reviewer-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 22px;
  border: 1px solid var(--pane-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
  box-shadow: var(--pane-inner-shadow);
}

.reviewer-row > strong {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-pale);
  color: var(--accent);
}

.reviewer-row p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.approval-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 22px 22px;
}

.approval-actions button {
  min-height: 42px;
  border-radius: 14px;
  font-weight: 700;
}

.approval-actions button:first-child {
  border: 1px solid var(--pane-line);
  background: #ffffff;
  color: var(--ink);
}

.approval-actions button:last-child {
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: #ffffff;
}

.company-section {
  text-align: center;
}

.network-panel {
  overflow: hidden;
  max-width: 900px;
  height: 260px;
  margin: 0 auto 110px;
  border: 1px solid var(--pane-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 45% 16%, rgba(255, 255, 255, 0.96), transparent 15rem),
    linear-gradient(180deg, #edf4f5, #dce6e8);
  box-shadow: var(--pane-shadow), inset 0 -30px 45px rgba(0, 0, 0, 0.05);
}

.network-panel svg {
  width: 100%;
  height: 100%;
}

.network-panel path {
  fill: none;
  stroke: rgba(48, 66, 72, 0.24);
  stroke-width: 2;
}

.network-panel circle {
  fill: rgba(44, 62, 68, 0.8);
}

.belief-card {
  max-width: 780px;
  margin: 0 auto 92px;
  padding: 70px 82px;
}

.belief-card .icon {
  margin-bottom: 28px;
}

.belief-card p {
  margin-bottom: 0;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 110px;
  text-align: left;
}

.belief-grid article {
  min-height: 230px;
  padding: 36px;
}

.belief-grid h4 {
  margin-top: 22px;
}

.workspace-cta {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  padding: 54px;
}

.workspace-cta > div {
  max-width: 670px;
}

.workspace-cta img {
  width: 54px;
  height: 54px;
  margin: 0 auto 24px;
  object-fit: contain;
  border-radius: 16px;
  background: var(--accent-pale);
  padding: 8px;
  box-shadow: 0 14px 32px rgba(22, 143, 170, 0.1);
}

.workspace-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 38px 36px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink-strong);
}

.icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(208, 241, 248, 0.9);
  border-radius: 16px;
  background: var(--accent-pale);
  color: var(--accent);
  font-style: normal;
  box-shadow: 0 16px 32px rgba(22, 143, 170, 0.1), var(--pane-inner-shadow);
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
}

.icon.database::before {
  width: 16px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 6px 0 -2px var(--accent-soft), 0 6px 0 0 currentColor;
}

.icon.folder::before {
  width: 17px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon.folder::after {
  left: 9px;
  top: 9px;
  width: 8px;
  height: 4px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
}

.icon.shield::before {
  width: 15px;
  height: 18px;
  clip-path: polygon(50% 0, 88% 16%, 82% 72%, 50% 100%, 18% 72%, 12% 16%);
  background: currentColor;
}

.icon.chat::before {
  width: 16px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon.chat::after {
  right: 8px;
  bottom: 8px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.icon.nodes::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -8px -4px 0 currentColor, 8px 6px 0 currentColor;
}

.icon.nodes::after {
  width: 21px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(20deg);
}

.icon.assistant::before {
  width: 15px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon.assistant::after {
  top: 9px;
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: -6px -5px 0 -1px currentColor, 6px -5px 0 -1px currentColor;
}

.icon.document::before,
.icon.receipt::before {
  width: 14px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon.document::after,
.icon.receipt::after {
  width: 8px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.icon.headset::before {
  width: 18px;
  height: 14px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.icon.headset::after {
  right: 8px;
  bottom: 9px;
  width: 8px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.icon.sliders::before {
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor;
}

.icon.sliders::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 7px 7px 0 currentColor, -6px -7px 0 currentColor;
}

.icon.audit::before {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon.audit::after {
  width: 9px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.icon.check::before {
  width: 14px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.icon.alert::before {
  width: 0;
  height: 0;
  border-right: 10px solid transparent;
  border-bottom: 18px solid currentColor;
  border-left: 10px solid transparent;
}

.icon.alert::after {
  width: 2px;
  height: 7px;
  background: #ffffff;
  box-shadow: 0 10px 0 #ffffff;
}

.icon.arrows::before {
  width: 17px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 10px 0 currentColor;
}

.icon.arrows::after {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translate(5px, -5px) rotate(45deg);
  box-shadow: -12px 12px 0 -2px var(--accent-soft);
}

.icon.people::before {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: -8px 7px 0 -2px var(--accent-soft), -8px 7px 0 0 currentColor;
}

.icon.people::after {
  bottom: 7px;
  width: 18px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.icon.key::before {
  left: 8px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon.key::after {
  left: 16px;
  width: 14px;
  height: 2px;
  background: currentColor;
  box-shadow: 5px 4px 0 -1px currentColor;
}

.icon.spark::before {
  width: 18px;
  height: 18px;
  background:
    linear-gradient(currentColor, currentColor) center / 2px 18px no-repeat,
    linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat;
  transform: rotate(45deg);
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0 26px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.76rem;
  }

  .hero,
  .split-block,
  .blueprint-split,
  .security-hero,
  .build-split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 86px;
  }

  .hero-inner,
  .copy-block {
    max-width: none;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.5rem;
  }

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

  .opportunity-board {
    grid-template-columns: 1fr;
  }

  .opportunity-card.primary-opportunity {
    grid-row: auto;
    min-height: 0;
  }

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

  .feature-case {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 58px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 58px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    padding: 10px;
    box-shadow: var(--shadow-lift);
    backdrop-filter: blur(20px);
  }

  .site-header.is-scrolled .site-nav {
    inset: 76px 14px auto 14px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 10px;
    padding: 13px 14px;
  }

  .nav-cta {
    margin-top: 6px;
    justify-content: center;
  }

  .section-pad {
    width: min(100% - 36px, 1280px);
    padding: 70px 0;
  }

  .hero {
    gap: 40px;
    padding-top: 68px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.12;
  }

  h2 {
    font-size: 2.18rem;
  }

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

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .browser-body {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 18px;
  }

  .preview-sidebar img {
    width: 38px;
    height: 38px;
    margin-bottom: 0;
  }

  .preview-sidebar p {
    margin-bottom: 1px;
  }

  .preview-main {
    padding: 20px;
  }

  .source-row {
    align-items: flex-start;
  }

  .source-row em,
  .map-row em {
    display: none;
  }

  .connector-grid,
  .principle-grid,
  .belief-grid,
  .governance-steps,
  .evidence-mini-grid,
  .stage-grid,
  .journey-rail,
  .beta-boundary,
  .deployment-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-proof-sequence {
    gap: 28px;
    margin: -20px auto 38px;
  }

  .journey-product-proof img {
    border-radius: 22px;
  }

  .journey-product-proof figcaption {
    max-width: 560px;
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 0.84rem;
    text-align: center;
  }

  .journey-product-proof figcaption > span {
    margin: 0 auto;
  }

  .journey-step {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .model-grid,
  .expert-grid {
    grid-template-columns: 1fr;
  }

  .stage-card,
  .opportunity-card,
  .expert-panel,
  .deployment-grid article {
    min-height: 0;
    padding: 28px;
  }

  .implementation-card {
    min-height: 0;
  }

  .map-showcase {
    padding: 72px 0;
  }

  .map-card {
    padding: 20px;
  }

  .map-card-head,
  .map-row,
  .confidence-row,
  .impact-metric {
    display: block;
  }

  .map-card-head p {
    margin-top: 12px;
    text-align: left;
  }

  .map-row .icon,
  .confidence-row .icon {
    margin-bottom: 12px;
  }

  .capability-card p,
  .small-case-grid p {
    min-height: 0;
  }

  .loop-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step-content {
    padding-bottom: 34px;
  }

  .use-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .case-tabs {
    margin-bottom: 30px;
  }

  .case-tabs button {
    font-size: 0.8rem;
  }

  .feature-case,
  .belief-card,
  .workspace-cta {
    padding: 28px;
  }

  .boundary-card {
    min-height: 300px;
    padding: 24px;
  }

  .impact-metric strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.55rem;
  }

  .principle-grid {
    margin-bottom: 70px;
  }

  .principle-grid article,
  .belief-grid article {
    min-height: 0;
    padding: 28px;
  }

  .network-panel {
    height: 190px;
    margin-bottom: 70px;
  }

  .site-footer {
    display: block;
    padding: 32px 18px;
  }

  .site-footer nav {
    margin-top: 24px;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .section-pad {
    width: min(100% - 28px, 1280px);
    padding: 60px 0;
  }

  h1 {
    font-size: 2.12rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  h3 {
    font-size: 1.32rem;
  }

  .hero-brand img {
    width: min(100%, 260px);
  }

  .hero-panel,
  .feature-case,
  .connector-card,
  .capability-card,
  .small-case-grid article,
  .principle-grid article,
  .belief-card,
  .belief-grid article,
  .workspace-cta,
  .spec-card {
    border-radius: 16px;
  }

  .source-row {
    gap: 10px;
  }

  .connector-card,
  .capability-card,
  .small-case-grid article,
  .principle-grid article,
  .belief-grid article {
    padding: 22px;
  }

  .capability-card dl {
    grid-template-columns: 1fr;
  }

  .spec-card pre {
    font-size: 0.78rem;
    padding: 16px;
  }

  .blueprint-lines {
    padding: 28px;
  }

  .feature-case h3 {
    font-size: 1.58rem;
  }

  .approval-actions {
    grid-template-columns: 1fr;
  }

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

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #070a0d;
    --surface-soft: #10161a;
    --surface-mid: #171f24;
    --surface-high: #1d262c;
    --ink: #e5e9ec;
    --ink-strong: #ffffff;
    --muted: #c1c7cb;
    --muted-soft: #8f999f;
    --line: rgba(255, 255, 255, 0.13);
    --line-soft: rgba(255, 255, 255, 0.08);
    --accent: #25a7c1;
    --accent-dark: #168faa;
    --accent-soft: rgba(37, 167, 193, 0.16);
    --accent-pale: rgba(37, 167, 193, 0.18);
    --success: #5bd38a;
    --success-soft: rgba(91, 211, 138, 0.15);
    --success-line: rgba(91, 211, 138, 0.28);
    --warning: #f3bf66;
    --warning-soft: rgba(243, 191, 102, 0.16);
    --blue: #70a8ff;
    --amber: #f5ba45;
    --shadow: 0 14px 42px rgba(0, 0, 0, 0.34);
    --shadow-lift: 0 24px 72px rgba(0, 0, 0, 0.42);
    --pane-surface: rgba(17, 23, 27, 0.72);
    --pane-surface-strong: rgba(20, 27, 32, 0.88);
    --pane-line: rgba(255, 255, 255, 0.12);
    --pane-shadow: 0 28px 76px rgba(0, 0, 0, 0.46), 0 8px 24px rgba(0, 0, 0, 0.32);
    --pane-shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.32);
    --pane-inner-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color-scheme: dark;
  }

  body {
    background:
      radial-gradient(circle at 8% 6%, rgba(37, 167, 193, 0.2), transparent 30rem),
      radial-gradient(circle at 96% 22%, rgba(91, 211, 138, 0.12), transparent 34rem),
      linear-gradient(180deg, #090d10, #06090b 58%, #040607);
  }

  img[src$="orestal-logo-dark.png"] {
    content: url("assets/orestal-logo-light.png");
  }

  .skip-link,
  .nav-toggle,
  .button.secondary,
  .scope-options span,
  .evidence-mini-grid span,
  .case-tabs button,
  .hero-stage-strip span,
  .source-row,
  .map-row,
  .stack-card,
  .capability-card dl div,
  .model-grid span,
  .opportunity-card dl div,
  .expert-grid span,
  .spec-card pre,
  .processing-box,
  .brand-tile,
  .blueprint-lines,
  .boundary-card,
  .security-lines,
  .oauth-row,
  .reviewer-row,
  .approval-actions button:first-child {
    border-color: var(--pane-line);
    background: rgba(18, 25, 30, 0.78);
    box-shadow: var(--pane-inner-shadow), 0 10px 28px rgba(0, 0, 0, 0.18);
  }

  .site-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 13, 0.18);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      inset 0 -1px 0 rgba(0, 0, 0, 0.28);
  }

  .site-header.is-scrolled {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(7, 10, 13, 0.24);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      inset 0 -1px 0 rgba(0, 0, 0, 0.32),
      0 14px 34px rgba(0, 0, 0, 0.38),
      0 3px 10px rgba(0, 0, 0, 0.24);
  }

  .nav-toggle span {
    background: var(--ink);
  }

  .button.secondary:hover,
  .button.secondary:focus-visible {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(27, 36, 42, 0.92);
  }

  .hero-product::before {
    background: linear-gradient(135deg, rgba(37, 167, 193, 0.16), rgba(255, 255, 255, 0));
  }

  .journey-product-proof img {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
      0 30px 84px rgba(0, 0, 0, 0.48),
      0 10px 28px rgba(0, 0, 0, 0.34);
  }

  .mini-browser {
    background:
      radial-gradient(circle at 88% 10%, rgba(37, 167, 193, 0.14), transparent 16rem),
      linear-gradient(180deg, rgba(22, 29, 34, 0.96), rgba(12, 17, 20, 0.96));
  }

  .browser-bar {
    border-bottom-color: rgba(255, 255, 255, 0.09);
    background: rgba(14, 19, 23, 0.72);
  }

  .browser-bar span {
    background: #49545c;
  }

  .preview-sidebar {
    border-right-color: rgba(255, 255, 255, 0.08);
    background: rgba(11, 16, 20, 0.42);
  }

  .preview-heading strong,
  .map-card-head p,
  .case-badges span,
  .impact-metric,
  .icon,
  .workspace-cta img {
    border-color: rgba(37, 167, 193, 0.24);
    background: rgba(37, 167, 193, 0.16);
    color: var(--accent);
    box-shadow: var(--pane-inner-shadow), 0 12px 26px rgba(37, 167, 193, 0.08);
  }

  .connector-card,
  .capability-card,
  .principle-grid article,
  .small-case-grid article,
  .feature-case,
  .belief-card,
  .belief-grid article,
  .workspace-cta,
  .spec-card,
  .approval-card,
  .security-card {
    background:
      radial-gradient(circle at 100% 0, rgba(37, 167, 193, 0.1), transparent 13rem),
      var(--pane-surface);
  }

  .map-card {
    background:
      radial-gradient(circle at 88% 12%, rgba(37, 167, 193, 0.12), transparent 16rem),
      var(--pane-surface-strong);
  }

  .source-row.active,
  .confidence-row,
  .understanding-meter,
  .secure-status {
    border-color: var(--success-line);
    background: linear-gradient(135deg, rgba(91, 211, 138, 0.16), rgba(18, 25, 30, 0.86));
    box-shadow: var(--pane-inner-shadow), 0 14px 30px rgba(91, 211, 138, 0.08);
  }

  .source-row em,
  .capability-card em,
  .small-case-grid em,
  .opportunity-top em,
  .oauth-row em {
    background: rgba(91, 211, 138, 0.16);
    color: var(--success);
    box-shadow: 0 8px 18px rgba(91, 211, 138, 0.08);
  }

  .map-row em {
    background: rgba(255, 255, 255, 0.07);
    color: var(--muted);
  }

  .bar,
  .blueprint-lines span,
  .security-lines span {
    background: rgba(255, 255, 255, 0.12);
  }

  .bar.blue {
    background: linear-gradient(90deg, var(--accent) 0 62%, rgba(255, 255, 255, 0.12) 62% 100%);
  }

  .bar.amber {
    background: linear-gradient(90deg, var(--amber) 0 48%, rgba(255, 255, 255, 0.12) 48% 100%);
  }

  .use-section {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 17, 0.74);
  }

  .case-tabs button.active {
    background: var(--accent);
    color: #041114;
    box-shadow: 0 10px 24px rgba(37, 167, 193, 0.2);
  }

  .boundary-head span,
  .approval-head em {
    background: var(--warning-soft);
    color: var(--warning);
  }

  .security-card .browser-bar,
  .security-lines {
    border-color: var(--pane-line);
  }

  .reviewer-row > strong {
    background: var(--accent-pale);
    color: var(--accent);
  }

  .approval-head {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .approval-actions button:last-child,
  .button.primary,
  .site-nav .nav-cta {
    color: #041114;
    box-shadow: 0 12px 28px rgba(37, 167, 193, 0.18);
  }

  .nav-cta:hover,
  .nav-cta:focus-visible,
  .button.primary:hover,
  .button.primary:focus-visible {
    color: #041114;
  }

  .network-panel {
    background:
      radial-gradient(circle at 45% 16%, rgba(255, 255, 255, 0.08), transparent 15rem),
      linear-gradient(180deg, rgba(31, 45, 51, 0.94), rgba(13, 20, 24, 0.96));
    box-shadow: var(--pane-shadow), inset 0 -30px 45px rgba(0, 0, 0, 0.22);
  }

  .network-panel path {
    stroke: rgba(173, 214, 222, 0.24);
  }

  .network-panel circle {
    fill: rgba(173, 214, 222, 0.82);
  }

  .small-case-grid hr {
    background: rgba(255, 255, 255, 0.12);
  }

  .site-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
    background: rgba(9, 13, 16, 0.72);
  }

  @media (max-width: 820px) {
    .site-nav {
      border-color: var(--pane-line);
      background: rgba(13, 18, 22, 0.92);
      box-shadow: var(--shadow-lift);
    }
  }
}

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

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