:root {
  --bg: #e6e8df;
  --panel: #f7f4ea;
  --panel-2: #edf0e6;
  --border: #d4d6c9;
  --text: #27322f;
  --muted: #687069;
  --accent: #5f8f82;
  --accent-2: #c88958;
  --warning: #9a6a35;
  --danger: #d45d5d;
  --soft-blue: #dde8e5;
  --soft-green: #e4eadc;
  --surface: #efede3;
  --surface-2: #e9eee6;
  --shadow: 0 18px 42px rgba(66, 75, 65, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(200, 137, 88, 0.045), transparent 30rem),
    linear-gradient(225deg, rgba(95, 143, 130, 0.06), transparent 34rem),
    linear-gradient(180deg, #e9ebe2 0%, #e2e7dc 48%, #e8e9e2 100%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: none;
}

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

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  background: rgba(230, 232, 223, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 203, 190, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(95, 143, 130, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, #eee2cf, #dce9df);
  color: #446f66;
  font: 800 13px/1 Inter, sans-serif;
  box-shadow: 0 10px 22px rgba(75, 99, 87, 0.11);
}

.brand-mark img {
  width: 30px;
  height: 30px;
  display: block;
}

.brand strong,
h1,
h2,
h3 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  max-width: 310px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 13px;
}

.site-nav a {
  padding: 8px 11px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(95, 143, 130, 0.09);
  border-color: rgba(95, 143, 130, 0.22);
  border-radius: 8px;
}

.header-action,
.button.primary {
  padding: 9px 14px;
  background: var(--accent);
  color: #f8f5ec;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(75, 99, 87, 0.16);
}

.button.secondary {
  padding: 9px 14px;
  border-color: var(--border);
  background: rgba(247, 244, 234, 0.72);
  color: var(--text);
  border-radius: 8px;
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

section {
  scroll-margin-top: 96px;
  padding: 86px 0;
  border-bottom: 1px solid rgba(199, 203, 190, 0.72);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.hero {
  min-height: calc(100vh - 78px);
}

.lab-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 5px 8px;
  border: 1px solid rgba(95, 143, 130, 0.22);
  border-radius: 999px;
  background: rgba(228, 234, 220, 0.86);
  color: #4b756d;
  font-size: 12px;
  font-weight: 800;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(200, 137, 88, 0.13);
}

h1 {
  max-width: 780px;
  margin: 24px 0 18px;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  margin: 14px 0 8px;
  font-size: 22px;
}

.hero-subtitle {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.terminal-strip,
.branch-compare {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.terminal-strip {
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
}

.terminal-strip span,
.status-grid span,
.branch-compare span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(247, 244, 234, 0.64);
  padding: 7px 11px;
}

.dashboard-panel,
.text-panel,
.download-message,
.table-wrap,
.roadmap-list {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(247, 244, 234, 0.9);
  box-shadow: var(--shadow);
}

.dashboard-panel {
  overflow: hidden;
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.panel-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--soft-blue), var(--soft-green));
  font-size: 13px;
  font-weight: 800;
}

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

.window-controls i {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(95, 143, 130, 0.24);
  border-radius: 50%;
  background: rgba(247, 244, 234, 0.8);
}

.panel-body {
  padding: 22px;
}

.tool-status {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--text);
}

.accent-text {
  color: var(--accent);
}

.meter {
  height: 16px;
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #dedfd5;
  overflow: hidden;
}

.meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #8daa77, var(--accent-2));
  animation: meter 2.4s linear infinite;
}

@keyframes meter {
  from { transform: translateX(-20px); }
  to { transform: translateX(20px); }
}

.scan-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.scan-stats div {
  padding: 14px;
  border: 1px solid rgba(212, 214, 201, 0.95);
  border-radius: 8px;
  background: rgba(239, 237, 227, 0.82);
}

.scan-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.scan-stats dd {
  margin: 4px 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.console-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(200, 137, 88, 0.28);
  border-radius: 8px;
  background: #eee4d4;
  color: #6f5235;
  font: 13px/1.5 Inter, sans-serif;
}

.console-box p {
  margin: 0;
}

.section-heading {
  margin-bottom: 30px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  display: block;
  position: relative;
  min-height: 262px;
  padding: 24px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(200, 137, 88, 0.07), transparent 46%),
    var(--panel);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tool-card-icon {
  float: right;
  width: 72px;
  height: 72px;
  margin: -6px -6px 12px 16px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(66, 75, 65, 0.14);
}

