:root {
  --primary: #28c76f;
  --accent: #f0b35b;
  --bg: #0c0f0d;
  --panel: #121713;
  --panel-2: #171d18;
  --text: #f2f6ef;
  --muted: #a9b5aa;
  --soft: #1e261f;
  --border: #2c372f;
  --paper: #eef4ed;
  --paper-text: #111711;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 15, 13, .88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--text);
  font-weight: 850;
  line-height: 1.2;
}

.brand img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.brand span {
  overflow-wrap: anywhere;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.nav a {
  color: #cbd6cd;
  font-size: 14px;
  font-weight: 760;
}

.nav a[aria-current="page"] {
  color: var(--text);
}

.header-action {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-weight: 800;
}

.product-header {
  background: rgba(7, 9, 13, .92);
}

.product-header-inner {
  min-height: 66px;
  grid-template-columns: minmax(180px, 1fr) minmax(300px, auto) auto;
}

.product-nav {
  gap: 2px;
  justify-content: center;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}

.product-nav a {
  padding: 7px 11px;
  border-radius: 999px;
}

.product-nav a[aria-current="page"] {
  background: var(--soft);
}

.product-action {
  border-color: transparent;
  background: var(--primary);
  color: #07110b;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.tech-hero {
  display: grid;
  gap: 38px;
  min-height: calc(100svh - 70px);
  padding: 74px 0 64px;
}

.hero-copy h1 {
  max-width: 900px;
  margin: 0;
  font-size: 60px;
  line-height: 1;
  color: var(--text);
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  background: var(--primary);
  color: #071009;
  font-weight: 880;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
  background: #63e89b;
}

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

.button.secondary:hover {
  background: var(--soft);
}

.ops-panel {
  min-width: 0;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)), var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

.ops-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.ops-topline strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.ops-workspace {
  display: grid;
  grid-template-columns: minmax(260px, .95fr) 70px minmax(0, 1.25fr);
  min-height: 310px;
}

.ops-main {
  padding: 24px;
  border-right: 1px solid var(--border);
}

.ops-status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 8px;
  border: 1px solid rgba(40, 199, 111, .32);
  border-radius: 999px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 820;
}

.ops-main h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.ops-main p {
  margin: 12px 0 0;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.ops-rail {
  display: grid;
  place-content: center;
  gap: 14px;
  border-right: 1px solid var(--border);
  background: var(--panel-2);
}

.ops-rail span {
  display: block;
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
}

.ops-rail span:first-child {
  background: var(--primary);
}

.ops-rail span:nth-child(2) {
  background: var(--accent);
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
}

.ops-grid article {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 22px 18px;
  border-right: 1px solid var(--border);
}

.ops-grid article:last-child {
  border-right: 0;
}

.ops-grid span {
  width: 28px;
  height: 4px;
  background: var(--accent);
}

.ops-grid h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.28;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ops-grid p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  background: var(--border);
}

.proof-strip div {
  min-height: 100px;
  padding: 18px;
  background: var(--panel);
}

.proof-strip span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 860;
}

.proof-strip strong {
  display: block;
  margin-top: 18px;
  line-height: 1.35;
}

.band,
.page-title,
.split,
.contact-panel,
.article-detail,
.service-list,
.cta-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.page-title {
  max-width: 900px;
}

.page-title h1,
.article-detail h1 {
  margin: 0;
  font-size: 50px;
  line-height: 1.06;
}

.page-title p,
.section-heading p,
.split p,
.service-card p,
.service-row p,
.article-row p,
.contact-panel p,
.footer p {
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: .38fr minmax(0, .62fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2,
.split h2,
.cta-section h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
}

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

.service-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.service-card span {
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 26px;
  background: var(--primary);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.24;
}

.split {
  display: grid;
  grid-template-columns: .38fr minmax(0, .62fr);
  gap: 44px;
}

.split > div > p,
.split > p,
.method-list p {
  margin-top: 0;
  font-size: 18px;
}

.split-image {
  display: block;
  width: 100%;
  margin-top: 22px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: saturate(.82);
}

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

.service-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.service-row > span {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.service-row h2 {
  margin: 0;
  font-size: 28px;
}

.service-row p {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: 18px;
}

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

.article-list.full {
  padding: 0 0 72px;
}

.article-row {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.article-thumb img,
.article-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--soft);
  filter: saturate(.85);
}

.article-row-copy {
  display: grid;
  gap: 10px;
}

.article-row h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.28;
}

