:root {
  --ink: #142229;
  --ink-2: #20343d;
  --paper: #f7f9f8;
  --white: #ffffff;
  --muted: #5c6b73;
  --line: #d5dee0;
  --green: #4d9f38;
  --green-dark: #2f7425;
  --blue: #0876b9;
  --blue-soft: #dff2fb;
  --heat: #dc5b3e;
  --sun: #f2b84b;
  --shadow: 0 18px 48px rgba(20, 34, 41, 0.14);
  --radius: 6px;
  --max: 1220px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: 64px; }
h2 { font-size: 42px; }
h3 { font-size: 24px; }
p { margin: 0 0 1rem; }

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 2000;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.transition-bar {
  color: var(--white);
  background: var(--ink);
}
.transition-bar > div {
  width: min(var(--max), calc(100% - 32px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 14px;
}
.transition-bar a { color: var(--sun); font-weight: 800; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(20, 34, 41, 0.12);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: inline-flex; flex: 0 0 auto; text-decoration: none; }
.wordmark {
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: end;
  width: max-content;
  color: var(--ink);
  font-weight: 950;
  font-size: 38px;
  line-height: 0.82;
  letter-spacing: 0;
}
.wordmark-b { color: var(--ink); }
.wordmark-m { color: var(--green); }
.wordmark-j { color: var(--blue); position: relative; }
.wordmark-j::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: -7px;
  top: -8px;
  border-radius: 50%;
  background: var(--heat);
}
.wordmark-sub {
  grid-column: 1 / -1;
  margin-top: 6px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}
.wordmark-footer { color: var(--white); }
.wordmark-footer .wordmark-b,
.wordmark-footer .wordmark-sub { color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; background: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.main-nav > a:hover,
.main-nav > a[aria-current="page"],
.dropdown-toggle:hover,
.nav-dropdown.is-current > .dropdown-toggle,
.nav-dropdown.is-open > .dropdown-toggle { color: var(--blue); background: #eef6f8; }
.nav-cta { margin-left: 4px; color: var(--white) !important; background: var(--ink) !important; }
.nav-dropdown { position: relative; }
.dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  z-index: 20;
  display: none;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  width: 470px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] { color: var(--blue); background: #eef6f8; }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu { display: grid; }

.breadcrumbs {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #9aa7ac; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media,
.hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(8, 24, 34, 0.95) 0%, rgba(8, 24, 34, 0.76) 42%, rgba(8, 24, 34, 0.18) 78%), linear-gradient(0deg, rgba(8, 24, 34, 0.55), transparent 45%); }
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 70px;
  color: var(--white);
}
.hero h1 { max-width: 820px; margin-bottom: 20px; }
.hero-lede { max-width: 730px; color: rgba(255,255,255,0.88); font-size: 20px; }
.eyebrow,
.kicker {
  display: block;
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.hero .eyebrow,
.section-dark .eyebrow,
.section-cta .eyebrow,
.page-hero .eyebrow,
.project-hero .eyebrow { color: var(--sun); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #142229; background: var(--sun); }
.button-dark { color: var(--white); background: var(--ink); }
.button-light { color: var(--ink); background: var(--white); }
.button-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.button-outline-light { color: var(--white); border-color: rgba(255,255,255,0.64); background: transparent; }
.button:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 32px));
  margin: -1px auto 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.proof-strip div { min-height: 105px; padding: 22px; border-left: 1px solid var(--line); }
.proof-strip strong,
.proof-strip span { display: block; }
.proof-strip strong { margin-bottom: 3px; }
.proof-strip span { color: var(--muted); font-size: 14px; }

.section { padding: 92px 0; }
.section-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section-soft { background: #edf3f2; }
.section-dark { color: var(--white); background: var(--ink); }
.section-dark p { color: #cbd6d9; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: 70px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.section-heading > p { margin-bottom: 0; color: var(--muted); font-size: 18px; }
.section-dark .section-heading > p { color: #cbd6d9; }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card,
.knowledge-card,
.mini-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.service-card h3,
.service-card h2,
.knowledge-card h2,
.mini-card h3 { margin-bottom: 12px; font-size: 25px; }
.service-card p,
.knowledge-card p,
.mini-card p { color: var(--muted); }
.service-number { display: block; margin-bottom: 36px; color: #a8b5b9; font-size: 13px; font-weight: 850; }
.service-card:hover { border-color: #9cb8c3; box-shadow: 0 12px 30px rgba(20,34,41,0.08); }
.service-group + .service-group { margin-top: 82px; }
.service-group > div:first-child { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 28px; }
.service-group h2 { max-width: 700px; margin-bottom: 0; }

.system-map { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 46px; }
.system-node { min-height: 108px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border: 1px solid #50636b; border-radius: var(--radius); background: #1b313a; }
.system-node span { color: var(--white); font-size: 20px; font-weight: 850; }
.system-node small { color: #aebec4; }
.node-sun { border-top: 4px solid var(--sun); }
.node-inverter { border-top: 4px solid var(--blue); }
.node-ems { border-top: 4px solid var(--green); }
.system-connector { color: var(--sun); font-size: 28px; font-weight: 900; }
.system-branches { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 28px; }
.disclaimer { margin-top: 18px; color: var(--muted); font-size: 13px; }
.disclaimer.light { color: #aebec4; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.project-card[hidden] { display: none; }
.project-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e5ecee; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease; }
.project-card:hover .project-image img { transform: scale(1.025); }
.project-copy { padding: 24px; }
.project-copy h2,
.project-copy h3 { margin-bottom: 12px; font-size: 24px; }
.project-copy h2 a,
.project-copy h3 a { text-decoration: none; }
.project-copy p { color: var(--muted); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process li { min-height: 240px; padding: 26px 18px; border-right: 1px solid var(--line); }
.process li:last-child { border-right: 0; }
.process li > span { display: block; margin-bottom: 44px; color: var(--blue); font-weight: 900; }
.process h3 { font-size: 20px; }
.process p { color: var(--muted); font-size: 14px; }
.process-large { grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.process-large li { min-height: 260px; border-bottom: 1px solid var(--line); }
.process-large h2 { font-size: 27px; }

.quickscan-home { background: var(--white); }
.scan-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.range-panel { margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.range-panel label { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 22px; font-weight: 750; }
.range-panel label:last-child { margin-bottom: 0; }
.range-panel output { color: var(--blue); font-weight: 900; }
.range-panel input { grid-column: 1 / -1; width: 100%; accent-color: var(--green); }
.scan-result { position: sticky; top: 100px; padding: 32px; border-radius: var(--radius); color: var(--white); background: var(--ink); }
.result-total { display: block; margin: 8px 0 12px; color: var(--sun); font-size: 62px; line-height: 1; }
.scan-result > p { color: #cbd6d9; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; }
.result-grid div { min-height: 88px; padding: 14px; border: 1px solid #50636b; border-radius: 4px; background: #1b313a; }
.result-grid strong,
.result-grid span { display: block; }
.result-grid span { color: #aebec4; font-size: 13px; }

.section-cta { color: var(--white); background: linear-gradient(90deg, #142229 0%, #1f4048 72%, #245e53 100%); }
.cta-layout { display: grid; grid-template-columns: 1.2fr auto; gap: 50px; align-items: center; }
.cta-layout h2 { max-width: 740px; margin-bottom: 14px; }
.cta-layout p { max-width: 760px; color: #cbd6d9; }

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(100deg, #142229 0%, #1c3d46 60%, #205f56 100%);
}
.page-hero .section-inner { position: relative; z-index: 2; padding: 82px 0 58px; }
.page-hero h1 { max-width: 860px; margin-bottom: 18px; font-size: 54px; }
.page-lede { max-width: 790px; color: rgba(255,255,255,0.84); font-size: 19px; }
.page-hero-media { min-height: 560px; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,29,37,0.95) 0%, rgba(11,29,37,0.75) 48%, rgba(11,29,37,0.15) 82%); }
.page-hero-image { position: absolute; inset: 0; }
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero-compact { min-height: 360px; }

.split-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr); gap: 72px; align-items: start; }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; min-height: 30px; margin: 0 0 12px; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 17px; height: 10px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.detail-stack { border-top: 1px solid var(--line); }
.detail-stack article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.detail-stack article > span { color: var(--blue); font-weight: 900; }
.detail-stack h3 { margin-bottom: 7px; font-size: 21px; }
.detail-stack p { margin-bottom: 0; color: var(--muted); }

.faq-list { max-width: 900px; margin-top: 34px; border-top: 1px solid #bcc9cc; }
.faq-list details { border-bottom: 1px solid #bcc9cc; }
.faq-list summary { position: relative; padding: 20px 42px 20px 0; font-size: 19px; font-weight: 820; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 16px; color: var(--blue); font-size: 28px; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list details div { max-width: 760px; padding: 0 0 18px; color: var(--muted); }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact-panel { padding: 30px; border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: var(--radius); background: var(--white); }
.notice { margin: 28px 0 0; padding: 18px 20px; border-left: 4px solid var(--blue); background: var(--blue-soft); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-button { min-height: 42px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--white); cursor: pointer; }
.filter-button.is-active { color: var(--white); border-color: var(--ink); background: var(--ink); }

.project-hero { padding: 70px 0; color: var(--white); background: var(--ink); }
.project-hero-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 64px; align-items: center; }
.project-hero h1 { font-size: 54px; }
.project-hero-image { max-height: 620px; overflow: hidden; border-radius: var(--radius); }
.project-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.project-meta span { padding: 7px 9px; border: 1px solid #50636b; border-radius: 4px; color: #cbd6d9; font-size: 13px; }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 850; }

.knowledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.knowledge-card h2 { font-size: 23px; }
.knowledge-card h2 a { text-decoration: none; }
.article { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: 80px 0; }
.article header { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.article h1 { font-size: 54px; }
.article .page-lede { color: var(--muted); }
.article-body { max-width: 760px; padding-top: 42px; }
.article-body h2 { margin: 42px 0 12px; font-size: 30px; }

.regulation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.regulation-grid article { min-height: 270px; padding: 30px; background: var(--white); }
.regulation-grid h2 { font-size: 28px; }

.contact-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 44px; align-items: start; }
.contact-layout aside { position: sticky; top: 110px; }
.contact-steps { margin: 30px 0; padding: 0; list-style: none; }
.contact-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin-bottom: 18px; }
.contact-steps span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-weight: 850; }
.contact-direct { display: grid; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-direct a { color: var(--blue); font-weight: 800; }
.lead-form,
.scan-form { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label,
.scan-form label { display: grid; gap: 7px; margin-bottom: 18px; font-weight: 750; }
.lead-form input,
.lead-form select,
.lead-form textarea,
.scan-form input,
.scan-form select,
.scan-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #b8c4c8;
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
}
.lead-form textarea,
.scan-form textarea { min-height: 138px; resize: vertical; }
fieldset { margin: 10px 0 22px; padding: 0; border: 0; }
legend { margin-bottom: 12px; font-weight: 850; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkbox-grid label { min-height: 52px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font-weight: 700; background: var(--paper); }
.checkbox-grid input { width: 18px; min-height: 18px; flex: 0 0 auto; accent-color: var(--green); }
.privacy-check { grid-template-columns: auto 1fr !important; align-items: start; font-size: 14px; font-weight: 500 !important; }
.privacy-check input { width: 18px; min-height: 18px; margin-top: 3px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.field-help { color: var(--muted); font-size: 12px; font-weight: 500; }
.form-status { margin-top: 12px; color: var(--green-dark); font-weight: 750; }

.scan-form { max-width: 980px; margin: 0 auto; }
.scan-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: -30px -30px 36px; border-bottom: 1px solid var(--line); }
.scan-progress span { padding: 16px; color: var(--muted); text-align: center; font-size: 13px; font-weight: 800; }
.scan-progress span.is-active { color: var(--ink); box-shadow: inset 0 -4px var(--green); }
.scan-step { display: none; min-height: 400px; }
.scan-step.is-active { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.choice-grid label { margin: 0; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer; }
.choice-grid strong { display: block; font-size: 22px; }
.choice-grid input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #eff8ed; }
.checkbox-grid-large { grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.checkbox-grid-large label { min-height: 74px; }
.scan-controls { display: flex; justify-content: space-between; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }

.legal { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 76px 0; }
.legal h2 { margin: 38px 0 10px; font-size: 27px; }
.legal p { color: var(--muted); }

.not-found { min-height: 70vh; display: grid; place-items: center; padding: 70px 16px; text-align: center; }
.not-found > div { max-width: 760px; }
.error-code { display: block; color: var(--blue); font-size: 120px; font-weight: 950; line-height: 1; }
.not-found .actions { justify-content: center; }

.site-footer { padding-top: 62px; color: var(--white); background: #0c171c; }
.footer-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 46px; }
.footer-inner strong { display: block; margin-bottom: 14px; color: var(--sun); }
.footer-inner a { display: block; margin: 0 0 8px; color: #cbd6d9; text-decoration: none; }
.footer-inner a:hover { color: var(--white); }
.footer-brand p { max-width: 340px; margin-top: 18px; color: #cbd6d9; }
.small { font-size: 13px; }
.footer-bottom { width: min(var(--max), calc(100% - 32px)); margin: 48px auto 0; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #304249; color: #94a6ad; font-size: 13px; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 78px; left: 0; right: 0; max-height: calc(100vh - 78px); display: none; align-items: stretch; padding: 14px 16px 24px; overflow: auto; border-bottom: 1px solid var(--line); background: var(--white); }
  .main-nav.is-open { display: grid; }
  .main-nav > a,
  .dropdown-toggle { width: 100%; justify-content: space-between; min-height: 48px; padding: 10px 12px; }
  .nav-cta { margin-left: 0; justify-content: center !important; }
  .dropdown-menu { position: static; width: auto; grid-template-columns: 1fr 1fr; margin: 2px 0 8px; box-shadow: none; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.is-open .dropdown-menu { display: grid; }
  .services-grid,
  .project-grid,
  .knowledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process li { border-bottom: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-inner > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 800px) {
  h1 { font-size: 48px; }
  h2 { font-size: 34px; }
  .hero { min-height: 620px; }
  .hero-inner { padding: 100px 0 52px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div { min-height: 92px; }
  .section { padding: 68px 0; }
  .section-heading,
  .scan-layout,
  .cta-layout,
  .split-wide,
  .project-hero-grid,
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .system-map { grid-template-columns: 1fr; }
  .system-connector { transform: rotate(90deg); justify-self: center; }
  .system-branches { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .process,
  .process-large { grid-template-columns: 1fr 1fr; }
  .scan-result,
  .contact-layout aside { position: static; }
  .page-hero h1,
  .project-hero h1,
  .article h1 { font-size: 44px; }
  .page-hero-media { min-height: 520px; }
  .regulation-grid { grid-template-columns: 1fr; }
  .choice-grid,
  .checkbox-grid-large { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  h3 { font-size: 21px; }
  .nav-wrap { min-height: 70px; }
  .transition-bar > div { min-height: 54px; padding: 8px 0; display: block; font-size: 13px; line-height: 1.45; }
  .transition-bar a { margin-left: 4px; }
  .wordmark { font-size: 34px; }
  .main-nav { top: 70px; max-height: calc(100vh - 70px); }
  .dropdown-menu { grid-template-columns: 1fr; }
  .hero { min-height: calc(100svh - 110px); }
  .hero-inner { padding: 52px 0 28px; }
  .hero-media img { object-position: 63% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(8,24,34,0.94), rgba(8,24,34,0.64)), linear-gradient(0deg, rgba(8,24,34,0.68), transparent 55%); }
  .hero-lede,
  .page-lede { font-size: 17px; }
  .proof-strip,
  .services-grid,
  .project-grid,
  .knowledge-grid,
  .process,
  .process-large,
  .system-branches,
  .mini-grid,
  .form-grid,
  .checkbox-grid,
  .choice-grid,
  .checkbox-grid-large,
  .footer-inner { grid-template-columns: 1fr; }
  .proof-strip div { min-height: auto; padding: 16px; }
  .service-card,
  .knowledge-card,
  .mini-card,
  .lead-form,
  .scan-form { padding: 20px; }
  .process li { min-height: auto; border-right: 0; }
  .page-hero h1,
  .project-hero h1,
  .article h1 { font-size: 36px; }
  .page-hero .section-inner { padding: 64px 0 44px; }
  .page-hero-media { min-height: 500px; }
  .page-hero-image img { object-position: 60% center; }
  .project-hero { padding: 44px 0; }
  .project-hero-image { max-height: 480px; }
  .result-total { font-size: 48px; }
  .result-grid { grid-template-columns: 1fr; }
  .scan-progress { margin: -20px -20px 28px; overflow-x: auto; grid-template-columns: repeat(4, minmax(120px, 1fr)); }
  .scan-step { min-height: 360px; }
  .footer-inner > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .error-code { font-size: 86px; }
}

@media (max-width: 360px) {
  h1 { font-size: 34px; }
  .hero-lede { font-size: 16px; }
  .button { min-height: 46px; padding: 10px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
