:root {
  --ink: #07111f;
  --ink-soft: #132238;
  --paper: #f6f8f5;
  --white: #ffffff;
  --line: #dbe2e7;
  --muted: #647386;
  --blue: #215cff;
  --blue-dark: #1547d8;
  --blue-soft: #e9efff;
  --green: #10a979;
  --green-soft: #e5f8f1;
  --orange: #f18336;
  --red: #e25555;
  --shadow: 0 24px 80px rgba(7, 17, 31, 0.12);
  --radius: 24px;
  --font-display: "Bricolage Grotesque", "PingFang SC", sans-serif;
  --font-body: "IBM Plex Sans SC", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: white;
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

:focus-visible {
  outline: 3px solid rgba(33, 92, 255, 0.36);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(219, 226, 231, 0.8);
  box-shadow: 0 8px 30px rgba(7, 17, 31, 0.06);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.brand-mark,
.cta-mark {
  position: relative;
  display: grid;
  width: 29px;
  height: 29px;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: var(--ink);
  transform: rotate(-8deg);
}

.brand-mark span,
.cta-mark span {
  display: block;
  border-radius: 2px;
  background: white;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3),
.cta-mark span:nth-child(2),
.cta-mark span:nth-child(3) {
  background: #55d5ac;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav a,
.text-link {
  color: #3a485a;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 650;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 9px;
  font-size: 13px;
}

.button-dark {
  color: white;
  background: var(--ink);
  box-shadow: 0 8px 22px rgba(7, 17, 31, 0.16);
}

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 15px 35px rgba(33, 92, 255, 0.3);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 18px 40px rgba(33, 92, 255, 0.35);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: #cdd6dd;
  box-shadow: 0 8px 24px rgba(7, 17, 31, 0.05);
}

.play-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--blue);
  border-radius: 50%;
  background: var(--blue-soft);
  font-size: 9px;
}

.hero {
  position: relative;
  min-height: 850px;
  padding: 160px 0 110px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f6f8f5 75%, #f6f8f5 100%);
}

.hero-grid,
.trace-grid-bg,
.cta-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: linear-gradient(rgba(7, 17, 31, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 17, 31, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.18;
  pointer-events: none;
}

.hero-orb-blue {
  top: 80px;
  right: 9%;
  background: #2f6bff;
}

.hero-orb-green {
  left: 5%;
  bottom: 0;
  background: #55d5ac;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(400px, 0.88fr) minmax(570px, 1.12fr);
  align-items: center;
  gap: 55px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: #324255;
  border: 1px solid #d9e0e5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 169, 121, 0.12);
}

.hero h1,
.section-heading h2,
.trace-copy h2,
.dashboard-copy h2,
.security-copy h2,
.final-cta h2 {
  margin: 25px 0 22px;
  font-family: var(--font-display);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(48px, 5.25vw, 76px);
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: #526174;
  font-size: 18px;
  line-height: 1.85;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 20px;
  color: #637183;
  font-size: 12px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-proof i {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.hero-product {
  position: relative;
  min-width: 0;
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
  transform-origin: center left;
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(166, 179, 190, 0.68);
  border-radius: 20px;
  background: white;
  box-shadow: 0 38px 90px rgba(7, 17, 31, 0.18), 0 4px 16px rgba(7, 17, 31, 0.08);
}

.window-bar {
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #e7ecef;
}

.window-brand,
.window-tools,
.ui-top,
.permission-top {
  display: flex;
  align-items: center;
}

.window-brand {
  gap: 9px;
  font-size: 11px;
}

.mini-mark {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: conic-gradient(from 90deg, var(--blue), #66d7b0, var(--ink), var(--blue));
}

.demo-label {
  padding: 2px 7px;
  color: #718093;
  border-radius: 999px;
  background: #f0f3f5;
  font-size: 8px;
}

.window-tools {
  gap: 12px;
  font-size: 9px;
}

.status-live {
  color: #4f6072;
}

.status-live i,
.chat-top small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 3px;
  border-radius: 50%;
  background: var(--green);
}

.avatar {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: var(--ink-soft);
  font-size: 10px;
  font-style: normal;
}

.product-body {
  display: grid;
  min-height: 420px;
  grid-template-columns: 50px 1fr;
}

.product-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 18px 9px;
  border-right: 1px solid #e7ecef;
  background: #fafbfb;
}

.side-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #8190a0;
  border-radius: 8px;
  font-size: 12px;
}

.side-active {
  color: white;
  background: var(--ink);
}

.side-spacer {
  flex: 1;
}

.product-main {
  min-width: 0;
  padding: 21px 22px;
  background: #fbfcfc;
}

.product-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.product-heading p,
.product-heading h2 {
  margin: 0;
}

.product-heading p {
  color: #7d8a99;
  font-size: 9px;
}

.product-heading h2 {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.product-heading button,
.card-title button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #dce3e8;
  border-radius: 7px;
  background: white;
  font-size: 8px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.metric-card {
  display: grid;
  min-height: 90px;
  padding: 12px;
  border: 1px solid #e4e9ed;
  border-radius: 10px;
  background: white;
  box-shadow: 0 5px 18px rgba(7, 17, 31, 0.025);
}

.metric-card span,
.metric-card small {
  color: #718092;
  font-size: 8px;
}

.metric-card strong {
  margin-block: 1px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.metric-card .up,
.up {
  color: var(--green);
}

.metric-alert strong,
.metric-alert small {
  color: var(--orange);
}

.chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(145px, 0.9fr);
  gap: 10px;
  margin-top: 10px;
}

.chart-card,
.ai-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid #e4e9ed;
  border-radius: 10px;
  background: white;
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title div {
  display: grid;
}

.card-title strong {
  font-size: 9px;
}

.card-title span,
.legend {
  color: #8491a0;
  font-size: 7px;
}

.legend i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.chart-area {
  position: relative;
  height: 140px;
  margin-top: 10px;
}

.chart-lines {
  position: absolute;
  inset: 0 0 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-lines i {
  border-top: 1px dashed #e6eaee;
}

.chart-area svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(100% - 15px);
  overflow: visible;
}

.area-path {
  fill: url(#chartFill);
}

.line-path {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-width: 3;
}

.chart-area circle {
  fill: white;
  stroke: var(--blue);
  stroke-width: 3;
}

.chart-days {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: #9ba5b0;
  font-size: 6px;
}

.ai-card {
  color: white;
  background: var(--ink);
}

.ai-card-top {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
}

.ai-card-top i {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 169, 121, 0.12);
}

.ai-spark {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--ink);
  border-radius: 6px;
  background: #64d8b1;
}

.ai-question {
  margin: 14px 0 9px;
  font-size: 9px;
  font-weight: 600;
}

.answer-line {
  display: block;
  width: 70%;
  height: 5px;
  margin-top: 5px;
  border-radius: 4px;
  background: #304054;
}

.answer-line.wide {
  width: 92%;
}

.risk-item {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #26364a;
}

.risk-dot {
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 85, 85, 0.12);
}

