@import url("page.css?v=2");

:root {
  --dashboard-bg: color-mix(in srgb, var(--bg) 82%, #07100c 18%);
  --dashboard-panel: color-mix(in srgb, var(--surface) 88%, var(--bg) 12%);
  --dashboard-line: color-mix(in srgb, var(--border) 78%, transparent);
  --blue: #2496ed;
  --purple: #7759d6;
  --cyan: #238aa0;
}

body {
  min-width: 320px;
}

.feature-loop {
  --accent: #985200;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-strong: #703c00;
  --feature-on-accent: #fffaf2;
}

.feature-sync {
  --accent: #155fb6;
  --accent-soft: color-mix(in srgb, var(--accent) 13%, transparent);
  --accent-strong: #0e478b;
  --feature-on-accent: #f7fbff;
}

.feature-scope {
  --accent: #6741b4;
  --accent-soft: color-mix(in srgb, var(--accent) 13%, transparent);
  --accent-strong: #4d2f8d;
  --feature-on-accent: #fbf9ff;
}

.feature-meter {
  --accent: #24724c;
  --accent-soft: color-mix(in srgb, var(--accent) 13%, transparent);
  --accent-strong: #195638;
  --feature-on-accent: #f4fff8;
}

.feature-red {
  --accent: #b83732;
  --accent-soft: color-mix(in srgb, var(--accent) 13%, transparent);
  --accent-strong: #8e2925;
  --feature-on-accent: #fff8f7;
}

.feature-pulse {
  --accent: #913886;
  --accent-soft: color-mix(in srgb, var(--accent) 13%, transparent);
  --accent-strong: #6c2964;
  --feature-on-accent: #fff8fe;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .feature-loop { --accent: #ffad3d; --accent-strong: #ffc673; }
  :root:not([data-theme="light"]) .feature-sync { --accent: #6aa9ff; --accent-strong: #91beff; }
  :root:not([data-theme="light"]) .feature-scope { --accent: #ad91ff; --accent-strong: #c4b2ff; }
  :root:not([data-theme="light"]) .feature-meter { --accent: #67cb93; --accent-strong: #8addad; }
  :root:not([data-theme="light"]) .feature-red { --accent: #ff7770; --accent-strong: #ff9a95; }
  :root:not([data-theme="light"]) .feature-pulse { --accent: #ed83df; --accent-strong: #f3a9e9; }

  :root:not([data-theme="light"]) .feature-loop,
  :root:not([data-theme="light"]) .feature-sync,
  :root:not([data-theme="light"]) .feature-scope,
  :root:not([data-theme="light"]) .feature-meter,
  :root:not([data-theme="light"]) .feature-red,
  :root:not([data-theme="light"]) .feature-pulse {
    --feature-on-accent: #101613;
  }
}

:root[data-theme="dark"] .feature-loop { --accent: #ffad3d; --accent-strong: #ffc673; }
:root[data-theme="dark"] .feature-sync { --accent: #6aa9ff; --accent-strong: #91beff; }
:root[data-theme="dark"] .feature-scope { --accent: #ad91ff; --accent-strong: #c4b2ff; }
:root[data-theme="dark"] .feature-meter { --accent: #67cb93; --accent-strong: #8addad; }
:root[data-theme="dark"] .feature-red { --accent: #ff7770; --accent-strong: #ff9a95; }
:root[data-theme="dark"] .feature-pulse { --accent: #ed83df; --accent-strong: #f3a9e9; }

:root[data-theme="dark"] .feature-loop,
:root[data-theme="dark"] .feature-sync,
:root[data-theme="dark"] .feature-scope,
:root[data-theme="dark"] .feature-meter,
:root[data-theme="dark"] .feature-red,
:root[data-theme="dark"] .feature-pulse {
  --feature-on-accent: #101613;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(124, 146, 134, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 146, 134, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.top-banner {
  padding-block: 9px;
  letter-spacing: -0.01em;
}

.top-banner strong {
  margin-left: 6px;
}

nav.top {
  max-width: 1120px;
  padding-top: 24px;
}

.wrap,
footer {
  max-width: 1120px;
}

.nav-links {
  gap: 24px;
}

.nav-links .nav-cta {
  color: var(--bg);
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 8px;
  padding: 9px 13px;
}

.nav-links .nav-cta:hover {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.feature-menu {
  position: relative;
}

.feature-menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.feature-menu summary::-webkit-details-marker {
  display: none;
}

.feature-menu summary:hover,
.feature-menu[open] summary,
.feature-menu.active summary {
  color: var(--text);
}

.feature-menu summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 3px;
}

.feature-menu-symbol {
  width: 14px;
  height: 14px;
}

.feature-menu-chevron {
  width: 11px;
  height: 11px;
  transition: transform 0.15s;
}

.feature-menu[open] .feature-menu-chevron {
  transform: rotate(180deg);
}

.feature-menu-panel {
  position: absolute;
  width: 470px;
  right: 0;
  left: auto;
  top: calc(100% + 14px);
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 22px 60px rgba(7, 18, 12, 0.18);
  backdrop-filter: blur(18px);
  transform: none;
}

.feature-menu:not([open]) > .feature-menu-panel {
  display: none;
}

.nav-links .feature-menu-panel a.feature-menu-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--text);
  text-decoration: none;
}

.nav-links .feature-menu-panel a.feature-menu-item:hover,
.nav-links .feature-menu-panel a.feature-menu-item[aria-current="page"] {
  border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
  background: var(--accent-soft);
}

.feature-menu-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-menu-mark svg {
  width: 23px;
  height: 23px;
}

.feature-menu-copy {
  min-width: 0;
}

.feature-menu-copy strong,
.feature-menu-copy small {
  display: block;
}

.feature-menu-copy strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.2;
}

.feature-menu-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

section {
  padding: 78px 0;
}

section:first-of-type {
  padding-top: 62px;
}

h1 {
  max-width: 22ch;
  font-size: clamp(40px, 5.8vw, 64px);
  line-height: 1.01;
  letter-spacing: -0.055em;
}

h2 {
  max-width: 25ch;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

p.lede {
  max-width: 65ch;
  font-size: 18px;
  line-height: 1.62;
}

.section-label {
  margin-bottom: 15px;
  color: var(--accent);
  font-weight: 700;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -220px;
  top: -80px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 67%);
}

.hero-section h1 {
  margin-bottom: 24px;
}

.hero-section .hero-lede {
  color: var(--text-muted);
  max-width: 58ch;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.55;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
}

.button,
.price-card .btn,
.choice-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid var(--accent);
  border-radius: 9px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

.button:hover,
.price-card .btn:hover,
.choice-form button:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button.secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.button.secondary:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.button svg {
  width: 17px;
  height: 17px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-line span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--positive);
}

.environment-panel {
  margin-top: 48px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.strip-heading {
  margin: 0 0 15px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.environment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.environment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg);
}

.environment-logo {
  display: grid;
  flex: none;
  width: 38px;
  height: 38px;
  place-items: center;
}

.environment-logo svg {
  width: 34px;
  height: 34px;
}

.environment-logo.mark-linux {
  color: #e5ad00;
}

.mark-docker {
  color: #2496ed;
}

.environment-name,
.agent-name {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.environment-kind {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.2;
}

.integration-section {
  padding: 28px 0;
}

.integration-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.integration-copy {
  max-width: 42ch;
}

.integration-copy strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 15px;
}

.integration-copy span {
  color: var(--text-muted);
  font-size: 13.5px;
}

.integration-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.integration-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.integration-logo:hover {
  border-color: var(--accent);
}

.integration-logo svg {
  width: 21px;
  height: 21px;
}

.integration-logo.github {
  color: var(--github);
}

.integration-logo.jira svg {
  color: var(--jira);
}

.agent-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 68px;
  align-items: center;
}

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

.agent-card {
  min-height: 148px;
  padding: 22px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, transparent), var(--surface));
  text-align: center;
}

.agent-logo {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
}

.agent-logo svg {
  width: 32px;
  height: 32px;
}

.agent-logo.claude {
  color: #d97757;
}

.agent-name {
  font-size: 12px;
}

.agent-note {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10.5px;
}

.flow-wrap {
  margin-top: 34px;
  padding: 30px 22px 25px;
  box-shadow: 0 18px 60px rgba(10, 25, 17, 0.06);
}

.flow-step {
  position: relative;
  min-height: 144px;
  overflow: hidden;
}

.flow-step::after {
  content: "";
  position: absolute;
  width: 62px;
  height: 2px;
  right: 0;
  bottom: 0;
  background: var(--accent);
  opacity: 0.3;
}

.loop-outcome {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--border);
}

.loop-outcome div {
  padding: 14px 16px;
  background: var(--bg);
}

.loop-outcome strong {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
}

.loop-outcome span {
  color: var(--text-muted);
  font-size: 12px;
}

.feature-cards {
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.feature-card {
  position: relative;
  grid-column: span 3;
  min-height: 246px;
  padding: 26px;
  overflow: hidden;
  border-top: 3px solid var(--accent);
  background:
    radial-gradient(circle at 88% 2%, var(--accent-soft), transparent 34%),
    var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.feature-card:nth-child(5) {
  grid-column: span 3;
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -75px;
  bottom: -85px;
  border-radius: 50%;
  background: var(--accent-soft);
  transform: var(--feature-decoration-transform, none);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 35px color-mix(in srgb, var(--accent) 12%, transparent);
}

.feature-card:hover::after {
  transform: var(--feature-decoration-hover-transform, scale(1.25));
}

.feature-card-mark {
  position: absolute;
  width: 48px;
  height: 48px;
  right: 22px;
  top: 20px;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--bg));
  color: var(--accent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 9%, transparent);
  transition: transform 0.2s;
}

.feature-card:hover .feature-card-mark {
  transform: translateY(-2px) rotate(-3deg);
}

.feature-card-mark svg {
  width: 29px;
  height: 29px;
}

.feature-card .product-name {
  max-width: calc(100% - 68px);
}

.feature-card.feature-loop::after {
  border: 24px solid var(--accent-soft);
  background: transparent;
}

.feature-card.feature-sync {
  --feature-decoration-transform: rotate(45deg);
  --feature-decoration-hover-transform: rotate(45deg) scale(1.18);
}

.feature-card.feature-sync::after {
  border-radius: 28px;
}

.feature-card.feature-scope::after {
  border-radius: 0;
  background:
    linear-gradient(var(--accent-soft) 2px, transparent 2px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--accent-soft) 2px, transparent 2px) 0 0 / 28px 28px;
}

.feature-card.feature-meter::after {
  width: 176px;
  height: 88px;
  right: -40px;
  bottom: -34px;
  border: 18px solid var(--accent-soft);
  border-bottom: 0;
  border-radius: 176px 176px 0 0;
  background: transparent;
}

.feature-card.feature-red::after {
  border-radius: 0;
  clip-path: polygon(50% 0, 92% 20%, 82% 76%, 50% 100%, 18% 76%, 8% 20%);
}

.feature-card.feature-pulse {
  --feature-decoration-transform: rotate(-12deg);
  --feature-decoration-hover-transform: rotate(-12deg) scale(1.18);
}

.feature-card.feature-pulse::after {
  width: 190px;
  height: 62px;
  right: -58px;
  bottom: -18px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent-soft) 0 13px,
    transparent 13px 20px
  );
}

.feature-title {
  font-size: 28px;
}

.feature-desc {
  max-width: 43ch;
  line-height: 1.55;
}

.feature-link {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 1;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.feature-link span {
  color: var(--accent);
}

.benchmark-context {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 72ch;
  margin: 22px 0 0;
  padding: 13px 15px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--text-muted);
  font-size: 13px;
}

.benchmark-context strong {
  color: var(--text);
}

.case-example {
  padding: 24px;
  border-radius: 14px;
}

.case-source a {
  font-weight: 700;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  min-height: 440px;
}

.price-card .btn {
  min-height: 45px;
}

.price-note {
  max-width: 85ch;
  line-height: 1.6;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(480px, 1.25fr);
  gap: 60px;
  align-items: start;
}

.access-points {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.access-point {
  display: flex;
  gap: 11px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.access-point span {
  display: grid;
  flex: none;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.info-box {
  box-shadow: 0 18px 60px rgba(10, 25, 17, 0.07);
}

.choice-form button {
  width: 100%;
}

.info-fine {
  text-align: center;
}

.form-success {
  margin: 0;
}

/* Product detail pages and dashboard illustrations */
.product-detail .wrap,
.product-detail footer,
.product-detail nav.top {
  max-width: 1180px;
}

.product-detail::before {
  background:
    radial-gradient(circle at 84% 8%, var(--accent-soft), transparent 28%),
    linear-gradient(rgba(124, 146, 134, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 146, 134, 0.045) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.product-detail .button {
  color: var(--feature-on-accent);
}

.feature-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: 70px;
  align-items: end;
}

.feature-brandline {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.feature-brandline .section-label {
  margin: 0;
}

.feature-hero-mark {
  display: grid;
  width: 52px;
  height: 52px;
  flex: none;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 13px 34px color-mix(in srgb, var(--accent) 12%, transparent);
}

.feature-hero-mark svg {
  width: 31px;
  height: 31px;
}

.feature-hero h1 {
  max-width: 13ch;
  font-size: clamp(40px, 6vw, 66px);
}

.feature-prose p {
  max-width: 61ch;
  color: var(--text-muted);
  font-size: 17px;
}

.feature-prose p + p {
  margin-top: 13px;
}

.feature-summary {
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--accent-soft), transparent 48%),
    var(--surface);
}

.feature-summary ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-summary li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.feature-summary li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
}

.dashboard-section {
  padding-top: 16px;
  border-top: 0;
}

.mockup-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.mockup-caption h2 {
  margin-bottom: 0;
  font-size: clamp(23px, 3vw, 31px);
}

.mockup-caption p {
  max-width: 38ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.dashboard-shell {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 80%, var(--text) 20%);
  border-top: 3px solid var(--accent);
  border-radius: 17px;
  background: var(--dashboard-bg);
  box-shadow:
    0 30px 80px color-mix(in srgb, var(--accent) 10%, rgba(5, 14, 9, 0.16)),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
}

.dashboard-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 17px;
  border-bottom: 1px solid var(--dashboard-line);
  background: var(--dashboard-panel);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.window-dots i:first-child {
  background: #d9694e;
}

.window-dots i:nth-child(2) {
  background: #d9a62e;
}

.window-dots i:nth-child(3) {
  background: #4d9f72;
}

.dashboard-title {
  overflow: hidden;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-title strong {
  color: var(--text);
}

.demo-badge {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid var(--dashboard-line);
  border-radius: 5px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  min-height: 660px;
}

.dashboard-sidebar {
  padding: 20px 13px;
  border-right: 1px solid var(--dashboard-line);
  background: var(--dashboard-panel);
}

.dashboard-product {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px 22px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-product-mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: var(--accent);
  color: var(--feature-on-accent);
}

.dashboard-product-mark svg {
  width: 17px;
  height: 17px;
}

.dashboard-nav {
  display: grid;
  gap: 4px;
}

.dashboard-nav span {
  padding: 8px 9px;
  border-radius: 7px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 10.5px;
}

.dashboard-nav span.active {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 700;
}

.dashboard-sidebar-meta {
  margin-top: 28px;
  padding: 13px 9px 0;
  border-top: 1px solid var(--dashboard-line);
  color: var(--text-muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.dashboard-main {
  min-width: 0;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 29%),
    var(--dashboard-bg);
}

.dashboard-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.dashboard-toolbar h3 {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: -0.03em;
}

.dashboard-toolbar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 11.5px;
}

.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--dashboard-line);
  border-radius: 999px;
  background: var(--dashboard-panel);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.mock-pill.positive,
.status-positive {
  color: var(--positive);
}

.mock-pill.warning,
.status-warning {
  color: var(--accent);
}

.mock-pill.critical,
.status-critical {
  color: var(--critical);
}

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

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-bottom: 10px;
}

.metric-card,
.dashboard-panel {
  border: 1px solid var(--dashboard-line);
  border-radius: 10px;
  background: var(--dashboard-panel);
}

.metric-card {
  min-width: 0;
  padding: 13px;
}

.metric-label {
  display: block;
  overflow: hidden;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.metric-value {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.metric-change {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 9.5px;
}

.metric-change.good {
  color: var(--positive);
}

.dashboard-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  gap: 10px;
  margin-top: 10px;
}

.dashboard-panel {
  min-width: 0;
  padding: 15px;
}

.dashboard-panel-spaced {
  margin-top: 10px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.panel-heading strong {
  font-family: var(--mono);
  font-size: 11px;
}

.panel-heading span {
  color: var(--text-muted);
  font-size: 9.5px;
}

.query-compose {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--dashboard-panel);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.query-glyph {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
}

.query-copy {
  min-width: 0;
}

.query-copy strong {
  display: block;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
}

.query-copy span {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 9.5px;
}

.query-action {
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--feature-on-accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.answer-panel {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--dashboard-line));
}

.answer-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.answer-text {
  margin: 0;
  color: var(--text);
  font-size: 11px;
  line-height: 1.55;
}

.answer-text strong {
  font-weight: 700;
}

.answer-detail {
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.source-chip {
  padding: 4px 6px;
  border: 1px solid var(--dashboard-line);
  border-radius: 5px;
  background: var(--bg);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 7.5px;
}

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

.evidence-card {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--dashboard-line);
  border-radius: 9px;
  background: var(--dashboard-panel);
}

.evidence-source {
  display: block;
  overflow: hidden;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.evidence-value {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.evidence-note {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 8.5px;
  line-height: 1.35;
}

.mock-table-wrap {
  overflow-x: auto;
}

.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.mock-table th {
  padding: 8px 7px;
  border-bottom: 1px solid var(--dashboard-line);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.mock-table td {
  padding: 9px 7px;
  border-bottom: 1px solid color-mix(in srgb, var(--dashboard-line) 60%, transparent);
  color: var(--text-muted);
  white-space: nowrap;
}

.mock-table td:first-child {
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
}

.mock-table tr:last-child td {
  border-bottom: 0;
}

.progress-track {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-2);
}

.progress-fill {
  width: var(--progress, 50%);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.progress-fill[data-progress="94"] { --progress: 94%; }
.progress-fill[data-progress="88"] { --progress: 88%; }
.progress-fill[data-progress="79"] { --progress: 79%; }
.progress-fill[data-progress="71"] { --progress: 71%; }
.progress-fill[data-progress="68"] { --progress: 68%; }

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

.stage-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  color: var(--text-muted);
  font-size: 10px;
}

.stage-icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid var(--dashboard-line);
  border-radius: 50%;
  color: var(--positive);
  font-family: var(--mono);
  font-size: 8px;
}

.stage-icon.running {
  border-color: var(--accent);
  color: var(--accent);
}

.stage-name {
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
}

.stage-time {
  font-family: var(--mono);
  font-size: 9px;
}

.activity-list {
  display: grid;
  gap: 0;
}

.activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 9px;
  padding: 8px 0 8px 12px;
  border-left: 1px solid var(--dashboard-line);
  color: var(--text-muted);
  font-size: 9.5px;
}

.activity-item::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  left: -3px;
  top: 13px;
  border-radius: 50%;
  background: var(--accent);
}

.activity-time {
  font-family: var(--mono);
}

.activity-item strong {
  color: var(--text);
  font-weight: 600;
}

.ring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ring-card {
  padding: 14px 8px;
  border: 1px solid var(--dashboard-line);
  border-radius: 9px;
  text-align: center;
}

.ring {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 9px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--accent) var(--ring, 70%), var(--surface-2) 0);
}

