@font-face {
  font-family: "Fundos UI";
  src: url("/fonts/fundos-ui-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --page: #121019;
  --paper: #fbf9ff;
  --ink: #241d31;
  --body-copy: #494252;
  --rule: #ded9e7;
  --violet: #604790;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body {
  margin: 0;
  background: var(--page);
  color: #f6f3fa;
  font: 16px/1.65 "Fundos UI", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #bc9dff; outline-offset: 4px; }
.wrap { width: min(100% - 48px, 920px); margin-inline: auto; }
.skip { position: absolute; top: -80px; left: 16px; }
.skip:focus { top: 4px; padding: 8px; background: #241d31; }
.site-head { border-bottom: 1px solid #3a3345; }
.top-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 69px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 760; letter-spacing: -.04em; }
.back, .intro nav a { display: inline-flex; align-items: center; min-height: 44px; color: #dacee8; font-size: 14px; }
.back:hover, .intro nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.intro { padding: clamp(37px, 6vw, 66px) 0 29px; }
.context, .eyebrow { margin: 0; font-size: 13px; font-weight: 650; }
.context { color: #c5a9ed; }
h1, h2, h3, h4 { margin: 0; line-height: 1.33; letter-spacing: -.04em; }
h1 { margin: 8px 0 11px; font-size: clamp(33px, 6vw, 54px); }
.intro > p:not(.context) { max-width: 680px; color: #d4cedb; margin: 0; }
.intro nav { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 12px; }
.intro nav a { gap: 8px; border-bottom: 1px solid #665277; }
.document { color-scheme: light; color: var(--ink); background: var(--paper); border-radius: 12px; margin: 0 0 25px; }
.doc-heading { padding: clamp(21px, 4.5vw, 42px) clamp(19px, 5vw, 50px) 20px; border-bottom: 1px solid var(--rule); }
.eyebrow, .tests h4::before, .spec dt, .estimate dt { color: var(--violet); }
h2 { font-size: clamp(24px, 3.8vw, 35px); margin: 6px 0 8px; }
.doc-heading p:last-child, .document-body p, dd { font-size: 15px; line-height: 1.65; color: var(--body-copy); }
.doc-heading p:last-child, .document-body p, dl, dd { margin: 0; }
.document-body { padding: 0 clamp(19px, 5vw, 50px) clamp(20px, 4.5vw, 38px); }
.document-body section { padding-top: 26px; }
h3 { font-size: 20px; margin-bottom: 11px; }
h4 { font-size: 16px; margin-bottom: 5px; }
.spec > div, .estimate > div { display: grid; grid-template-columns: minmax(105px, 23%) 1fr; gap: 8px 20px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
dt { font-weight: 650; font-size: 14px; }
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--rule); }
.scope-grid > div { padding: 13px; border-left: 1px solid var(--rule); }
.scope-grid > div:first-child { padding-left: 0; border-left: 0; }
.scope-grid p { font-size: 14px; }
.estimate { margin-top: 6px; }
.tests { list-style: none; padding: 0; margin: 0; }
.tests li { padding: 13px 0; border-top: 1px solid var(--rule); }
.tests h4 { margin-bottom: 8px; }
.tests p { display: grid; grid-template-columns: 2.6em 1fr; align-items: baseline; gap: 8px; margin: 3px 0; }
.tests b { color: var(--violet); font-size: 13px; }
.record { margin-top: 14px; padding: 16px 19px; border-left: 3px solid #9e86ba; background: #f0ebf7; }
.record h3 { font-size: 16px; margin: 0 0 6px; }
footer { padding: 0 0 44px; }
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .top-bar { min-height: 57px; }
  .top-bar .back { font-size: 12px; }
  .spec > div, .estimate > div { grid-template-columns: 1fr; gap: 2px; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-grid > div { padding-inline: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .scope-grid > div:first-child { border-top: 0; }
  .record { padding: 14px; }
}
@page { size: A4; margin: 16mm; }
@media print {
  :root, body { color-scheme: light; color: #111; background: white; }
  .wrap { width: 100%; }
  .site-head, .skip, .intro nav, footer { display: none; }
  .intro { padding: 0 0 10pt; border-bottom: 1pt solid #555; }
  .intro > p:not(.context), .context, .document-body p, .doc-heading p:last-child, dd { color: #222; font-size: 10pt; }
  h1 { font-size: 20pt; margin: 3pt 0; }
  h2 { font-size: 18pt; }
  h3 { font-size: 13pt; }
  h4 { font-size: 11pt; }
  .document { margin: 0; border-radius: 0; color: #111; background: white; }
  .doc-heading { padding: 10pt 0; }
  .document-body { padding: 0; }
  .document-body section { padding-top: 12pt; }
  .scope-grid { grid-template-columns: repeat(3, 1fr); }
  .spec > div, .estimate > div { grid-template-columns: 24% 1fr; }
  .scope-grid > div, .spec > div, .estimate > div, .tests li, .record { break-inside: avoid; }
  .eyebrow, .spec dt, .estimate dt, .tests b { color: #333; }
  #acceptance { break-before: page; }
}