.risk-item div {
  display: grid;
  min-width: 0;
}

.risk-item strong {
  overflow: hidden;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.risk-item span {
  color: #8fa0b3;
  font-size: 6px;
}

.risk-item b {
  margin-left: auto;
  color: #ff8c8c;
  font-size: 7px;
}

.source-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 7px;
  color: #86a7ff;
  border-radius: 5px;
  background: rgba(33, 92, 255, 0.15);
  font-size: 6px;
}

.trace-float {
  position: absolute;
  right: -18px;
  bottom: -32px;
  display: flex;
  width: min(330px, 74%);
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(198, 207, 214, 0.75);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.16);
  backdrop-filter: blur(14px);
}

.trace-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  border-radius: 9px;
  background: var(--blue-soft);
}

.trace-float div {
  display: grid;
}

.trace-float strong {
  font-size: 10px;
}

.trace-float span {
  color: #718092;
  font-size: 7px;
}

.trace-check {
  display: grid;
  width: 21px;
  height: 21px;
  margin-left: auto;
  place-items: center;
  color: white !important;
  border-radius: 50%;
  background: var(--green);
}

.trust-strip {
  color: #aeb9c6;
  background: var(--ink);
}

.trust-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.trust-inner > span {
  color: #7f8c9c;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
}

.trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}

.trust-items i {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #69dbb4;
  border: 1px solid #294155;
  border-radius: 7px;
  font-style: normal;
}

.section {
  padding: 120px 0;
}

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

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

.section-heading h2,
.trace-copy h2,
.dashboard-copy h2,
.security-copy h2 {
  font-size: clamp(38px, 4.2vw, 58px);
}

.section-heading p,
.trace-copy > p,
.dashboard-copy > p,
.security-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.eyebrow-light {
  background: white;
}

.asset-section {
  background: white;
}

.asset-flow {
  display: grid;
  grid-template-columns: 1fr 76px 1fr 76px 1fr;
  align-items: stretch;
}

.asset-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 470px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #dde4e8;
  border-radius: 19px;
  background: #f9fbfa;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.asset-card.is-active,
.asset-card:hover {
  border-color: #b9c9d4;
  box-shadow: 0 24px 54px rgba(7, 17, 31, 0.1);
  transform: translateY(-8px);
}

