/* VeriSpec — homepage (the audience gate): the app's type, layout and
   backdrop (Geist, white cards, the canvas) with the site's original
   colours (styles.css) on the text, cards and buttons.
   Standalone: the audience pages keep styles.css. */
:root{
  --canvas:#f7f7f2; --subtle:#f0f3f7; --panel:#ffffff;
  --line:#d4dbe5; --ink:#1a2332; --dim:#4a5c6e; --mute:#7a8da0;
  --green:#1a9e5c; --green-btn:#168451; --green-btn-dark:#126e43; --blue:#2b7fb5;
  --sans:"Geist",system-ui,sans-serif; --mono:"Geist Mono",ui-monospace,monospace;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
a{color:inherit;text-decoration:none}
body{font-family:var(--sans);font-size:15px;line-height:1.5;color:var(--ink);background:var(--canvas);
  -webkit-font-smoothing:antialiased;font-variant-ligatures:none}

/* ---------- backdrop: two drawing sheets, faint, behind the content ---------- */
.gate-page{isolation:isolate}
.gate-backdrop{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:var(--canvas)}
.gate-paper{position:absolute;inset:0;
  background-image:linear-gradient(rgba(32,42,37,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(32,42,37,.045) 1px,transparent 1px);
  background-size:32px 32px}
.gate-drawing{position:absolute;width:clamp(460px,43vw,760px);height:auto;overflow:visible;color:#7f9688}
.gate-drawing-electrical{top:9%;left:-7%;transform:rotate(-10deg)}
.gate-drawing-plan{right:-6%;bottom:3%;transform:rotate(-10deg)}
.gd-frame{stroke:currentColor;stroke-width:1;opacity:.35}
.gd-line{stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:.45}
.gd-label{fill:currentColor;font:10px var(--mono);letter-spacing:1.5px;opacity:.7}
.gd-trace{color:#2f5d50;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.6}
.gd-check rect{fill:#dde8de;stroke:#2f5d50;stroke-width:1.4}
.gd-check path{stroke:#2f5d50;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.gate-clearance{position:absolute;inset:0;background:radial-gradient(ellipse 56% 39% at 50% 49%,
  #f7f7f2 20%,rgba(247,247,242,.96) 43%,rgba(247,247,242,.4) 72%,transparent 100%)}

/* ---------- page ---------- */
.gate{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;padding:28px clamp(16px,5vw,64px)}
.gate-header{display:flex;align-items:center;justify-content:space-between;gap:20px}
.gate-brand{display:flex;align-items:center;gap:12px}
.brand-mark{flex:none}
.brand-text{font-weight:600;font-size:22px;letter-spacing:-.4px}
.brand-text em{font-style:normal}
.nav-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;
  border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--dim);
  transition:border-color .15s,color .15s,background .15s}
.nav-avatar:hover{border-color:var(--green);color:var(--ink);background:rgba(26,158,92,.08)}
.nav-avatar:focus-visible{outline:3px solid var(--blue);outline-offset:4px}

.gate-inner{margin:auto;text-align:center;max-width:960px;width:100%;padding:40px 0}
.gate-kicker{font-size:clamp(30px,3.6vw,46px);font-weight:700;line-height:1.12;letter-spacing:-.5px;
  text-transform:uppercase;color:var(--ink);text-wrap:balance}
.gate-kicker>span{display:block;color:var(--green);margin-top:4px}
.gate-q{font-size:clamp(20px,2vw,26px);font-weight:500;line-height:1.3;letter-spacing:-.4px;margin:28px 0 12px}
.gate-sub{color:var(--dim);font-size:17px;line-height:1.55;max-width:60ch;margin:0 auto 40px}

.gate-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;text-align:left}
.gate-card{--accent:#3568b7;display:flex;flex-direction:column;gap:12px;min-height:260px;
  padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:16px;
  box-shadow:0 4px 8px rgba(36,79,67,.02),0 20px 60px -24px rgba(36,79,67,.16);
  transition:transform .2s,border-color .2s,box-shadow .2s}
.gate-card-contractors{--accent:#7a4fb6}
.gate-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 24px 60px -28px rgba(0,0,0,.2)}
.gate-card:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.gc-tag{font-family:var(--mono);font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:var(--accent)}
.gate-card h2{font-size:clamp(22px,2vw,28px);font-weight:600;letter-spacing:-.6px;line-height:1.2}
.gc-highlight{color:var(--accent)}
.gate-card p{color:var(--dim);font-size:15px;line-height:1.5;margin-bottom:8px}
.gc-go{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:0 18px;
  border-radius:10px;background:var(--green-btn);color:#fff;font-size:15px;font-weight:600;transition:background .15s}
.gate-card:hover .gc-go{background:var(--green-btn-dark)}

.gate-foot{display:flex;justify-content:center;font-family:var(--mono);font-size:13px;color:var(--mute)}
.gate-foot a:hover{color:var(--ink)}
.gate-page .vs-policy-links{font-family:var(--sans);color:var(--mute);border-top:1px solid var(--line);background:var(--canvas)}
.gate-page .vs-policy-links a:hover{color:#174f74}

@media (max-width:760px){.gate-cards{grid-template-columns:1fr}.gate-card{min-height:0}}
@media (max-width:600px){
  .gate{padding-top:20px;padding-bottom:20px}
  .gate-inner{padding:32px 0}
  .gate-card{padding:22px}
  .gate-drawing-electrical{width:430px;top:5%;left:-220px;opacity:.6}
  .gate-drawing-plan{width:440px;right:-240px;bottom:0;opacity:.6}
  .gate-clearance{background:radial-gradient(ellipse 85% 48% at 50% 48%,#f7f7f2 20%,rgba(247,247,242,.93) 55%,transparent 100%)}
}
@media (prefers-reduced-motion:reduce){.gate-card{transition:none}.gate-card:hover{transform:none}}
