/* Systems positioning update, layered onto the verified live visual system. */
.systems-expanded-home .systems-section {
  position: relative;
  padding: clamp(72px, 8vw, 118px) 0;
  border-top: 1px solid var(--cf-line);
  color: var(--cf-ink);
  background: transparent;
}

.systems-expanded-home .systems-section-alt {
  background:
    radial-gradient(620px 380px at 8% 10%, rgba(106, 184, 255, .055), transparent 72%),
    rgba(155, 124, 255, .022);
}

.systems-expanded-home .systems-section h2 {
  max-width: 930px;
  margin: 0 0 24px;
  color: #fff7eb;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2.25rem, 4.4vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.systems-expanded-home .systems-lede {
  max-width: 850px;
  margin: 0 0 38px;
  color: var(--cf-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.systems-expanded-home .systems-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.systems-expanded-home .systems-grid-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.systems-expanded-home .systems-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.systems-expanded-home .systems-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.systems-expanded-home .systems-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.systems-expanded-home .systems-card-link {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(155, 124, 255, .22);
  border-radius: 18px;
  color: inherit;
  background:
    linear-gradient(145deg, rgba(106, 184, 255, .055), rgba(155, 124, 255, .035)),
    rgba(5, 13, 23, .76);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .16);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.systems-expanded-home .systems-card-link:hover,
.systems-expanded-home .systems-card-link:focus-visible {
  border-color: rgba(41, 199, 190, .72);
  box-shadow: 0 26px 62px rgba(0, 0, 0, .24);
  outline: none;
  transform: translateY(-3px);
}

.systems-expanded-home .systems-card-link figure {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  border-bottom: 1px solid rgba(155, 124, 255, .16);
  background: #07131d;
}

.systems-expanded-home .systems-card-link figure::after,
.systems-expanded-home .systems-hero-proof::after,
.systems-expanded-home .systems-proof-image::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.systems-expanded-home .systems-card-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 350ms ease;
}

.systems-expanded-home .systems-card-link:hover img,
.systems-expanded-home .systems-card-link:focus-visible img { transform: scale(1.018); }

.systems-expanded-home .systems-card-link > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(20px, 2.2vw, 28px);
}

.systems-expanded-home .systems-card-link > div > b {
  display: block;
  color: var(--cf-teal);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .115em;
  line-height: 1.4;
  text-transform: uppercase;
}

.systems-expanded-home .systems-card-link h3 {
  margin: 12px 0 10px;
  color: #fff7eb;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  letter-spacing: -.025em;
  line-height: 1.2;
}