.ring[data-progress="100"] { --ring: 100%; }
.ring[data-progress="71"] { --ring: 71%; }

.ring::before {
  content: attr(data-value);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--dashboard-panel);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.ring-card span {
  color: var(--text-muted);
  font-size: 9px;
}

.readiness-row {
  display: grid;
  grid-template-columns: 105px minmax(80px, 1fr) 34px;
  gap: 10px;
  align-items: center;
  margin-top: 11px;
  color: var(--text-muted);
  font-size: 9.5px;
}

.readiness-row strong {
  overflow: hidden;
  color: var(--text);
  font-family: var(--mono);
  font-size: 9.5px;
  text-overflow: ellipsis;
}

.matrix-cell {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 8px;
}

.matrix-cell.good {
  background: color-mix(in srgb, var(--positive) 16%, transparent);
  color: var(--positive);
}

.matrix-cell.warn {
  background: var(--accent-soft);
  color: var(--accent);
}

.matrix-cell.bad {
  background: var(--critical-soft);
  color: var(--critical);
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 135px;
  padding: 12px 4px 20px;
  border-bottom: 1px solid var(--dashboard-line);
}

.bar-column {
  position: relative;
  display: flex;
  flex: 1;
  align-items: end;
  justify-content: center;
  height: 100%;
}

