:root {
  --home-bg: #07090d;
  --home-bg-2: #0b1017;
  --home-panel: rgba(17, 23, 33, 0.78);
  --home-panel-solid: #101720;
  --home-panel-2: rgba(23, 31, 43, 0.78);
  --home-line: rgba(214, 181, 86, 0.18);
  --home-line-strong: rgba(226, 194, 104, 0.42);
  --home-gold: #d6b556;
  --home-gold-2: #f0d680;
  --home-text: #f7f8fb;
  --home-muted: #b7c0ce;
  --home-subtle: #7f8a9b;
  --home-danger: #e05f5f;
  --home-warning: #efc45b;
  --home-success: #74d69a;
  --home-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --home-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --home-radius: 24px;
  --home-radius-sm: 14px;
  --home-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--home-bg);
}

body {
  margin: 0;
  font-family: var(--home-sans);
  color: var(--home-text);
  background:
    radial-gradient(circle at 18% 8%, rgba(214, 181, 86, 0.12), transparent 34rem),
    radial-gradient(circle at 86% 0%, rgba(68, 91, 124, 0.18), transparent 32rem),
    linear-gradient(180deg, #07090d 0%, #0a0f16 45%, #07090d 100%);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

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

main {
  position: relative;
  overflow: clip;
}

main::before,
main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100svh - 76px);
  bottom: 0;
  pointer-events: none;
}

main::before {
  z-index: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(212, 175, 55, 0.12), transparent 34rem),
    radial-gradient(circle at 82% 30%, rgba(82, 111, 151, 0.12), transparent 38rem),
    radial-gradient(circle at 52% 72%, rgba(212, 175, 55, 0.08), transparent 42rem),
    linear-gradient(180deg, #05070d 0%, #0a0f16 34%, #06080d 68%, #05070d 100%);
}

main::after {
  z-index: 0;
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0 43%, rgba(212, 175, 55, 0.12) 43.15%, transparent 43.45% 100%),
    linear-gradient(65deg, transparent 0 58%, rgba(255, 255, 255, 0.045) 58.15%, transparent 58.45% 100%);
  background-size: 112px 112px, 112px 112px, 680px 420px, 760px 480px;
  background-position: center top, center top, 12% 4%, 88% 18%;
  mask-image: linear-gradient(180deg, transparent 0, black 8%, black 92%, transparent 100%);
}

@media (prefers-reduced-motion: no-preference) {
  main::after {
    animation: intelligence-drift 18s ease-in-out infinite alternate;
  }
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--home-gold);
  color: #081017;
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 44px;
  font-weight: 800;
}

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

.home-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  gap: 16px;
  background: #06080b;
  color: var(--home-gold-2);
  transition: opacity 420ms ease, visibility 420ms ease;
}

.home-loader img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(214, 181, 86, 0.26));
}

.home-loader span {
  font-family: var(--home-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: blur(18px);
}

.home-nav {
  width: min(1200px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  text-decoration: none;
}

.home-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(214, 181, 86, 0.18), 0 12px 36px rgba(0, 0, 0, 0.34);
}

.home-brand strong {
  display: block;
  color: var(--home-text);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.05;
}

.home-brand small {
  display: block;
  margin-top: 3px;
  font-family: var(--home-mono);
  color: var(--home-subtle);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.home-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--home-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-menu a:hover,
.home-menu a:focus-visible {
  color: var(--home-text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.home-menu .nav-cta {
  margin-left: 6px;
  background: var(--home-gold);
  color: #071017;
  box-shadow: 0 10px 34px rgba(214, 181, 86, 0.16);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--home-text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid var(--home-line-strong);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button.primary {
  background: linear-gradient(180deg, var(--home-gold-2), var(--home-gold));
  border-color: rgba(255, 228, 143, 0.8);
  color: #071017;
  box-shadow: 0 18px 60px rgba(214, 181, 86, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.035);
  color: var(--home-text);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 70px rgba(214, 181, 86, 0.16);
}

.button:focus-visible,
.home-menu a:focus-visible,
.case-toolbar button:focus-visible {
  outline: 2px solid rgba(245, 208, 111, 0.82);
  outline-offset: 3px;
}

.hero-cinematic {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: clip;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.hero-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-world-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
  z-index: 0;
  filter: saturate(1.08) contrast(1.08) brightness(0.68);
}

.hero-field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(5, 7, 13, 0.82), rgba(5, 7, 13, 0.62) 48%, rgba(5, 7, 13, 0.72));
}

.hero-field::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 68% 20%, rgba(212, 175, 55, 0.20), transparent 58%);
}

.grid-plane {
  position: absolute;
  inset: -20% -10%;
  opacity: 0.32;
  z-index: 3;
  background-image:
    linear-gradient(rgba(214, 181, 86, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 181, 86, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 55% 38%, black, transparent 70%);
  transform: perspective(900px) rotateX(64deg) translateY(-18%);
  transform-origin: top;
}

.orb {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.16;
}

.orb-one {
  top: 8%;
  right: 12%;
  background: radial-gradient(circle, rgba(214, 181, 86, 0.72), transparent 62%);
}

.orb-two {
  bottom: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(83, 111, 151, 0.58), transparent 64%);
}

.node-map {
  position: absolute;
  width: min(58vw, 860px);
  right: -4vw;
  top: 8%;
  opacity: 0.7;
  z-index: 4;
}

.node-line {
  fill: none;
  stroke: rgba(214, 181, 86, 0.34);
  stroke-width: 1.4;
  stroke-dasharray: 7 12;
}

.nodes circle {
  fill: var(--home-gold-2);
  filter: drop-shadow(0 0 10px rgba(214, 181, 86, 0.7));
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr);
  gap: 48px;
  align-items: center;
  padding: 58px 0 68px;
}

.hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-mark img {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(214, 181, 86, 0.28), 0 0 48px rgba(214, 181, 86, 0.18);
}

.hero-mark p {
  margin: 0 0 6px;
  font-family: var(--home-mono);
  color: var(--home-gold-2);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-mark span {
  display: block;
  color: var(--home-subtle);
  font-size: 0.95rem;
}

.hero-copy h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3.1rem, 6.55vw, 5.75rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  color: var(--home-text);
}

.hero-subline {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--home-muted);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.65;
}

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

.hero-trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-trustbar span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(7, 10, 16, 0.62);
  color: var(--home-muted);
  font-family: var(--home-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-command {
  position: relative;
  min-height: 468px;
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(12, 17, 24, 0.78);
  box-shadow: var(--home-shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.preview-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--home-gold-2);
  font-family: var(--home-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-command::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 48%, transparent 58%),
    radial-gradient(circle at 70% 18%, rgba(214, 181, 86, 0.18), transparent 34%);
  transform: translateX(-80%);
  animation: sweep 6s ease-in-out infinite;
}

.command-top,
.command-list,
.score-ring {
  position: relative;
  z-index: 1;
}

.command-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--home-muted);
  font-size: 0.9rem;
}

.command-top b {
  margin-left: auto;
  color: var(--home-gold-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--home-success);
  box-shadow: 0 0 20px rgba(116, 214, 154, 0.7);
}

.score-ring {
  width: 210px;
  height: 210px;
  margin: 38px auto 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #101720 0 58%, transparent 59%),
    conic-gradient(var(--home-gold-2) calc(var(--score) * 1%), rgba(255, 255, 255, 0.09) 0);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.34), 0 20px 60px rgba(0, 0, 0, 0.32);
}