.systems-expanded-home .systems-card-link p {
  margin: auto 0 0;
  color: var(--cf-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.systems-expanded-home .systems-card-link p span {
  color: var(--cf-teal);
  font-size: 1.08em;
}

.systems-expanded-home .systems-callout {
  margin: 30px 0 0;
  padding: 28px 30px;
  border: 1px solid rgba(106, 184, 255, .22);
  border-left: 3px solid var(--cf-teal);
  border-radius: 0 16px 16px 0;
  background: rgba(106, 184, 255, .055);
  color: var(--cf-soft);
  font-size: 1.15rem;
  line-height: 1.65;
}

.systems-expanded-home .systems-callout strong { color: #fff7eb; }

.systems-expanded-home .systems-flow .systems-card-link p {
  font-size: 1.06rem;
  line-height: 1.7;
}

.systems-expanded-home .systems-proof-layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(24px, 4vw, 52px);
}

.systems-expanded-home .systems-proof-image,
.systems-expanded-home .systems-hero-proof {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(106, 184, 255, .28);
  border-radius: 18px;
  color: #fff7eb;
  background: #07131d;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .26);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.systems-expanded-home .systems-proof-image:hover,
.systems-expanded-home .systems-proof-image:focus-visible,
.systems-expanded-home .systems-hero-proof:hover,
.systems-expanded-home .systems-hero-proof:focus-visible {
  border-color: rgba(41, 199, 190, .78);
  outline: none;
  transform: translateY(-3px);
}

.systems-expanded-home .systems-proof-image img,
.systems-expanded-home .systems-hero-proof img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: top center;
}

.systems-expanded-home .systems-proof-image span,
.systems-expanded-home .systems-hero-proof span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(3, 11, 18, .86);
  backdrop-filter: blur(10px);
  font-weight: 750;
  line-height: 1.35;
}

.systems-expanded-home .systems-proof-image span b,
.systems-expanded-home .systems-hero-proof span b { color: var(--cf-teal); }

.systems-expanded-home .systems-proof-notes {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.systems-expanded-home .systems-proof-notes p {
  display: grid;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid rgba(155, 124, 255, .2);
  grid-template-columns: 82px 1fr;
  gap: 14px;
  color: var(--cf-soft);
  font-size: .98rem;
  line-height: 1.55;
}

.systems-expanded-home .systems-proof-notes p:last-child { border-bottom: 1px solid rgba(155, 124, 255, .2); }
.systems-expanded-home .systems-proof-notes strong { color: #fff7eb; }

.systems-expanded-home .systems-quote-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(26px, 5vw, 70px);
  list-style: none;
}

.systems-expanded-home .systems-quote-list li {
  position: relative;
  padding: 24px 0 24px 22px;
  border-top: 1px solid rgba(155, 124, 255, .22);
  color: #fff7eb;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  font-weight: 650;
  line-height: 1.45;
}

.systems-expanded-home .systems-quote-list li::before {
  position: absolute;
  top: 24px;
  left: 0;
  color: var(--cf-teal);
  content: "—";
  font-size: 1.05rem;
  line-height: 1;
}

.systems-expanded-home .systems-bridge-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--cf-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.systems-expanded-home .systems-narrow { max-width: 980px; }

.systems-expanded-home .process-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid rgba(106, 184, 255, .28);
  border-radius: 999px;
  color: var(--cf-soft);
  background: rgba(7, 20, 30, .58);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.5;
}

.systems-detail-page .systems-hero {
  min-height: auto;
  padding: clamp(70px, 9vw, 126px) 0;
}

.systems-detail-page .systems-hero .hero-shell {
  max-width: 1180px;
  text-align: left;
}

.systems-detail-page .systems-detail-hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(34px, 6vw, 76px);
}

.systems-detail-page .systems-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.systems-detail-page .systems-hero .hero-sub { max-width: 760px; }
.systems-detail-page .systems-hero-proof { aspect-ratio: 1.25 / 1; }
.systems-detail-page .systems-hero-proof img { min-height: 0; }
.systems-detail-page .architecture {
  display: flex;
  width: 100%;
  justify-content: center;
  border-radius: 16px;
  text-align: center;
}

@media (max-width: 980px) {
  .systems-expanded-home .systems-grid-five,
  .systems-expanded-home .systems-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems-expanded-home .systems-proof-layout,
  .systems-detail-page .systems-detail-hero-grid { grid-template-columns: 1fr; }
  .systems-detail-page .systems-hero-proof {
    width: min(720px, 100%);
    aspect-ratio: 16 / 9;
  }
  .systems-expanded-home .systems-proof-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}

@media (max-width: 680px) {
  .systems-expanded-home .systems-section { padding: 64px 0; }
  .systems-expanded-home .systems-grid-five,
  .systems-expanded-home .systems-grid-four,
  .systems-expanded-home .systems-grid-three,
  .systems-expanded-home .systems-grid-two,
  .systems-expanded-home .systems-quote-list,
  .systems-expanded-home .systems-proof-notes { grid-template-columns: 1fr; }
  .systems-expanded-home .systems-section h2 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
  .systems-expanded-home .systems-card-link > div { padding: 22px; }
  .systems-expanded-home .systems-proof-image img { min-height: 260px; }
  .systems-expanded-home .systems-proof-notes p { grid-template-columns: 1fr; gap: 6px; }
  .systems-expanded-home .process-line {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .systems-expanded-home .systems-card-link,
  .systems-expanded-home .systems-card-link img,
  .systems-expanded-home .systems-proof-image,
  .systems-expanded-home .systems-hero-proof { transition: none; }
}

.gsc-inline-link {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  text-decoration-color: rgba(43, 183, 228, 0.62);
}

.gsc-inline-link:hover,
.gsc-inline-link:focus-visible {
  text-decoration-color: currentColor;
}