.bar-column i {
  display: block;
  width: min(24px, 70%);
  height: var(--height, 50%);
  min-height: 4px;
  border-radius: 4px 4px 1px 1px;
  background: var(--accent);
  opacity: 0.82;
}

.bar-column[data-height="35"] i { --height: 35%; }
.bar-column[data-height="38"] i { --height: 38%; }
.bar-column[data-height="41"] i { --height: 41%; }
.bar-column[data-height="43"] i { --height: 43%; }
.bar-column[data-height="45"] i { --height: 45%; }
.bar-column[data-height="46"] i { --height: 46%; }
.bar-column[data-height="51"] i { --height: 51%; }
.bar-column[data-height="67"] i { --height: 67%; }
.bar-column[data-height="69"] i { --height: 69%; }
.bar-column[data-height="72"] i { --height: 72%; }
.bar-column[data-height="74"] i { --height: 74%; }
.bar-column[data-height="76"] i { --height: 76%; }
.bar-column[data-height="81"] i { --height: 81%; }
.bar-column[data-height="87"] i { --height: 87%; }
.bar-column[data-height="92"] i { --height: 92%; }

.bar-column span {
  position: absolute;
  top: calc(100% + 5px);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 7.5px;
}

.chart-legend {
  display: flex;
  gap: 15px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 8.5px;
}

