.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--head-h));
  padding: 28px 0 34px;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 58% 54% at 18% 30%, rgba(var(--accent-rgb), 0.09), transparent 68%),
    radial-gradient(ellipse 40% 48% at 82% 45%, rgba(var(--accent-rgb), 0.045), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(590px, 1.16fr);
  gap: clamp(44px, 4.2vw, 66px);
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero .tag {
  margin-bottom: 18px;
}
h1.hero-headline {
  max-width: 15ch;
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(46px, 4.2vw, 64px);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 0.97;
}
h1.hero-headline .l2 {
  color: var(--accent);
}
.hero-lede {
  max-width: 63ch;
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.55;
}
.hero-lede b {
  color: var(--text);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(16px, 1.7vw, 24px);
}
.deploy-proof {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  margin: 0;
  padding-left: clamp(16px, 1.7vw, 24px);
  border-left: 1px solid var(--rule-strong);
}
.deploy-proof strong {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-shadow: 0 0 22px rgba(var(--accent-rgb), 0.32);
}
.deploy-proof span {
  max-width: 16ch;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}
.trust-line {
  max-width: 72ch;
  margin: 0;
  color: var(--text-2);
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: normal;
  line-height: 1.7;
}
.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
}

.outcome-ui {
  --text: #f0ede0;
  --text-2: #c6c3b6;
  --text-3: #8b8878;
  --rule: rgba(232, 229, 214, 0.1);
  --rule-strong: rgba(232, 229, 214, 0.22);
  --line: rgba(240, 237, 224, 0.13);
  --line-soft: rgba(240, 237, 224, 0.075);
  position: relative;
  margin: 0;
  border: 1px solid rgba(240, 237, 224, 0.16);
  background: linear-gradient(rgba(240, 237, 224, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 237, 224, 0.025) 1px, transparent 1px), #090c0d;
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow: 0 48px 130px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(56, 224, 0, 0.045);
  color: var(--text);
  font-family: var(--sans);
  overflow: hidden;
}
.outcome-ui::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #1d7300 58%, transparent);
}
.outcome-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 18, 0.97);
}
.outcome-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.outcome-logo {
  display: block;
  width: 92px;
  height: auto;
}
.outcome-context {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #747d78;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-shell {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
}
.product-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 19px 11px;
  border-right: 1px solid var(--line);
  background: rgba(10, 13, 14, 0.95);
}
.product-nav-label {
  margin: 0 8px 11px;
  color: #56605b;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.product-nav-item {
  position: relative;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border: 1px solid transparent;
  color: #7b8580;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}
.product-nav-item i {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid #58625d;
}
.product-nav-item i::before,
.product-nav-item i::after {
  content: "";
  position: absolute;
}
.nav-activity::before {
  left: 3px;
  right: 3px;
  bottom: 3px;
  height: 1px;
  background: #65706a;
  box-shadow: 0 -3px #65706a, 0 -6px #65706a;
}
.nav-inventory::before {
  inset: 3px;
  border: 1px solid #65706a;
}
.nav-risk {
  border-radius: 50%;
}
.nav-risk::before {
  inset: 3px;
  border-radius: 50%;
  background: currentColor;
}
.nav-report::before {
  left: 3px;
  right: 3px;
  top: 4px;
  height: 1px;
  background: #65706a;
  box-shadow: 0 3px #65706a, 0 6px #65706a;
}
.product-nav-item.is-current {
  border-color: rgba(56, 224, 0, 0.2);
  background: rgba(56, 224, 0, 0.065);
  color: var(--text);
}
.product-nav-item.is-current::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #38e000;
  box-shadow: 0 0 10px rgba(56, 224, 0, 0.42);
}
.product-nav-item.is-current i {
  border-color: #38e000;
  color: #38e000;
}

.product-content {
  min-width: 0;
  padding-bottom: 12px;
  background: rgba(9, 12, 13, 0.66);
}
.product-page-head {
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
}
.product-page-head div span,
.product-page-head div strong {
  display: block;
}
.product-page-head div span {
  margin-bottom: 3px;
  color: #68726d;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.product-page-head div strong {
  color: var(--text);
  font-size: 16px;
  letter-spacing: -0.02em;
}
.product-period {
  color: #77817c;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.risk-local-nav {
  min-height: 39px;
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
}
.risk-local-nav strong,
.risk-local-nav span {
  position: relative;
  display: flex;
  align-items: center;
  color: #68726d;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.risk-local-nav strong {
  color: var(--text);
}
.risk-local-nav strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #38e000;
}

