.tech, .faq {
  background: #0d1011;
  border-block: 1px solid var(--line);
}
.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.tech .body-copy {
  max-width: 37em;
  margin: 24px 0;
  color: var(--muted);
  line-height: 1.95;
}
.tech-diagram {
  min-width: 0;
  margin: 0;
  border: 1px solid #353838;
  border-radius: 4px;
  overflow: hidden;
  background-color: #111415;
  background-image: radial-gradient(circle, #303333 1px, transparent 1px);
  background-size: 15px 15px;
}
.tech-diagram figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 23px;
  border-bottom: 1px solid var(--line);
  color: #dfe0e0;
  background: #151819;
  font: 500 11px/1.5 var(--mono);
  letter-spacing: .09em;
}
.tech-diagram figcaption b {
  margin-left: auto;
  color: var(--muted);
  font: 500 11px/1.5 var(--font);
  letter-spacing: .03em;
}
.small-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.tech-diagram ol {
  display: grid;
  grid-template-columns: repeat(3,minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 40px 15px 34px;
}
.tech-diagram li {
  --node: 57px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tech-diagram li:not(:last-child)::after {
  position: absolute;
  top: calc(var(--node) / 2);
  left: calc(50% + var(--node) / 2 + 5px);
  width: calc(100% - var(--node) - 10px);
  height: 1px;
  background: repeating-linear-gradient(90deg, #976648 0 4px, transparent 4px 7px);
  content: '';
}
.diagram-icon {
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border: 1px solid #565a59;
  background: #181c1d;
  color: #d7dadb;
  border-radius: 4px;
}
.diagram-icon.active {
  border-color: #97613c;
  color: var(--orange);
  background: #29201a;
}
.diagram-icon svg { width: 26px; height: 26px; }
.tech-diagram li strong {
  margin: 13px 0 4px;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.6;
}
.tech-diagram li > span:last-child {
  color: #b4b8b8;
  font-size: 12px;
  line-height: 1.6;
}
.tech-diagram > p {
  margin: 0;
  padding: 15px 23px;
  border-top: 1px solid var(--line);
  background: #131617;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
/* Keep the six prices in the order used in the service guide. */
.pricing-frame { border: 1px solid #353838; border-radius: 5px; overflow: clip; }
.pricing-table { border-collapse: collapse; width: 100%; text-align: left; }
.pricing-table thead { background: #1a1d1e; }
.pricing-table thead th { padding: 14px 22px; color: #d1d3d4; font-size: 12px; font-weight: 600; }
.pricing-table tbody tr { border-top: 1px solid var(--line); background: var(--panel); scroll-margin-top: 30px; }
.pricing-table tbody th, .pricing-table td { padding: 18px 22px; vertical-align: middle; }
.pricing-table tbody th { width: 34%; font-size: clamp(14px, 1.12vw, 17px); font-weight: 650; }
.pricing-table .row-id { margin-right: 12px; color: var(--orange); font: 500 11px/1.4 var(--mono); }
.table-price { width: 16%; white-space: nowrap; font-size: clamp(16px, 1.5vw, 21px); font-weight: 700; font-variant-numeric: tabular-nums; }
.table-scope { color: #b9bdbf; font-size: 13px; line-height: 1.85; }
.pricing-table tbody tr:target { background: #25201a; }
.pricing-table tbody tr:focus-visible { outline: 2px solid var(--orange); outline-offset: -3px; }
.price-note { margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
#detail-list {
  margin: 15px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
#detail-list li {
  position: relative;
  margin: 8px 0 0;
  padding-left: 21px;
  color: #dadcdc;
  font-size: 14px;
  line-height: 1.75;
}
#detail-list li::before {
  position: absolute;
  top: .45em;
  left: 2px;
  width: 5px;
  height: 9px;
  transform: rotate(45deg);
  border-right: 1.5px solid var(--orange);
  border-bottom: 1.5px solid var(--orange);
  content: '';
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange); }
.faq summary .ic { flex: none; color: var(--orange); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(200px, .64fr) minmax(0, 1.36fr);
  gap: clamp(36px, 6vw, 88px);
}
.faq-items { border-top: 1px solid #414444; }
.faq-items details { border-bottom: 1px solid #363939; }
.faq-items summary { padding: 22px 2px; }
.faq-items p {
  margin: -4px 0 0;
  padding: 0 36px 24px 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}
.contact {
  overflow: hidden;
  background-color: #141210;
  background-image: linear-gradient(90deg, #141210 0%, rgba(20,18,16,.93) 38%, rgba(20,18,16,.18)), linear-gradient(rgba(255,153,85,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,153,85,.07) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  border-bottom: 1px solid var(--line);
}
.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: clamp(58px, 7vw, 104px);
}
.contact h2 { margin: 0; }
.contact-content > div > p:last-child {
  margin: 18px 0 0;
  color: #c6c7c5;
  font-size: 14px;
  line-height: 1.95;
}
.contact-action { flex: none; text-align: center; }
.contact-action .button { min-width: 205px; }
.contact-action small {
  display: block;
  margin-top: 12px;
  color: #b8b7b5;
  font-size: 11px;
}
.footer-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 32px;
}
.copyright { color: var(--muted); font: 400 11px/1.6 var(--mono); }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #d2d4d3;
  font-size: 12px;
  text-decoration: none;
}
.footer-link:hover { color: var(--orange); }
.footer-link .ic { width: 14px; height: 14px; }
#service-dialog {
  width: min(540px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100dvh - 42px);
  margin: auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid #494846;
  border-top: 2px solid var(--orange);
  border-radius: 4px;
  background: #131617;
  color: var(--text);
  overflow-y: auto;
}
#service-dialog::backdrop { background: rgba(4, 6, 7, .84); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dialog-head .section-label { margin: 0; }
.dialog-close {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #4a4d4c;
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.dialog-close:hover { border-color: var(--orange); color: var(--orange); }
#detail-title { margin: 24px 0 12px; font-size: clamp(23px, 3vw, 32px); line-height: 1.5; }
.dialog-lead, #detail-note { margin: 0; color: #c5c8c8; font-size: 14px; line-height: 1.9; }
#detail-list { margin-block: 22px; padding-top: 13px; }
#detail-note { padding: 14px; background: #202323; font-size: 12px; }
#detail-price { margin-top: 24px; }
.faq summary:focus-visible, .dialog-close:focus-visible, #detail-price:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .tech-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tech .body-copy { max-width: 55em; }
  .tech-diagram ol { padding-block: 35px; }
  .faq-grid { grid-template-columns: minmax(175px, .56fr) minmax(0, 1.44fr); gap: 26px; }
  .contact-content { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .tech-grid, .faq-grid { gap: 25px; }
  .tech .body-copy { margin: 17px 0; font-size: 14px; }
  .tech-diagram figcaption, .tech-diagram > p { padding: 13px 15px; }
  .tech-diagram ol { padding: 27px 5px; }
  .tech-diagram li { --node: 42px; }
  .diagram-icon svg { width: 21px; height: 21px; }
  .tech-diagram li strong { font-size: 12px; }
  .tech-diagram li > span:last-child { font-size: 10px; }
  .pricing-table, .pricing-table tbody { display: block; }
  .pricing-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pricing-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 16px; align-items: baseline; }
  .pricing-table tbody tr:first-child { border-top: none; }
  .pricing-table tbody th, .pricing-table td { display: block; padding: 0; width: auto; }
  .pricing-table tbody th { font-size: 14px; }
  .pricing-table .row-id { display: inline-block; margin-right: 7px; font-size: 10px; }
  .table-scope { grid-column: 1 / -1; font-size: 12px; }
  .table-price { font-size: 16px; }
  .faq-items summary { font-size: 14px; }
  .faq-items summary { padding: 18px 0; }
  .faq-items p { padding-right: 7px; }
  .contact-content { display: grid; gap: 24px; }
  .contact-action { justify-self: start; text-align: left; }
  .contact-action small { margin-top: 9px; }
  .contact-content > div > p:last-child br { display: none; }
  .footer-row { flex-wrap: wrap; gap: 17px 20px; padding-block: 27px; }
  .footer-row .brand { flex-basis: 100%; }
  .footer-link { margin-left: 0; }
}
@media (max-width: 360px) {
  .tech-diagram li { --node: 38px; }
  .tech-diagram li strong { font-size: 11px; }
  .pricing-table tbody tr { padding: 13px; }
}