.chart-legend span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 2px;
  background: var(--accent);
}

.chart-legend span:last-child::before {
  background: var(--positive);
}

.cost-line {
  position: relative;
  height: 140px;
  overflow: hidden;
  border-bottom: 1px solid var(--dashboard-line);
  background:
    linear-gradient(var(--dashboard-line) 1px, transparent 1px) 0 0 / 100% 34px;
}

.cost-line svg {
  position: absolute;
  inset: 5px 0 0;
  width: 100%;
  height: 125px;
  overflow: visible;
}

.topology {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

.topology::before,
.topology::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 24%;
  right: 24%;
  top: 50%;
  background: var(--dashboard-line);
}

.topology::after {
  transform: rotate(90deg);
}

.topology-node {
  position: absolute;
  display: grid;
  min-width: 86px;
  min-height: 46px;
  padding: 8px;
  place-items: center;
  border: 1px solid var(--dashboard-line);
  border-radius: 8px;
  background: var(--dashboard-panel);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
}

.topology-node strong {
  display: block;
  color: var(--text);
  font-size: 9px;
}

.topology-node.center {
  width: 110px;
  min-height: 58px;
  left: calc(50% - 55px);
  top: calc(50% - 29px);
  z-index: 1;
  border-color: var(--accent);
  background: var(--accent-soft);
}