.article-row a {
  color: var(--text);
  font-weight: 840;
}

.article-row p {
  margin: 0;
}

.article-date {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.article-row .article-date,
.article-detail .article-date {
  color: var(--accent);
}

.article-detail .article-date {
  margin-top: 14px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 800;
}

.article-detail {
  max-width: 880px;
}

.article-detail .lead {
  color: var(--muted);
}

.article-cover {
  margin: 26px 0 8px;
}

.article-detail section {
  margin-top: 38px;
}

.article-detail h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.article-keypoints,
.related-articles {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.article-keypoints ul {
  margin: 0;
  padding-left: 20px;
}

.article-keypoints li {
  margin: 10px 0;
  color: #c3cdc5;
}

.related-articles div {
  display: grid;
  gap: 10px;
}

.related-articles a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 850;
}

.article-detail p {
  color: #c3cdc5;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 850;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-nav a {
  max-width: 48%;
  color: var(--primary);
  font-weight: 850;
}

.sitemap-links {
  display: grid;
  gap: 10px;
}

.sitemap-links p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.sitemap-links span {
  color: var(--muted);
  font-size: 14px;
}

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

.contact-panel > div {
  padding: 22px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.contact-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-copy {
  max-width: 760px;
}

.cta-copy h2 {
  margin-bottom: 10px;
}

.cta-copy p:last-child {
  color: var(--muted);
}

.footer {
  background: #070907;
  color: var(--text);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  max-width: 620px;
  margin: 8px 0 0;
}

.footer .copyright {
  margin-top: 12px;
  color: rgba(242, 246, 239, .56);
  font-size: 13px;
}

.footer-kicker {
  display: block;
  margin-top: 6px;
  color: rgba(242, 246, 239, .52);
  font-size: 12px;
  font-weight: 800;
}

.footer a {
  color: #dce5dd;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 16px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .section-heading,
  .split,
  .contact-panel,
  .cta-section,
  .service-grid,
  .proof-strip,
  .ops-workspace,
  .ops-grid {
    grid-template-columns: 1fr;
  }

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

  .ops-main,
  .ops-rail,
  .ops-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .ops-rail {
    display: flex;
    justify-content: center;
    min-height: 54px;
  }

  .ops-grid article:last-child {
    border-bottom: 0;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .page-title h1,
  .article-detail h1 {
    font-size: 38px;
  }

  .article-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* Homepage de-kinship: product operations naming without shared B2B shell classes. */
.tech-ops-hero {
  display: grid;
  gap: 38px;
  min-height: calc(100svh - 70px);
  padding: 74px 0 64px;
}

.tech-hero-copy h1 {
  max-width: 900px;
  margin: 0;
  font-size: 60px;
  line-height: 1;
  color: var(--text);
}

.tech-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.tech-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.tech-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tech-action,
.tech-action-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-weight: 880;
}

.tech-action {
  background: var(--primary);
  color: #071009;
}

.tech-action-alt {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.tech-proof-strip,
.tech-capability-section,
.tech-product-story,
.tech-resource-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.tech-proof-strip,
.tech-section-heading,
.tech-product-story {
  display: grid;
  grid-template-columns: .38fr minmax(0, .62fr);
  gap: 38px;
}

.tech-proof-strip div {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.tech-section-heading {
  align-items: end;
  margin-bottom: 30px;
}

.tech-section-heading h2,
.tech-product-story h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
}

.tech-service-grid,
.tech-article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tech-story-image {
  display: block;
  width: 100%;
  margin-top: 22px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: saturate(.82);
}

@media (max-width: 820px) {
  .tech-ops-hero,
  .tech-proof-strip,
  .tech-section-heading,
  .tech-product-story,
  .tech-service-grid,
  .tech-article-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tech-hero-copy h1 {
    font-size: 36px;
  }

  .tech-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Page-level de-kinship: technical reference article model. */
.tech-reference-doc {
  width: min(1160px, calc(100% - 40px));
  margin: 44px auto 84px;
}

.tech-reference-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.tech-reference-head h1 {
  margin: 8px 0;
  font-size: clamp(34px, 6vw, 72px);
  line-height: .98;
}

.tech-reference-head p,
.tech-reference-head span,
.tech-reference-head time {
  color: var(--muted);
}

.tech-reference-head aside {
  display: grid;
  gap: 12px;
}

.tech-reference-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.tech-reference-grid nav {
  align-self: start;
  position: sticky;
  top: 90px;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--panel-2);
  border: 1px solid var(--border);
}

.tech-reference-grid main {
  display: grid;
  gap: 24px;
}

.tech-reference-grid main img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--border);
}

.tech-reference-grid section,
.tech-reference-related,
.tech-reference-switch {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.tech-reference-grid p {
  color: var(--muted);
}

.tech-reference-related,
.tech-reference-related div,
.tech-reference-switch {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 820px) {
  .tech-reference-head,
  .tech-reference-grid {
    grid-template-columns: 1fr;
  }

  .tech-reference-grid nav {
    position: static;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  main,
  .header-inner,
  .footer-inner {
    width: min(100% - 32px, 720px);
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .lead {
    font-size: 18px;
  }

  .ops-main p,
  .ops-grid p {
    -webkit-line-clamp: 2;
  }

  .ops-grid article {
    padding: 16px;
  }

  .band,
  .page-title,
  .split,
  .contact-panel,
  .article-detail,
  .service-list,
  .cta-section {
    padding: 50px 0;
  }

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

  .service-row {
    grid-template-columns: 1fr;
  }

  .article-nav {
    flex-direction: column;
  }

  .article-nav a {
    max-width: none;
  }
}

.tech-about-system,
.tech-service-matrix,
.tech-resource-lab,
.tech-contact-board {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.tech-about-system {
  display: grid;
  grid-template-columns: .34fr minmax(0, .66fr);
  gap: 34px;
}

.tech-about-system h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
}

.tech-system-stack,
.tech-service-matrix,
.tech-resource-lab,
.tech-contact-routes {
  display: grid;
  gap: 14px;
}

.tech-system-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-system-stack article,
.tech-service-matrix article,
.tech-resource-lab article,
.tech-contact-routes article {
  border: 1px solid var(--border);
  background: var(--panel);
}

.tech-system-stack article {
  min-height: 190px;
  padding: 20px;
}

.tech-system-stack span,
.tech-service-matrix span,
.tech-contact-routes span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.tech-system-stack strong {
  display: block;
  margin-top: 34px;
  font-size: 22px;
}

.tech-system-stack p,
.tech-service-matrix p,
.tech-resource-lab p,
.tech-contact-routes p {
  color: var(--muted);
}

.tech-service-matrix {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-service-matrix article {
  min-height: 300px;
  padding: 22px;
  display: grid;
  align-content: space-between;
}

.tech-service-matrix h2,
.tech-resource-lab h2 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.tech-service-matrix a,
.tech-resource-lab h2 a,
.resource-link {
  color: var(--text);
  font-weight: 850;
}

.tech-service-board-title,
.tech-service-board {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.tech-service-board-title {
  display: grid;
  grid-template-columns: minmax(0, .44fr) minmax(0, .56fr);
  gap: 34px;
  align-items: end;
}

.tech-service-board-title h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.04;
}

.tech-service-board-title > p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.tech-service-board {
  display: grid;
  gap: 0;
}

.tech-service-stack {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-service-board header,
.tech-service-stack li {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: start;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: var(--panel);
}

.tech-service-board header {
  padding: 16px 20px;
  color: var(--muted);
  background: var(--panel-2);
}

.tech-service-stack li {
  padding: 24px 20px;
}

.tech-service-stack li:last-child {
  border-bottom: 1px solid var(--border);
}

.tech-service-board span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.tech-service-board strong {
  color: var(--text);
}

.tech-service-board h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.16;
}

.tech-service-board p {
  margin: 0;
  color: var(--muted);
}

.tech-service-board a {
  color: var(--primary);
  font-weight: 850;
}

.tech-resource-lab article {
  display: grid;
  grid-template-columns: minmax(220px, .38fr) minmax(0, .62fr);
  gap: 22px;
  padding: 16px;
}

.tech-resource-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: saturate(.8);
}

.tech-resource-title,
.tech-resource-log {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.tech-resource-title {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  gap: 34px;
  align-items: end;
}

.tech-resource-title h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.04;
}

.tech-resource-title > p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.tech-resource-log {
  display: grid;
  gap: 12px;
}

.tech-resource-log article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.tech-resource-log span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.tech-resource-log h2 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.18;
}

.tech-resource-log p {
  margin: 0;
  color: var(--muted);
}

.tech-article-doc {
  max-width: none;
}

.tech-doc-header {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(220px, .28fr);
  gap: 34px;
  align-items: end;
}

.tech-doc-header aside {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 18px;
}

.tech-doc-header aside p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
}

.tech-doc-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 42px;
}

.tech-doc-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 18px;
}

.tech-doc-toc a {
  color: var(--muted);
  font-size: 14px;
}

.tech-doc-body {
  max-width: 820px;
}

.tech-contact-board {
  display: grid;
  grid-template-columns: minmax(280px, .34fr) minmax(0, .66fr);
  gap: 18px;
}

.tech-contact-board .tech-contact-steps {
  display: grid;
  gap: 13px;
  align-content: center;
  padding: 24px;
  border: 1px solid var(--border);
  background: #090d13;
  color: var(--text);
}

.tech-contact-board .tech-contact-steps em {
  color: var(--primary);
  font-style: normal;
  font-weight: 850;
}

.tech-contact-routes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-contact-routes article {
  padding: 20px;
}

@media (max-width: 960px) {
  .tech-about-system,
  .tech-service-board-title,
  .tech-service-board header,
  .tech-service-stack li,
  .tech-resource-title,
  .tech-resource-log article,
  .tech-system-stack,
  .tech-service-matrix,
  .tech-resource-lab article,
  .tech-doc-header,
  .tech-doc-grid,
  .tech-contact-board,
  .tech-contact-routes {
    grid-template-columns: 1fr;
  }

  .tech-doc-toc {
    position: static;
  }
}

.tech-sitemap-panel {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.tech-sitemap-panel.compact {
  border-bottom: 1px solid var(--border);
}

.tech-sitemap-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  margin-bottom: 18px;
}

.tech-sitemap-head span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
}

.tech-sitemap-head h2 {
  margin: 0;
  font-size: 28px;
}

.sitemap-links p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
}

.sitemap-links span {
  white-space: nowrap;
}

.tech-footer-board {
  display: grid;
  grid-template-columns: minmax(160px, .2fr) minmax(0, .4fr) minmax(170px, .2fr) minmax(170px, .2fr);
  align-items: start;
}

@media (max-width: 960px) {
  .tech-footer-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .tech-sitemap-head,
  .sitemap-links p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-header-inner {
    gap: 12px;
    padding: 14px 0 16px;
  }

  .product-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    justify-content: stretch;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
  }

  .product-nav a {
    min-height: 44px;
    padding: 12px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    display: flex;
    align-items: center;
  }

  .product-nav a:nth-child(2n) {
    border-right: 0;
  }

  .product-nav a:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .product-action {
    width: 100%;
    min-height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