.tool-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.32;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(95, 143, 130, 0.34);
  background:
    linear-gradient(135deg, rgba(95, 143, 130, 0.08), rgba(200, 137, 88, 0.07) 58%),
    #f8f5ed;
}

.tool-index {
  color: var(--accent);
  font-weight: 700;
}

.tool-card p {
  color: var(--muted);
  margin: 0 0 22px;
}

.card-link {
  position: absolute;
  left: 24px;
  bottom: 34px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--muted);
}

.meta-row span {
  padding: 4px 8px;
  border: 1px solid rgba(212, 214, 201, 0.95);
  border-radius: 999px;
  background: rgba(239, 237, 227, 0.84);
}

.text-panel {
  padding: 28px;
}

.text-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  color: var(--accent);
  font-size: 12px;
}

.download-message {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
}

.download-message strong {
  color: var(--warning);
}

.download-message span {
  color: var(--muted);
}

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

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(43, 58, 77, 0.72);
  text-align: left;
}

th {
  color: var(--accent);
  background: rgba(221, 232, 229, 0.72);
}

td {
  color: var(--muted);
}

.table-status {
  color: var(--accent);
}

.table-download {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.roadmap-list {
  padding: 10px;
}

.roadmap-list div {
  display: grid;
  grid-template-columns: 60px minmax(150px, 0.6fr) 1fr;
  gap: 18px;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(43, 58, 77, 0.65);
}

.roadmap-list div:last-child {
  border-bottom: 0;
}

.roadmap-list span {
  color: var(--accent-2);
}

.roadmap-list strong {
  color: var(--text);
}

.roadmap-list em {
  color: var(--muted);
  font-style: normal;
}

.branch-compare {
  margin-top: 24px;
  color: var(--accent);
  font-size: 13px;
}

.product-hero {
  min-height: 520px;
  padding-top: 74px;
}

.product-hero h1 {
  margin-bottom: 16px;
}

.product-panel,
.detail-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(95, 143, 130, 0.08), transparent 52%),
    rgba(247, 244, 234, 0.92);
  box-shadow: var(--shadow);
}

.product-panel {
  padding: 30px;
}

.product-panel--release {
  position: relative;
  overflow: hidden;
}

.product-art {
  float: right;
  width: min(42%, 220px);
  height: auto;
  margin: -8px -8px 18px 22px;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(15, 30, 44, 0.28);
}

.product-panel h2 {
  margin-top: 18px;
  font-size: clamp(26px, 3vw, 38px);
}

.product-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.product-code {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid rgba(200, 137, 88, 0.28);
  border-radius: 999px;
  background: #eee4d4;
  color: #6f5235;
  font: 800 12px/1 Inter, sans-serif;
}

.product-details {
  padding-top: 42px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid article {
  min-height: 210px;
  padding: 24px;
}

.detail-grid p {
  margin: 0;
  color: var(--muted);
}

.feature-grid,
.media-grid,
.support-grid,
.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.support-grid article,
.answer-grid article {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(247, 244, 234, 0.88);
}

.feature-grid p,
.support-grid p,
.answer-grid p,
.section-note {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(247, 244, 234, 0.88);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.check-list {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 24px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.inline-links a,
.legal-page a,
.support-grid a {
  color: var(--accent);
  font-weight: 700;
}

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

.app-preview {
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #25374a;
  border-radius: 10px;
  background: #101820;
  color: #dbe8f5;
  box-shadow: var(--shadow);
}

.app-preview--wide {
  grid-column: 1 / -1;
}

.app-preview figcaption {
  padding: 10px 14px;
  background: #172431;
  color: #9eb0c0;
  font-size: 12px;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid #294158;
  background: #192838;
}

.preview-bar span {
  margin-right: auto;
  font-weight: 700;
}

.preview-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #45637e;
}

.preview-layout {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  min-height: 280px;
}

.preview-nav,
.preview-chart,
.preview-list,
.scan-preview,
.bars-preview,
.report-preview,
.demo-placeholder {
  padding: 22px;
}

.preview-nav {
  border-right: 1px solid #294158;
  color: #8fa7ba;
  line-height: 2.4;
}

.preview-chart,
.preview-list,
.scan-preview,
.bars-preview,
.report-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-ring {
  width: 140px;
  height: 140px;
  margin: 18px auto;
  border: 24px solid #3b91d1;
  border-right-color: #63bea5;
  border-bottom-color: #d3955e;
  border-radius: 50%;
}

.preview-list span,
.top-preview li,
.report-preview span {
  padding: 9px;
  border: 1px solid #294158;
  border-radius: 5px;
  color: #a9bdcc;
}

.top-preview {
  min-height: 198px;
  margin: 0;
  padding: 22px 22px 22px 46px;
}

.top-preview li {
  margin-bottom: 9px;
}

.top-preview span {
  float: right;
  color: #62c3a8;
}

.bars-preview span {
  position: relative;
  z-index: 0;
  padding: 11px;
  overflow: hidden;
  border: 1px solid #294158;
}

.bars-preview span::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: var(--bar);
  background: rgba(59, 145, 209, 0.3);
}

.demo-placeholder {
  display: grid;
  min-height: 224px;
  place-content: center;
  text-align: center;
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.docs-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 8px;
  padding: 24px 0;
}

.docs-nav a {
  color: var(--muted);
}

.docs-content section {
  padding: 58px 0;
}

.docs-content li,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 86px 0;
}

