.landing-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #f8fafc;
  background:
    radial-gradient(circle at 12% 14%, rgba(217, 45, 58, 0.3), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(33, 150, 153, 0.24), transparent 28%),
    linear-gradient(145deg, #090d16 0%, #141926 44%, #0b1018 100%);
}

.landing-page > *:not(.landing-grid, .landing-scanline) {
  position: relative;
  z-index: 1;
}

.landing-grid,
.landing-scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.landing-grid {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 18s linear infinite;
}

.landing-scanline {
  opacity: 0.22;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: scanline 7s ease-in-out infinite;
}

.landing-section {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding-inline: 28px;
}

.landing-hero {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding-inline: 28px;
}

.landing-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(640px, 1.08fr);
  align-items: center;
  gap: 44px;
  padding-block: 70px 54px;
}

.landing-hero-copy {
  position: relative;
  top: -34px;
  display: grid;
  justify-items: center;
  text-align: center;
  animation: contentFadeUp 360ms var(--ease-emphasized) both;
}

.landing-title-row {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 18px;
}

.landing-hero-logo {
  width: clamp(220px, 26vw, 340px);
  height: clamp(220px, 26vw, 340px);
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(217, 45, 58, 0.3));
}

.landing-title-row p,
.landing-section-heading p,
.landing-sandbox-panel p,
.landing-boundary p,
.landing-capability-disclaimer p {
  color: #b7c6d7;
  line-height: 1.65;
}

.landing-title-row h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.landing-title-row p {
  max-width: 680px;
  margin: 0;
  font-size: 19px;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.landing-action-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0 18px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 38px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  transition:
    background var(--motion-fast) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard),
    color var(--motion-fast) var(--ease-standard);
}

.landing-action-link svg {
  flex: 0 0 auto;
}

.landing-action-primary {
  background: #dc1f2d;
  border-color: #dc1f2d;
}

.landing-action-primary:hover,
.landing-action-primary:focus-visible {
  color: #ffffff;
  background: #c71826;
  border-color: #c71826;
}

.landing-action-secondary {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.62);
}

.landing-action-secondary:hover,
.landing-action-secondary:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.8);
}

.landing-capability-matrix {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 420px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 45, 58, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(33, 150, 153, 0.14), transparent 42%),
    rgba(14, 20, 31, 0.66);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  animation: contentScaleIn 420ms var(--ease-emphasized) both;
}

.landing-capability-matrix::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.landing-capability-header,
.landing-capability-grid {
  position: relative;
  z-index: 1;
}

.landing-capability-header {
  display: grid;
  gap: 8px;
}

.landing-capability-header strong {
  max-width: 700px;
  color: #ffffff;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.22;
  letter-spacing: 0;
}

.landing-capability-disclaimer {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(217, 45, 58, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 45, 58, 0.12), rgba(7, 11, 18, 0.56)),
    rgba(7, 11, 18, 0.62);
}

.landing-capability-disclaimer h3 {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0;
}

.landing-capability-disclaimer p {
  margin: 0;
  font-size: 12px;
}

.landing-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(118px, auto);
  gap: 10px;
}

.landing-capability-cell {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(7, 11, 18, 0.58);
  transition:
    transform var(--motion-fast) var(--ease-standard),
    border-color var(--motion-normal) var(--ease-standard),
    background var(--motion-normal) var(--ease-standard);
}

.landing-capability-cell:first-child {
  background:
    linear-gradient(90deg, rgba(217, 45, 58, 0.18), rgba(7, 11, 18, 0.6)),
    rgba(7, 11, 18, 0.58);
}

.landing-capability-cell:hover {
  transform: translateY(-2px);
  border-color: rgba(156, 199, 203, 0.46);
  background: rgba(18, 27, 41, 0.82);
}

