.technical-page {
  min-height: 100vh;
  background: var(--void);
}

.technical-hero {
  position: relative;
  overflow: hidden;
  padding: 61px 0 48px;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(rgba(119, 245, 212, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 245, 212, 0.055) 1px, transparent 1px),
    linear-gradient(112deg, rgba(168, 140, 255, 0.1), transparent 39%),
    var(--deep);
  background-size: 58px 58px, 58px 58px, auto, auto;
}

.technical-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  content: "";
  opacity: 0.46;
}

.technical-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(34px, 8vw, 126px);
  align-items: end;
}

.technical-hero h1 {
  max-width: 740px;
  margin: 15px 0 0;
  color: var(--text);
  font-size: clamp(34px, 4vw, 51px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.99;
}

.technical-hero__lede {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.technical-hero__ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.technical-hero__ledger div {
  min-height: 75px;
  padding: 13px 14px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(4, 9, 13, 0.45);
}

.technical-hero__ledger dt {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.technical-hero__ledger dd {
  margin: 7px 0 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
}

.technical-layout {
  display: grid;
  grid-template-columns: 184px minmax(0, 820px);
  gap: clamp(45px, 9vw, 146px);
  padding: 52px 0 98px;
}

.technical-index {
  position: sticky;
  top: 92px;
  align-self: start;
}

.technical-index > p {
  margin: 0 0 10px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.technical-index a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.technical-index a:last-child { border-bottom: 1px solid var(--line-soft); }
.technical-index a:hover { color: var(--mint); }

.technical-document { min-width: 0; }

.technical-section {
  margin: 0;
  padding: 0 0 48px;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: 92px;
}

.technical-section + .technical-section {
  margin-top: 48px;
}

.technical-section:last-child { border-bottom: 0; }

.technical-number {
  margin: 0;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.technical-section h2 {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(25px, 2.7vw, 34px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.07;
}

.technical-section h3 {
  margin: 25px 0 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.technical-section p {
  max-width: 780px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.technical-section p strong,
.technical-section li strong { color: var(--text); font-weight: 500; }

.technical-section a { color: var(--mint); }
.technical-section a:hover { color: var(--acid); }

.technical-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  margin-top: 23px;
  padding: 15px 17px;
  border-left: 2px solid var(--acid);
  background: rgba(217, 250, 90, 0.06);
}

.technical-callout > strong {
  padding-top: 2px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.technical-callout > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 27px;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.technical-grid > article {
  min-height: 178px;
  padding: 19px 20px 20px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(135deg, rgba(119, 245, 212, 0.035), transparent 68%);
}

.technical-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.technical-grid > article > span,
.technical-label {
  color: var(--violet);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.technical-grid h3 { margin: 20px 0 0; font-size: 17px; }
.technical-grid p { margin-top: 9px; font-size: 13px; line-height: 1.6; }

.technical-list {
  display: grid;
  gap: 0;
  margin: 23px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.technical-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.technical-list li::before {
  color: var(--mint);
  content: "›";
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
}

.technical-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  background: rgba(8, 21, 26, 0.58);
}

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

.technical-table th {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: left;
}

.technical-table td {
  padding: 13px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  vertical-align: top;
  line-height: 1.55;
}

.technical-table tbody tr:last-child td { border-bottom: 0; }
.technical-table td:first-child { color: var(--text); font-family: var(--mono); font-size: 12px; }

.technical-pill {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 6px;
  border: 1px solid rgba(119, 245, 212, 0.35);
  color: var(--mint-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.technical-pill--future { border-color: rgba(168, 140, 255, 0.46); color: var(--violet-soft); }
.technical-pill--warning { border-color: rgba(217, 250, 90, 0.5); color: var(--acid); }

.technical-code {
  margin: 22px 0 0;
  border: 1px solid var(--line-soft);
  background: #071217;
  overflow-x: auto;
}

.technical-code figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.technical-code pre {
  margin: 0;
  padding: 15px;
  color: #c8dbd9;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre;
}

.technical-code code { font-family: inherit; }

.technical-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.technical-actions .button { margin: 0; }

.technical-note {
  margin: 18px 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0.03em;
}

.technical-empty {
  display: grid;
  min-height: calc(100vh - 66px);
  place-items: center;
  padding: 46px 0;
  text-align: center;
}

.technical-empty__inner { max-width: 560px; }
.technical-empty h1 { margin: 14px 0 0; color: var(--text); font-size: clamp(35px, 5vw, 50px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; }
.technical-empty p { margin: 17px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.technical-empty .technical-actions { justify-content: center; }

@media (max-width: 930px) {
  .technical-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .technical-hero__ledger { max-width: 650px; }
  .technical-layout { grid-template-columns: 1fr; gap: 37px; }
  .technical-index { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .technical-index > p { grid-column: 1 / -1; }
  .technical-index a:last-child { border-bottom: 0; }
  .technical-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .technical-hero { padding: 46px 0 39px; }
  .technical-hero h1 { font-size: clamp(32px, 10vw, 44px); }
  .technical-hero__lede { font-size: 14px; }
  .technical-hero__ledger { grid-template-columns: 1fr; }
  .technical-hero__ledger div { min-height: 59px; }
  .technical-layout { padding: 40px 0 72px; }
  .technical-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technical-section { padding-bottom: 38px; }
  .technical-section + .technical-section { margin-top: 38px; }
  .technical-section h2 { font-size: 27px; }
  .technical-section p { font-size: 14px; }
  .technical-grid,
  .technical-grid--three { grid-template-columns: 1fr; }
  .technical-grid > article { min-height: 0; }
  .technical-callout { grid-template-columns: 1fr; gap: 8px; }
  .technical-code pre { font-size: 12px; }
}
