/* ---------- Tokens ---------- */
:root{
  --paper:#EDF0EC;
  --surface:#FFFFFF;
  --ink:#16202B;
  --ink-soft:#4B5661;
  --ink-faint:#7B8790;
  --line:#D3D9D2;
  --line-strong:#B9C1B7;
  --verified:#2E7A56;
  --verified-bg:#E4F0E9;
  --brass:#A9752E;
  --brass-bg:#F3E9D8;
  --radius:10px;
  --max:1120px;
  --shadow:0 1px 2px rgba(22,32,43,0.04), 0 8px 24px rgba(22,32,43,0.06);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter',system-ui,sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Space Grotesk',system-ui,sans-serif;
  color:var(--ink);
  margin:0;
  letter-spacing:-0.01em;
}
p{margin:0;}
a{color:inherit;}
.mono{ font-family:'IBM Plex Mono',ui-monospace,monospace; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 28px; }

.h2{ font-size:clamp(26px,3vw,34px); font-weight:700; max-width:22ch; }
.h2-light{ color:var(--paper); }

.eyebrow{
  font-family:'IBM Plex Mono',ui-monospace,monospace;
  font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--brass);
  display:inline-flex; align-items:center; gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{ content:""; width:18px; height:1px; background:var(--brass); display:inline-block; }

section{ padding:88px 0; }
@media (max-width:720px){ section{ padding:56px 0; } }
.alt-surface{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

::selection{ background:var(--verified-bg); color:var(--ink); }
:focus-visible{ outline:2px solid var(--ink); outline-offset:3px; border-radius:4px; }

@media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; } }

/* ---------- Buttons ---------- */
.btn{
  font-family:'Inter',sans-serif; font-weight:600; font-size:15px;
  padding:13px 22px; border-radius:8px; border:1px solid transparent;
  cursor:pointer; display:inline-flex; align-items:center; gap:8px;
  text-decoration:none; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height:1;
}
.btn-primary{ background:var(--ink); color:var(--paper); }
.btn-primary:hover{ box-shadow:var(--shadow); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line-strong); }
.btn-ghost:hover{ border-color:var(--ink); }
.btn-sm{ padding:9px 16px; font-size:13.5px; }

/* ---------- Header ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(237,240,236,0.88); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand-mark{
  width:32px; height:32px; border-radius:7px; background:var(--ink);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.brand-mark svg{ width:16px; height:16px; }
.brand-name{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:16.5px; color:var(--ink); line-height:1.1; }
.brand-sub{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--ink-faint); letter-spacing:0.04em; }
.nav-links{ display:flex; gap:30px; list-style:none; margin:0; padding:0; }
.nav-links a{ font-size:14.5px; font-weight:500; text-decoration:none; color:var(--ink-soft); transition:color .15s ease; }
.nav-links a:hover{ color:var(--ink); }
@media (max-width:860px){ .nav-links{ display:none; } }

/* ---------- Hero ---------- */
.hero{ padding:76px 0 60px; }
.hero-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:center; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } }
h1.headline{ font-size:clamp(32px,4.6vw,50px); line-height:1.06; font-weight:700; max-width:12ch; }
.sub{ margin-top:22px; font-size:17px; color:var(--ink-soft); max-width:46ch; }
.hero-cta{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }

.proof-strip{ display:flex; gap:28px; margin-top:40px; flex-wrap:wrap; }
.proof-item{ display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--ink-soft); font-weight:500; }
.proof-item svg{ width:15px; height:15px; color:var(--verified); flex-shrink:0; }

.hero-visual{ position:relative; }
.preview-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:22px 22px 20px; transform:rotate(1.4deg);
  max-width:380px; margin:0 auto;
}
.preview-card-head{ display:flex; justify-content:space-between; align-items:flex-start; border-bottom:1px solid var(--line); padding-bottom:12px; margin-bottom:14px; }
.preview-title{ font-size:11px; letter-spacing:0.1em; color:var(--ink-faint); text-transform:uppercase; }
.preview-prop{ font-weight:600; font-size:14.5px; margin-top:3px; }
.preview-row{ display:flex; align-items:center; justify-content:space-between; padding:9px 0; border-bottom:1px dashed var(--line); font-size:13.5px; }
.preview-row:last-of-type{ border-bottom:none; }
.preview-area{ display:flex; align-items:center; gap:8px; color:var(--ink); }
.preview-area svg{ width:13px; height:13px; color:var(--ink-faint); }
.badge{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.05em; font-weight:600; padding:3px 8px; border-radius:20px; }
.badge-pass{ background:var(--verified-bg); color:var(--verified); }
.badge-corrected{ background:var(--brass-bg); color:var(--brass); }
.mini-stamp{ position:absolute; bottom:-18px; right:-10px; }
.mini-stamp svg{ width:74px; height:74px; }

/* ---------- Services ---------- */
.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; margin-top:44px;
}
@media (max-width:860px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .services-grid{ grid-template-columns:1fr; } }
.service-cell{ background:var(--surface); padding:26px 24px; }
.service-cell svg{ width:20px; height:20px; color:var(--ink); margin-bottom:14px; }
.service-cell h3{ font-size:15.5px; font-weight:600; margin-bottom:6px; }
.service-cell p{ font-size:13.5px; color:var(--ink-soft); line-height:1.5; }