.changelog-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
}

.changelog-entry strong,
.changelog-entry span {
  display: block;
}

.changelog-entry strong {
  font-size: 28px;
}

.changelog-entry span,
.changelog-entry li {
  color: var(--muted);
}

.release-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.release-facts span {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(247, 244, 234, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.release-section {
  padding-top: 42px;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.release-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(247, 244, 234, 0.86);
}

.release-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.download-gate {
  display: grid;
  min-height: calc(100vh - 80px);
  place-items: center;
}

.download-gate > div {
  width: min(720px, 100%);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(247, 244, 234, 0.94);
  box-shadow: var(--shadow);
}

.download-form {
  margin: 0;
}

.download-form button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.download-form p {
  color: var(--muted);
  font-size: 12px;
}

.package-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.package-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.package-card strong,
.package-card span {
  display: block;
}

.package-card span {
  color: var(--muted);
  font-size: 12px;
}

.package-card details {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.package-card code {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: var(--text);
}

.download-notes {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.download-notes a {
  color: var(--accent);
  font-weight: 700;
}

.download-error {
  padding: 12px 14px;
  border: 1px solid rgba(212, 93, 93, 0.35);
  border-radius: 8px;
  background: rgba(212, 93, 93, 0.08);
  color: #8a3d3d;
}

.bot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.enterprise-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 42px 0 54px;
  border-top: 1px solid rgba(199, 203, 190, 0.72);
  color: var(--muted);
}

.enterprise-footer a {
  text-decoration: none;
}

.enterprise-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  max-width: 570px;
}

.enterprise-footer__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(95, 143, 130, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, #eee2cf, #dce9df);
  color: #446f66;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(75, 99, 87, 0.11);
}

.enterprise-footer__mark img {
  width: 30px;
  height: 30px;
  display: block;
}

.enterprise-footer__copy strong,
.enterprise-footer__copy span {
  display: block;
}

.enterprise-footer__copy strong {
  color: var(--text);
}

.enterprise-footer__copy span {
  margin-top: 5px;
  line-height: 1.45;
}

.enterprise-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  max-width: 420px;
  font-weight: 700;
}

.enterprise-footer a:hover {
  color: var(--accent);
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-nav.open {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav.open a {
    border: 1px solid var(--border);
    background: rgba(247, 244, 234, 0.84);
  }

  .section-grid,
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .tool-grid,
  .feature-grid,
  .support-grid,
  .answer-grid,
  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .enterprise-footer {
    grid-template-columns: 1fr;
  }

  .enterprise-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .brand small {
    max-width: 210px;
  }

  section {
    padding: 58px 0;
  }

  h1 {
    font-size: 42px;
  }

  .hero-subtitle,
  .text-panel p {
    font-size: 16px;
  }

  .tool-grid,
  .feature-grid,
  .support-grid,
  .media-grid,
  .answer-grid,
  .release-grid,
  .scan-stats,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .tool-status {
    display: block;
  }

  .tool-status strong {
    display: block;
    margin-top: 6px;
  }

  .tool-card {
    min-height: 238px;
  }

  .roadmap-list div {
    grid-template-columns: 48px 1fr;
    gap: 8px 14px;
  }

  .roadmap-list em {
    grid-column: 2;
  }

  .site-nav.open {
    grid-template-columns: 1fr;
  }

  .product-art {
    float: none;
    width: 150px;
    margin: 0 0 20px;
  }

  .download-gate > div {
    padding: 26px 20px;
  }

  .docs-layout,
  .changelog-entry {
    grid-template-columns: 1fr;
  }

  .docs-nav {
    position: static;
    border-bottom: 1px solid var(--border);
  }

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

  .preview-nav {
    display: none;
  }

  .package-card {
    grid-template-columns: 1fr;
  }

  .package-card details {
    grid-column: auto;
  }
}

/* Dark-theme contrast corrections for secondary pages */
.download-gate > div,
.release-grid article,
.changelog-entry {
  border-color: #2b3442;
  background:
    linear-gradient(145deg, rgba(88, 199, 218, 0.035), transparent 52%),
    #10161f;
}

.release-facts span {
  border-color: #2b3442;
  background: #0d1219;
  color: #aeb9c9;
}

.package-card {
  border-color: #2b3442;
  background: #0d1219;
}

.package-card > div strong {
  color: #eef3fb;
}

.package-card span,
.package-card details,
.download-notes {
  color: #aeb9c9;
}

.package-card summary {
  width: max-content;
  color: var(--accent);
  cursor: pointer;
  font-weight: 700;
}

.package-card summary:hover,
.package-card summary:focus-visible {
  color: #8fe2ee;
}

.package-card code {
  padding: 10px 12px;
  border: 1px solid #2b3442;
  border-radius: 6px;
  background: #080b10;
  color: #dce5f2;
  font-family: "JetBrains Mono", monospace;
}

.download-notes strong {
  color: #dce5f2;
}

.download-error {
  border-color: rgba(255, 118, 118, 0.48);
  background: rgba(255, 118, 118, 0.09);
  color: #ffaaaa;
}

.docs-nav strong {
  color: #eef3fb;
}

.docs-nav a {
  padding: 6px 8px;
  border-radius: 6px;
  color: #aeb9c9;
}

.docs-nav a:hover,
.docs-nav a:focus-visible {
  background: #151b24;
  color: var(--accent);
}

.docs-content p,
.docs-content li,
.legal-page p,
.legal-page li,
.changelog-entry span,
.changelog-entry li {
  color: #aeb9c9;
}

.legal-page a,
.docs-content a,
.changelog-entry a {
  color: var(--accent);
}

.legal-page a:hover,
.docs-content a:hover,
.changelog-entry a:hover {
  color: #8fe2ee;
}

.console-box {
  border-color: rgba(245, 179, 95, 0.35);
  background: rgba(245, 179, 95, 0.08);
  color: #f8c985;
}

.scan-stats div {
  border-color: #2b3442;
  background: #0d1219;
}

.meter {
  border-color: #2b3442;
  background: #080b10;
}

.panel-titlebar {
  border-color: #2b3442;
  background: linear-gradient(90deg, #172431, #162329);
}

.site-nav.open a {
  border-color: #2b3442;
  background: #151b24;
  color: #dce5f2;
}

.site-nav.open a:hover,
.site-nav.open a.active {
  border-color: #4a5971;
  color: var(--accent);
}

.support-grid article h2,
.release-grid article h3,
.changelog-entry strong {
  color: #eef3fb;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Product roadmap */
.roadmap-hero {
  padding-top: 110px;
  padding-bottom: 72px;
}

.roadmap-hero h1 {
  max-width: 980px;
}

.roadmap-hero .hero-subtitle {
  max-width: 850px;
}

.roadmap-summary,
.roadmap-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.roadmap-summary article,
.roadmap-preview__grid article,
.roadmap-preview__action {
  min-height: 130px;
  padding: 20px;
  border: 1px solid #2b3442;
  border-radius: 8px;
  background: #10161f;
}

.roadmap-summary small,
.roadmap-preview__grid small {
  display: block;
  color: var(--accent);
  font: 700 10px/1.4 "JetBrains Mono", monospace;
  letter-spacing: .08em;
}

.roadmap-summary strong,
.roadmap-summary span,
.roadmap-preview__grid strong,
.roadmap-preview__grid span {
  display: block;
}

.roadmap-summary strong,
.roadmap-preview__grid strong {
  margin-top: 12px;
  color: #eef3fb;
  font-size: 19px;
}

.roadmap-summary span,
.roadmap-preview__grid span {
  margin-top: 6px;
  color: #aeb9c9;
  font-size: 13px;
}

.roadmap-preview__action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(88, 199, 218, .13), transparent 68%),
    #10161f;
}

.roadmap-preview__action:hover {
  border-color: var(--accent);
  background:
    linear-gradient(135deg, rgba(88, 199, 218, .2), transparent 68%),
    #151b24;
}

.roadmap-preview__action > span {
  margin: 0;
  color: var(--accent);
  font: 700 10px/1.4 "JetBrains Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.roadmap-preview__action > strong {
  font-size: 15px;
  line-height: 1.45;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.stage-grid article {
  padding: 22px;
  border: 1px solid #202734;
  border-radius: 8px;
  background: #10161f;
}

.stage-grid article > span {
  color: var(--accent-2);
  font: 700 11px/1 "JetBrains Mono", monospace;
}

.stage-grid h3 {
  margin-top: 20px;
}

.stage-grid p {
  color: #aeb9c9;
}

.stage-grid small {
  display: block;
  padding-top: 14px;
  border-top: 1px solid #202734;
  color: #8190a6;
  font-family: "JetBrains Mono", monospace;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.timeline::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 194px;
  width: 1px;
  content: "";
  background: #2b3442;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 48px;
}

.timeline-item::before {
  position: absolute;
  top: 25px;
  left: 188px;
  z-index: 1;
  width: 11px;
  height: 11px;
  border: 3px solid #0a0d12;
  border-radius: 50%;
  content: "";
  background: #4a5971;
  box-shadow: 0 0 0 1px #4a5971;
}

.timeline-item.is-current::before {
  background: #78d88b;
  box-shadow: 0 0 0 1px #78d88b, 0 0 18px rgba(120, 216, 139, .25);
}

.timeline-date {
  padding-top: 18px;
  text-align: right;
}

.timeline-date strong,
.timeline-date span {
  display: block;
}

.timeline-date strong {
  color: #dce5f2;
  font-size: 14px;
}

.timeline-date span {
  margin-top: 5px;
  color: #8190a6;
  font: 500 10px/1.4 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.timeline-card {
  padding: 26px;
  border: 1px solid #202734;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(88, 199, 218, .035), transparent 50%),
    #10161f;
}

.timeline-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.timeline-heading h3 {
  margin: 0;
}

.timeline-card > p,
.timeline-card li {
  color: #aeb9c9;
}

.timeline-card ul {
  margin: 18px 0;
  padding-left: 20px;
}

.timeline-card li + li {
  margin-top: 7px;
}

.timeline-card li strong {
  color: #dce5f2;
}

.roadmap-state {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid #2b3442;
  border-radius: 999px;
  font: 700 9px/1 "JetBrains Mono", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.roadmap-state.production {
  border-color: rgba(120, 216, 139, .45);
  color: #78d88b;
}

.roadmap-state.discovery {
  border-color: rgba(88, 199, 218, .45);
  color: #58c7da;
}

.roadmap-state.build {
  border-color: rgba(245, 179, 95, .45);
  color: #f5b35f;
}

.roadmap-state.planned {
  color: #aeb9c9;
}

.roadmap-state.research {
  color: #8190a6;
}

.exit-gate {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid #2b3442;
  border-radius: 7px;
  background: #0d1219;
  font-size: 12px;
}

.exit-gate strong {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.exit-gate span {
  color: #aeb9c9;
}

@media (max-width: 940px) {
  .roadmap-summary,
  .roadmap-preview__grid,
  .stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-preview__action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .roadmap-hero {
    padding-top: 70px;
  }

  .roadmap-summary,
  .roadmap-preview__grid,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-preview__action {
    grid-column: auto;
  }

  .timeline::before {
    left: 5px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 28px;
  }

  .timeline-item::before {
    left: 0;
  }

  .timeline-date {
    padding-top: 0;
    text-align: left;
  }

  .timeline-card {
    padding: 20px;
  }

  .exit-gate {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

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

/* DiskScope-inspired Nova Labs interface */
:root {
  --bg: #0a0d12;
  --panel: #10161f;
  --panel-2: #151b24;
  --border: #202734;
  --text: #e8edf7;
  --muted: #93a0b4;
  --accent: #58c7da;
  --accent-2: #f5b35f;
  --warning: #f5b35f;
  --danger: #ff7676;
  --soft-blue: #172431;
  --soft-green: #162329;
  --surface: #0f141c;
  --surface-2: #101820;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

body {
  background:
    radial-gradient(circle at 78% 8%, rgba(88, 199, 218, 0.09), transparent 28rem),
    radial-gradient(circle at 8% 38%, rgba(245, 179, 95, 0.055), transparent 24rem),
    #0a0d12;
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.site-shell {
  width: min(1280px, calc(100% - 36px));
}

.site-header {
  padding: 14px 0;
  background: rgba(10, 13, 18, 0.88);
  border-color: var(--border);
}

.brand-mark,
.enterprise-footer__mark {
  border-color: rgba(88, 199, 218, 0.45);
  background: linear-gradient(135deg, #58c7da, #f5b35f);
  color: #061016;
  box-shadow: 0 10px 28px rgba(88, 199, 218, 0.12);
}

.brand small {
  color: #75849a;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  background: #151b24;
  border-color: #2b3442;
}

.header-action,
.button.primary,
.table-download {
  background: var(--accent);
  border-color: var(--accent);
  color: #071117;
  box-shadow: 0 12px 28px rgba(88, 199, 218, 0.14);
}

.site-header > .header-action {
  justify-self: end;
}

.button.secondary {
  border-color: #2b3442;
  background: #151b24;
  color: #dce5f2;
}

section {
  border-color: rgba(32, 39, 52, 0.9);
}

.hero {
  min-height: min(820px, calc(100vh - 70px));
  grid-template-columns: minmax(0, .78fr) minmax(560px, 1.22fr);
  gap: 46px;
}

.lab-label,
.section-kicker,
.product-code {
  border: 1px solid #2b3442;
  border-radius: 6px;
  background: #10161f;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.status-dot {
  background: #78d88b;
  box-shadow: 0 0 0 4px rgba(120, 216, 139, 0.1);
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 5.5vw, 72px);
  letter-spacing: 0;
}

h2 {
  letter-spacing: 0;
}

.hero-subtitle {
  color: #aab5c5;
}

.terminal-strip span,
.status-grid span,
.branch-compare span {
  border-color: #2b3442;
  border-radius: 7px;
  background: #10161f;
}

.terminal-strip {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.terminal-strip span::before {
  margin-right: 7px;
  color: var(--accent);
  content: ">";
}

.dashboard-panel,
.text-panel,
.download-message,
.table-wrap,
.roadmap-list,
.product-panel,
.detail-grid article,
.feature-grid article,
.support-grid article {
  border-color: var(--border);
  background: rgba(16, 22, 31, 0.92);
  box-shadow: var(--shadow);
}

.tool-card {
  border-color: var(--border);
  background:
    linear-gradient(145deg, rgba(88, 199, 218, 0.045), transparent 48%),
    #10161f;
  box-shadow: none;
}

.tool-card:hover {
  border-color: #4a5971;
  background: #151b24;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.tool-card-icon {
  border-color: #2b3442;
  border-radius: 8px;
}

.faq-list details,
.answer-grid article {
  border-color: var(--border);
  background: rgba(16, 22, 31, 0.92);
}

.tool-index,
.card-link,
.table-status {
  color: var(--accent);
}

.meta-row span {
  border-color: #2b3442;
  background: #0d1219;
}

.text-panel p,
.download-message span,
td,
.roadmap-list em,
.product-panel p,
.detail-grid p,
.feature-grid p,
.support-grid p,
.section-note {
  color: var(--muted);
}

th {
  color: #aab5c5;
  background: #151b24;
}

th,
td,
.roadmap-list div {
  border-color: var(--border);
}

.roadmap-list span {
  color: var(--accent-2);
  font-family: "JetBrains Mono", monospace;
}

.enterprise-footer {
  border-color: var(--border);
}

.enterprise-footer__links a {
  border-color: #2b3442;
  background: #10161f;
}

.nav-toggle {
  border-color: #2b3442;
  background: #151b24;
}

.nav-toggle span {
  background: var(--text);
}

.app-window {
  overflow: hidden;
  border: 1px solid #2b3442;
  border-radius: 10px;
  background: #0a0d12;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(88, 199, 218, .04);
}

.app-window__titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 9px 14px;
  border-bottom: 1px solid #202734;
  background: #0f141c;
}

.app-window__identity {
  display: flex;
  align-items: center;
  gap: 9px;
}

.app-window__identity strong,
.app-window__identity small {
  display: block;
}

.app-window__identity strong {
  font-size: 13px;
}

.app-window__identity small {
  color: #8190a6;
  font-size: 9px;
  text-transform: uppercase;
}

.app-window__mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #58c7da, #f5b35f);
  color: #061016;
  font-size: 13px;
  font-weight: 900;
}

.app-window__mark img {
  display: block;
  width: 24px;
  height: 24px;
}

.window-controls i {
  border-color: #384457;
  background: #202734;
}

.app-window__body {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 430px;
}

.app-window__sidebar {
  padding: 16px 10px;
  border-right: 1px solid #202734;
  background: #0f141c;
}

.app-window__nav {
  display: block;
  margin-bottom: 5px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #93a0b4;
  font-size: 11px;
  font-weight: 700;
}

.app-window__nav.active {
  border-color: #58c7da;
  background: #223141;
  color: #eef3fb;
}

.app-window__top {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 13px;
  border-top: 1px solid #202734;
}

.app-window__top > small {
  color: #dce5f2;
  font-size: 9px;
  font-weight: 800;
}

.app-window__top span {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  color: #aeb9c9;
  font-size: 8px;
  line-height: 1.25;
}

.app-window__top b {
  color: #8190a6;
}

.app-window__top em {
  grid-column: 2;
  color: #58c7da;
  font-style: normal;
}

.app-window__workspace {
  min-width: 0;
  padding: 20px;
  background: #0a0d12;
}

.app-window__heading,
.app-window__scan,
.app-window__metrics,
.app-window__table > div {
  display: flex;
  align-items: center;
}

.app-window__heading {
  justify-content: space-between;
  margin-bottom: 15px;
}

.app-window__heading small,
.app-window__heading strong {
  display: block;
}

.app-window__heading small,
.app-window__scan small,
.app-window__metrics small {
  color: #8190a6;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.app-window__heading strong {
  margin-top: 3px;
  font-size: 20px;
}

.app-status {
  padding: 4px 8px;
  border: 1px solid #58c7da;
  border-radius: 999px;
  color: #58c7da;
  font-size: 8px;
  font-weight: 800;
}

.app-window__scan {
  gap: 7px;
  padding: 9px;
  border: 1px solid #202734;
  border-radius: 8px;
  background: #10161f;
}

.app-window__scan > span {
  flex: 1;
  min-width: 0;
}

.app-window__scan small,
.app-window__scan strong {
  display: block;
}

.app-window__scan strong {
  overflow: hidden;
  margin-top: 3px;
  color: #c8d3e2;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-window__scan button {
  height: 29px;
  padding: 0 9px;
  border: 1px solid #2b3442;
  border-radius: 6px;
  background: #151b24;
  color: #e8edf7;
  font-size: 9px;
}

.app-window__scan .app-window__primary {
  border-color: #58c7da;
  background: #58c7da;
  color: #071117;
  font-weight: 800;
}

.app-window__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 8px 0;
}

.app-window__metrics > span {
  padding: 9px;
  border: 1px solid #202734;
  border-radius: 7px;
  background: #10161f;
}

.app-window__metrics strong {
  display: block;
  margin-top: 3px;
  color: #e8edf7;
  font-size: 11px;
}

.app-window__table {
  overflow: hidden;
  border: 1px solid #202734;
  border-radius: 8px;
}

.app-window__table > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px 58px;
  min-height: 47px;
  padding: 7px 11px;
  border-bottom: 1px solid #202734;
  color: #dce5f2;
  font-size: 9px;
}

.app-window__table > div:last-child {
  border-bottom: 0;
}

.app-window__table .app-window__table-head {
  min-height: 31px;
  background: #151b24;
  color: #aab5c5;
  font-size: 8px;
  font-weight: 800;
}

.app-window__table small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #8190a6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-window__table strong {
  color: #58c7da;
  text-align: right;
}

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

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

  .app-window {
    width: min(780px, 100%);
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 22px, 1280px);
  }

  .app-window__body {
    grid-template-columns: 1fr;
  }

  .app-window__sidebar {
    display: none;
  }

  .app-window__workspace {
    padding: 13px;
  }

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

  .app-window__table > div {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .app-window__table > div > :nth-child(2) {
    display: none;
  }
}