.topology-node.n1 {
  left: 2%;
  top: 12%;
}

.topology-node.n2 {
  right: 2%;
  top: 12%;
}

.topology-node.n3 {
  left: 2%;
  bottom: 12%;
}

.topology-node.n4 {
  right: 2%;
  bottom: 12%;
}

.finding-list {
  display: grid;
  gap: 8px;
}

.finding {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--dashboard-line);
  font-size: 9.5px;
}

.finding:last-child {
  border-bottom: 0;
}

.severity {
  padding: 3px 5px;
  border-radius: 4px;
  background: var(--critical-soft);
  color: var(--critical);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.severity.medium {
  background: var(--accent-soft);
  color: var(--accent);
}

.finding strong {
  color: var(--text);
  font-weight: 600;
}

.finding span:last-child {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 8px;
}

.feature-cta-section {
  padding-top: 34px;
}

.feature-page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border));
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 85% 0%, var(--accent-soft), transparent 58%),
    var(--surface);
}

.feature-page-cta h2 {
  max-width: 18ch;
  margin-bottom: 7px;
  font-size: clamp(25px, 3.4vw, 36px);
}

.feature-page-cta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .environment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .agent-layout,
  .feature-hero,
  .access-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .agent-layout {
    align-items: start;
  }

  .feature-summary {
    max-width: 620px;
  }

  .dashboard-layout {
    grid-template-columns: 154px minmax(0, 1fr);
  }

  .dashboard-sidebar {
    padding-inline: 10px;
  }

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