.score-ring span {
  display: block;
  color: var(--home-text);
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.score-ring small {
  color: var(--home-subtle);
  font-family: var(--home-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.preview-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.preview-cards article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 10%, rgba(212, 175, 55, 0.13), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.preview-cards span {
  display: block;
  color: var(--home-subtle);
  font-family: var(--home-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-cards b {
  display: block;
  margin-top: 7px;
  color: var(--home-text);
  font-size: 0.98rem;
  line-height: 1.25;
}

.risk-badge {
  display: inline-flex;
  margin-top: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.risk-badge.high {
  border: 1px solid rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.12);
  color: #f8d084;
}

.risk-badge.review {
  border: 1px solid rgba(245, 208, 111, 0.34);
  background: rgba(212, 175, 55, 0.1);
  color: var(--home-gold-2);
}

.command-list {
  display: grid;
  gap: 10px;
}

.command-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.command-list span {
  color: var(--home-subtle);
}

.command-list b {
  color: var(--home-text);
  text-align: right;
}

.workflow-section,
.preview-section,
.governance-section,
.trust-section,
.risk-section,
.proof-section {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
  isolation: isolate;
  z-index: 1;
}

.workflow-section::before,
.preview-section::before,
.governance-section::before,
.trust-section::before,
.risk-section::before,
.proof-section::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -2;
  width: 100vw;
  margin-left: -50vw;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.8), rgba(5, 7, 13, 0.48) 46%, rgba(5, 7, 13, 0.82)),
    radial-gradient(circle at var(--section-glow-x, 78%) 20%, rgba(212, 175, 55, 0.11), transparent 30rem);
  opacity: 0.78;
}

.workflow-section::after,
.preview-section::after,
.governance-section::after,
.trust-section::after,
.risk-section::after,
.proof-section::after {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  margin-left: -50vw;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
  background-size: 96px 96px, 96px 96px, 100% 1px;
  background-position: center, center, center top;
  mask-image: linear-gradient(180deg, transparent, black 16%, black 84%, transparent);
  opacity: 0.55;
}

.workflow-section {
  --section-glow-x: 20%;
}

.preview-section {
  --section-glow-x: 82%;
}

.governance-section {
  --section-glow-x: 50%;
}

.trust-section {
  --section-glow-x: 18%;
}

.risk-section {
  --section-glow-x: 72%;
}

.proof-section {
  --section-glow-x: 78%;
}

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

.section-heading.center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.compact {
  max-width: 560px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--home-gold-2);
  font-family: var(--home-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.proof-section h2 {
  margin: 0;
  color: var(--home-text);
  font-size: clamp(2.15rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading p,
.proof-section p {
  margin: 20px 0 0;
  color: var(--home-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.workflow-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 44px;
  padding-top: 54px;
  overflow-x: auto;
  scrollbar-color: var(--home-line-strong) transparent;
}

.workflow-rail::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.rail-progress {
  position: absolute;
  top: 5px;
  left: 0;
  width: 16%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--home-gold), var(--home-gold-2));
  box-shadow: 0 0 28px rgba(214, 181, 86, 0.45);
}

.evidence-packet {
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(212, 175, 55, 0.44);
  border-radius: 999px;
  background: rgba(11, 15, 25, 0.92);
  color: var(--home-gold-2);
  font-family: var(--home-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.22);
  transform: translateX(0);
}

.evidence-packet span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--home-gold-2);
  box-shadow: 0 0 14px rgba(245, 208, 111, 0.72);
}

.flow-step {
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  min-width: 0;
}

.flow-step.active,
.flow-step:hover {
  transform: translateY(-6px);
  border-color: var(--home-line-strong);
  background: rgba(214, 181, 86, 0.07);
}

.flow-step span,
.governance-grid span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid var(--home-line-strong);
  border-radius: 999px;
  color: var(--home-gold-2);
  font-family: var(--home-mono);
  font-size: 0.78rem;
}

.flow-step h3,
.governance-grid h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.flow-step p,
.governance-grid p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.6;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.preview-grid,
.risk-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.solution-grid article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--home-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024)),
    rgba(10, 15, 23, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.solution-grid article::after {
  content: "";
  position: absolute;
  inset: auto -24% -34% 34%;
  height: 150px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 999px;
  transform: rotate(-16deg);
}

.solution-grid article:hover {
  transform: translateY(-5px);
  border-color: var(--home-line-strong);
  background:
    radial-gradient(circle at 30% 0%, rgba(212, 175, 55, 0.12), transparent 40%),
    rgba(12, 17, 25, 0.82);
}

.solution-grid span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 30px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--home-gold-2);
  font-family: var(--home-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution-grid h3 {
  margin: 0 0 10px;
  color: var(--home-text);
  font-size: 1.15rem;
}

.solution-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--home-muted);
  line-height: 1.6;
}