.landing-capability-identity span {
  color: #9cc7cb;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.landing-capability-title,
.landing-capability-identity,
.landing-detail-heading,
.landing-runtime-title,
.landing-highlight-heading,
.landing-boundary-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.landing-capability-title {
  align-self: start;
}

.landing-capability-title svg {
  flex: 0 0 auto;
  color: #9cc7cb;
}

.landing-capability-identity {
  gap: 8px;
}

.landing-capability-identity strong {
  min-width: 0;
}

.landing-capability-cell h3 {
  margin: 0;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: 0;
}

.landing-capability-cell strong {
  color: #d8e1ec;
  font-size: 13px;
}

.landing-capability-cell p {
  margin: 0;
  color: #9fb2c7;
  font-size: 13px;
  line-height: 1.45;
}

.landing-capability-cell-red {
  box-shadow: inset 3px 0 0 #d92d3a;
}

.landing-capability-cell-cyan {
  box-shadow: inset 3px 0 0 #219699;
}

.landing-section {
  display: grid;
  gap: 22px;
  padding-block: 58px;
}

.landing-architecture {
  gap: 16px;
  padding-block: 42px;
}

.landing-section-heading {
  max-width: 820px;
}

.landing-section h2 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
  letter-spacing: 0;
}

.landing-section-heading p {
  margin: 12px 0 0;
  font-size: 16px;
}

.landing-architecture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
}

.landing-architecture-map {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(14, 20, 31, 0.54);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.landing-arch-node {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-content: start;
  column-gap: 8px;
  row-gap: 2px;
  min-height: 66px;
  padding: 10px;
  color: #d8e1ec;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(14, 20, 31, 0.72);
  backdrop-filter: blur(14px);
  cursor: pointer;
  appearance: none;
  transition:
    transform var(--motion-fast) var(--ease-standard),
    border-color var(--motion-normal) var(--ease-standard),
    background var(--motion-normal) var(--ease-standard),
    box-shadow var(--motion-normal) var(--ease-standard);
}

.landing-arch-node span {
  min-width: 0;
  font-size: 13px;
  font-weight: 760;
}

.landing-arch-node em {
  grid-column: 2;
  min-width: 0;
  color: #8ea3bb;
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
}

.landing-arch-node svg {
  color: #9cc7cb;
}

.landing-arch-node:hover,
.landing-arch-node:focus-visible,
.landing-arch-node.active {
  border-color: rgba(217, 45, 58, 0.54);
  background: rgba(28, 35, 48, 0.88);
  box-shadow: inset 3px 0 0 #d92d3a, 0 18px 48px rgba(0, 0, 0, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.landing-arch-node-emphasized {
  min-height: 72px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(217, 45, 58, 0.14), rgba(14, 20, 31, 0.72)),
    rgba(14, 20, 31, 0.72);
  border-color: rgba(217, 45, 58, 0.32);
  box-shadow: inset 0 3px 0 #d92d3a, 0 18px 46px rgba(0, 0, 0, 0.18);
}

.landing-arch-node-compact {
  min-height: 58px;
  padding: 9px;
}

.landing-architecture-flow,
.landing-layer-grid {
  display: grid;
  min-width: 0;
}

.landing-architecture-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  justify-items: stretch;
}

.landing-architecture-layer {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px dashed rgba(156, 199, 203, 0.28);
  border-radius: 8px;
  background: rgba(3, 7, 18, 0.22);
}

.landing-layer-title {
  display: grid;
  gap: 2px;
}

.landing-layer-title span {
  color: #9cc7cb;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.landing-layer-title strong {
  color: #d8e1ec;
  font-size: 13px;
  line-height: 1.3;
}

.landing-layer-grid {
  gap: 8px;
}

.landing-layer-grid-execution {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.landing-architecture-detail,
.landing-sandbox-panel,
.landing-boundary,
.landing-evidence-step,
.landing-highlight-card,
.landing-agent-card,
.landing-runtime-step {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(14, 20, 31, 0.72);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.landing-architecture-detail {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: 16px;
}

.landing-detail-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: #ffffff;
  border-radius: 8px;
  background: rgba(217, 45, 58, 0.18);
}

.landing-detail-role {
  width: fit-content;
  padding: 6px 9px;
  color: #9cc7cb;
  font-size: 12px;
  border: 1px solid rgba(156, 199, 203, 0.22);
  border-radius: 8px;
  background: rgba(3, 7, 18, 0.32);
}

.landing-architecture-detail h3,
.landing-sandbox-panel h3,
.landing-agent-card h3,
.landing-runtime-step h3,
.landing-highlight-card h3,
.landing-boundary h3 {
  margin: 0;
  color: #ffffff;
  letter-spacing: 0;
}

.landing-architecture-detail p,
.landing-agent-card p,
.landing-runtime-step p,
.landing-highlight-card p {
  margin: 0;
  color: #9fb2c7;
  line-height: 1.45;
}

.landing-detail-points {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-detail-points li {
  position: relative;
  padding-left: 16px;
  color: #b7c6d7;
  font-size: 12px;
  line-height: 1.38;
}

.landing-detail-points li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d92d3a;
  content: "";
}

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

.landing-agent-card {
  display: grid;
  gap: 14px;
  min-height: 230px;
  padding: 18px;
  transition:
    transform var(--motion-fast) var(--ease-standard),
    background var(--motion-normal) var(--ease-standard);
}

.landing-agent-card:hover {
  transform: translateY(-2px);
  background: rgba(22, 31, 46, 0.88);
}

.landing-agent-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.landing-agent-card span {
  color: #9cc7cb;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.landing-agent-card strong {
  color: #ffffff;
  font-size: 24px;
}

.landing-agent-card-red {
  box-shadow: inset 0 3px 0 #d92d3a;
}

.landing-agent-card-cyan {
  box-shadow: inset 0 3px 0 #219699;
}

.landing-evidence-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.landing-evidence-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 230px;
  padding: 18px;
}

