/* Isolated styles for the APU guide. No third-party fonts or UI dependencies. */
:root {
  color-scheme: light;
  --ink: #172c43;
  --muted: #52667b;
  --blue: #175ec7;
  --line: #dce4ed;
  --light: #f7f9fc;
  --mono: Consolas, "Liberation Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: -0.035em;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #e89724;
  outline-offset: 5px;
}
a,
button {
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
svg {
  display: block;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.shell {
  max-width: 1280px;
  padding: 0 48px;
  margin: 0 auto;
}
.section {
  padding: 100px 0;
}
.eyebrow {
  font: 600 11px/1.5 var(--mono);
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 22px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #26735b;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 7px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--blue);
  color: white;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.button:hover {
  background: #114b9f;
  border-color: #114b9f;
}
.button > span[aria-hidden] {
  font-size: 21px;
  line-height: 1;
}
.button-small {
  min-height: 42px;
  font-size: 12px;
  padding: 11px 15px;
  gap: 12px;
}
.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
}
.text-link:hover {
  color: var(--blue);
}
.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: white;
  padding: 12px 20px;
  border: 2px solid var(--blue);
}
.skip-link:focus {
  top: 12px;
}
/* Navigation and hero */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  letter-spacing: -0.8px;
  font-weight: 700;
  line-height: 1;
}
.brand-accent {
  color: var(--blue);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.main-nav a {
  font-size: 12px;
  font-weight: 550;
  padding: 14px 0;
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--blue);
}
.menu-toggle {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  padding: 8px 12px;
  font-size: 13px;
  min-height: 44px;
}
.breadcrumbs {
  padding: 28px 0 36px;
  color: #63778b;
  font-size: 11px;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.breadcrumbs li + li:before {
  content: "/";
  margin-right: 12px;
  color: #7d8d9e;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.hero {
  background: linear-gradient(115deg, #fafbfd 5%, #f3f7fc 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  padding-bottom: 52px;
}
.hero-copy .eyebrow {
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(48px, 4.8vw, 66px);
  line-height: 1.055;
  letter-spacing: -0.055em;
}
.hero h1 > span {
  color: var(--blue);
}
.hero-lede {
  max-width: 475px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin: 26px 0;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #5e7084;
  margin-top: 20px;
}
.hero-note > span {
  color: #387962;
  font-size: 14px;
}
.hero-visual {
  padding: 8px 0 0;
  background-image: radial-gradient(#b5c6d94d 0.8px, transparent 0.8px);
  background-size: 17px 17px;
  position: relative;
}
.drawing-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 9px var(--mono);
  letter-spacing: 0.1em;
  color: #52667b;
  padding: 0 13px;
}
.drawing-label > span:last-child {
  margin-left: auto;
}
.drawing-label > span:first-child {
  font-size: 22px;
  color: #86a5c6;
  line-height: 1;
}
.structure-drawing {
  width: 100%;
  height: auto;
  margin: -5px 0 -4px;
}
.estimate-sheet {
  position: relative;
  margin: 0 12px;
  border: 1px solid #ccd9e8;
  border-radius: 9px;
  background: #fff;
  box-shadow:
    0 15px 35px #193c6910,
    0 4px 6px #193c6905;
  overflow: hidden;
}
.sheet-topline {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 9px var(--mono);
  letter-spacing: 0.06em;
}
.sheet-topline > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sheet-topline b {
  color: var(--blue);
  font-size: 19px;
}
.sheet-badge {
  padding: 3px 7px;
  background: #f0f4f9;
  color: #5a7087;
  border-radius: 3px;
  font-size: 8px;
}
.sheet-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 22px 16px;
  gap: 12px;
}
.sheet-title p {
  font: 8px var(--mono);
  letter-spacing: 0.07em;
  color: #52667b;
  margin-bottom: 7px;
}
.sheet-title h2 {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.unit-tag {
  font: 11px var(--mono);
  padding: 6px 9px;
  border: 1px solid #cfdcec;
  background: #f7faff;
  white-space: nowrap;
  border-radius: 4px;
  color: #405e7e;
}
.sheet-costs {
  margin: 0 22px;
}
.sheet-costs > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 11px;
}
.sheet-costs dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b6279;
}
.sheet-costs dd {
  margin: 0;
  font: 600 11px var(--mono);
}
.cost-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  margin-right: 6px;
}
.material-dot {
  background: #2468c5;
}
.labor-dot {
  background: #69a1bd;
}
.equipment-dot {
  background: #b1c7d9;
}
.cost-bar {
  display: flex;
  height: 4px;
  margin: 10px 22px 14px;
  gap: 3px;
}
.cost-bar span:nth-child(1) {
  width: 91.775%;
  background: #2468c5;
}
.cost-bar span:nth-child(2) {
  width: 6.169%;
  background: #69a1bd;
}
.cost-bar span:nth-child(3) {
  flex: 1;
  background: #b1c7d9;
}
.sheet-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin: 0 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.sheet-subtotal strong {
  font: 600 11px var(--mono);
}
.sheet-overhead {
  font-size: 8px;
  color: #63768b;
  margin: 8px 22px 18px;
}
.sheet-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #edf4ff;
  border-top: 1px solid #dce8f8;
  padding: 17px 22px;
}
.sheet-total div > span {
  font: 9px var(--mono);
  letter-spacing: 0.09em;
  color: #395d88;
  display: block;
  margin-bottom: 3px;
}
.sheet-total strong {
  font-size: 25px;
  letter-spacing: -0.04em;
  color: #184f99;
  font-weight: 650;
}
.sheet-total small {
  font: 10px var(--mono);
  color: #517297;
}
.sheet-total a {
  background: #fff;
  border: 1px solid #d3e0f2;
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  color: var(--blue);
  font-size: 23px;
  border-radius: 50%;
}
.sheet-total a:hover {
  background: #dae9ff;
}
.drawing-footnote {
  font: 9px var(--mono);
  color: #60758b;
  text-align: center;
  margin: 16px 0 0;
}
.hero-bottom {
  border-top: 1px solid #d5e0ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}
.hero-bottom > span {
  font: 9px var(--mono);
  letter-spacing: 0.1em;
  color: #5d738b;
}
.hero-bottom ul {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
}
.hero-bottom li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-bottom li:before {
  content: "+";
  color: #7c98b5;
  font: 15px var(--mono);
}
/* Fundamentals */
.section-heading {
  margin-bottom: 42px;
}
h2 {
  font-size: 38px;
  line-height: 1.17;
  letter-spacing: -0.045em;
}
.split-heading,
.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 55px;
}
.split-heading > div:first-child,
.heading-row > h2 {
  flex: 1;
}
.intro-definition,
.heading-row > p {
  width: 48%;
  max-width: 520px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.intro-definition p + p {
  margin-top: 15px;
}
.intro-definition strong {
  font-weight: 600;
  color: var(--ink);
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.resource-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 27px 23px 23px;
  position: relative;
}
.resource-number {
  position: absolute;
  top: 22px;
  right: 20px;
  color: #52667b;
  font: 10px var(--mono);
}
.resource-icon {
  width: 32px;
  height: 32px;
  stroke: #326796;
  stroke-width: 1.3;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
  margin-bottom: 26px;
}
.resource-card h3 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.resource-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.resource-example {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 22px;
  font: 9px/1.6 var(--mono);
  color: #55708c;
}
.resource-card-tint {
  background: #f1f6fd;
  border-color: #d5e3f3;
}
.formula-band {
  margin-top: 30px;
  padding: 25px 30px;
  background: var(--light);
  border-radius: 6px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}
.formula-band > p {
  font: 9px var(--mono);
  color: #52667b;
  letter-spacing: 0.08em;
}
.formula-band > div {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 13px;
}
.formula-band b {
  font-weight: 400;
  color: #52667b;
  font-size: 21px;
}
.formula-band strong {
  color: var(--blue);
  font-weight: 600;
}
/* Editable example */
.example-section {
  background: var(--light);
  border-block: 1px solid #edf0f4;
}
.calculator {
  border: 1px solid #d3dfeb;
  border-radius: 10px;
  background: white;
  overflow: hidden;
  box-shadow: 0 12px 32px #18355005;
}
.calculator-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}
.calculator-heading > div {
  display: flex;
  align-items: center;
  gap: 15px;
}
.calculator-code {
  font: 10px var(--mono);
  color: #55718f;
  border-right: 1px solid var(--line);
  padding-right: 15px;
}
.calculator-heading h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.live-label {
  font-size: 10px;
  color: #526d64;
  white-space: nowrap;
}
.live-label .status-dot {
  width: 5px;
  height: 5px;
}
.calculator-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.3fr;
}
.calculator-form {
  padding: 30px;
  border-right: 1px solid var(--line);
  background: #fcfdff;
  min-width: 0;
}
.calculator-form fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
.calculator-form legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.input-grid label {
  font-size: 11px;
  font-weight: 550;
  min-width: 0;
  color: #435b74;
}
.input-wrap {
  display: flex;
  align-items: center;
  margin-top: 7px;
  background: #fff;
  border: 1px solid #ccd9e7;
  border-radius: 4px;
  overflow: hidden;
  min-height: 43px;
}
.input-wrap:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 11px 0 11px 11px;
  border: 0;
  background: transparent;
  font: 13px var(--mono);
  color: var(--ink);
  border-radius: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}
