/* Building Materials Estimator — "spec sheet" landing. Concrete grey, graphite ink, measuring-tape yellow,
   chalk-line green; screens framed with a hard ink shadow and dimension lines, like on a site drawing. */

@font-face { font-family: "Overpass"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/overpass-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/overpass-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/overpass-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/overpass-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/overpass-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/overpass-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Overpass Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/overpass-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Overpass Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/overpass-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Overpass Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/overpass-mono-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Overpass Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/overpass-mono-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --concrete: #e8ecea;
  --concrete-deep: #dce2df;
  --card: #ffffff;
  --ink: #1e2528;
  --soft: #4a5559;
  --line: #c6cfcc;
  --tape: #f3bf1e;
  --tape-tint: #fcf0c8;
  --tape-dark: #7a5800;
  --green: #1e5b4e;
  --green-dark: #143f36;
  --text: "Overpass", system-ui, sans-serif;
  --mono: "Overpass Mono", ui-monospace, monospace;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--concrete); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--tape); }
h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 7.2vw, 4.6rem); line-height: 1.02; margin: 0 0 0.35em; }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.8rem); line-height: 1.08; margin: 0 0 0.5em; }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.15; margin: 0 0 0.4em; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
code { font-family: var(--mono); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.kicker { font-family: var(--mono); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin: 0 0 14px; }

/* Measuring tape: yellow strip, ticks from the top edge (long every 10th, medium every 5th). */
.tape {
  height: 22px; border-bottom: 2px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 80px) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 40px) 0 0 / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 8px) 0 0 / 100% 5px no-repeat,
    var(--tape);
}
.tape-thin { height: 14px; }

/* Header */
.top { background: var(--concrete); position: relative; z-index: 2; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.08rem; line-height: 1.15; min-width: 0; }
.brand span { overflow-wrap: anywhere; }
.nav { display: flex; gap: 4px 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 10px 2px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--tape); }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--green); }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.28rem); color: var(--soft); max-width: 40em; }
.specs { margin: 28px 0 32px; border-top: 2px solid var(--ink); max-width: 520px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--mono); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); padding-top: 2px; }
.specs dd { margin: 0; font-weight: 800; text-align: right; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.link-arrow { font-weight: 800; color: var(--ink); text-decoration-color: var(--tape); text-decoration-thickness: 3px; }

.play { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--tape); }
.play:hover { color: #fff; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--tape); }
.play-soon { background: var(--card); color: var(--soft); box-shadow: none; border-style: dashed; cursor: default; }
.play-icon { flex: none; }

/* Real screens: ink frame and a hard offset shadow */
.shot { margin: 0; }
.shot img { border: 3px solid var(--ink); box-shadow: 14px 14px 0 var(--ink); background: var(--card); }
.hero-shot { position: relative; justify-self: center; width: 100%; max-width: 380px; padding-right: 54px; }
.dim { position: absolute; right: 8px; top: 0; bottom: 0; width: 24px; border-left: 2px solid var(--ink); margin-left: 12px; }
.dim::before, .dim::after { content: ""; position: absolute; left: -9px; width: 16px; height: 2px; background: var(--ink); }
.dim::before { top: 0; }
.dim::after { bottom: 0; }
.dim span { position: absolute; top: 50%; left: -1px; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--concrete); padding: 0 10px; }

/* Calculation chain */
.chain { padding: 72px 0 24px; background: var(--card); border-top: 2px solid var(--ink); }
.formula { list-style: none; margin: 8px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 0; border: 2px solid var(--ink); width: fit-content; max-width: 100%; }
.formula li { border-right: 2px solid var(--ink); }
.formula li:last-child { border-right: none; }
.formula a { display: block; padding: 10px 16px; color: var(--ink); text-decoration: none; font-weight: 700; }
.formula a:hover { background: var(--tape-tint); }
.formula .no { font-family: var(--mono); color: var(--green); margin-right: 4px; }
.step { padding: 56px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 56px; align-items: center; }
.step-flip .step-grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.step-flip .step-text { order: 2; }
.step-no { font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.86rem; margin: 0 0 10px; }
.step-no span { display: inline-block; background: var(--tape); border: 2px solid var(--ink); padding: 2px 8px; margin-right: 6px; }
.step-formula code { display: inline-block; background: var(--concrete); border-left: 5px solid var(--tape); padding: 6px 12px; font-size: 0.98rem; overflow-wrap: anywhere; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 6px 0 6px 28px; border-top: 1px dashed var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.shot-step { justify-self: center; width: 100%; max-width: 320px; }

/* Gallery */
.gallery { padding: 72px 0; }
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 56px; margin-top: 12px; }
.strip-item { margin: 0; }
.strip-item img { border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); background: var(--card); }
.strip-item figcaption { margin-top: 22px; font-family: var(--mono); font-size: 0.88rem; color: var(--soft); }

