:root {
  color-scheme: light;
  --night: #111a24;
  --panel: #172433;
  --grid: #294054;
  --paper: #f5f7f5;
  --white: #f7fafb;
  --ink: #141f2b;
  --muted: #465564;
  --line: #cad3d9;
  --yellow: #eaf46d;
  --sun: #f3fb9a;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.5vw, 5.4rem);
}
*, *::before, *::after {box-sizing:border-box}
[hidden] {display:none!important}
html {scroll-behavior:smooth}
body {margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 var(--sans)}
p,h1,h2,h3,figure {margin:0}
a {color:inherit;text-underline-offset:.25em}
button {font:inherit}
svg {display:block}
.sprite {position:absolute;width:0;height:0;overflow:hidden}
.skip {position:fixed;top:.75rem;left:.75rem;z-index:20;padding:.65rem 1rem;translate:0 -170%;background:white;color:var(--ink);font-weight:750;border:2px solid currentColor}
.skip:focus {translate:0}
:focus-visible {outline:3px solid #3367ad;outline-offset:4px}
.dark :focus-visible {outline-color:var(--yellow)}
.dark {background:var(--night);color:var(--white)}
.wrap {width:min(calc(100% - var(--gutter) * 2), 79rem);margin-inline:auto}
.mast {border-bottom:1px solid #334252}
.mast-inner {min-height:4.7rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand {display:inline-flex;align-items:center;gap:.45rem;color:var(--white);text-decoration:none;font:750 1.65rem/1 system-ui,sans-serif;letter-spacing:-.06em}
.brand img {display:block;flex:none}
.brand b {font-weight:500}
.brand:hover {color:var(--yellow)}
.mast nav {display:flex;align-items:center;gap:clamp(.65rem, 2.45vw, 2.5rem);font-size:.875rem;font-weight:660}
.nav-link {text-decoration:none;color:#c1ced9;padding:.6rem 0}
.nav-link:hover,.text-link:hover {text-decoration-thickness:2px}
.nav-link:hover {color:#fff;text-decoration:underline}
.button {display:inline-flex;align-items:center;justify-content:center;min-height:3.2rem;padding:.7rem 1.3rem;border:1px solid transparent;border-radius:.42rem;font-size:1rem;font-weight:760;text-decoration:none;white-space:nowrap;line-height:1.15;transition:background .16s ease,color .16s ease,border-color .16s ease, box-shadow .16s ease}
.button-small {min-height:2.55rem;padding:.55rem .9rem;font-size:.875rem}
.button-outline {border-color:#617184;color:#f6fafc}
.button-outline:hover {background:#263647;border-color:#aec0cf}
.button-primary {background:var(--yellow);color:#182116;box-shadow:0 4px 0 #53602c}
.button-primary:hover {background:var(--sun);box-shadow:0 4px 0 #798543}
.button-dark {background:var(--night);color:var(--white);box-shadow:0 4px 0 #637138;align-self:center}
.button-dark:hover {background:#253849}
.text-link {font-weight:720}
.hero {display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:clamp(1.5rem,5vw,5.25rem);padding-top:clamp(3.5rem,6.6vw,6.15rem)}
.hero-copy {align-self:center}
.eyebrow {display:flex;align-items:center;gap:.65rem;color:#526373;font:700 .8125rem/1.35 var(--mono);letter-spacing:.085em}
.dark .eyebrow {color:#bdcbd6}
.yellow-rule {width:1.4rem;height:2px;flex-shrink:0;background:#657516}
.dark .yellow-rule {background:var(--yellow)}
h1 {margin:.93rem 0 1.08rem;font-size:clamp(3.2rem,5.24vw,5.25rem);font-weight:780;line-height:.98;letter-spacing:-.076em}
h1 em {color:var(--yellow);font-style:normal}
.lede {max-width:28rem;color:#c4cfd9;font-size:clamp(1.0125rem,1.39vw,1.21rem);line-height:1.55}
.hero-actions {display:flex;align-items:center;flex-wrap:wrap;gap:1.15rem;margin-top:1.6rem}
.hero-actions .text-link {font-size:.95rem;color:#e8eef3}
.hero-note {display:flex;align-items:center;gap:.4rem;margin-top:1.1rem;color:#bbc9d4;font-size:.875rem}
.line-icon {height:1.25rem;width:1.25rem;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.hero-note .line-icon {height:.95rem;width:.95rem;color:var(--yellow);stroke-width:2.1}
.specimen {min-width:0;align-self:center;background:var(--panel);border:1px solid #465b70;border-radius:.85rem;box-shadow:0 26px 52px #060e1759;overflow:hidden;scroll-margin-top:1rem}
.specimen-head,.specimen-foot {display:flex;justify-content:space-between;align-items:center;gap:.6rem;padding:.75rem 1rem}
.specimen-head {border-bottom:1px solid #3a4f64}
.specimen-label {display:flex;align-items:center;gap:.6rem}
.sample-icon {width:2.25rem;height:2.25rem;padding:.41rem;color:var(--yellow);background:#263746;border:1px solid #405669;border-radius:.3rem}
.specimen-kicker,.specimen-tag {color:#aabed0;font:700 .69rem/1.3 var(--mono);letter-spacing:.12em}
.specimen-title {color:#f3f8fa;font-size:.94rem;font-weight:690}
.specimen-tag {padding:.37rem .5rem;border:1px solid #50667a;border-radius:.25rem;color:#dbebf8;white-space:nowrap}
.display {background-color:#142333;background-image:linear-gradient(to right,#30485b66 1px,transparent 1px),linear-gradient(to bottom,#30485b66 1px,transparent 1px);background-size:18px 18px;position:relative;aspect-ratio:520 / 328}
.plan-pane {height:100%}
.drawing {width:100%;height:100%}
.roof-details {fill:none;stroke:#718899;stroke-width:1.55;stroke-dasharray:6 5}
.dim-line {stroke:#99adbf;stroke-width:1.1;fill:none}
.dim-label,.survey-index {font-family:var(--mono);font-size:15px;letter-spacing:.05em;fill:#d7e3ed}
.survey-index {font-size:11px;letter-spacing:.12em;fill:#b9c9d7}
.survey-index path {fill:none;stroke:#b9c9d7;stroke-width:1.4}
.gutter-run {fill:none;stroke:var(--yellow);stroke-width:4.6;stroke-linecap:round;stroke-linejoin:round}
.ds-mark path {fill:none;stroke:#87e8cb;stroke-width:2;stroke-dasharray:2 2}
.ds-mark circle {fill:#87e8cb;stroke:#111a24;stroke-width:1.7}
.ds-mark text {fill:#152437;font:800 12px var(--mono);text-anchor:middle;dominant-baseline:central}
.run-pane {position:absolute;inset:0;padding:clamp(.45rem,3vw,2rem);overflow:auto;background:#182b3af7}
.run-pane p {margin-top:.55rem;color:#c0cfda;font-size:.875rem}
.run-table {width:100%;border-collapse:collapse;font:600 clamp(.78rem,1.4vw,1.02rem)/1.35 var(--mono);text-align:left}
.run-table caption {text-align:left;font-weight:750;color:var(--yellow);margin-bottom:.55rem}
.run-table td,.run-table th {border-bottom:1px solid #53697c;padding:clamp(.29rem,.9vw,.57rem) .27rem}
.run-table th {color:#d2e0eb;font-weight:600}
.specimen-foot {min-height:3.3rem;border-top:1px solid #3a4f64}
.legend {padding:0;margin:0;list-style:none;display:flex;align-items:center;gap:.8rem}
.legend li {display:flex;align-items:center;gap:.37rem;white-space:nowrap;font-size:.76rem;color:#d7e1e9}
.legend i {display:block;border-radius:20px}
.legend-gutter {width:.95rem;height:.18rem;background:var(--yellow)}
.legend-drop {width:.43rem;height:.43rem;background:#87e8cb}
.views {display:flex;align-items:center;border:1px solid #546a7d;border-radius:.3rem;padding:.12rem;gap:.13rem}
.views button {padding:.26rem .55rem;min-height:2rem;color:#d4e0ea;background:transparent;border:0;border-radius:.22rem;cursor:pointer;font-size:.75rem;font-weight:700;white-space:nowrap}
.views button[aria-pressed="true"],.views button:hover {background:#32495d;color:#fff}
.method {grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);margin-top:.2rem;border-top:1px solid #405264;font-size:.91rem;color:#e3eaf1}
.method>div {padding:1.09rem .5rem;display:flex;align-items:center;justify-content:center;gap:.7rem;font-weight:680}
.method>div+div {border-left:1px solid #405264}
.method-index {color:var(--yellow);font:650 .75rem/1 var(--mono)}
.section {padding-block:clamp(3.25rem,7.3vw,6.65rem);scroll-margin-top:.5rem}
.section h2 {font-size:clamp(2.4rem,4.4vw,4.25rem);font-weight:775;line-height:1.02;letter-spacing:-.066em}
.section-intro {display:grid;grid-template-columns:1fr .68fr;gap:1.5rem;align-items:end;margin:.85rem 0 2.35rem}
.section-intro>p {font-size:clamp(1rem,1.45vw,1.15rem);color:var(--muted);max-width:27rem}
.steps {list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #c5d0d5;border-radius:.55rem;background:#fff}
.steps li {padding:clamp(1rem,2.4vw,2rem)}
.steps li+li {border-left:1px solid #c5d0d5}
.step-top {display:flex;justify-content:space-between;align-items:center;gap:.4rem;margin-bottom:1.1rem}
.step-icon {display:grid;place-items:center;width:2.4rem;height:2.4rem;background:#edf2f2;border-radius:.38rem;color:#243f52}
.step-number {color:#546776;font:700 .75rem/1.3 var(--mono);letter-spacing:.08em}
.steps h3 {font-size:1.37rem;line-height:1.18;letter-spacing:-.036em}
.steps p {margin-top:.4rem;color:var(--muted);max-width:28ch}
.faq {border-block:1px solid #cad4d8;background:#edf1f0}
.faq-layout {display:grid;grid-template-columns:1fr 1.4fr;gap:2rem}
.faq .eyebrow {margin-bottom:.7rem}
.questions {border-top:1px solid #aebcc1}
.questions details {border-bottom:1px solid #aebcc1}
.questions summary {cursor:pointer;min-height:3.3rem;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem .1rem;font-weight:750;font-size:1.05rem}
.questions summary::-webkit-details-marker {display:none}
.questions summary::after {content:"+";font:700 1.3rem/1 var(--mono);color:#425869}
.questions details[open] summary::after {content:"−"}
.questions details p {color:var(--muted);padding:0 1rem .95rem .1rem;max-width:62ch}
.closing {padding-bottom:clamp(2.25rem,4.9vw,4.8rem)}
.closing-inner {position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:1.2rem;padding:clamp(1.45rem,4.5vw,4rem);background:var(--yellow);border:1px solid #aab64d;border-radius:.6rem}
.closing-inner::after {content:"";position:absolute;inset:0 0 0 55%;z-index:-1;background:repeating-linear-gradient(130deg, transparent 0 15px,#14271f0d 15px 16px);mask-image:linear-gradient(to right,transparent,#000)}
.closing .eyebrow {color:#455523;margin-bottom:.6rem}
.closing h2 {font-size:clamp(2.2rem,4.6vw,4rem)}
.closing p:not(.eyebrow) {margin-top:.45rem;color:#36431e}
.footer {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1.17rem 0 1.5rem;border-top:1px solid #c6d1d6;color:#415362;font-size:.875rem}
.brand-footer {color:var(--ink);font-size:1.35rem}
.brand-footer:hover {color:#176d56}
.brand-footer img {width:32px;height:32px}
.footer .text-link {color:#1b3444}
@media (max-width:58rem) {
  .hero {grid-template-columns:1fr;gap:2.2rem}
  h1 {font-size:clamp(3.25rem,8.5vw,5.3rem)}
  .specimen {width:100%;max-width:42rem;justify-self:start}
}
@media (max-width:42rem) {
  .mast-inner {min-height:4rem}
  .mast .nav-link {display:none}
  .brand {font-size:1.4rem}
  .brand img {width:32px;height:32px}
  .hero {padding-top:3rem;gap:1.7rem}
  h1 {font-size:clamp(2.5rem,10vw,4.2rem);line-height:1.01}
  .hero-actions {gap:.75rem;margin-top:1.25rem}
  .specimen-head,.specimen-foot {padding-inline:.6rem}
  .specimen-foot {gap:.35rem}
  .legend {gap:.5rem}
  .legend li {font-size:.67rem}
  .views button {font-size:.72rem;padding-inline:.37rem}
  .method>div {padding:.7rem .23rem;letter-spacing:0;font-size:.76rem;text-align:center;flex-direction:column;gap:.3rem}
  .section-intro,.faq-layout {grid-template-columns:1fr;gap:.8rem}
  .section-intro {margin-bottom:1.5rem}
  .steps {grid-template-columns:1fr}
  .steps li+li {border-left:0;border-top:1px solid #c5d0d5}
  .steps p {max-width:none}
  .closing-inner {flex-direction:column;align-items:flex-start}
  .button-dark {align-self:flex-start}
  .footer p {order:1;width:100%}
}
@media (max-width:23rem) {
  .legend li {gap:.22rem}
  .legend {gap:.32rem}
  .views button {padding-inline:.25rem}
  .method-index {font-size:.68rem}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  *,*::before,*::after {transition:none!important}
}