.risk-chart {
  margin: 12px 15px 0;
  padding: 12px 12px 11px;
  border: 1px solid var(--line);
  background: rgba(15, 19, 20, 0.94);
}
.pipeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.pipeline-head strong {
  color: var(--text);
  font-size: 10px;
}
.pipeline-head span {
  color: #737c77;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pipeline-flow {
  display: grid;
  grid-template-columns: 1.8fr 1.35fr 0.8fr 0.34fr;
  gap: 2px;
  height: 20px;
  margin-bottom: 8px;
  overflow: hidden;
}
.pipeline-flow i {
  display: block;
  background: linear-gradient(90deg, rgba(56, 224, 0, 0.28), rgba(56, 224, 0, 0.65));
  clip-path: polygon(0 4%, 100% 26%, 100% 74%, 0 96%);
}
.pipeline-flow i:nth-child(2) {
  background: linear-gradient(90deg, rgba(56, 224, 0, 0.58), rgba(209, 194, 47, 0.58));
}
.pipeline-flow i:nth-child(3) {
  background: linear-gradient(90deg, rgba(226, 158, 39, 0.72), rgba(214, 34, 41, 0.74));
}
.pipeline-flow i:nth-child(4) {
  background: var(--swiss-red);
}
.pipeline-steps {
  display: grid;
  grid-template-columns: 1.8fr 1.35fr 0.8fr 0.34fr;
  gap: 7px;
}
.pipeline-steps div {
  min-width: 0;
}
.pipeline-steps strong,
.pipeline-steps span {
  display: block;
}
.pipeline-steps strong {
  margin-bottom: 2px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
}
.pipeline-steps span {
  overflow: hidden;
  color: #737c77;
  font-size: 7px;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.recent-activities {
  margin: 10px 15px 0;
  border: 1px solid var(--line);
  background: rgba(15, 19, 20, 0.94);
}
.recent-head {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.recent-head strong {
  color: var(--text);
  font-size: 10.5px;
}
.recent-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.recent-table th,
.recent-table td {
  min-width: 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}
.recent-table th {
  padding: 7px 8px;
  background: rgba(240, 237, 224, 0.018);
  color: #a3aca7;
  font-family: var(--mono);
  font-size: 6.7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.recent-table td {
  padding: 8px;
  color: #858e89;
  font-size: 7.8px;
  line-height: 1.3;
}
.recent-table tbody tr:last-child td {
  border-bottom: 0;
}
.recent-table th:nth-child(1),
.recent-table td:nth-child(1) {
  width: 15%;
}
.recent-table th:nth-child(2),
.recent-table td:nth-child(2) {
  width: 34%;
}
.recent-table td:nth-child(2) {
  color: #dcdbd1;
  font-weight: 600;
}
.recent-table th:nth-child(3),
.recent-table td:nth-child(3) {
  width: 20%;
}
.recent-table th:nth-child(4),
.recent-table td:nth-child(4) {
  width: 14%;
}
.recent-table th:nth-child(5),
.recent-table td:nth-child(5) {
  width: 17%;
}
.severity {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 6.8px;
  font-weight: 600;
  text-transform: uppercase;
}
.severity i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.severity.high {
  color: #ff777d;
}
.severity.high i {
  background: #ed4e55;
  box-shadow: 0 0 7px rgba(237, 78, 85, 0.48);
}
.severity.medium {
  color: #e6bc54;
}
.severity.medium i {
  background: #d5a73c;
  box-shadow: 0 0 7px rgba(213, 167, 60, 0.4);
}
.severity.low {
  color: #80df64;
}
.severity.low i {
  background: #57c936;
  box-shadow: 0 0 7px rgba(87, 201, 54, 0.4);
}
.decision {
  display: inline-block;
  padding: 3px 5px;
  border: 1px solid;
  font-family: var(--mono);
  font-size: 6.2px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.decision.blocked {
  border-color: rgba(214, 34, 41, 0.3);
  background: rgba(214, 34, 41, 0.075);
  color: #ff858a;
}
.decision.alert {
  border-color: rgba(213, 167, 60, 0.3);
  background: rgba(213, 167, 60, 0.065);
  color: #e6bc54;
}

#problem {
  padding-bottom: 54px;
  border-top: 1px solid var(--rule);
  border-bottom: 0;
}
#transformation {
  padding-top: 54px;
  border-bottom: 1px solid var(--rule);
}
#transformation .plate-head {
  margin-bottom: 30px;
}
#trace {
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.03), transparent 42%), var(--plate-band);
  border-bottom: 0;
}
#plans {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
#plans .plate-head .right {
  max-width: none;
}
#faq {
  border-bottom: 0;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.problem-card {
  position: relative;
  min-width: 0;
  min-height: 310px;
  background: linear-gradient(135deg, rgba(240, 237, 224, 0.025), transparent 45%), var(--surface);
  overflow: hidden;
}
.problem-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(240, 237, 224, 0.025), transparent 45%), var(--surface-2);
}
.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--accent);
  transition: width 0.45s var(--ease);
}
.problem-card:hover::before {
  width: 100%;
}
.problem-copy {
  padding: 34px 30px 36px;
}
.problem-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.problem-card h3 {
  max-width: 18ch;
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(22px, 2.05vw, 29px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.problem-card p {
  max-width: 46ch;
  margin: 0;
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.6;
}

.transformation-rows {
  border-top: 1px solid var(--line);
}
.transformation-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.9fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  padding: 16px clamp(16px, 1.6vw, 24px);
  border-bottom: 1px solid var(--line);
}
.transformation-row > p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
.shift-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 11px;
  align-items: stretch;
  margin: 0;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.shift-state {
  min-width: 0;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.shift-state small {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.shift-from {
  border-color: var(--rule-strong);
  background: var(--line-soft);
  color: var(--text);
}
.shift-from small {
  color: var(--text-3);
}
.shift-to {
  border-color: rgba(var(--accent-rgb), 0.42);
  background: rgba(var(--accent-rgb), 0.075);
  box-shadow: inset 0 2px rgba(var(--accent-rgb), 0.82);
  color: var(--text);
}
.shift-to small {
  color: var(--accent);
}
.shift-arrow {
  position: relative;
  display: grid;
  place-items: center;
}
.shift-arrow::before {
  content: "\2192";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 300;
  text-shadow: 0 0 16px rgba(var(--accent-rgb), 0.38);
}

#trace .plate-head,
#trace .plate-head.stack .right {
  max-width: none;
}
#trace .plate-head h2.tight {
  max-width: 26ch;
}
.trace-claim {
  max-width: 18ch;
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1;
}
.trace-loop-copy {
  white-space: nowrap;
}
.trace-loop {
  position: relative;
  margin: 26px 0 36px;
}
.trace-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0 26px 40px;
  border: 1px dashed rgba(var(--accent-rgb), 0.34);
  border-top: 1px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 16px;
  list-style: none;
  counter-reset: trace;
}
.trace-border-flow {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.trace-border-flow rect {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 6 44;
  animation: trace-perimeter 7s linear infinite;
}
.trace-border-halo {
  stroke-width: 12;
  opacity: 0.48;
  filter: blur(7px);
}
.trace-border-line {
  stroke-width: 2;
  filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), 0.82));
}
.trace-mobile-flow {
  display: none;
}
@keyframes trace-perimeter {
  to {
    stroke-dashoffset: -100;
  }
}
.trace-step {
  position: relative;
  min-width: 0;
  padding-right: 26px;
  counter-increment: trace;
}
.trace-step:last-child {
  padding-right: 0;
}
.trace-step::before {
  content: counter(trace);
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin: -16px auto 24px;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 50%;
  background: var(--plate-band);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.trace-step:hover::before {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.45);
}
.trace-step.is-line-crossing::before {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow:
    0 0 0 3px rgba(var(--accent-rgb), 0.5),
    0 0 18px 7px rgba(var(--accent-rgb), 0.8),
    0 0 36px 11px rgba(var(--accent-rgb), 0.38);
}
.trace-step h3 {
  min-width: 0;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(18px, 1.5vw, 22px);
  font-variant-caps: small-caps;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-align: center;
}
.trace-step p {
  margin: 0;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
  text-align: center;
}
.trace-return {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  text-align: center;
  pointer-events: none;
}
.trace-return span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 1px 18px;
  background: var(--plate-band);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(50%);
}