@media (max-width: 820px) {
  nav.top {
    padding-top: 18px;
  }

  .nav-links {
    gap: 10px;
  }

  .logo-mark svg {
    width: 46px;
    height: 46px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .feature-menu-panel {
    right: 0;
    left: auto;
    transform: none;
  }

  section {
    padding: 58px 0;
  }

  section:first-of-type {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(38px, 10.7vw, 56px);
  }

  .integration-strip,
  .feature-page-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .integration-logos {
    width: 100%;
  }

  .integration-logo {
    flex: 1;
    justify-content: center;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:nth-child(5) {
    grid-column: auto;
  }

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

  .price-card {
    min-height: 0;
  }

  .mockup-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-layout {
    display: block;
    min-height: 0;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-main {
    padding: 16px;
  }

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

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

@media (max-width: 620px) {
  .top-banner {
    padding-inline: 14px;
    font-size: 11px;
  }

  .top-banner span {
    display: none;
  }

  .wrap {
    padding-inline: 18px;
  }

  nav.top {
    padding-inline: 18px;
    font-size: 24px;
  }

  .nav-cta {
    font-size: 11px;
  }

  .feature-menu summary {
    width: 38px;
    height: 38px;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
  }

  .feature-menu-label {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .feature-menu-symbol {
    width: 17px;
    height: 17px;
  }

  .feature-menu-chevron {
    display: none;
  }

  .feature-menu-panel {
    position: fixed;
    width: auto;
    max-height: calc(100vh - 94px);
    inset: 76px 18px auto;
    grid-template-columns: 1fr;
    overflow-y: auto;
    transform: none;
  }

  body:has(.top-banner) .feature-menu-panel {
    top: 110px;
  }

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

  .environment-panel {
    padding: 15px;
  }

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

  .agent-card {
    display: flex;
    align-items: center;
    min-height: 0;
    padding: 14px;
    text-align: left;
  }

  .agent-logo {
    flex: none;
    width: 45px;
    height: 45px;
    margin: 0 13px 0 0;
  }

  .agent-logo svg {
    width: 25px;
    height: 25px;
  }

  .integration-logos {
    align-items: stretch;
    flex-direction: column;
  }

  .integration-logo {
    justify-content: flex-start;
  }

  .loop-outcome {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-direction: column;
    gap: 22px;
  }

  .feature-card {
    min-height: 270px;
  }

  .access-layout {
    gap: 26px;
  }

  .info-box {
    padding: 19px;
  }

  .dashboard-titlebar {
    padding-inline: 12px;
  }

  .demo-badge {
    display: none;
  }

  .dashboard-toolbar,
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .metric-value {
    font-size: 19px;
  }

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

  .query-compose {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .query-action {
    display: none;
  }

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

  .feature-page-cta {
    padding: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-arrow.pulse,
  .flow-return-line {
    animation: none;
  }

  * {
    scroll-behavior: auto !important;
  }
}