.landing-evidence-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(156, 199, 203, 0.26);
  border-radius: 8px;
  background: rgba(33, 150, 153, 0.16);
}

.landing-evidence-step h3 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 0;
}

.landing-evidence-step p {
  margin: 0;
  color: #9fb2c7;
  font-size: 13px;
  line-height: 1.5;
}

.landing-evidence-arrow {
  position: absolute;
  top: 29px;
  right: -15px;
  z-index: 2;
  color: #9cc7cb;
  filter: drop-shadow(0 0 10px rgba(3, 7, 18, 0.9));
}

.landing-runtime-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-runtime-step {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 18px;
  border-radius: 8px;
}

.landing-runtime-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #9cc7cb;
}

.landing-runtime-heading span {
  flex: 0 0 auto;
  color: #66758b;
  font-size: 12px;
  font-weight: 850;
}

.landing-runtime-title svg,
.landing-highlight-heading svg,
.landing-boundary-heading svg {
  flex: 0 0 auto;
  color: #d92d3a;
}

.landing-sandbox-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(280px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 24px;
}

.landing-sandbox-panel p {
  margin: 10px 0 0;
}

.landing-tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.landing-tool-cloud span {
  padding: 10px 12px;
  color: #d8e1ec;
  font-size: 13px;
  font-weight: 760;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

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

.landing-highlight-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 186px;
  padding: 18px;
}

.landing-security {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.78fr);
  align-items: stretch;
  padding-bottom: 76px;
}

.landing-boundary {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.landing-boundary p {
  margin: 0;
}

@media (max-width: 1060px) {
  .landing-hero,
  .landing-architecture-layout,
  .landing-sandbox-panel,
  .landing-security {
    grid-template-columns: 1fr;
  }

  .landing-security > div:first-child,
  .landing-boundary {
    grid-column: auto;
    grid-row: auto;
  }

  .landing-agent-grid,
  .landing-evidence-flow,
  .landing-runtime-track,
  .landing-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-evidence-arrow {
    display: none;
  }

  .landing-runtime-step,
  .landing-runtime-step:first-child,
  .landing-runtime-step:last-child {
    border-radius: 8px;
  }

  .landing-capability-matrix {
    width: min(100%, 520px);
    justify-self: center;
  }

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

  .landing-layer-grid-execution {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .landing-hero,
  .landing-section {
    padding-inline: 16px;
  }

  .landing-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-block: 48px;
  }

  .landing-hero-copy {
    top: 0;
  }

  .landing-hero-logo {
    width: clamp(200px, 62vw, 280px);
    height: clamp(200px, 62vw, 280px);
  }

  .landing-capability-matrix {
    min-height: 0;
  }

  .landing-capability-grid {
    grid-auto-rows: minmax(132px, auto);
  }

  .landing-agent-grid,
  .landing-evidence-flow,
  .landing-runtime-track,
  .landing-highlight-grid {
    grid-template-columns: 1fr;
  }

  .landing-architecture-map {
    padding: 14px;
  }

  .landing-architecture-flow,
  .landing-layer-grid-execution,
  .landing-layer-grid-foundation {
    grid-template-columns: 1fr;
  }

  .landing-architecture-flow {
    gap: 8px;
  }

  .landing-tool-cloud {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .landing-capability-matrix {
    padding: 14px;
  }

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

  .landing-capability-cell h3 {
    white-space: normal;
  }

  .landing-capability-cell:first-child {
    grid-column: auto;
  }

}