/* ---------- How it works ---------- */
.steps{ margin-top:48px; display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
@media (max-width:860px){ .steps{ grid-template-columns:1fr; gap:28px; } }
.step{ padding-right:28px; position:relative; }
.step:not(:last-child)::after{ content:""; position:absolute; top:16px; right:0; width:1px; height:calc(100% - 16px); background:var(--line); }
@media (max-width:860px){ .step:not(:last-child)::after{ display:none; } }
.step-num{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--brass); font-weight:600; margin-bottom:14px; display:block; }
.step h3{ font-size:16px; font-weight:600; margin-bottom:8px; }
.step p{ font-size:13.5px; color:var(--ink-soft); }

/* ---------- Reporting (signature section) ---------- */
.report-section{ background:var(--ink); color:var(--paper); }
.report-section .eyebrow{ color:#C89A55; }
.report-section .eyebrow::before{ background:#C89A55; }
.report-intro{ color:#B7C0C7; max-width:56ch; margin-top:16px; font-size:15.5px; }

.feature-pair{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:40px; }
@media (max-width:720px){ .feature-pair{ grid-template-columns:1fr; } }
.feature-block{ background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:26px; }
.feature-block svg{ width:22px; height:22px; margin-bottom:14px; }
.feature-block h3{ color:var(--paper); font-size:16px; font-weight:600; margin-bottom:8px; }
.feature-block p{ color:#B7C0C7; font-size:13.5px; line-height:1.55; }

.report-card{
  background:var(--surface); color:var(--ink); border-radius:14px; padding:0; margin-top:36px;
  box-shadow:0 20px 60px rgba(0,0,0,0.35); max-width:760px; position:relative; overflow:hidden;
}
.report-topbar{ height:6px; background:linear-gradient(90deg,var(--verified),var(--brass)); }
.report-inner{ padding:34px 36px 30px; }
.sample-ribbon{
  position:absolute; top:22px; right:-46px; background:var(--brass); color:#fff;
  font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600; letter-spacing:0.1em;
  padding:5px 52px; transform:rotate(38deg); text-transform:uppercase;
}
.report-head{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:16px; border-bottom:1px solid var(--line); padding-bottom:20px; margin-bottom:20px; }
.report-head-label{ font-size:11px; letter-spacing:0.1em; color:var(--ink-faint); text-transform:uppercase; margin-bottom:5px; }
.report-head-value{ font-weight:600; font-size:16.5px; }
.report-meta{ display:flex; gap:32px; flex-wrap:wrap; }
.report-meta-item .mono{ font-size:13.5px; color:var(--ink-soft); }

.checklist{ margin-top:4px; }
.check-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 0; border-bottom:1px solid var(--line); }
.check-row:last-child{ border-bottom:none; }
.check-left{ display:flex; align-items:center; gap:12px; }
.check-left svg.cam{ width:15px; height:15px; color:var(--ink-faint); flex-shrink:0; }
.check-area{ font-weight:500; font-size:14.5px; }
.check-note{ font-size:12.5px; color:var(--ink-faint); margin-top:2px; }
.check-status{ display:flex; align-items:center; gap:8px; flex-shrink:0; }

.report-footer{ margin-top:26px; padding-top:20px; border-top:1px dashed var(--line); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.report-footer-note{ font-size:12.5px; color:var(--ink-faint); max-width:38ch; }
.stamp-full svg{ width:96px; height:96px; }

/* ---------- Service areas ---------- */
.areas-wrap{ margin-top:40px; display:flex; flex-wrap:wrap; gap:10px; }
.area-pill{ font-family:'IBM Plex Mono',monospace; font-size:13px; padding:9px 16px; border-radius:20px; border:1px solid var(--line-strong); background:var(--surface); }
.areas-note{ margin-top:22px; font-size:14px; color:var(--ink-soft); }

/* ---------- Request form ---------- */
.form-shell{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:40px; margin-top:40px; box-shadow:var(--shadow); }
@media (max-width:640px){ .form-shell{ padding:26px; } }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:8px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:7px; }
.field.full{ grid-column:1/-1; }
label{ font-size:13px; font-weight:600; color:var(--ink); }
input,select,textarea{
  font-family:'Inter',sans-serif; font-size:14.5px; color:var(--ink);
  background:var(--paper); border:1px solid var(--line-strong); border-radius:8px;
  padding:11px 13px; width:100%;
}
textarea{ resize:vertical; min-height:90px; }
input:focus,select:focus,textarea:focus{ outline:none; border-color:var(--ink); }
.form-submit{ margin-top:24px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.form-note{ font-size:12.5px; color:var(--ink-faint); }

.direct-contact{
  margin-top:30px; padding-top:24px; border-top:1px solid var(--line);
  display:flex; gap:36px; flex-wrap:wrap;
}
.direct-contact a{ display:block; font-weight:600; font-size:15px; text-decoration:none; margin-top:2px; }
.direct-contact a:hover{ text-decoration:underline; }
.dc-label{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-faint); }

/* ---------- Footer ---------- */
footer{ border-top:1px solid var(--line); padding:44px 0 36px; }
.footer-grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; }
.footer-brand p{ font-size:13px; color:var(--ink-faint); margin-top:6px; max-width:34ch; }
.footer-contact{ font-size:13.5px; color:var(--ink-soft); line-height:1.9; }
.footer-legal{ margin-top:30px; padding-top:20px; border-top:1px solid var(--line); font-size:12px; color:var(--ink-faint); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
