/* Setpoint Energy Partners — styles
   Brand colours sampled from the logo:
   green #056342 · mint #7dcb9b · charcoal #292929 */
/* Self-hosted fonts (SIL Open Font License 1.1, see assets/fonts/*-OFL.txt).
   Latin subsets of the variable fonts: Albert Sans 400–700, Inter 400–600. */
@font-face {
  font-family: "Albert Sans";
  src: url("assets/fonts/albert-sans-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-latin.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

:root {
  --green: #056342;
  --green-dark: #044d33;
  --green-deep: #033a27;
  --mint: #7dcb9b;
  --mint-soft: #e6f5ec;
  --mint-line: #c4e7d2;
  --charcoal: #292929;
  --muted: #5d6661;
  --line: #e1e6e2;
  --bg: #ffffff;
  --bg-alt: #f5f8f6;
  --error: #b42318;
  --radius: 14px;
  --shadow: 0 30px 60px -28px rgba(3, 58, 39, 0.35), 0 6px 18px rgba(41, 41, 41, 0.06);
  --font-head: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--charcoal); background: var(--bg); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.015em; color: var(--charcoal); }
p { margin: 0; }
a { color: var(--green); }
img { max-width: 100%; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--green); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 144px; padding-top: 6px; padding-bottom: 6px; transition: min-height .25s ease; }
.brand { display: block; line-height: 0; }
.brand-logo { width: 480px; height: auto; display: block; transition: width .25s ease; }
/* Once the visitor scrolls, the sticky header shrinks so it doesn't cover the content (class set in script.js). */
.site-header.is-compact .header-inner { min-height: 84px; }
.site-header.is-compact .brand-logo { width: 280px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--charcoal); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--green); }
.nav .nav-cta { white-space: nowrap; color: #fff; background: var(--green); padding: 12px 20px; border-radius: 999px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--green-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(125, 203, 155, 0.30), transparent 65%),
    radial-gradient(620px 420px at 0% 100%, rgba(125, 203, 155, 0.16), transparent 65%),
    linear-gradient(180deg, #f7fbf8 0%, #eef6f1 100%);
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: start; }
.hero-copy { padding-top: 56px; }
.hero-grid > * { min-width: 0; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.03em; max-width: 13ch; }
.hero h1 .accent { color: var(--green); }

/* ---------- Form card ---------- */
.form-card {
  background: #fff; border-radius: 20px; padding: 32px;
  border: 1px solid var(--line); border-top: 4px solid var(--green);
  box-shadow: var(--shadow); scroll-margin-top: 128px;
}
.form-title { font-size: 23px; font-weight: 700; }
.form-intro { color: var(--muted); margin-top: 6px; font-size: 15px; }
.report-form { margin-top: 22px; scroll-margin-top: 150px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 150px; gap: 14px; }
.label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--charcoal); }
.req { color: var(--green); }
.opt { font-weight: 400; color: var(--muted); }

input[type="email"], input[type="text"] {
  width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--charcoal);
  background: #fff; border: 1.5px solid #d3dad5; border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
input[type="email"]:focus, input[type="text"]:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(125, 203, 155, 0.35); }
input::placeholder { color: #9aa39e; }
.is-invalid { border-color: var(--error) !important; }

.dropzone {
  position: relative; border: 2px dashed #b7c9be; border-radius: var(--radius); background: var(--bg-alt);
  min-height: 116px; padding: 18px; display: flex; align-items: center; justify-content: center; text-align: center;
  transition: border-color .15s, background .15s; cursor: pointer;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--green); background: var(--mint-soft); }