.asset-index {
  position: absolute;
  top: 22px;
  right: 25px;
  color: #d6dde1;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 750;
  line-height: 1;
}

.asset-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.icon-personal {
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(33, 92, 255, 0.24);
}

.icon-department {
  background: var(--green);
  box-shadow: 0 10px 22px rgba(16, 169, 121, 0.22);
}

.icon-enterprise {
  background: var(--ink);
  box-shadow: 0 10px 22px rgba(7, 17, 31, 0.2);
}

.asset-tag {
  margin-top: 21px;
  color: #8190a0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.asset-card h3 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.asset-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.asset-preview {
  margin-top: auto;
  padding: 15px;
  border: 1px solid #e2e7ea;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 25px rgba(7, 17, 31, 0.045);
}

.log-preview > div:first-child {
  display: flex;
  gap: 9px;
}

.avatar-blue {
  background: var(--blue);
}

.log-preview p,
.log-preview strong,
.log-preview small {
  display: block;
  margin: 0;
}

.log-preview strong,
.preview-head strong,
.radar-copy strong {
  font-size: 10px;
}

.log-preview small,
.preview-head span,
.radar-copy span {
  color: #8a97a5;
  font-size: 7px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 14px;
}

.tag-row span {
  padding: 3px 6px;
  color: #5d6c7c;
  border-radius: 4px;
  background: #f0f3f5;
  font-size: 6px;
}

.tag-row .ai-tag {
  margin-left: auto;
  color: var(--blue);
  background: var(--blue-soft);
}

.preview-head,
.radar-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.progress-line {
  height: 6px;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 99px;
  background: #edf1f2;
}

.progress-line i {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.mini-avatars {
  display: flex;
  align-items: center;
}

.mini-avatars span {
  display: grid;
  width: 21px;
  height: 21px;
  margin-right: -5px;
  place-items: center;
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--ink-soft);
  font-size: 5px;
}

.mini-avatars span:nth-child(2) {
  background: var(--blue);
}

.mini-avatars span:nth-child(3) {
  background: var(--green);
}

.mini-avatars span:nth-child(4) {
  color: #586779;
  background: #eef1f3;
}

.mini-avatars small {
  margin-left: 12px;
  color: #8a97a5;
  font-size: 7px;
}

.radar-copy span {
  display: grid;
}

.radar-copy b {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
}

.mini-bars {
  display: flex;
  height: 56px;
  align-items: flex-end;
  gap: 7px;
  margin-top: 12px;
}

.mini-bars i {
  width: 100%;
  height: var(--h);
  border-radius: 4px 4px 1px 1px;
  background: var(--ink-soft);
}

.mini-bars i:nth-child(2n) {
  background: var(--blue);
}

.flow-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-connector i {
  width: 100%;
  border-top: 1px dashed #a9b7c2;
}

.flow-connector i::after {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1px solid #81909c;
  border-right: 1px solid #81909c;
  transform: translateY(-50%) rotate(45deg);
}

.flow-connector span {
  position: absolute;
  top: calc(50% - 24px);
  color: #8a97a5;
  font-size: 7px;
  white-space: nowrap;
}

.role-section {
  background: var(--paper);
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 52px;
}

.split-heading h2 {
  margin-bottom: 0;
}

.split-heading > p {
  padding-bottom: 8px;
}

.role-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #ced7dd;
}

.role-tab {
  position: relative;
  display: flex;
  min-height: 94px;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.role-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.role-tab.is-active::after {
  transform: scaleX(1);
}

.role-tab > span {
  color: #a7b2bd;
  font-family: var(--font-display);
  font-size: 12px;
}

.role-tab div {
  display: grid;
}

.role-tab strong {
  font-size: 15px;
}

.role-tab small {
  color: #8794a2;
  font-size: 10px;
}

.role-tab.is-active strong {
  color: var(--blue);
}

.role-stage {
  margin-top: 38px;
}

.role-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: center;
  animation: panelIn 0.35s ease both;
}