.case-preview {
  border: 1px solid var(--home-line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 12%, rgba(214, 181, 86, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  padding: 24px;
  box-shadow: var(--home-shadow);
  min-width: 0;
}

.case-toolbar,
.case-body,
.case-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.case-toolbar,
.case-body {
  flex-wrap: wrap;
}

.case-toolbar span {
  color: var(--home-gold-2);
  font-family: var(--home-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.case-toolbar button {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--home-text);
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}

.case-body {
  margin-top: 42px;
  align-items: flex-start;
}

.case-body small {
  color: var(--home-subtle);
  font-family: var(--home-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.case-body h3 {
  margin: 8px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.case-badge {
  border: 1px solid var(--home-line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--home-gold-2);
  background: rgba(214, 181, 86, 0.07);
  font-weight: 800;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: center;
}

.case-meter {
  height: 8px;
  margin: 34px 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.case-meter span {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--home-success), var(--home-warning), var(--home-danger));
  transition: width 380ms ease;
}

.case-preview p {
  color: var(--home-muted);
  line-height: 1.65;
  overflow-wrap: break-word;
  word-break: break-word;
}

.case-details {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  min-width: 0;
}

.case-details span {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  color: var(--home-subtle);
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.case-details b {
  display: block;
  margin-top: 6px;
  color: var(--home-text);
  font-size: 1.35rem;
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.governance-grid article,
.trust-grid article {
  min-height: 280px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.035);
  min-width: 0;
}

.trust-section {
  overflow: clip;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.trust-grid article {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  min-width: 0;
}

.trust-grid article::after {
  content: "";
  position: absolute;
  inset: auto -40% -55% 38%;
  height: 180px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.trust-grid article:hover {
  transform: translateY(-5px);
  border-color: var(--home-line-strong);
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.18), transparent 34%),
    rgba(212, 175, 55, 0.055);
}

.trust-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border: 1px solid var(--home-line-strong);
  border-radius: 999px;
  color: var(--home-gold-2);
  font-family: var(--home-mono);
  font-size: 0.76rem;
}

.trust-grid h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.trust-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--home-muted);
  line-height: 1.65;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.risk-pyramid {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--home-line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 181, 86, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--home-shadow);
}

.risk-layer {
  height: 62px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 181, 86, 0.22);
  background: linear-gradient(90deg, rgba(214, 181, 86, 0.08), rgba(255, 255, 255, 0.045));
  color: var(--home-text);
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.risk-layer.impact { width: 42%; border-radius: 20px 20px 8px 8px; color: var(--home-gold-2); }
.risk-layer.compliance { width: 56%; }
.risk-layer.security { width: 70%; }
.risk-layer.model { width: 84%; }
.risk-layer.data { width: 100%; border-radius: 8px 8px 22px 22px; }

.proof-section {
  padding-bottom: 128px;
}

.proof-section article {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 7vw, 78px);
  border: 1px solid var(--home-line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 84% 14%, rgba(214, 181, 86, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: var(--home-shadow);
}

.proof-section article::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: 8%;
  bottom: -84px;
  border: 1px solid rgba(214, 181, 86, 0.22);
  border-radius: 999px;
}

.proof-section p {
  max-width: 760px;
}

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

/* Premium glass-card treatment for the homepage surface system. */
.hero-command,
.preview-cards article,
.flow-step,
.solution-grid article,
.case-preview,
.governance-grid article,
.trust-grid article,
.risk-pyramid,
.proof-section article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 208, 111, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.024)),
    rgba(9, 14, 22, 0.78);
  border-color: rgba(245, 208, 111, 0.18);
  box-shadow:
    0 24px 84px rgba(0, 0, 0, 0.34),
    0 0 38px rgba(212, 175, 55, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(212, 175, 55, 0.06);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.hero-command::before,
.preview-cards article::before,
.flow-step::before,
.solution-grid article::before,
.case-preview::before,
.governance-grid article::before,
.trust-grid article::before,
.risk-pyramid::before,
.proof-section article::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(245, 208, 111, 0.22) 44%, transparent 54% 100%),
    radial-gradient(circle at var(--glow-x, 22%) var(--glow-y, 8%), rgba(212, 175, 55, 0.20), transparent 36%);
  transform: translateX(-36%);
  transition: opacity 180ms ease, transform 560ms ease;
}

.hero-command:hover,
.preview-cards article:hover,
.flow-step:hover,
.solution-grid article:hover,
.case-preview:hover,
.governance-grid article:hover,
.trust-grid article:hover,
.risk-pyramid:hover,
.proof-section article:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 208, 111, 0.46);
  box-shadow:
    0 30px 110px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(212, 175, 55, 0.13),
    0 0 44px rgba(212, 175, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-command:hover::before,
.preview-cards article:hover::before,
.flow-step:hover::before,
.solution-grid article:hover::before,
.case-preview:hover::before,
.governance-grid article:hover::before,
.trust-grid article:hover::before,
.risk-pyramid:hover::before,
.proof-section article:hover::before {
  opacity: 1;
  transform: translateX(22%);
}

.hero-command > *,
.preview-cards article > *,
.flow-step > *,
.solution-grid article > *,
.case-preview > *,
.governance-grid article > *,
.trust-grid article > *,
.risk-pyramid > *,
.proof-section article > * {
  position: relative;
  z-index: 1;
}

.home-footer {
  width: min(1200px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--home-subtle);
}

.home-footer div,
.home-footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--home-muted);
}

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