@media (min-width: 1081px) and (max-height: 900px) {
  .hero {
    padding-top: 20px;
    padding-bottom: 24px;
  }
  .hero .tag {
    margin-bottom: 14px;
  }
  h1.hero-headline {
    margin-bottom: 16px;
    font-size: clamp(44px, 3.8vw, 58px);
  }
  .hero-lede {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 1080px) {
  .hero {
    padding: 38px 0 48px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    width: min(100%, 760px);
    margin: 0 auto;
  }
  .problem-card {
    min-height: 330px;
  }
}

@media (min-width: 721px) and (max-width: 1080px) {
  .trace-steps {
    padding-right: 16px;
    padding-bottom: 36px;
    padding-left: 16px;
  }
  .trace-step {
    padding-right: 14px;
  }
  .trace-step::before {
    margin-bottom: 20px;
  }
  .trace-step h3 {
    margin-bottom: 10px;
    font-size: clamp(15px, 2vw, 19px);
  }
  .trace-step p {
    font-size: 13px;
    line-height: 1.48;
  }
}

@media (max-width: 720px) {
  .trace-loop {
    margin-bottom: 8px;
  }
  .trace-border-flow {
    display: none;
  }
  .trace-mobile-flow {
    position: absolute;
    z-index: 1;
    left: 15.5px;
    top: 0;
    display: block;
    width: 3px;
    height: 58px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.72), var(--accent), rgba(var(--accent-rgb), 0.72), transparent);
    box-shadow: 0 0 12px 4px rgba(var(--accent-rgb), 0.48);
    pointer-events: none;
    will-change: transform;
  }
  .trace-steps {
    grid-template-columns: 1fr;
    padding: 0;
    border: 0;
    border-radius: 0;
  }
  .trace-steps::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 15px;
    bottom: 22px;
    width: 1px;
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.55), rgba(var(--accent-rgb), 0.18));
  }
  .trace-step {
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr);
    column-gap: 17px;
    padding: 0 0 26px;
  }
  .trace-step:last-child {
    padding-bottom: 0;
  }
  .trace-step::before {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }
  .trace-step h3 {
    grid-column: 2;
    align-self: center;
    margin-bottom: 8px;
    text-align: left;
  }
  .trace-step p {
    grid-column: 2;
    text-align: left;
  }
  .trace-return {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 22px;
    padding-left: 48px;
    text-align: left;
  }
  .trace-return span {
    padding: 0;
    background: transparent;
    transform: none;
  }
}