.role-panel[hidden] {
  display: none;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.role-kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.role-copy h3 {
  margin: 15px 0 18px;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.role-copy p {
  color: var(--muted);
  font-size: 15px;
}

.role-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.role-copy li {
  position: relative;
  padding-left: 25px;
  font-size: 13px;
  font-weight: 600;
}

.role-copy li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  color: var(--green);
  content: "✓";
  border-radius: 50%;
  background: var(--green-soft);
  font-size: 9px;
}

.role-ui {
  min-height: 390px;
  padding: 27px;
  border: 1px solid #dce3e7;
  border-radius: 20px;
  background: white;
  box-shadow: 0 25px 60px rgba(7, 17, 31, 0.1);
}

.ui-top,
.permission-top {
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8ecef;
}

.ui-top > div,
.permission-top > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ui-top p,
.permission-top p {
  display: grid;
  margin: 0;
}

.ui-top strong,
.permission-top strong {
  font-size: 13px;
}

.ui-top small,
.permission-top small {
  color: #8794a2;
  font-size: 9px;
}

.status-pill,
.safe-pill {
  padding: 5px 9px;
  color: var(--green);
  border-radius: 999px;
  background: var(--green-soft);
  font-size: 8px;
  font-weight: 650;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 16px;
  margin-top: 24px;
}

.timeline-item::before {
  position: absolute;
  top: 12px;
  bottom: -28px;
  left: 5px;
  content: "";
  border-left: 1px solid #dbe3e8;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item > i {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.timeline-item div {
  padding: 16px;
  border: 1px solid #e5eaed;
  border-radius: 11px;
  background: #fbfcfc;
}

.timeline-item span,
.timeline-item small {
  display: block;
  color: #8794a2;
  font-size: 8px;
}

.timeline-item strong {
  display: block;
  margin: 4px 0;
  font-size: 12px;
}

.timeline-item p {
  margin: 0 0 10px;
  color: #5d6c7c;
  font-size: 10px;
}

.timeline-item small {
  color: var(--blue);
}

.manager-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.manager-grid > div {
  position: relative;
  display: grid;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #e4e9ed;
  border-radius: 10px;
}

.manager-grid span {
  color: #748293;
  font-size: 8px;
}

.manager-grid strong {
  font-family: var(--font-display);
  font-size: 24px;
}

.manager-grid i {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  opacity: 0.14;
  background: currentColor;
}

.green { color: var(--green); }
.blue { color: var(--blue); }
.orange { color: var(--orange); }

.work-item {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #e5eaed;
  border-radius: 10px;
  background: #fbfcfc;
}

.work-status {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 9px;
  font-size: 8px;
  font-weight: 700;
}

.green-bg { color: var(--green); background: var(--green-soft); }
.orange-bg { color: var(--orange); background: #fff0e6; }

.work-item div {
  display: grid;
}

.work-item strong { font-size: 11px; }
.work-item small { color: #82909f; font-size: 8px; }
.work-item > b { margin-left: auto; color: var(--blue); font-size: 10px; }

.owner-chart {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 35px;
  padding: 25px 15px 20px;
}

.donut {
  display: grid;
  width: 135px;
  height: 135px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 72%, var(--green) 72% 86%, #e9edef 86% 100%);
}

.donut::before {
  width: 94px;
  height: 94px;
  content: "";
  border-radius: 50%;
  background: white;
}

.donut span {
  position: absolute;
  display: grid;
  text-align: center;
}

.donut strong {
  font-family: var(--font-display);
  font-size: 26px;
}

.donut small {
  color: #8491a0;
  font-size: 8px;
}

.owner-stats {
  display: grid;
  gap: 10px;
}

.owner-stats p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf0f2;
  font-size: 9px;
}

.owner-stats span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #657486;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.owner-insight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d9e5ff;
  border-radius: 11px;
  background: #f5f8ff;
}

.owner-insight > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  border-radius: 8px;
  background: var(--blue);
}

.owner-insight p {
  display: grid;
  margin: 0;
}