.motion-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 640ms ease, transform 640ms ease;
}

@keyframes sweep {
  0%, 58%, 100% { transform: translateX(-82%); opacity: 0; }
  18%, 34% { opacity: 1; }
  42% { transform: translateX(76%); opacity: 0; }
}

@keyframes intelligence-drift {
  0% { background-position: center top, center top, 12% 4%, 88% 18%; }
  100% { background-position: center top, center top, 16% 8%, 84% 14%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-command,
  .preview-cards article,
  .flow-step,
  .solution-grid article,
  .case-preview,
  .governance-grid article,
  .trust-grid article,
  .risk-pyramid,
  .proof-section article {
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  }

  .hero-command:hover,
  .preview-cards article:hover,
  .flow-step:hover,
  .solution-grid article:hover,
  .case-preview:hover,
  .governance-grid article:hover,
  .trust-grid article:hover,
  .risk-pyramid:hover,
  .proof-section article:hover {
    transform: none;
  }

  .hero-command::before,
  .preview-cards article::before,
  .flow-step::before,
  .solution-grid article::before,
  .case-preview::before,
  .governance-grid article::before,
  .trust-grid article::before,
  .risk-pyramid::before,
  .proof-section article::before {
    transition: opacity 180ms ease;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .home-menu {
    position: fixed;
    inset: 76px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--home-line);
    border-radius: 22px;
    background: rgba(9, 13, 19, 0.96);
    box-shadow: var(--home-shadow);
  }

  .home-menu.is-open { display: flex; }
  .home-menu a { justify-content: flex-start; }
  .home-menu .nav-cta { margin-left: 0; justify-content: center; }
  .nav-toggle { display: block; }

  .hero-shell,
  .preview-grid,
  .risk-layout {
    grid-template-columns: 1fr;
  }

  .hero-command {
    min-height: auto;
  }

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

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

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

@media (max-width: 720px) {
  .home-nav,
  .hero-shell,
  .workflow-section,
  .preview-section,
  .governance-section,
  .trust-section,
  .risk-section,
  .proof-section,
  .home-footer {
    width: min(100% - 32px, 1200px);
  }

  .home-brand small { display: none; }
  .hero-shell { padding: 42px 0 58px; gap: 30px; }
  .hero-mark { align-items: flex-start; }
  .hero-mark img { width: 62px; height: 62px; border-radius: 16px; }
  .hero-copy h1 { font-size: clamp(2.65rem, 12.2vw, 3.7rem); line-height: .96; letter-spacing: -0.062em; }
  .hero-subline { margin-top: 20px; font-size: 1rem; line-height: 1.58; }
  .hero-actions { margin-top: 24px; }
  .hero-trustbar span { width: 100%; justify-content: center; }
  .hero-actions .button,
  .proof-actions .button { width: 100%; }
  .preview-cards { grid-template-columns: 1fr; }
  .node-map { width: 110vw; right: -44vw; top: 10%; opacity: 0.42; }
  .score-ring { width: 210px; height: 210px; margin: 36px auto 30px; }
  .workflow-section,
  .preview-section,
  .governance-section,
  .trust-section,
  .risk-section,
  .proof-section { padding: 74px 0; }
  .workflow-rail { grid-template-columns: 1fr; overflow: visible; }
  .evidence-packet { display: none; }
  .rail-progress { display: none; }
  .flow-step { min-height: auto; }
  .governance-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .governance-grid article { min-height: auto; }
  .solution-grid article { min-height: auto; }
  .trust-grid article { min-height: auto; }
  .case-body,
  .case-toolbar { align-items: flex-start; flex-direction: column; }
  .case-details { grid-template-columns: 1fr; }
  .risk-pyramid { padding: 18px; }
  .risk-layer { height: 56px; font-size: 0.92rem; }
  .risk-layer.impact { width: 64%; }
  .risk-layer.compliance { width: 73%; }
  .risk-layer.security { width: 82%; }
  .risk-layer.model { width: 91%; }
  .home-footer { align-items: flex-start; flex-direction: column; padding: 24px 0; }
}

@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;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .home-loader {
    display: none;
  }
}