.input-wrap input::-webkit-inner-spin-button,
.input-wrap input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.input-wrap input:focus-visible {
  outline: 0;
}
.input-wrap:has(input[aria-invalid="true"]) {
  border-color: #b52b35;
  outline-color: #b52b35;
}
.input-wrap > span {
  font: 9px var(--mono);
  white-space: nowrap;
  color: #52667b;
  padding: 0 9px;
}
.wide-input {
  grid-column: 1/-1;
}
.input-hint {
  font-size: 9px;
  line-height: 1.7;
  color: #52667b;
  margin-top: 10px;
}
.input-hint + .input-hint {
  margin-top: 4px;
}
.input-divider {
  height: 1px;
  background: var(--line);
  margin: 23px 0;
}
.reset-button {
  margin-top: 21px;
  border: 0;
  background: transparent;
  color: #536c88;
  font-size: 11px;
  padding: 8px 0;
  min-height: 40px;
}
.reset-button span {
  font-size: 17px;
  margin-right: 6px;
}
.reset-button:hover {
  color: var(--blue);
}
.calculator-result {
  padding: 30px;
  min-width: 0;
}
.result-kicker {
  font: 10px var(--mono);
  letter-spacing: 0.09em;
  color: #54728f;
  margin-bottom: 20px;
}
.table-scroll {
  overflow-x: auto;
}
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  white-space: nowrap;
}
.cost-table th,
.cost-table td {
  padding: 15px 0;
  border-bottom: 1px solid #e6ecf3;
  text-align: left;
}
.cost-table thead th {
  font-size: 9px;
  color: #526d87;
  font-weight: 500;
  padding: 0 0 12px;
}
.cost-table tbody th {
  font-weight: 500;
  padding-right: 16px;
}
.cost-table th:last-child,
.cost-table td:last-child {
  text-align: right;
}
.cost-table td {
  font: 10px var(--mono);
  color: #587089;
  padding-right: 12px;
}
.cost-table td:last-child {
  font: 600 11px var(--mono);
  color: var(--ink);
  padding-right: 0;
}
.cost-table .direct-row th,
.cost-table .direct-row td {
  font-weight: 650;
  color: var(--ink);
  background: #f6f8fb;
}
.cost-table .direct-row th {
  padding-left: 10px;
}
.cost-table .direct-row td:last-child {
  padding-right: 10px;
}
.result-total {
  margin-top: 24px;
  background: #eaf2fe;
  border: 1px solid #d9e7fb;
  border-radius: 5px;
  padding: 21px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #1953a0;
}
.result-total div > span {
  font: 9px var(--mono);
  letter-spacing: 0.07em;
  display: block;
  margin-bottom: 7px;
}
.result-total strong {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.result-total small {
  font: 11px var(--mono);
  white-space: nowrap;
}
.result-total > span {
  font-size: 26px;
}
.quantity-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  margin: 19px 0 8px;
}
.quantity-total strong {
  font: 600 14px var(--mono);
  text-align: right;
  overflow-wrap: anywhere;
}
.rounding-note {
  font-size: 9px;
  color: #52667b;
  line-height: 1.65;
}
.download-button {
  margin-top: 23px;
  width: 100%;
  min-height: 44px;
  font-size: 12px;
  gap: 10px;
}
.download-note {
  font-size: 9px;
  text-align: center;
  color: #52667b;
  margin-top: 8px;
}
.example-scope {
  border-top: 1px solid var(--line);
  background: #fafbfd;
  padding: 19px 28px;
  display: flex;
  gap: 27px;
  align-items: flex-start;
}
.example-scope strong {
  font-size: 11px;
  white-space: nowrap;
  font-weight: 600;
}
.example-scope p {
  font-size: 10px;
  line-height: 1.85;
  color: #576c82;
}
.example-insight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.8;
  color: #566d84;
  margin-top: 22px;
  max-width: 930px;
}
.example-insight > span {
  font-size: 23px;
  color: var(--blue);
  line-height: 1.3;
}
.example-insight strong {
  color: #2e4d6c;
  font-weight: 600;
}
.calculation-error {
  margin-top: 15px;
  color: #9e2530;
  font-size: 12px;
  padding: 10px;
  background: #fff3f3;
  border-radius: 4px;
}
.noscript-note {
  padding: 20px;
  font-size: 13px;
  background: #fff7df;
}
/* Method and product flow */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.method-intro > p:not(.eyebrow) {
  margin-top: 23px;
  font-size: 14px;
  color: var(--muted);
  max-width: 370px;
  line-height: 1.85;
}
.method-equation {
  border-left: 3px solid #2c6dcc;
  padding: 7px 0 7px 22px;
  margin-top: 38px;
}
.method-equation > span {
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  color: #52667b;
}
.method-equation strong {
  display: block;
  font: 600 17px var(--mono);
  color: #225793;
  margin: 11px 0;
}
.method-equation p {
  font-size: 10px;
  color: #52667b;
  line-height: 1.9;
}
.method-steps {
  counter-reset: method;
  list-style: none;
  padding: 0;
  margin: 0;
}
.method-steps li {
  counter-increment: method;
  display: flex;
  gap: 20px;
  padding: 0 0 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.method-steps li:last-child {
  border: 0;
  padding: 0;
  margin: 0;
}
.method-steps li:before {
  content: "0" counter(method);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #edf4fd;
  border: 1px solid #dce7f6;
  border-radius: 50%;
  color: #3267a2;
  font: 10px var(--mono);
}
.method-steps h3 {
  font-size: 16px;
  letter-spacing: -0.015em;
  margin: 5px 0 9px;
}
.method-steps p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.workflow-section {
  background: #132d49;
  color: #fff;
}
.workflow-section .eyebrow {
  color: #96baf0;
}
.workflow-section .heading-row > p {
  color: #b5c8db;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid #3c526b;
}
.workflow-grid article {
  padding: 30px 23px 30px 0;
  display: flex;
  flex-direction: column;
}
.workflow-grid article + article {
  border-left: 1px solid #3c526b;
  padding-left: 23px;
}
.workflow-number {
  font: 22px var(--mono);
  color: #8db2e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 33px;
}
.workflow-number > span {
  font: 21px var(--mono);
  color: #7995b5;
}
.workflow-grid h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  line-height: 1.4;
}
.workflow-grid p {
  font-size: 12px;
  color: #b6c8db;
  line-height: 1.9;
  margin-bottom: 30px;
}
.workflow-tag {
  font: 8px var(--mono);
  color: #97b6d9;
  letter-spacing: 0.04em;
  margin-top: auto;
}
.workflow-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: 30px;
}
.workflow-bottom p {
  max-width: 570px;
  color: #b4c7dc;
  font-size: 12px;
}
.button-light {
  background: #fff;
  color: #193856;
  border-color: #fff;
  flex-shrink: 0;
  font-size: 12px;
}
.button-light:hover {
  background: #e3efff;
  border-color: #e3efff;
}
/* Review, FAQs and footer */
.review-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}
.review-grid > div:first-child > p:not(.eyebrow),
.faq-grid > div:first-child > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  margin-top: 23px;
  line-height: 1.9;
  max-width: 360px;
}
.review-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 27px;
}
.review-list article {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.review-list article > span {
  display: block;
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 14px;
}
.review-list h3 {
  font-size: 16px;
  margin-bottom: 9px;
  letter-spacing: -0.02em;
}
.review-list p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.faq-section {
  background: var(--light);
  border-block: 1px solid #edf1f6;
}
.faq-grid .text-link {
  margin-top: 23px;
  color: var(--blue);
  font-size: 12px;
}
.faq-list {
  border-top: 1px solid #cbd9e6;
}
.faq-list details {
  border-bottom: 1px solid #cbd9e6;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 550;
  padding: 20px 35px 20px 0;
  position: relative;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 19px;
  font: 22px var(--mono);
  color: #52759b;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details[open] summary {
  color: var(--blue);
}
.faq-list details p {
  padding: 0 26px 22px 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.related-section {
  padding: 48px 0 60px;
}
.related-section h2 {
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 23px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-grid a {
  display: block;
  border-top: 1px solid var(--line);
  padding: 20px 0 5px;
}
.related-grid a > span {
  font: 8px var(--mono);
  letter-spacing: 0.08em;
  color: #52667b;
}
.related-grid strong {
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  font-weight: 600;
}
.related-grid strong > span {
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
}
.related-grid a:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.final-section {
  padding: 60px 0;
  background: #edf4fe;
  background-image: radial-gradient(#bccfea65 0.7px, transparent 0.7px);
  background-size: 16px 16px;
  border-block: 1px solid #dbe6f6;
}
.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.final-inner .eyebrow {
  margin-bottom: 18px;
}
.final-inner h2 {
  font-size: 36px;
}
.final-inner p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  max-width: 530px;
  margin-top: 20px;
}
.final-inner > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 9px;
}
.final-inner .button {
  min-width: 230px;
}
.final-inner .text-link {
  font-size: 11px;
  color: #476683;
}
.site-footer {
  padding: 54px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 35px;
}
.footer-grid .brand {
  font-size: 22px;
}
.footer-grid p {
  font-size: 11px;
  line-height: 1.9;
  color: #63768b;
  margin-top: 18px;
}
.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid h2 {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  margin: 5px 0 7px;
}
.footer-grid nav a,
.footer-language {
  font-size: 11px;
  color: #5a7088;
}
.footer-grid nav a:hover {
  color: var(--blue);
}
.footer-language {
  font: 9px var(--mono);
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #52667b;
  font-size: 9px;
}
.footer-bottom nav {
  display: flex;
  gap: 20px;
}
.footer-bottom a:hover {
  color: var(--blue);
}
@media (min-width: 1440px) {
  .shell {
    max-width: 1380px;
    padding-inline: 60px;
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero-grid {
    gap: 70px;
    padding-top: 4px;
    padding-bottom: 65px;
  }
  .hero-lede {
    font-size: 17px;
  }
  .main-nav {
    gap: 30px;
  }
  .main-nav a {
    font-size: 13px;
  }
  .hero-visual {
    max-width: 550px;
    width: 100%;
    justify-self: end;
  }
}
@media (max-width: 1100px) {
  .shell {
    padding-inline: 32px;
  }
  .header-inner {
    gap: 18px;
  }
  .main-nav {
    gap: 17px;
  }
  .main-nav a {
    font-size: 11px;
  }
  .header-cta {
    font-size: 11px;
    padding-inline: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .hero-grid {
    gap: 25px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-copy .actions {
    gap: 12px;
  }
  .hero-copy .button {
    font-size: 12px;
    padding-inline: 16px;
  }
  .hero-copy .text-link {
    font-size: 11px;
  }
  .hero-lede {
    font-size: 14px;
  }
  .hero-bottom ul {
    gap: 22px;
  }
  .section {
    padding: 80px 0;
  }
  .method-grid,
  .review-grid,
  .faq-grid {
    gap: 55px;
  }
  .resource-card {
    padding: 23px 17px;
  }
  .resource-card h3 {
    font-size: 15px;
  }
  .resource-example {
    font-size: 8px;
  }
  .calculator-heading {
    padding-inline: 22px;
  }
  .calculator-form,
  .calculator-result {
    padding: 24px;
  }
  .cost-table {
    font-size: 10px;
  }
  .cost-table td {
    font-size: 9px;
  }
  .cost-table td:last-child {
    font-size: 10px;
  }
  .cost-table tbody th {
    padding-right: 10px;
  }
  .result-total {
    padding: 20px 16px;
  }
  .result-total strong {
    font-size: 26px;
  }
  .formula-band {
    gap: 20px;
    padding: 23px;
  }
  .formula-band > div {
    gap: 17px;
    font-size: 12px;
  }
  .footer-grid {
    gap: 22px;
  }
}
@media (max-width: 900px) {
  html {
    scroll-padding-top: 88px;
  }
  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .main-nav {
    order: 4;
    width: 100%;
    justify-content: center;
    margin: 0;
    border-top: 1px solid var(--line);
  }
  .header-cta {
    margin-left: auto;
  }
  .menu-toggle:not([hidden]) {
    display: flex;
    gap: 12px;
    margin-left: auto;
  }
  .menu-toggle:not([hidden]) ~ .header-cta {
    margin-left: 0;
  }
  .main-nav[data-mobile="true"] {
    display: none;
  }
  .main-nav[data-mobile="true"][data-open="true"] {
    display: flex;
    padding-block: 8px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-lede {
    font-size: 13px;
  }
  .hero-note {
    font-size: 8px;
    gap: 5px;
  }
  .sheet-title h2 {
    font-size: 14px;
  }
  .sheet-title,
  .sheet-topline {
    padding-inline: 16px;
  }
  .sheet-costs {
    margin-inline: 16px;
  }
  .sheet-costs > div,
  .sheet-costs dd {
    font-size: 10px;
  }
  .sheet-subtotal,
  .sheet-overhead {
    margin-inline: 16px;
  }
  .sheet-total {
    padding-inline: 16px;
  }
  .sheet-total strong {
    font-size: 22px;
  }
  .sheet-overhead {
    font-size: 7px;
  }
  .drawing-footnote {
    font-size: 7px;
  }
  .hero-bottom > span {
    font-size: 8px;
  }
  .hero-bottom ul {
    gap: 15px;
    font-size: 10px;
  }
  .hero-bottom li {
    gap: 5px;
  }
  h2 {
    font-size: 32px;
  }
  .split-heading,
  .heading-row {
    gap: 30px;
  }
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resource-card {
    padding: 27px;
  }
  .resource-card h3 {
    font-size: 17px;
  }
  .resource-card p {
    font-size: 13px;
  }
  .resource-example {
    font-size: 10px;
  }
  .formula-band {
    flex-direction: column;
    gap: 13px;
  }
  .calculator-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  .calculator-grid {
    grid-template-columns: 1fr 1.25fr;
  }
  .calculator-form,
  .calculator-result {
    padding: 22px 18px;
  }
  .input-grid {
    gap: 16px 10px;
  }
  .input-grid label {
    font-size: 10px;
  }
  .input-wrap input {
    font-size: 12px;
    padding-left: 8px;
  }
  .input-wrap > span {
    font-size: 8px;
    padding-inline: 6px;
  }
  .cost-table .cost-dot {
    display: none;
  }
  .result-total strong {
    font-size: 24px;
  }
  .quantity-total {
    font-size: 10px;
  }
  .quantity-total strong {
    font-size: 12px;
  }
  .method-grid {
    gap: 40px;
  }
  .method-equation {
    padding-left: 15px;
  }
  .method-equation strong {
    font-size: 14px;
  }
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #3c526b;
    padding-left: 0;
  }
  .workflow-grid article:nth-child(4) {
    border-top: 1px solid #3c526b;
  }
  .workflow-number {
    margin-bottom: 22px;
  }
  .workflow-grid h3 {
    font-size: 19px;
  }
  .workflow-tag {
    font-size: 9px;
  }
  .review-grid,
  .faq-grid {
    gap: 35px;
  }
  .review-list {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .review-list article {
    display: flex;
    gap: 15px;
  }
  .review-list article > span {
    margin-top: -6px;
  }
  .review-list p {
    font-size: 11px;
  }
  .final-inner {
    gap: 30px;
  }
  .final-inner h2 {
    font-size: 30px;
  }
  .final-inner .button {
    min-width: 200px;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.2fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:first-child p {
    margin-top: 12px;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .footer-bottom > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 680px) {
  .shell {
    padding-inline: 22px;
  }
  .section {
    padding: 64px 0;
  }
  .header-inner {
    gap: 12px;
  }
  .brand {
    font-size: 21px;
    gap: 7px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .header-cta {
    font-size: 11px;
    min-height: 40px;
    padding: 9px;
    gap: 7px;
  }
  .header-cta > span[aria-hidden] {
    font-size: 17px;
  }
  .menu-toggle:not([hidden]) {
    font-size: 11px;
    gap: 6px;
    padding: 8px 10px;
    min-height: 40px;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 2px 20px;
    justify-content: flex-start;
  }
  .main-nav a {
    font-size: 12px;
    padding-block: 10px;
  }
  .breadcrumbs {
    padding: 21px 0 30px;
    font-size: 10px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 28px;
  }
  .hero h1 {
    font-size: clamp(44px, 10.6vw, 62px);
    line-height: 1.08;
  }
  .hero h1 br:first-child {
    display: none;
  }
  .hero h1 > span br {
    display: none;
  }
  .hero-lede {
    font-size: 14px;
    max-width: 480px;
    margin: 21px 0;
  }
  .hero-copy .eyebrow {
    font-size: 10px;
    margin-bottom: 21px;
  }
  .hero-copy .actions {
    gap: 10px 18px;
  }
  .hero-copy .button {
    font-size: 12px;
  }
  .hero-copy .text-link {
    font-size: 11px;
  }
  .hero-note {
    font-size: 9px;
    margin-top: 14px;
  }
  .hero-visual {
    max-width: 470px;
    width: 100%;
    justify-self: center;
  }
  .structure-drawing {
    margin-top: -8px;
    margin-bottom: -8px;
  }
  .estimate-sheet {
    margin: 0 4px;
  }
  .sheet-title h2 {
    font-size: 17px;
  }
  .sheet-title {
    padding: 21px 20px 16px;
  }
  .sheet-topline {
    padding-inline: 20px;
  }
  .sheet-costs {
    margin-inline: 20px;
  }
  .sheet-costs > div,
  .sheet-costs dd {
    font-size: 11px;
  }
  .sheet-subtotal,
  .sheet-overhead {
    margin-inline: 20px;
  }
  .sheet-total {
    padding: 17px 20px;
  }
  .sheet-total strong {
    font-size: 26px;
  }
  .sheet-overhead {
    font-size: 8px;
  }
  .drawing-footnote {
    font-size: 8px;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-block: 22px;
  }
  .hero-bottom ul {
    flex-wrap: wrap;
    gap: 9px 21px;
    font-size: 10px;
  }
  .hero-bottom > span {
    font-size: 8px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 31px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .split-heading,
  .heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .intro-definition,
  .heading-row > p {
    width: 100%;
    max-width: none;
    font-size: 13px;
  }
  .resource-grid {
    gap: 12px;
  }
  .resource-card {
    padding: 23px 17px 20px;
  }
  .resource-number {
    top: 16px;
    right: 13px;
  }
  .resource-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 22px;
  }
  .resource-card h3 {
    font-size: 16px;
    min-height: 42px;
  }
  .resource-card p {
    font-size: 11px;
  }
  .resource-example {
    font-size: 8px;
    padding-top: 12px;
    margin-top: 18px;
  }
  .formula-band {
    align-items: flex-start;
    padding: 22px 20px;
  }
  .formula-band > div {
    flex-wrap: wrap;
    gap: 9px 13px;
    font-size: 12px;
  }
  .formula-band > p {
    font-size: 8px;
  }
  .calculator-heading {
    padding: 20px;
    align-items: flex-start;
    gap: 12px;
  }
  .calculator-heading > div {
    gap: 10px;
    flex-wrap: wrap;
  }
  .calculator-code {
    font-size: 9px;
    padding-right: 10px;
  }
  .calculator-heading h3 {
    font-size: 14px;
  }
  .calculator-heading .unit-tag {
    font-size: 9px;
    padding: 3px 6px;
  }
  .live-label {
    font-size: 9px;
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .calculator-form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 25px 20px 16px;
  }
  .calculator-form legend {
    font-size: 13px;
    margin-bottom: 19px;
  }
  .input-grid {
    gap: 18px 15px;
  }
  .input-grid label {
    font-size: 11px;
  }
  .input-wrap input {
    font-size: 16px;
    padding-left: 10px;
    min-height: 44px;
  }
  .input-wrap > span {
    font-size: 9px;
    padding-inline: 8px;
  }
  .input-hint {
    font-size: 10px;
  }
  .calculator-result {
    padding: 27px 20px;
  }
  .cost-table {
    font-size: 11px;
  }
  .cost-table td {
    font-size: 10px;
  }
  .cost-table td:last-child {
    font-size: 11px;
  }
  .cost-table th,
  .cost-table td {
    padding-block: 14px;
  }
  .cost-table .cost-dot {
    display: inline-block;
    margin-right: 5px;
    width: 5px;
    height: 5px;
  }
  .result-total strong {
    font-size: 29px;
  }
  .result-total div > span {
    font-size: 8px;
  }
  .quantity-total {
    font-size: 11px;
    flex-wrap: wrap;
  }
  .quantity-total strong {
    font-size: 14px;
  }
  .download-button {
    font-size: 12px;
  }
  .rounding-note,
  .download-note {
    font-size: 10px;
  }
  .example-scope {
    display: block;
    padding: 20px;
  }
  .example-scope strong {
    font-size: 11px;
    display: block;
    margin-bottom: 8px;
  }
  .example-scope p {
    font-size: 10px;
  }
  .example-insight {
    font-size: 11px;
    gap: 10px;
  }
  .method-grid,
  .review-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .method-intro > p:not(.eyebrow) {
    font-size: 13px;
  }
  .method-equation {
    margin-top: 26px;
  }
  .method-equation strong {
    font-size: 16px;
  }
  .method-steps li {
    gap: 15px;
    margin-bottom: 21px;
    padding-bottom: 21px;
  }
  .method-steps p {
    font-size: 12px;
  }
  .workflow-grid article {
    padding: 23px 17px 25px 0;
  }
  .workflow-grid article + article {
    padding-left: 17px;
  }
  .workflow-grid h3 {
    font-size: 17px;
  }
  .workflow-grid p {
    font-size: 11px;
    margin-bottom: 23px;
  }
  .workflow-tag {
    font-size: 7px;
    line-height: 1.8;
  }
  .workflow-number {
    font-size: 19px;
    margin-bottom: 19px;
  }
  .workflow-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .workflow-bottom p {
    font-size: 12px;
  }
  .review-list {
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
  }
  .review-list article {
    display: block;
  }
  .review-list h3 {
    font-size: 15px;
  }
  .review-list p {
    font-size: 11px;
  }
  .review-list article > span {
    margin-bottom: 10px;
  }
  .review-grid > div:first-child > p:not(.eyebrow),
  .faq-grid > div:first-child > p:not(.eyebrow) {
    font-size: 13px;
    max-width: none;
  }
  .faq-grid .text-link {
    margin-top: 13px;
  }
  .faq-list summary {
    font-size: 13px;
  }
  .faq-list details p {
    font-size: 12px;
  }
  .related-section {
    padding: 40px 0;
  }
  .related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .related-grid strong {
    font-size: 14px;
  }
  .related-grid a > span {
    font-size: 9px;
  }
  .final-section {
    padding-block: 45px;
  }
  .final-inner {
    display: block;
  }
  .final-inner h2 {
    font-size: 31px;
  }
  .final-inner > div:last-child {
    align-items: flex-start;
    margin-top: 27px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 27px 20px;
  }
  .footer-grid nav:last-child {
    grid-column: 1/-1;
  }
  .footer-grid nav {
    gap: 11px;
  }
  .footer-grid nav a {
    font-size: 12px;
  }
  .footer-grid h2 {
    font-size: 12px;
  }
  .footer-grid p {
    font-size: 12px;
  }
  .footer-bottom {
    gap: 16px;
    font-size: 9px;
  }
  .footer-bottom nav {
    gap: 14px;
  }
  .footer-bottom > span:nth-child(2) {
    font-size: 8px;
  }
}
@media (max-width: 400px) {
  .header-cta {
    display: none;
  }
  .header-inner {
    gap: 10px;
  }
  .shell {
    padding-inline: 18px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-note {
    font-size: 8px;
  }
  .resource-card {
    padding-inline: 13px;
  }
  .resource-card h3 {
    font-size: 14px;
  }
  .resource-example {
    font-size: 7px;
  }
  .calculator-heading,
  .calculator-form,
  .calculator-result {
    padding-inline: 15px;
  }
  .cost-table {
    font-size: 10px;
  }
  .cost-table td {
    font-size: 9px;
  }
  .cost-table .cost-dot {
    display: none;
  }
  .result-total strong {
    font-size: 25px;
  }
  .input-grid {
    gap: 16px 10px;
  }
  .input-wrap > span {
    font-size: 8px;
  }
  .method-equation strong {
    font-size: 14px;
  }
}
/* Keep the working numbers and technical guidance comfortably readable. */
.resource-card p,
.method-steps p,
.workflow-grid p,
.review-list p,
.faq-list details p {
  font-size: 14px;
}
.input-grid label {
  font-size: 13px;
}
.cost-table {
  font-size: 13px;
}
.cost-table td {
  font-size: 12px;
}
.cost-table td:last-child {
  font-size: 13px;
}
.input-hint,
.rounding-note,
.download-note {
  font-size: 11px;
}
.example-scope p {
  font-size: 12px;
}
.input-wrap > span {
  font-size: 10px;
}
.sheet-costs > div,
.sheet-costs dd {
  font-size: 12px;
}
.sheet-title p,
.sheet-overhead,
.drawing-footnote {
  font-size: 10px;
}
@media (max-width: 900px) and (min-width: 681px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .calculator-form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 680px) {
  .resource-grid,
  .review-list {
    grid-template-columns: 1fr;
  }
  .resource-card h3 {
    min-height: 0;
    font-size: 18px;
  }
  .resource-card {
    padding: 24px;
  }
  .resource-icon {
    margin-bottom: 18px;
  }
  .resource-example {
    font-size: 11px;
  }
  .sheet-title p,
  .sheet-overhead,
  .drawing-footnote {
    font-size: 9px;
  }
  .cost-table {
    font-size: 12px;
  }
  .cost-table td,
  .cost-table td:last-child {
    font-size: 11px;
  }
  .input-grid label {
    font-size: 12px;
  }
  .input-wrap > span {
    font-size: 9px;
  }
  .hero-note {
    font-size: 10px;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .workflow-grid article + article {
    border-left: 0;
    border-top: 1px solid #3c526b;
    padding-left: 0;
  }
  .workflow-tag {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
@media print {
  .site-header,
  .hero,
  .introduction,
  .method-section,
  .workflow-section,
  .review-section,
  .faq-section,
  .related-section,
  .final-section,
  .site-footer,
  .section-heading,
  .example-insight,
  .download-button,
  .download-note,
  .reset-button {
    display: none;
  }
  .shell {
    max-width: none;
    padding: 0;
  }
  .section {
    padding: 0;
    background: white;
    border: 0;
  }
  .calculator {
    box-shadow: none;
  }
  .calculator-grid {
    grid-template-columns: 1fr 1.3fr;
  }
  .calculator-form,
  .calculator-result {
    padding: 18px;
  }
  .example-scope {
    break-inside: avoid;
  }
  .table-scroll {
    overflow: visible;
  }
}