.owner-insight strong { font-size: 9px; }
.owner-insight small { color: #66768a; font-size: 8px; }
.owner-insight > b { margin-left: auto; color: var(--blue); font-size: 8px; white-space: nowrap; }

.trace-section {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.trace-grid-bg {
  opacity: 0.15;
  background-image: linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.trace-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 86px;
}

.eyebrow-dark {
  color: #c6d0da;
  border-color: #2a3b50;
  background: rgba(255, 255, 255, 0.04);
}

.trace-copy > p,
.security-copy > p {
  color: #9dabb9;
}

.question-list {
  display: grid;
  gap: 8px;
  margin-top: 35px;
}

.question-button {
  display: flex;
  min-height: 57px;
  align-items: center;
  gap: 15px;
  padding: 0 16px;
  color: #aeb9c6;
  border: 1px solid #24364a;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  font-size: 12px;
  text-align: left;
  transition: border 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.question-button:hover,
.question-button.is-active {
  color: white;
  border-color: #3b65c7;
  background: rgba(33, 92, 255, 0.12);
}

.question-button span {
  color: #5f7184;
  font-family: var(--font-display);
  font-size: 10px;
}

.question-button i {
  margin-left: auto;
  color: #6f84a0;
  font-style: normal;
}

.chat-shell {
  overflow: hidden;
  color: var(--ink);
  border: 1px solid #3a4a5e;
  border-radius: 20px;
  background: #f5f7f7;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

.chat-top {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #dfe5e8;
  background: white;
}

.chat-top > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-top p {
  display: grid;
  margin: 0;
}

.chat-top strong { font-size: 12px; }
.chat-top small { color: #7d8a99; font-size: 8px; }
.chat-top button { border: 0; background: transparent; cursor: pointer; }

.chat-body {
  min-height: 450px;
  padding: 20px;
}

.chat-date {
  margin-bottom: 18px;
  color: #94a0ab;
  font-size: 8px;
  text-align: center;
}

.user-message {
  width: fit-content;
  max-width: 82%;
  margin-left: auto;
  padding: 11px 14px;
  color: white;
  border-radius: 12px 12px 3px 12px;
  background: var(--blue);
  font-size: 11px;
}

.ai-message {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  margin-top: 18px;
}

.ai-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--ink);
  border-radius: 8px;
  background: #64d8b1;
  font-size: 10px;
}

.ai-bubble {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dfe5e8;
  border-radius: 3px 13px 13px;
  background: white;
}

.ai-bubble > p {
  margin: 0 0 14px;
  color: #4d5c6d;
  font-size: 10px;
}

.ai-bubble > p strong {
  color: var(--ink);
}

.answer-project {
  padding: 14px;
  border: 1px solid #e1e6e9;
  border-radius: 10px;
  background: #fbfcfc;
}

.project-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-head > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.severity {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 700;
}

.severity.high { color: #cd4444; background: #ffebeb; }
.severity.medium { color: #c26d25; background: #fff0e3; }
.severity.low { color: #14765a; background: #e7f7f1; }

.project-head strong { font-size: 10px; }
.project-head > span { color: var(--red); font-size: 8px; }
.answer-project > p { margin: 10px 0; color: #697788; font-size: 8px; }

.evidence-line {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7d8a99;
  font-size: 7px;
}

.evidence-line i {
  height: 1px;
  flex: 1;
  background: #dce3e7;
}

.evidence-line b {
  color: var(--blue);
}

.evidence-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  padding: 10px;
  border-left: 2px solid var(--blue);
  background: white;
}

.evidence-card div {
  min-width: 0;
  flex: 1;
}

.evidence-card strong,
.evidence-card p,
.evidence-card small {
  display: block;
  margin: 0;
  font-size: 7px;
}

.evidence-card p {
  margin: 3px 0;
  overflow: hidden;
  color: #5d6c7c;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-card small { color: #95a0ab; }
.verified { color: var(--green); font-size: 7px; white-space: nowrap; }

.answer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  color: #8a97a5;
  font-size: 7px;
}

.answer-footer button {
  padding: 0;
  color: var(--blue);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 7px;
  font-weight: 650;
}

.chat-input {
  display: flex;
  min-height: 57px;
  align-items: center;
  gap: 10px;
  margin: 0 16px 16px;
  padding: 0 10px 0 15px;
  color: #9aa5af;
  border: 1px solid #dbe2e6;
  border-radius: 11px;
  background: white;
  font-size: 9px;
}

.chat-input button {
  display: grid;
  width: 32px;
  height: 32px;
  margin-left: auto;
  place-items: center;
  color: white;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  cursor: pointer;
}

.dashboard-section {
  background: white;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  align-items: center;
  gap: 75px;
}

.dashboard-frame {
  display: grid;
  grid-template-columns: 55px 1fr;
  overflow: hidden;
  border: 1px solid #d9e1e6;
  border-radius: 20px;
  background: #f8fafa;
  box-shadow: 0 30px 70px rgba(7, 17, 31, 0.12);
  transform: perspective(1400px) rotateY(2deg);
}

.dash-side {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 10px;
  color: #7e8b99;
  border-right: 1px solid #e1e6e9;
  background: white;
}

.dash-side i {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 8px;
  font-style: normal;
  font-size: 11px;
}

.dash-side i.on { color: white; background: var(--ink); }
.dash-main { padding: 22px; }

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.dash-head div { display: grid; }
.dash-head small { color: #8491a0; font-size: 7px; }
.dash-head strong { font-family: var(--font-display); font-size: 19px; }
.dash-head > span { padding: 5px 8px; border: 1px solid #dfe5e8; border-radius: 6px; background: white; font-size: 7px; }

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.dash-metrics > div {
  display: grid;
  padding: 11px;
  border: 1px solid #e3e8eb;
  border-radius: 9px;
  background: white;
}

.dash-metrics span,
.dash-metrics small { color: #81909f; font-size: 6px; }
.dash-metrics strong { font-family: var(--font-display); font-size: 20px; }
.dash-metrics .warn { color: var(--orange); }

.dash-bottom {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 9px;
  margin-top: 9px;
}

.heat-card,
.focus-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e3e8eb;
  border-radius: 10px;
  background: white;
}

.heat-list {
  display: grid;
  grid-template-columns: 55px 1fr 18px;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
  font-size: 7px;
}

.heat-list > span { color: #617082; }
.heat-list div { height: 7px; overflow: hidden; border-radius: 99px; background: #eef1f3; }
.heat-list i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #6c91ff); }
.heat-list b { font-size: 7px; text-align: right; }

.focus-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0f2;
}

.focus-row p { display: grid; min-width: 0; margin: 0; }
.focus-row strong { overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.focus-row small { color: #8794a2; font-size: 6px; }
.focus-row > span { margin-left: auto; color: var(--red); font-size: 7px; }
.risk-dot.mid { background: var(--orange); box-shadow: 0 0 0 4px rgba(241, 131, 54, 0.12); }
.focus-action { width: 100%; margin-top: 12px; padding: 7px; color: var(--blue); border: 0; border-radius: 6px; background: var(--blue-soft); font-size: 7px; }

.dashboard-copy h2 { margin-top: 24px; }
.feature-stack { display: grid; gap: 19px; margin-top: 30px; }
.feature-stack > div { display: grid; grid-template-columns: 31px 1fr; gap: 12px; }
.feature-stack > div > span { display: grid; width: 31px; height: 31px; place-items: center; color: var(--blue); border: 1px solid #cfdcff; border-radius: 9px; background: var(--blue-soft); font-family: var(--font-display); font-size: 9px; }
.feature-stack p { display: grid; margin: 0; }
.feature-stack strong { font-size: 12px; }
.feature-stack small { color: var(--muted); font-size: 10px; }

.security-section {
  padding-top: 0;
  background: white;
}

.security-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 75px;
  padding: 72px;
  overflow: hidden;
  color: white;
  border-radius: 28px;
  background: var(--ink);
}

.security-card::before {
  position: absolute;
  top: -180px;
  left: -120px;
  width: 440px;
  height: 440px;
  content: "";
  border-radius: 50%;
  background: rgba(33, 92, 255, 0.21);
  filter: blur(100px);
}

.security-copy,
.permission-ui {
  position: relative;
}

.security-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin-top: 30px;
}

.security-points span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c2ccd6;
  font-size: 11px;
}

.security-points i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--green);
  border-radius: 50%;
  background: rgba(16, 169, 121, 0.14);
  font-style: normal;
  font-size: 8px;
}

.permission-ui {
  padding: 24px;
  color: var(--ink);
  border: 1px solid #3b4c61;
  border-radius: 17px;
  background: white;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
}

.shield {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  border-radius: 9px;
  background: var(--blue);
  font-size: 10px;
}

.permission-tree {
  padding: 15px 0;
}

.tree-row {
  display: grid;
  grid-template-columns: 18px 34px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 54px;
}

.tree-row.child { padding-left: 25px; }
.tree-row.muted { opacity: 0.57; }
.tree-toggle { display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid #d6dee3; border-radius: 5px; font-size: 10px; }
.tree-icon { display: grid; width: 34px; height: 34px; place-items: center; color: white; border-radius: 8px; font-size: 8px; font-weight: 700; }
.tree-icon.building { background: var(--ink); }
.tree-icon.sales { color: var(--blue); background: var(--blue-soft); }
.tree-icon.product { color: var(--green); background: var(--green-soft); }
.tree-icon.personal { color: #7b8793; background: #edf0f2; }
.tree-row p { display: grid; margin: 0; }
.tree-row strong { font-size: 10px; }
.tree-row small { color: #8794a2; font-size: 7px; }
.access { padding: 4px 7px; border-radius: 5px; font-size: 7px; }
.access.full { color: var(--green); background: var(--green-soft); }
.access.locked { color: #7b8793; background: #edf0f2; }
.tree-line { width: 1px; height: 5px; margin-left: 8px; background: #dfe5e8; }

.audit-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #e7ecef;
  font-size: 7px;
}

.audit-line span { color: var(--blue); }
.audit-line p { margin: 0; color: #5e6d7d; }
.audit-line small { color: #98a3ae; }

.start-section {
  background: var(--paper);
}

.start-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.start-steps::before {
  position: absolute;
  top: 65px;
  right: 16.6%;
  left: 16.6%;
  content: "";
  border-top: 1px dashed #b9c5ce;
}

.start-steps article {
  position: relative;
  min-height: 245px;
  padding: 26px;
  border: 1px solid #dce3e7;
  border-radius: 17px;
  background: white;
}

.day {
  display: inline-block;
  padding: 4px 8px;
  color: var(--blue);
  border-radius: 99px;
  background: var(--blue-soft);
  font-size: 9px;
  font-weight: 650;
}

.step-number {
  position: absolute;
  top: 47px;
  right: 27px;
  color: #e2e7ea;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 750;
}

.start-steps h3 {
  margin: 50px 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.start-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 25px;
  margin-top: 80px;
  padding: 65px;
  overflow: hidden;
  color: white;
  border-radius: 26px;
  background: var(--blue);
}

.cta-grid {
  opacity: 0.16;
  background-image: linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  mask-image: radial-gradient(circle at center, black, transparent 85%);
}

.cta-mark {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 7px;
  gap: 5px;
  border-radius: 17px;
  background: rgba(7, 17, 31, 0.94);
}

.cta-copy,
.cta-action {
  position: relative;
}

.cta-copy > span {
  color: #bdceff;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.final-cta h2 {
  margin: 12px 0;
  font-size: clamp(34px, 4vw, 50px);
}

.final-cta p {
  margin: 0;
  color: #d6e0ff;
  font-size: 12px;
}

.cta-action {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.button-white {
  color: var(--blue);
  background: white;
  box-shadow: 0 18px 35px rgba(7, 17, 31, 0.18);
}

.cta-action small {
  color: #c9d7ff;
  font-size: 9px;
}

.site-footer {
  color: #9ba8b7;
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding: 75px 0 55px;
}

.brand-light {
  color: white;
}

.brand-light .brand-mark {
  background: white;
}

.brand-light .brand-mark span {
  background: var(--ink);
}

.brand-light .brand-mark span:nth-child(2),
.brand-light .brand-mark span:nth-child(3) {
  background: var(--green);
}

.footer-brand p {
  margin: 15px 0 0;
  font-size: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 6px;
  color: white;
  font-size: 11px;
}

.footer-links a {
  font-size: 10px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #223247;
  font-size: 9px;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.reveal {
  animation: revealUp 0.7s ease both;
}

.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.reveal-delay-3 { animation-delay: 0.24s; }

@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-window.is-playing .line-path {
  stroke-dasharray: 700;
  animation: drawLine 1.5s ease both;
}

.product-window.is-playing .metric-card {
  animation: metricPulse 0.6s ease both;
}

.product-window.is-playing .metric-card:nth-child(2) { animation-delay: 0.16s; }
.product-window.is-playing .metric-card:nth-child(3) { animation-delay: 0.32s; }

@keyframes drawLine {
  from { stroke-dashoffset: 700; }
  to { stroke-dashoffset: 0; }
}

@keyframes metricPulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.04); border-color: #9bb4ff; }
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero h1 span {
    display: inline;
  }

  .hero-product {
    max-width: 790px;
    margin-inline: auto;
  }

  .asset-flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .flow-connector {
    min-height: 32px;
  }

  .flow-connector i {
    width: 1px;
    height: 32px;
    border-top: 0;
    border-left: 1px dashed #a9b7c2;
  }

  .flow-connector i::after {
    right: auto;
    top: auto;
    bottom: 2px;
    left: calc(50% - 4px);
    transform: rotate(135deg);
  }

  .flow-connector span {
    top: 8px;
    left: calc(50% + 14px);
  }

  .asset-card {
    min-height: 360px;
  }

  .split-heading,
  .role-panel,
  .trace-layout,
  .dashboard-layout,
  .security-card {
    gap: 50px;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-copy {
    max-width: 650px;
    order: -1;
  }

  .security-card {
    padding: 55px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 32px, 700px);
  }

  .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: #e2e7ea;
    backdrop-filter: blur(16px);
  }

  .nav-shell {
    min-height: 66px;
  }

  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 11px;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 16px 20px;
    border-bottom: 1px solid #dfe5e8;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 35px rgba(7, 17, 31, 0.08);
  }

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

  .site-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 8px;
    border-bottom: 1px solid #edf0f2;
  }

  .nav-actions {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 125px 0 95px;
  }

  .hero-layout {
    gap: 70px;
  }

  .hero-product {
    transform: none;
  }

  .trust-inner,
  .trust-items {
    justify-content: center;
  }

  .trust-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px 0;
  }

  .trust-items {
    gap: 18px 28px;
  }

  .section {
    padding: 90px 0;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .role-tabs {
    grid-template-columns: 1fr;
    border: 1px solid #d7dfe4;
    border-radius: 14px;
    overflow: hidden;
  }

  .role-tab {
    min-height: 74px;
    border-bottom: 1px solid #e3e8eb;
  }

  .role-tab:last-child {
    border-bottom: 0;
  }

  .role-tab::after {
    top: 0;
    right: auto;
    bottom: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }

  .role-tab.is-active::after {
    transform: scaleY(1);
  }

  .role-panel,
  .trace-layout,
  .security-card {
    grid-template-columns: 1fr;
  }

  .role-copy {
    max-width: 610px;
  }

  .security-card {
    padding: 45px 35px;
  }

  .start-steps {
    grid-template-columns: 1fr;
  }

  .start-steps::before {
    display: none;
  }

  .start-steps article {
    min-height: 215px;
  }

  .final-cta {
    grid-template-columns: 60px 1fr;
  }

  .cta-action {
    grid-column: 2;
    justify-items: start;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 19px;
  }

  .hero {
    padding-top: 110px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 8px;
  }

  .product-window {
    border-radius: 13px;
  }

  .window-bar {
    height: 46px;
    padding: 0 10px;
  }

  .status-live {
    display: none;
  }

  .product-body {
    min-height: 360px;
    grid-template-columns: 37px 1fr;
  }

  .product-side {
    padding: 11px 4px;
  }

  .side-icon {
    width: 28px;
    height: 28px;
  }

  .product-main {
    padding: 14px 10px;
  }

  .metric-row {
    gap: 5px;
  }

  .metric-card {
    min-height: 78px;
    padding: 8px;
  }

  .metric-card strong {
    font-size: 19px;
  }

  .chart-grid {
    grid-template-columns: 1fr;
  }

  .ai-card {
    display: none;
  }

  .chart-area {
    height: 125px;
  }

  .trace-float {
    right: -5px;
    bottom: -42px;
    width: 90%;
  }

  .trust-inner > span {
    width: 100%;
    text-align: center;
  }

  .trust-items {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading h2,
  .trace-copy h2,
  .dashboard-copy h2,
  .security-copy h2 {
    font-size: 36px;
  }

  .section-heading p,
  .trace-copy > p,
  .dashboard-copy > p,
  .security-copy > p {
    font-size: 15px;
  }

  .section-heading.centered {
    margin-bottom: 42px;
  }

  .asset-card {
    min-height: 400px;
    padding: 23px;
  }

  .role-copy h3 {
    font-size: 29px;
  }

  .role-ui {
    min-height: 0;
    padding: 18px;
  }

  .timeline-item div {
    padding: 12px;
  }

  .manager-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  .manager-grid > div {
    padding: 9px;
  }

  .manager-grid strong {
    font-size: 19px;
  }

  .owner-chart {
    grid-template-columns: 110px 1fr;
    gap: 15px;
    padding-inline: 0;
  }

  .donut {
    width: 105px;
    height: 105px;
  }

  .donut::before {
    width: 73px;
    height: 73px;
  }

  .owner-insight {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .owner-insight > b {
    width: 100%;
    margin-left: 40px;
  }

  .chat-body {
    min-height: 0;
    padding: 14px 10px;
  }

  .ai-message {
    grid-template-columns: 24px 1fr;
    gap: 6px;
  }

  .ai-avatar {
    width: 24px;
    height: 24px;
  }

  .ai-bubble {
    padding: 11px;
  }

  .project-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-head > span {
    padding-left: 0;
  }

  .evidence-card {
    display: grid;
    grid-template-columns: 24px 1fr;
  }

  .verified {
    grid-column: 2;
  }

  .answer-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .dashboard-frame {
    grid-template-columns: 34px 1fr;
    transform: none;
  }

  .dash-side {
    min-height: 420px;
    padding-inline: 2px;
  }

  .dash-side .mini-mark {
    width: 19px;
    height: 19px;
  }

  .dash-main {
    min-width: 0;
    padding: 13px 8px;
  }

  .dash-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-bottom {
    grid-template-columns: 1fr;
  }

  .focus-card {
    display: none;
  }

  .security-card {
    padding: 35px 19px;
    border-radius: 20px;
  }

  .security-points {
    grid-template-columns: 1fr;
  }

  .permission-ui {
    padding: 15px;
  }

  .tree-row {
    grid-template-columns: 15px 30px 1fr auto;
  }

  .tree-row.child {
    padding-left: 7px;
  }

  .tree-icon {
    width: 30px;
    height: 30px;
  }

  .audit-line {
    grid-template-columns: auto 1fr;
  }

  .audit-line small {
    grid-column: 2;
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 38px 24px;
    text-align: center;
  }

  .cta-mark {
    margin-inline: auto;
  }

  .cta-action {
    grid-column: auto;
    justify-items: stretch;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 15px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
