/* Online fence builder (/build) — neon green + black to match cclfencingandoutdoors.com */
:root:root {
  --bg: #f4f6f4; --surface: #fff; --ink: #0b0d0c; --muted: #56605a; --line: #dfe5e0; --soft: #eef3ef;
  --accent: #14a84a; --accent-ink: #fff; --accent-soft: #e2f8e9; --neon: #3ce96e;
  --display: "Archivo", system-ui, sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 0px; color-scheme: light;
}
body.bld { background: var(--bg); color: var(--ink); }
.bld h1, .bld h2, .bld h3 { font-family: var(--display); font-weight: 900; letter-spacing: -.01em; text-transform: none; }
.bhead { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: #0b0d0c; color: #fff; border-bottom: 3px solid var(--neon); }
.bbrand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 800 15px var(--display); }
.bmark { background: var(--neon); color: #0b0d0c; padding: 3px 7px; border-radius: 6px; font-weight: 900; }
.bcall { color: #0b0d0c; background: var(--neon); padding: 8px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 14px; white-space: nowrap; }
body.embed .bhead { display: none; }
.bmain { max-width: 960px; margin: 0 auto; padding: 18px 14px 120px; display: flex; flex-direction: column; gap: 18px; }
.bintro h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.05; }
.bintro h1 em { font-style: normal; color: var(--accent); }
.bintro p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }
.bstep { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.bstep.dim { opacity: .55; pointer-events: none; }
.bstep-h { display: flex; align-items: center; gap: 10px; }
.bstep-h .n { width: 30px; height: 30px; border-radius: 50%; background: #0b0d0c; color: var(--neon); display: grid; place-items: center; font: 900 15px var(--display); flex-shrink: 0; }
.bstep-h h2 { font-size: 1.3rem; }
.bstep .sub { color: var(--muted); margin: 0; font-size: 14px; }
.addr-row { display: flex; gap: 8px; }
.addr-row .grow { flex: 1; position: relative; }
.addr-row .input { width: 100%; font-size: 16px; padding: 12px 14px; }
.bld .btn.primary, .bbig { background: #0b0d0c; color: var(--neon); border-color: #0b0d0c; font-weight: 800; }
.bbig { font: 800 17px var(--display); padding: 14px 20px; border-radius: 12px; border: 0; cursor: pointer; }
.bbig:disabled { opacity: .5; cursor: default; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.bld .check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--soft); }
.bld .check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }
.bld .check small { display: block; color: var(--muted); }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.how div { background: var(--soft); border-radius: 10px; padding: 10px; font-size: 13px; }
.how b { display: block; font-size: 14px; }
@media (max-width: 640px) { .how { grid-template-columns: minmax(0, 1fr); } }
.bld .fence-map { height: min(68vh, 620px); }
.lines { display: flex; flex-direction: column; gap: 6px; }
.lines .ln { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--soft); font-size: 14px; }
.lines .ln b { font-weight: 600; }
.row2 { display: flex; gap: 8px; flex-wrap: wrap; }
/* price bar */
.pricebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; background: #0b0d0c; color: #fff; border-top: 3px solid var(--neon); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.pricebar .in { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pricebar .lab { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #a7b3ab; }
.pricebar .rng { font: 900 clamp(1.3rem, 5vw, 1.9rem) var(--display); color: var(--neon); line-height: 1.1; }
.pricebar .ft { font-size: 13px; color: #cfd8d2; }
.pricebar .bbig { background: var(--neon); color: #0b0d0c; padding: 12px 16px; font-size: 15px; white-space: nowrap; }
.fine { font-size: 12.5px; color: var(--muted); margin: 0; }
.form2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form2 .full { grid-column: 1 / -1; }
.form2 .input { width: 100%; font-size: 16px; }
@media (max-width: 560px) { .form2 { grid-template-columns: minmax(0, 1fr); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { text-align: center; padding: 30px 16px; }
.done .big { font: 900 2.2rem var(--display); color: var(--accent); }
.bld .mode-banner { background: #fffbe0; border-color: #f2c200; }
.bld .toast { bottom: 100px; }
