*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-alt: #f0f0ed;
  --border: #d8d8d4;
  --text: #1a1a18;
  --text-muted: #5c5c58;
  --accent: #1e4d6b;
  --accent-hover: #163a52;
  --accent-soft: #e8f0f5;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
/* ——— Layout ——— */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
/* ——— Header ——— */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}
.logo {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--accent);
  flex-shrink: 0;
}
.logo span {
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--text);
}
.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}
.menu-toggle:hover {
  background: var(--surface-alt);
}
/* ——— Hero ——— */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 96px 0 88px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border: 1px solid #c5d8e6;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--surface-alt);
}
.hero-visual {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.code-header {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.code-body {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text);
}
.code-body .comment { color: #8a8a86; }
.code-body .keyword { color: var(--accent); }
.code-body .string { color: #2a6b4a; }
.code-body .number { color: #8b5a2b; }
/* ——— Section common ——— */
section {
  padding: 88px 0;
}
.section-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}
/* ——— Products ——— */
.products {
  background: var(--bg);
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.product-card:last-child {
  margin-bottom: 0;
}
.product-body {
  padding: 40px 36px;
}
.product-tag {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border: 1px solid #c5d8e6;
  margin-bottom: 16px;
}
.product-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.product-body .product-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.product-body p {
  font-size: 0.9875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}
.product-list {
  list-style: none;
  margin-bottom: 28px;
}
.product-list li {
  font-size: 0.9375rem;
  color: var(--text);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}
.product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.product-meta {
  background: var(--surface-alt);
  border-left: 1px solid var(--border);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-meta h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: var(--text-muted);
}
.meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.meta-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.meta-table tr:last-child td {
  border-bottom: none;
}
.meta-table td:first-child {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  color: var(--accent);
  width: 110px;
  padding-right: 12px;
}
.meta-table td:last-child {
  color: var(--text-muted);
}
/* ——— Mission ——— */
.mission {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.mission-list {
  list-style: none;
  margin-top: 8px;
}
.mission-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.mission-list li:last-child {
  border-bottom: none;
}
.mission-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  min-width: 28px;
}
.mission-list strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.mission-list span {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
/* ——— Open Source ——— */
.opensource {
  background: var(--bg);
}
.os-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.os-box h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.os-box p {
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 0;
}
.os-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ——— CTA ——— */
.cta {
  background: var(--accent);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cta p {
  font-size: 1.0625rem;
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto 32px;
}
.cta .btn-primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.cta .btn-primary:hover {
  background: var(--surface-alt);
  border-color: var(--surface-alt);
}
.cta .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.cta .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
/* ——— Footer ——— */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  margin-bottom: 12px;
  display: inline-block;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
/* ——— Additions ——— */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
section[id], .product-card[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; font-weight: 500;
}
.skip-link:focus { top: 8px; }

.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { display: block; flex-shrink: 0; }
.logo-link-sm { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.logo-text span { color: var(--text); }
.flush { margin-bottom: 0; }

.btn-light { background: var(--surface); color: var(--text); border-color: var(--border); }

.product-note {
  font-size: 0.8125rem; color: var(--text-muted); border-left: 3px solid var(--accent);
  padding-left: 12px; margin: -8px 0 24px; line-height: 1.55;
}
.product-meta h4 + .meta-table + h4 { margin-top: 28px; }
.product-meta .demo {
  width: 100%; height: auto; border: 1px solid var(--border); background: var(--surface);
  margin-bottom: 24px;
}
.product-version { font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; color: var(--text-muted); }

/* ——— FAQ ——— */
.faq { background: var(--surface); border-top: 1px solid var(--border); }
.faq-list { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600;
  font-size: 1.0625rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  font-family: "IBM Plex Mono", monospace; font-size: 1.5rem; color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-muted); padding: 0 0 20px; max-width: 720px; }
.faq details a, .os-box p a, .product-note a { color: var(--accent); text-decoration: underline; }

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .hero-grid,
  .mission-grid,
  .os-box,
  .product-card {
    grid-template-columns: 1fr;
  }
  .product-meta {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-visual {
    min-height: auto;
  }
}
@media (max-width: 640px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    gap: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }
  .hero {
    padding: 56px 0 48px;
  }
  .hero h1 {
    font-size: 1.875rem;
  }
  .hero p {
    font-size: 1rem;
  }
  section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 1.625rem;
  }
  .product-body,
  .product-meta {
    padding: 28px 24px;
  }
  .product-body h3 {
    font-size: 1.25rem;
  }
  .os-box {
    padding: 28px 24px;
  }
  .os-actions {
    width: 100%;
  }
  .os-actions .btn {
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .cta {
    padding: 56px 0;
  }
  .cta h2 {
    font-size: 1.625rem;
  }
}
  

@media (max-width: 640px) {
  .faq summary { font-size: 1rem; }
}


/* ——— Product pages ——— */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 56px 0 64px; }
.page-hero h1 { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.page-lead { font-size: 1.1875rem; color: var(--text-muted); max-width: 720px; margin-bottom: 32px; }
.crumbs { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs span { margin: 0 4px; }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 40px; }
.fact { background: var(--surface-alt); border: 1px solid var(--border); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.fact strong { font-size: 1.125rem; color: var(--accent); }
.fact span { font-size: 0.875rem; color: var(--text-muted); }
section.plain { background: var(--bg); }
section.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section.plain + section.plain, section.band + section.band { border-top: none; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 8px; }
.two-col > .feature-grid, .table-wrap + .feature-grid { margin-top: 32px; }
.feature { background: var(--surface); border: 1px solid var(--border); padding: 24px; }
section.band .feature { background: var(--bg); }
.feature h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); background: var(--surface); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.spec-table thead th { background: var(--surface-alt); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.spec-table tbody th { font-weight: 600; width: 28%; }
.spec-table td { color: var(--text-muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
code { font-family: "IBM Plex Mono", monospace; font-size: 0.875em; background: var(--accent-soft); padding: 1px 6px; }
.codeblock { background: #14232d; color: #e6edf2; padding: 20px 22px; overflow-x: auto; font-size: 0.8125rem; line-height: 1.7; border: 1px solid #14232d; }
.codeblock code { background: none; padding: 0; font-size: inherit; color: inherit; }
.codeblock .comment { color: #8fb0c4; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col p { margin-bottom: 16px; color: var(--text-muted); }
.two-col h3 { font-size: 1.125rem; margin-bottom: 12px; }
.plain-list { list-style: none; }
.plain-list li { position: relative; padding: 8px 0 8px 20px; color: var(--text-muted); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; background: var(--accent); }
.plain-list li strong { color: var(--text); }
.plain-list.check li::before { content: "\2713"; background: none; top: 8px; color: var(--accent); width: auto; height: auto; font-weight: 700; }
.plain-list.wide { max-width: 860px; }
.callout { margin-top: 24px; padding: 16px 20px; background: var(--accent-soft); border-left: 4px solid var(--accent); font-size: 0.9375rem; color: var(--text); max-width: 860px; }
.muted { color: var(--text-muted); font-size: 0.875rem; margin-top: 16px; }
.steps { list-style: none; counter-reset: step; max-width: 860px; }
.steps li { counter-increment: step; display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.steps li:last-child { border-bottom: none; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: "IBM Plex Mono", monospace; font-size: 0.875rem; color: var(--accent); min-width: 28px; padding-top: 2px; }
.steps li strong { display: block; margin-bottom: 2px; }
.steps li span { color: var(--text-muted); font-size: 0.9375rem; }
.sibling-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sibling { background: var(--surface); border: 1px solid var(--border); padding: 24px; display: flex; flex-direction: column; gap: 6px; transition: border-color 0.15s ease; }
.sibling:hover { border-color: var(--accent); }
.sibling strong { color: var(--accent); font-size: 1.125rem; }
.sibling span { color: var(--text-muted); font-size: 0.9375rem; }
.wide-demo { max-width: 900px; width: 100%; height: auto; border: 1px solid var(--border); background: var(--surface); }
.footer-solo { border-top: none; padding-top: 0; }
.footer-solo a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .page-hero h1 { font-size: 2.25rem; }
}
@media (max-width: 640px) {
  .page-hero { padding: 40px 0 48px; }
  .page-hero h1 { font-size: 1.875rem; }
  .page-lead { font-size: 1.0625rem; }
  .spec-table th, .spec-table td { padding: 10px 12px; }
  .spec-table tbody th { width: auto; }
}

.two-col > * { min-width: 0; }
code { overflow-wrap: anywhere; }
.codeblock code { overflow-wrap: normal; }

/* ——— Modern refresh ——— */
:root {
  --border: #e3e3de;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(20,35,45,0.05), 0 1px 3px rgba(20,35,45,0.04);
  --shadow-md: 0 4px 16px rgba(20,35,45,0.08);
}
body { background: var(--bg); }

/* Header */
.site-header {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(20,35,45,0.07);
}
.nav { justify-content: flex-start; height: 64px; gap: 8px; }
.logo { font-size: 1.375rem; font-weight: 400; letter-spacing: -0.03em; }
.nav-links { margin-left: 28px; gap: 2px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 0.9375rem; color: var(--text-muted); }
.nav-links a:hover { background: var(--surface-alt); color: var(--text); }
.nav-links a[target="_blank"]::after { content: "\2197"; margin-left: 5px; font-size: 0.85em; }
.menu-toggle { margin-left: auto; border-radius: 999px; padding: 9px 18px; }

/* Announcement bar */
.announce { background: #e6eff7; }
.announce-inner { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.announce-icon { flex-shrink: 0; }
.announce-text { font-size: 1rem; font-weight: 500; color: var(--text); margin: 0; }
.announce-btn {
  margin-left: auto; flex-shrink: 0; background: #fff; color: var(--accent);
  font-size: 0.875rem; font-weight: 500; padding: 10px 22px; border-radius: 999px;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.announce-btn:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* Buttons and chips */
.btn { border-radius: 999px; padding: 12px 26px; }
.btn-primary { box-shadow: 0 1px 2px rgba(30,77,107,0.25); }
.btn-primary:hover { box-shadow: 0 4px 12px rgba(30,77,107,0.28); }
.hero-badge, .product-tag { border-radius: 999px; padding: 6px 14px; }

/* Heroes */
.hero, .page-hero {
  background:
    radial-gradient(900px 380px at 88% -8%, #d9e9f4 0%, rgba(255,255,255,0) 65%),
    radial-gradient(700px 320px at -5% 110%, #fbefd9 0%, rgba(255,255,255,0) 60%),
    var(--surface);
  border-bottom: none;
}
.hero h1, .page-hero h1 { letter-spacing: -0.035em; }

/* Cards and surfaces */
.product-card, .os-box, .feature, .fact, .sibling, .table-wrap, .hero-visual, .codeblock, .callout, .wide-demo, .product-meta .demo {
  border-radius: var(--radius);
}
.product-card { overflow: hidden; box-shadow: var(--shadow-sm); border-color: var(--border); }
.product-meta { border-left: 1px solid var(--border); }
.os-box, .feature, .sibling, .table-wrap { box-shadow: var(--shadow-sm); border-color: var(--border); }
.feature, .sibling { transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.feature:hover, .sibling:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hero-visual { box-shadow: var(--shadow-md); }
.fact { background: rgba(255,255,255,0.7); box-shadow: var(--shadow-sm); }
.callout { border-left-width: 4px; border-radius: 4px var(--radius) var(--radius) 4px; }
.table-wrap { overflow: hidden; overflow-x: auto; }
code { border-radius: 6px; }
.faq details { border-color: var(--border); }
.faq summary:hover { color: var(--accent); }
section.band, .mission, .faq { border-color: var(--border); }

/* CTA */
.cta { background: linear-gradient(135deg, #1e4d6b 0%, #2b6a91 100%); }

@media (max-width: 640px) {
  .nav-links { margin-left: 0; border-radius: 0 0 var(--radius) var(--radius); }
  .nav-links a { border-radius: 0; }
  .nav-links a[target="_blank"]::after { content: "\2197"; }
  .announce-inner { gap: 12px; }
  .announce-text { font-size: 0.9375rem; line-height: 1.3; }
  .announce-btn { padding: 9px 16px; }
  .announce-icon { width: 20px; height: 20px; }
}

/* ——— Terminal ——— */
.terminal {
  background: #0d1720; border-radius: 14px; overflow: hidden; min-width: 0;
  box-shadow: 0 24px 48px -12px rgba(13,23,32,0.45), 0 0 0 1px rgba(255,255,255,0.06);
}
.terminal-bar { display: flex; align-items: center; gap: 14px; background: #1b2a37; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.dots { display: inline-flex; gap: 8px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.terminal-title { flex: 1; text-align: center; margin-right: 52px; font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; color: #8aa0b0; }
.terminal-body {
  margin: 0; padding: 22px 24px 26px; overflow-x: auto; color: #dbe6ee;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.75rem, 0.68rem + 0.3vw, 0.875rem); line-height: 1.75; white-space: pre; tab-size: 4;
}
.terminal-body code { background: none; padding: 0; font: inherit; color: inherit; overflow-wrap: normal; }
.t-comment { color: #6f8596; font-style: italic; }
.t-prompt { color: #7ee787; font-weight: 500; }
.t-prog { color: #ffffff; font-weight: 500; }
.t-sub { color: #ffb86b; }
.t-flag { color: #79c0ff; }
.t-arg { color: #a5e3b0; }
.t-dim { color: #55697a; }
.t-cursor { display: inline-block; width: 0.6em; height: 1.1em; background: #dbe6ee; vertical-align: text-bottom; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .t-cursor { animation: none; } }

/* ——— Responsive layer ——— */
.container { max-width: 1200px; padding-left: max(clamp(16px, 4vw, 28px), env(safe-area-inset-left)); padding-right: max(clamp(16px, 4vw, 28px), env(safe-area-inset-right)); }
@media (min-width: 1700px) { .container { max-width: 1320px; } body { font-size: 17px; } }
img, svg, video { max-width: 100%; }
section { padding: clamp(48px, 7vw, 88px) 0; }
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 88px); }
.page-hero { padding: clamp(36px, 6vw, 64px) 0 clamp(44px, 6vw, 72px); }
.hero h1 { font-size: clamp(2rem, 1.1rem + 3.6vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.125rem, 1.2rem + 3.6vw, 3.5rem); }
.section-title, .os-box h2, .cta h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem); }
.hero p, .page-lead, .section-lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); }
.hero p { max-width: 540px; }
.hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(32px, 4vw, 56px); }
.hero-actions .btn, .product-actions .btn, .cta-actions .btn { text-align: center; }
.product-card { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.product-body, .product-meta { min-width: 0; padding: clamp(24px, 3.2vw, 40px) clamp(20px, 3vw, 36px); }
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.sibling-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.fact-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
.meta-table td:first-child { width: auto; min-width: 84px; }
.meta-table td { overflow-wrap: anywhere; }

/* laptops / small desktops and large tablets landscape */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero p { max-width: 640px; }
}
/* tablets */
@media (max-width: 900px) {
  .product-card, .os-box, .mission-grid { grid-template-columns: 1fr; }
  .product-meta { border-left: none; border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .os-actions { flex-direction: row; flex-wrap: wrap; }
  .announce-text { font-size: 0.9375rem; }
}
/* large phones and small tablets */
@media (max-width: 700px) {
  .announce-inner { flex-wrap: wrap; row-gap: 10px; }
  .announce-text { flex: 1 1 60%; }
  .announce-btn { margin-left: 32px; }
  .os-actions, .os-actions .btn { width: 100%; }
}
/* phones */
@media (max-width: 480px) {
  .hero-actions, .cta-actions, .product-actions { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn, .product-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .terminal-bar { padding: 10px 12px; }
  .terminal-title { margin-right: 0; text-align: right; }
  .terminal-body { padding: 16px 16px 20px; }
  .product-body h3 { font-size: 1.25rem; }
  .announce-btn { margin-left: 32px; }
}
/* very small phones */
@media (max-width: 360px) {
  .logo { font-size: 1.125rem; }
  .btn { padding: 12px 18px; }
  .nav-links a { padding: 14px 16px; }
}
/* short landscape screens: keep the sticky header from eating the view */
@media (max-height: 480px) and (orientation: landscape) {
  .site-header { position: static; }
}
/* touch devices: no hover lift, comfortable targets */
@media (hover: none) {
  .feature:hover, .sibling:hover, .announce-btn:hover { transform: none; }
  .nav-links a, .menu-toggle, .faq summary { min-height: 44px; }
}
@media (min-width: 1101px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } .hero-actions .btn { padding-left: 22px; padding-right: 22px; } }

/* ——— Maxson chat terminal ——— */
.chat-wrap { min-width: 0; }
.chat-body { white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; }
.chat-body .cl { display: block; margin-bottom: 1.1em; }
.chat-body .cl[hidden], .chat-body .think[hidden] { display: none !important; }
.chat-body .cl-bot { padding-left: 0; }
.t-bot { color: #ffb86b; font-weight: 500; }
.t-user { color: #7ee787; font-weight: 500; }
.t-ok { color: #7ee787; font-weight: 500; }
.t-cmd { display: block; margin: 0.35em 0; padding: 6px 12px; background: rgba(255,255,255,0.06); border-left: 3px solid #79c0ff; border-radius: 4px; }
.chat-body .think { color: #6f8596; }
.chat-body .cl-text { color: #ffffff; }
.replay {
  background: transparent; color: #8aa0b0; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  font: 500 0.6875rem "IBM Plex Mono", monospace; padding: 4px 12px; cursor: pointer;
}
.replay:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.chat-note { margin-top: 12px; }
.two-col-chat { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 900px) { .two-col-chat { grid-template-columns: 1fr; } }
.chat-wrap .terminal-title { margin-right: 0; text-align: center; }

/* Maxson chat: short fixed window with a scroller */
.chat-body {
  height: clamp(250px, 36vh, 330px); overflow-y: auto; overflow-x: hidden;
  scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #3b5163 transparent;
  overscroll-behavior: contain;
}
.chat-body::-webkit-scrollbar { width: 10px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: #3b5163; border-radius: 10px; border: 2px solid #0d1720; }
.chat-body::-webkit-scrollbar-thumb:hover { background: #55718a; }

/* ——— Release countdown ——— */
.countdown { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.countdown-label { font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 360px; }
.countdown-grid[hidden] { display: none; }
.countdown-grid > div { background: var(--accent-soft); border: 1px solid #c5d8e6; border-radius: 12px; padding: 12px 6px 10px; text-align: center; }
.countdown-grid strong { display: block; font-family: "IBM Plex Mono", monospace; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown-grid span { display: block; margin-top: 4px; font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }

/* ——— Wordmark ——— */
.logo { font-family: "Outfit", "IBM Plex Sans", system-ui, sans-serif; font-weight: 800; font-size: 1.625rem; letter-spacing: -0.02em; line-height: 1; }
.logo-link { gap: 10px; }
.logo-link-sm .logo-text { font-size: 1.375rem; }
@media (max-width: 360px) { .logo { font-size: 1.375rem; } }

/* Disabled deploy button and app-ecosystem modal */
.btn[disabled]{cursor:not-allowed;opacity:.7;flex-direction:column;gap:0;line-height:1.2}
.btn[disabled]:hover{transform:none;box-shadow:none}
.btn-note{display:block;font-size:.7rem;font-weight:500;color:var(--muted,#667)}
.modal{margin:auto;border:0;padding:0;border-radius:var(--radius);width:min(560px,calc(100% - 32px));max-height:calc(100% - 32px);background:var(--surface,#fff);color:var(--text);box-shadow:0 24px 70px rgba(0,0,0,.3)}
.modal::backdrop{background:rgba(15,25,35,.55)}
.modal-box{position:relative;padding:28px 24px 24px}
.modal-box h2{margin:0 36px 6px 0;font-size:1.4rem}
.modal-close{position:absolute;top:10px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:transparent;font-size:1.6rem;line-height:1;cursor:pointer;color:var(--text)}
.modal-close:hover{background:var(--accent-soft)}
.eco-list{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px}
.eco-list a{display:block;padding:12px 14px;border:1px solid var(--border);border-radius:12px;text-decoration:none;color:var(--text)}
.eco-list a:hover,.eco-list a:focus-visible{border-color:var(--accent);background:var(--accent-soft)}
.eco-list span{display:block;font-size:.9rem;color:var(--muted,#667);margin-top:2px}

/* News */
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.news-toolbar{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-bottom:28px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{font:inherit;font-size:.88rem;padding:7px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface,#fff);color:var(--text);cursor:pointer}
.chip[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#fff}
.news-search input{font:inherit;padding:9px 16px;border:1px solid var(--border);border-radius:999px;min-width:220px;max-width:100%;background:var(--surface,#fff);color:var(--text)}
.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:20px}
.news-card{position:relative;display:flex;flex-direction:column;background:var(--surface,#fff);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s,transform .2s}
.news-card:hover{box-shadow:0 10px 30px rgba(20,40,60,.12);transform:translateY(-2px)}
.news-card-media img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.news-card-body{padding:20px;display:flex;flex-direction:column;gap:10px;flex:1}
.news-card h2{font-size:1.2rem;margin:0;line-height:1.3}
.news-card h2 a{color:var(--text);text-decoration:none}
.news-card h2 a::after{content:"";position:absolute;inset:0}
.news-card p{margin:0;color:var(--muted,#667);font-size:.95rem}
.news-card-tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{font-size:.72rem;letter-spacing:.03em;text-transform:uppercase;padding:3px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}
.news-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:.85rem;color:var(--muted,#667);margin-top:auto}
.news-empty{text-align:center;color:var(--muted,#667);padding:40px 0}
.news-more{text-align:center;margin-top:28px}
.article-wrap{max-width:760px;margin:0 auto}
.article-head h1{font-size:clamp(1.9rem,5vw,2.8rem);line-height:1.15;margin:14px 0}
.article-summary{font-size:1.15rem;color:var(--muted,#667)}
.article-cover img{width:100%;border-radius:var(--radius);margin:24px 0}
.prose{margin-top:28px;font-size:1.05rem;line-height:1.75}
.prose h2{font-size:1.6rem;margin:2em 0 .5em}.prose h3{font-size:1.25rem;margin:1.6em 0 .4em}.prose h4{margin:1.4em 0 .4em}
.prose p,.prose ul,.prose ol,.prose blockquote,.prose pre,.prose .table-wrap{margin:0 0 1.1em}
.prose ul,.prose ol{padding-left:1.4em}
.prose li{margin:.3em 0}
.prose a{color:var(--accent);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.prose blockquote{border-left:4px solid var(--accent);background:var(--accent-soft);padding:12px 18px;border-radius:0 12px 12px 0}
.prose blockquote>:last-child{margin-bottom:0}
.prose img{max-width:100%;height:auto;border-radius:12px}
.prose pre.codeblock{overflow-x:auto}
.prose hr{border:0;border-top:1px solid var(--border);margin:2em 0}
.prose code{overflow-wrap:anywhere}
.prose pre code{overflow-wrap:normal}
.article-foot{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0}
.article-pager{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:760px;margin:0 auto 48px}
.article-pager a{display:block;padding:14px 16px;border:1px solid var(--border);border-radius:12px;text-decoration:none;color:var(--text)}
.article-pager a:hover{border-color:var(--accent)}
.article-pager span{display:block;font-size:.8rem;color:var(--muted,#667)}
.pager-next{text-align:right;grid-column:2}
.more-news .section-title{margin-bottom:20px}
@media (max-width:560px){.article-pager{grid-template-columns:1fr}.pager-next{grid-column:auto}.news-search,.news-search input{width:100%}}
.article-head,.article-foot{background:none;border:0;padding:0;box-shadow:none}
.article-head{border-bottom:1px solid var(--border);padding-bottom:20px}
.article-head .news-meta{margin-top:12px}
.article-foot{padding:0}
.more-news{max-width:1040px;margin:0 auto}