/* Audience */
.audience { padding: 72px 0; background: var(--ink); color: #fff; }
.audience .kicker { color: var(--tape); }
.audience-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.roles { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--tape); }
.roles div { padding: 18px 18px 18px 0; border-bottom: 1px solid #3c474b; }
.roles dt { font-weight: 800; font-size: 1.15rem; margin-bottom: 4px; }
.roles dd { margin: 0; color: #c9d2cf; }
.more { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.more li { font-family: var(--mono); font-size: 0.9rem; color: #e3e8e6; padding-left: 18px; position: relative; }
.more li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; background: var(--tape); }

/* FAQ */
.faq { padding: 72px 0; }
details { background: var(--card); border: 2px solid var(--ink); margin: 0 0 12px; }
summary { cursor: pointer; padding: 14px 48px 14px 18px; font-weight: 800; list-style: none; position: relative; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-family: var(--mono); font-size: 1.4rem; color: var(--green); }
details[open] summary::after { content: "−"; }
details p { padding: 0 18px 4px; margin: 0 0 14px; color: var(--soft); }
.note { margin-top: 24px; padding: 14px 16px; background: var(--tape-tint); border-left: 6px solid var(--tape); font-size: 0.96rem; }

/* Download band */
.download { background: var(--tape); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 48px 0; }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.download h2 { margin-bottom: 0.3em; max-width: 18em; }
.download-inner > div { min-width: 0; flex: 1 1 320px; }
.download p { margin: 0; max-width: 40em; }
.download p a { overflow-wrap: anywhere; }
.download a { color: var(--ink); }
.download .play-soon { background: var(--concrete); }

/* Footer */
.foot { background: var(--ink); color: #fff; padding: 0 0 28px; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-top: 32px; padding-bottom: 12px; }
.foot-brand { display: flex; gap: 14px; align-items: center; min-width: 0; }
.foot-brand img { border-radius: 8px; flex: none; }
.foot-name { font-weight: 800; margin: 0; overflow-wrap: anywhere; }
.foot-small { margin: 0; color: #c9d2cf; font-size: 0.92rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.foot-links a { color: #fff; display: inline-block; padding: 8px 0; overflow-wrap: anywhere; }
.foot-note { color: #9fabaa; font-size: 0.85rem; margin: 8px 0 0; max-width: 60em; }

/* Text pages */
.page { padding: 48px 0 80px; }
.doc h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.doc h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); margin-top: 1.6em; }
.doc .small { font-size: 0.9rem; color: var(--soft); }
.doc-steps { list-style: none; padding: 0; margin: 28px 0; border-top: 2px solid var(--ink); }
.doc-steps li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.doc-steps h2 { margin: 0 0 6px; }
.doc-steps .no { font-family: var(--mono); background: var(--tape); border: 2px solid var(--ink); padding: 0 6px; font-size: 0.9em; margin-right: 6px; }
.calc { width: 100%; border-collapse: collapse; background: var(--card); border: 2px solid var(--ink); }
.calc th, .calc td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.calc th { font-family: var(--mono); font-size: 0.9rem; width: 34%; }
.legal h2 { font-size: clamp(1.2rem, 3vw, 1.45rem); }

@media (max-width: 960px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid, .audience-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .step-grid, .step-flip .step-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .step-flip .step-text { order: 0; }
  .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 66%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 26px; gap: 28px; }
  .strip-item { scroll-snap-align: start; padding-right: 10px; }
  .more { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .formula { width: 100%; }
  .formula li { border-right: none; border-bottom: 2px solid var(--ink); flex: 1 1 100%; }
  .formula li:last-child { border-bottom: none; }
  .hero-shot { padding-right: 44px; max-width: 330px; }
  .shot img { box-shadow: 9px 9px 0 var(--ink); }
  .specs div { flex-wrap: wrap; gap: 2px 12px; }
  .calc th { width: 40%; }
  .top-inner { min-height: 64px; }
  .nav { gap: 0 14px; }
}