.dropzone:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(125, 203, 155, 0.35); }
.dropzone.has-file { border-style: solid; border-color: var(--mint); background: var(--mint-soft); min-height: 0; padding: 14px 16px; }
.dropzone.is-invalid { background: #fdf3f2; }
.file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.dropzone.has-file .file-input { z-index: 0; }
.dz-icon { color: var(--green); margin-bottom: 6px; }
.dz-text { font-size: 15px; color: var(--muted); line-height: 1.5; }
.dz-text strong { color: var(--charcoal); font-weight: 600; }
.dz-text-touch { display: none; }
@media (hover: none) and (pointer: coarse), (max-width: 600px) {
  .dz-text-pointer { display: none; }
  .dz-text-touch { display: block; }
}
.dz-browse { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dz-chosen { position: relative; z-index: 2; min-width: 0; display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; }
.dz-file-icon { color: var(--green); flex: none; }
.dz-filename { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-remove { flex: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--green); background: #fff; border: 1px solid var(--mint-line); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.dz-remove:hover { border-color: var(--green); }

.help { font-size: 13px; color: var(--muted); margin-top: 6px; }
.error { font-size: 13px; color: var(--error); font-weight: 500; margin-top: 4px; }
.error:empty { display: none; }
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.consent.is-invalid span { color: var(--error); }

.btn-primary {
  width: 100%; height: 54px; margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-size: 17px; font-weight: 700; color: #fff; background: var(--green);
  border: 0; border-radius: 12px; cursor: pointer; box-shadow: 0 12px 24px -12px rgba(5, 99, 66, 0.75);
  transition: transform .15s, background .15s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-primary svg { color: var(--mint); }
.btn-primary:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.btn-primary[disabled] { opacity: .75; cursor: progress; transform: none; }
.form-error { margin-top: 12px; font-size: 14px; color: var(--error); font-weight: 500; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.privacy-note svg { color: var(--green); flex: none; }
.privacy-note a, .consent a { color: var(--green); font-weight: 600; text-underline-offset: 2px; }
.consent a { position: relative; z-index: 1; }

.success { text-align: center; padding: 28px 8px 8px; outline: none; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--green); box-shadow: 0 0 0 8px var(--mint-soft); }
.success h2 { font-size: 24px; font-weight: 700; }
.success p { margin-top: 10px; color: var(--muted); }
.success p strong { color: var(--charcoal); display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.success-sub { font-size: 14px; }
.btn-secondary { margin-top: 22px; font: inherit; font-weight: 600; font-size: 15px; color: var(--green); background: #fff; border: 1.5px solid var(--line); padding: 10px 18px; border-radius: 10px; cursor: pointer; }
.btn-secondary:hover { border-color: var(--green); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; max-width: 20ch; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--green);
  background: var(--mint-soft); border: 2px solid var(--mint); margin-bottom: 20px;
}
.step h3 { font-size: 20px; font-weight: 700; }
.step p { margin-top: 10px; color: var(--muted); }

.checks { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.check { background: #fff; border-radius: 18px; padding: 28px 24px; border: 1px solid var(--line); }
.check-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--green); margin-bottom: 18px; }
.check-icon svg { color: var(--mint); }
.check h3 { font-size: 18px; font-weight: 700; }
.check p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.cta-band { padding: 64px 0; background: var(--green); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: #fff; }
.cta-band p { margin-top: 6px; color: rgba(255, 255, 255, 0.85); }
.btn-light {
  flex: none; display: inline-flex; align-items: center; height: 52px; padding: 0 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--green-deep);
  background: var(--mint); border-radius: 12px; text-decoration: none; transition: transform .15s, background .15s;
}
.btn-light:hover { background: #95d6ae; transform: translateY(-1px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(255, 255, 255, 0.75); padding: 44px 0; font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.footer-brand { line-height: 0; }
.footer-brand img { width: 300px; height: auto; display: block; }
.footer-contact a { color: var(--mint); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-link { color: var(--mint); text-decoration: none; margin-left: 14px; white-space: nowrap; }
.footer-link:hover { text-decoration: underline; }

/* ---------- Placeholder highlight (only while a value in site-config.js is still in [brackets]) ---------- */
.ph { background: #fff3b0; color: #5c4400; border: 1px dashed #d9b400; border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* ---------- Form: progress, file details, select, submit meta ---------- */
.form-head[hidden], .progress[hidden] { display: none !important; }
.progress { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: none; }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 8px 10px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); transition: background .2s, border-color .2s, color .2s; }
.progress-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: #fff; border: 1.5px solid #c9d3cd; color: var(--muted); transition: all .2s; }
.progress li.is-current { color: var(--green); border-color: var(--mint); background: var(--mint-soft); }
.progress li.is-current .progress-dot { border-color: var(--green); color: var(--green); }
.progress li.is-done { color: var(--charcoal); }
.progress li.is-done .progress-dot { background: var(--green); border-color: var(--green); color: transparent; position: relative; }
.progress li.is-done .progress-dot::after { content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dz-file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.dz-filesize { font-size: 13px; color: var(--muted); }
.send-to { margin-top: 8px; font-size: 14px; color: var(--green-dark); background: var(--mint-soft); border-radius: 8px; padding: 8px 12px; }
.send-to strong { overflow-wrap: anywhere; }
select { width: 100%; height: 46px; padding: 0 40px 0 14px; font: inherit; font-size: 16px; color: var(--charcoal);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23056342' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
  border: 1.5px solid #d3dad5; border-radius: 10px; appearance: none; -webkit-appearance: none; cursor: pointer; }
select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(125, 203, 155, 0.35); }
.submit-meta { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.submit-meta li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.submit-meta svg { flex: none; color: var(--green); margin-top: 2px; }
.submit-meta a { color: var(--green); font-weight: 600; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--charcoal); line-height: 1.5; }
.trust-list svg { flex: none; color: var(--green); background: var(--mint-soft); border-radius: 10px; padding: 7px; width: 38px; height: 38px; margin-top: -4px; }
.trust-contact { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--muted); }
.trust-contact a { font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Sample report ---------- */
.section-lede { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 32em; }
.sample-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.sample-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.sample-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--charcoal); }
.sample-points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); margin-top: 9px; box-shadow: 0 0 0 4px var(--mint-soft); }
.sample-warning { margin-top: 22px; font-size: 14px; color: #6b5200; background: #fff8d6; border: 1px solid #f0de8a; border-radius: 10px; padding: 10px 14px; }
.report-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.report-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--bg-alt); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.report-from { display: flex; gap: 12px; align-items: center; min-width: 0; }
.report-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.report-avatar img { width: 30px; height: 30px; display: block; }
.report-sender { font-size: 14px; color: var(--muted); }
.report-subject { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--charcoal); }
.sample-badge { flex: none; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #6b5200; background: #ffe98a; border: 1px solid #e3c84f; border-radius: 999px; padding: 6px 12px; }
.report-body { padding: 20px 22px 8px; }
.report-site { font-size: 14px; color: var(--muted); }
.report-site span { font-weight: 600; color: var(--charcoal); }
.report-rows { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.report-row { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; align-items: start; padding: 14px 16px; }
.report-row + .report-row { border-top: 1px solid var(--line); }
.row-label { font-family: var(--font-head); font-weight: 700; color: var(--charcoal); padding-top: 2px; }
.row-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.row-figs b { font-family: var(--font-head); font-size: 18px; color: var(--charcoal); }
.row-figs small { display: block; font-size: 12px; color: var(--muted); }
.fig { line-height: 1.25; }
.row-verdict { grid-column: 2; justify-self: start; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.row-verdict.is-high { color: #8a3b12; background: #fdebe1; }
.row-verdict.is-ok { color: var(--green-dark); background: var(--mint-soft); }
.row-note { grid-column: 2 / -1; font-size: 14.5px; color: #3b413e; }
.report-saving { margin-top: 16px; background: var(--green); color: #fff; border-radius: 12px; padding: 16px 18px; }
.saving-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.saving-text { margin-top: 4px; font-size: 17px; line-height: 1.5; }
.saving-text strong { color: #fff; font-size: 19px; }
.saving-working { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.75); }
.report-footnote { margin: 14px 22px 20px; font-size: 12.5px; line-height: 1.5; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.report-footnote strong { color: #6b5200; }

/* ---------- Who it's for ---------- */
.sites { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.site-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px;
  text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.site-card:hover, .site-card:focus-visible { border-color: var(--mint); box-shadow: 0 14px 30px -18px rgba(3, 58, 39, .45); transform: translateY(-2px); outline: none; }
.site-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-soft); color: var(--green); margin-bottom: 16px; }
.site-card h3 { font-size: 18px; font-weight: 700; }
.site-card p { margin-top: 8px; color: var(--muted); font-size: 15px; flex: 1; }
.site-link { margin-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--green); }

/* ---------- Note from Dan (config-driven) ---------- */
.note { margin: 0 auto; max-width: 860px; display: flex; gap: 36px; align-items: flex-start; background: #fffdf7;
  border: 1px solid #ece6d6; border-radius: 22px; padding: 40px 44px; box-shadow: 0 20px 40px -30px rgba(41,41,41,.35); }
.note-photo { flex: none; }
.note-photo img { display: block; width: 180px; height: 180px; object-fit: cover; border-radius: 28px; border: 5px solid #fff; box-shadow: 0 0 0 2px var(--mint-line), 0 16px 30px -18px rgba(3, 58, 39, .5); }
.note-text { margin: 6px 0 0; padding: 0; }
.note-text p { font-size: 17.5px; line-height: 1.7; color: #3b413e; }
.note-text p + p { margin-top: 12px; }
.note-sign { margin-top: 22px; display: flex; flex-direction: column; }
.signature { font-family: "Caveat", "Segoe Script", cursive; font-weight: 600; font-size: 46px; line-height: 1; color: var(--green); }
.signature.ph { font-size: 30px; }
.sign-role { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Footer (3 columns) ---------- */
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px 40px; align-items: start; }
.footer-company { margin-top: 14px; color: rgba(255,255,255,.75); }
.footer-heading { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 15px; margin-bottom: 8px; }
.footer-contact { line-height: 1.7; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-promise { margin-bottom: 8px; }
.site-footer .footer-link { margin-left: 0; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Process infographic (How it works) ---------- */
.process-section { background: linear-gradient(180deg, #fff 0%, #f6faf7 100%); }
.process { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px; }
.process-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.process-art { width: 100%; max-width: 260px; background: var(--mint-soft); border: 1px solid var(--mint-line); border-radius: 26px; padding: 18px 16px; }
.process-art svg { display: block; width: 100%; height: auto; }
.process-num { position: relative; z-index: 1; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; background: var(--green); border: 4px solid #fff; box-shadow: 0 6px 14px -6px rgba(3,58,39,.5); }
.process-step h3 { margin-top: 14px; font-size: 21px; font-weight: 700; }
.process-step > p:not(.process-chip) { margin-top: 8px; color: var(--muted); max-width: 30ch; }
.process-chip { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--green-dark);
  background: #fff; border: 1px solid var(--mint-line); border-radius: 999px; padding: 6px 12px; }
.process-chip svg { flex: none; color: var(--green); }
.process-chip { max-width: 100%; text-align: left; line-height: 1.35; }
/* dashed arrow between steps */
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 90px; right: -68px; width: 64px; height: 24px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 24'%3E%3Cpath d='M3 12h47' stroke='%2337a46f' stroke-width='2.5' stroke-linecap='round' stroke-dasharray='1 7'/%3E%3Cpath d='M48 5l10 7-10 7' fill='none' stroke='%23056342' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.process-cta { margin-top: 48px; text-align: center; }
.btn-outline { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border: 2px solid var(--green); border-radius: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--green); text-decoration: none; background: #fff; transition: background .15s; }
.btn-outline:hover { background: var(--mint-soft); }
.js .process .reveal:nth-child(2) { transition-delay: .12s; }
.js .process .reveal:nth-child(3) { transition-delay: .24s; }

/* ---------- Motion: soft fade/slide-in (only with JS, never with reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2), .js .sites .reveal:nth-child(2), .js .checks .reveal:nth-child(2) { transition-delay: .08s; }
.js .steps .reveal:nth-child(3), .js .sites .reveal:nth-child(3), .js .checks .reveal:nth-child(3) { transition-delay: .16s; }
.js .sites .reveal:nth-child(4), .js .checks .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Legal / privacy page ---------- */
.legal-hero { background: linear-gradient(180deg, #f7fbf8 0%, #eef6f1 100%); border-bottom: 1px solid var(--line); padding: 64px 0 44px; }
.legal-hero h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; letter-spacing: -0.025em; }
.legal-meta { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 88px; }
.legal .summary { background: var(--mint-soft); border: 1px solid var(--mint-line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 36px; }
.legal .summary h2 { font-size: 18px; margin-bottom: 8px; }
.legal .summary ul { margin: 0; padding-left: 20px; }
.legal .toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 40px; }
.legal .toc h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin-bottom: 10px; }
.legal .toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.legal .toc li { margin: 3px 0; break-inside: avoid; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
.legal section { scroll-margin-top: 130px; }
.legal section + section { margin-top: 40px; }
.legal h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.legal h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.legal p, .legal li { color: #3b413e; font-size: 16.5px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0 0; }
.legal li + li { margin-top: 6px; }
.legal ul + p, .legal table + p { margin-top: 16px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); line-height: 1.55; }
.legal th { background: var(--bg-alt); font-family: var(--font-head); font-weight: 700; color: var(--charcoal); }
.legal td { color: #3b413e; }
.legal .back { display: inline-flex; margin-top: 48px; font-weight: 600; text-decoration: none; }
.legal .back:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .process { gap: 48px; }
  .process-step:not(:last-child)::after { right: -46px; width: 44px; }
  .sites { grid-template-columns: repeat(2, 1fr); }
  .sample-grid { grid-template-columns: 1fr; gap: 32px; }
  .report-card { max-width: 720px; }
  .brand-logo { width: 440px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero-grid { grid-template-columns: 1fr 440px; gap: 40px; }
  .checks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 76px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .process-step:not(:last-child)::after { top: auto; right: auto; bottom: -62px; left: 50%; width: 52px; height: 24px; transform: translateX(-50%) rotate(90deg); }
  .hero-copy { padding-top: 0; }
  .trust-list { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:first-child { grid-column: 1 / -1; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { max-width: 18ch; }
  .form-card { max-width: 560px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 72px 0; }
  .brand-logo { width: 400px; }
  .header-inner { min-height: 128px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  /* Phones: the upload form sits just below, so the header button is hidden and the logo gets the full width. */
  .header-inner { min-height: 96px; justify-content: center; padding-top: 8px; padding-bottom: 8px; }
  .brand-logo { width: 290px; }
  .nav { display: none; }
  .site-header.is-compact .header-inner { min-height: 64px; }
  .site-header.is-compact .brand-logo { width: 200px; }
  .footer-brand img { width: 260px; }
  .hero { padding: 24px 0 44px; }
  .hero h1 { font-size: 30px; }
  .report-form { margin-top: 16px; }
  .form-title { font-size: 21px; }
  .form-card { padding: 24px 20px; border-radius: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .checks { grid-template-columns: 1fr; gap: 14px; }
  .section { padding: 56px 0; }
  .steps, .checks { margin-top: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .btn-light { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .form-intro { display: none; }
  .progress { margin-top: 12px; gap: 6px; }
  .progress li { padding: 6px 8px; font-size: 12.5px; gap: 6px; }
  .progress-dot { width: 20px; height: 20px; }
  .trust { padding: 22px 0; }
  .trust-list { grid-template-columns: 1fr; gap: 14px; }
  .sites { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .report-top { padding: 14px 16px; }
  .report-body { padding: 16px 16px 6px; }
  .report-row { grid-template-columns: 1fr; padding: 12px 14px; }
  .row-verdict { grid-column: 1; }
  .row-note { grid-column: 1; }
  .report-footnote { margin: 12px 16px 16px; }
  .note { flex-direction: column; padding: 28px 22px; gap: 20px; }
  .process { margin-top: 36px; gap: 70px; }
  .process-art { max-width: 240px; }
  .process-step h3 { font-size: 19px; }
  .btn-outline { width: 100%; justify-content: center; }
  .note-photo img { width: 140px; height: 140px; border-radius: 24px; }
  .note-text p { font-size: 16.5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-link { display: block; margin: 8px 0 0; }
  .legal .toc ol { columns: 1; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; width: 100%; }
  .legal thead { display: none; }
  .legal td { border-top: 0; }
  .legal tr td:first-child { border-top: 1px solid var(--line); background: var(--bg-alt); font-weight: 600; color: var(--charcoal); }
  .legal tr { margin-bottom: 12px; }
}
@media (max-width: 370px) {
  .brand-logo { width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Chat request assistant (scripted, see chat.js) ----------
   Sits above Netlify's "Powered by Netlify" badge, which is fixed at the
   bottom right of the hosted site. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chat { --chat-bottom: 72px; --chat-right: 22px; }
.chat-launcher {
  position: fixed; right: var(--chat-right); bottom: var(--chat-bottom); z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: var(--green);
  box-shadow: 0 14px 30px -10px rgba(3, 58, 39, 0.6), 0 2px 6px rgba(41, 41, 41, 0.12);
  transition: transform .15s, background .15s;
}
.chat-launcher:hover { background: var(--green-dark); transform: translateY(-2px); }
.chat-launcher:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.chat-launcher .chat-launcher-close { display: none; }
.chat-launcher[aria-expanded="true"] .chat-launcher-open { display: none; }
.chat-launcher[aria-expanded="true"] .chat-launcher-close { display: block; }
.chat-launcher::after {
  content: ""; position: absolute; top: 3px; right: 3px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--mint); border: 2.5px solid #fff;
}
.chat-launcher[aria-expanded="true"]::after { display: none; }

.chat-panel {
  position: fixed; right: var(--chat-right); bottom: calc(var(--chat-bottom) + 72px); z-index: 61;
  width: 370px; height: min(560px, calc(100vh - var(--chat-bottom) - 100px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  font-family: var(--font-body); color: var(--charcoal);
  animation: chat-in .18s ease-out;
}
@keyframes chat-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--green); color: #fff; }
.chat-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.chat-head-text { flex: 1; min-width: 0; }
.chat-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.chat-sub { font-size: 13px; color: #cdebd8; line-height: 1.35; }
.chat-sub .ph { color: inherit; }
.chat-close { flex: none; width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-close:hover { background: rgba(255,255,255,.12); }
.chat-close:focus-visible { outline: 3px solid var(--mint); outline-offset: 1px; }
.chat-progress { height: 4px; background: var(--mint-soft); }
.chat-progress span { display: block; height: 100%; width: 0; background: var(--mint); transition: width .3s ease; }

.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chat-log:focus { outline: none; }
.chat-msg { display: flex; }
.chat-msg-user { justify-content: flex-end; }
.chat-bubble { max-width: 85%; padding: 10px 14px; font-size: 15px; line-height: 1.45; border-radius: 16px; overflow-wrap: anywhere; }
.chat-msg-bot .chat-bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.chat-msg-user .chat-bubble { background: var(--green); color: #fff; border-bottom-right-radius: 5px; white-space: pre-line; }
.chat-typing .chat-bubble { display: inline-flex; gap: 4px; padding: 13px 14px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: chat-dot 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat-summary { width: 100%; margin: 0; padding: 12px 14px; background: #fff; border: 1px solid var(--mint-line); border-left: 4px solid var(--green); border-radius: 12px; font-size: 14px; }
.chat-summary dt { font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-top: 8px; }
.chat-summary dt:first-child { margin-top: 0; }
.chat-summary dd { margin: 1px 0 0; overflow-wrap: anywhere; white-space: pre-line; }

.chat-foot { flex: none; padding: 12px 14px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-foot:empty { padding: 0; border-top: 0; }
.chat-input-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--charcoal);
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; resize: none;
}
.chat-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(125, 203, 155, .45); }
.chat-input.is-invalid { border-color: var(--error); }
.chat-send { flex: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-send:hover { background: var(--green-dark); }
.chat-send:focus-visible, .chat-choice:focus-visible, .chat-skip:focus-visible, .chat-done:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.chat-hint { margin-top: 6px; font-size: 12px; color: var(--muted); }
.chat-skip { margin-top: 8px; font: inherit; font-size: 14px; font-weight: 600; color: var(--green); background: none; border: 0; padding: 4px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.chat-error { font-size: 13.5px; color: var(--error); font-weight: 500; }
.chat-error:not(:empty) { margin-top: 8px; }
.chat-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-choice {
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--green); background: var(--mint-soft);
  border: 1.5px solid var(--mint-line); border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.chat-choice:hover { background: #d6efe0; border-color: var(--mint); }
.chat-actions { display: flex; flex-direction: column; }
.chat-note { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-bottom: 10px; }
.chat-note a { color: var(--green); font-weight: 600; }
.chat-send-all { height: 48px; margin-top: 0; font-size: 16px; }
.chat-actions .chat-skip { align-self: center; }
.chat-done { margin-top: 0; width: 100%; }

@media (max-width: 600px) {
  .chat { --chat-bottom: 64px; --chat-right: 16px; }
  .chat-launcher { width: 56px; height: 56px; }
  /* On phones the open panel fills most of the screen, above the badge, with the launcher acting as the close button. */
  .chat-panel { left: 10px; right: 10px; width: auto; top: 10px; bottom: calc(var(--chat-bottom) + 66px); height: auto; border-radius: 18px; }
  @supports (height: 100dvh) { .chat-panel { top: auto; height: calc(100dvh - var(--chat-bottom) - 66px - 10px); max-height: 640px; } }
}
@media (prefers-reduced-motion: reduce) {
  .chat-panel { animation: none; }
  .chat-typing span { animation: none; }
}
@media print { .chat { display: none; } }