@media (max-width: 900px) {
  .trust-line .nb {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  h1.hero-headline {
    max-width: 16ch;
  }
  #problem,
  #transformation {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  .problem-cards {
    grid-template-columns: 1fr;
  }
  .problem-card {
    min-height: 0;
  }
  .transformation-row {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-top: 19px;
    padding-bottom: 21px;
  }
  .trace-loop-copy {
    white-space: normal;
  }
  .trace-claim {
    font-size: clamp(30px, 7.5vw, 42px);
  }
}

@media (max-width: 560px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .deploy-proof {
    align-self: stretch;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--rule-strong);
  }
  .deploy-proof span {
    max-width: none;
  }
}

@media (max-width: 580px) {
  .product-shell {
    grid-template-columns: 1fr;
  }
  .product-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .product-nav-label {
    display: none;
  }
  .product-nav-item {
    min-height: 47px;
    justify-content: center;
    gap: 5px;
    padding: 7px 4px;
    border-right: 1px solid var(--line-soft);
    font-size: 6.8px;
  }
  .product-nav-item:last-child {
    border-right: 0;
  }
  .product-nav-item i {
    width: 12px;
    height: 12px;
  }
  .product-nav-item.is-current::before {
    inset: auto 8px -1px;
    width: auto;
    height: 2px;
  }
  .risk-local-nav {
    gap: 14px;
    overflow: hidden;
  }
  .risk-local-nav strong,
  .risk-local-nav span {
    font-size: 6.7px;
    white-space: nowrap;
  }
  .recent-table {
    table-layout: auto;
  }
  .recent-table thead {
    display: none;
  }
  .recent-table tbody,
  .recent-table tr,
  .recent-table td {
    display: block;
    width: 100%;
  }
  .recent-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    padding: 11px 12px 12px;
    border-bottom: 1px solid var(--line-soft);
  }
  .recent-table tbody tr:last-child {
    border-bottom: 0;
  }
  .recent-table td,
  .recent-table tbody tr:last-child td {
    padding: 0;
    border: 0;
    font-size: 8px;
  }
  .recent-table td:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 9.5px;
    line-height: 1.4;
  }
  .recent-table td::before {
    display: block;
    margin-bottom: 3px;
    color: #a3aca7;
    font-family: var(--mono);
    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .recent-table td:nth-child(1)::before {
    content: "Severity";
  }
  .recent-table td:nth-child(2)::before {
    content: "Alert";
  }
  .recent-table td:nth-child(3)::before {
    content: "Category";
  }
  .recent-table td:nth-child(4)::before {
    content: "Channel";
  }
  .recent-table td:nth-child(5)::before {
    content: "Status";
  }
  .shift-title {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .shift-state {
    min-height: 0;
  }
  .shift-arrow {
    min-height: 32px;
  }
  .shift-arrow::before {
    content: "\2193";
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .outcome-context > span:last-child {
    display: none;
  }
  .pipeline-steps span {
    font-size: 6.4px;
  }
  #problem,
  #transformation {
    padding-top: 58px;
    padding-bottom: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trace-border-flow,
  .trace-mobile-flow {
    display: none;
  }
}
