/* Phase Safe Electrical: brand yellow on charcoal, industrial and plain. */
:root {
  --yellow: #ffcd05;
  --yellow-dark: #e0b400;
  --yellow-soft: #fff6cc;
  --ink: #1f2124;
  --charcoal: #282828;
  --night: #1b1c1f;
  --steel: #3a3f45;
  --muted: #5b6168;
  --line: #e3e5e8;
  --paper: #ffffff;
  --mist: #f4f5f6;
  --radius: 10px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(20,22,26,.08);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: #0b5cad; }
a:hover { color: #083f78; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; color: var(--charcoal); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0.2em 0 0.35em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin: 1.8em 0 0.5em; }
h3 { font-size: 1.25rem; margin: 1.5em 0 0.4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--yellow); padding: 8px 12px; z-index: 30; }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--night); color: #c9cdd2; font-size: 0.85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo img { width: 190px; height: auto; }
#nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
#nav a { display: block; padding: 10px 14px; color: var(--charcoal); text-decoration: none; font-weight: 600; border-radius: 8px; }
#nav a:hover, #nav a[aria-current] { background: var(--mist); }
#nav > ul > li > a[aria-current] { box-shadow: inset 0 -3px 0 var(--yellow); background: none; border-radius: 0; }
.has-sub { position: relative; }
.has-sub .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); list-style: none; margin: 0;
  border-radius: var(--radius); box-shadow: var(--shadow); min-width: 280px; padding: 8px; flex-direction: column; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; }
.sub a { font-weight: 500 !important; }
.has-sub .sub { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; width: min(820px, 92vw); padding: 18px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: grid; }
.sub-group ul { list-style: none; margin: 0; padding: 0; }
.sub-head { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  padding: 6px 14px 8px; border-bottom: 2px solid var(--yellow); margin-bottom: 6px; }
#nav .sub a { padding: 8px 14px; font-size: .97rem; }
.nav-actions { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--charcoal); text-decoration: none; white-space: nowrap; }
.phone-link .icon { color: var(--yellow-dark); }
.icon-btn { display: none; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; border: 0; cursor: pointer; padding: 0; }
.call-btn { background: var(--yellow); color: var(--charcoal); margin-left: auto; }
.nav-toggle { background: var(--charcoal); flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 8px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; font-size: 1rem; line-height: 1.2; cursor: pointer; font-family: var(--font);
  text-align: center; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--charcoal); }
.btn-primary:hover { background: var(--yellow-dark); color: var(--charcoal); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-small { padding: 10px 18px; font-size: 0.95rem; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #e9ecef; padding: 34px 0 56px; border-bottom: 5px solid var(--yellow);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(110deg, var(--night) 0%, var(--charcoal) 55%, var(--steel) 100%); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17em; }
.hero-home { padding: 64px 0 120px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; }
.hero-media { position: relative; justify-self: end; max-width: 440px; }
.hero-img { border-radius: var(--radius); box-shadow: 16px 16px 0 var(--yellow); }
.hero-badge { position: absolute; left: -28px; bottom: 28px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--charcoal);
  font-weight: 700; padding: 12px 16px; border-radius: 8px; box-shadow: var(--shadow); font-size: 0.95rem; }
.hero-badge .icon { color: var(--yellow-dark); }
.kicker { color: var(--yellow); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 0.82rem; margin: 18px 0 0; }
.lede { font-size: 1.22rem; color: #d3d7dc; max-width: 40em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn-ghost:hover { border-color: #fff; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 0.88rem; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #8d939a; }
.crumbs a { color: #cfd3d8; }
.crumbs [aria-current] { color: #9aa0a6; }

/* ---------- article pages ---------- */
main { padding: 44px 0 20px; }
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.content { max-width: 760px; }
.no-side .content { max-width: 880px; }
.content > p:first-of-type, .content > .updated + p { font-size: 1.12rem; }
.content h2 { position: relative; padding-top: 18px; }
.content h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 4px; background: var(--yellow); border-radius: 2px; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin-bottom: 0.4em; }
.content li::marker { color: var(--yellow-dark); font-weight: 700; }
.content table, .band table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.95rem; display: block; overflow-x: auto;
  border-radius: var(--radius); border: 1px solid var(--line); }
.content th, .content td, .band th, .band td { border-bottom: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.content th, .band th { background: var(--charcoal); color: #fff; font-weight: 600; }
.content tr:nth-child(even) td, .band tr:nth-child(even) td { background: var(--mist); }
.band table { background: #fff; text-align: left; }
.band:nth-of-type(even) tr:nth-child(even) td { background: #fafafa; }
.content blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 5px solid var(--yellow); background: var(--yellow-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.content blockquote p:last-child { margin: 0; }
.updated { color: var(--muted); font-size: 0.9rem; }
.content img { border-radius: var(--radius); margin: 1em 0; }

.sidebar { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; font-size: 0.95rem; }
.side-cta { background: var(--charcoal); color: #e6e8eb; border: 0; border-top: 5px solid var(--yellow); }
.side-cta .side-head { color: #fff; }
.side-cta .btn-ghost { color: #fff; }
.side-head { font-family: var(--head); font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li a { display: block; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; }
.side-card li:first-child a { border-top: 0; }
.side-card a[aria-current] { font-weight: 700; color: var(--charcoal); box-shadow: inset 3px 0 0 var(--yellow); padding-left: 10px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 1.4em 0 2em; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--yellow); color: var(--ink); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--yellow-soft); color: var(--charcoal); display: flex;
  align-items: center; justify-content: center; margin-bottom: 6px; transition: background .2s; }
.card:hover .card-icon { background: var(--yellow); }
.card-icon .icon { width: 28px; height: 28px; }
.card-title { font-family: var(--head); font-weight: 700; font-size: 1.35rem; color: var(--charcoal); line-height: 1.2; }
.card-text { font-size: 0.97rem; color: var(--muted); flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.95rem; color: var(--charcoal); margin-top: 6px; }
.card:hover .card-more .icon { transform: translateX(3px); }
.card-more .icon { transition: transform .2s; }
.reads { list-style: none; padding: 0 !important; margin: 1em 0 2em; display: grid; gap: 12px; }
.reads li { position: relative; padding: 18px 52px 18px 20px; border: 1px solid var(--line); border-left: 5px solid var(--yellow);
  border-radius: var(--radius); display: grid; gap: 2px; background: #fff; transition: box-shadow .2s; }
.reads li:hover { box-shadow: var(--shadow); }
.reads li a { font-weight: 700; font-size: 1.1rem; color: var(--charcoal); text-decoration: none; }
.reads li a::after { content: ""; position: absolute; inset: 0; }
.reads li span { color: var(--muted); font-size: 0.95rem; }
.reads-arrow { position: absolute; right: 20px; top: 50%; margin-top: -9px; color: var(--yellow-dark); }

/* ---------- faq + sources ---------- */
.faqs details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; background: #fff; }
.faqs summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 700; list-style: none; position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--yellow-dark); }
.faqs details[open] summary::after { content: "–"; }
.faqs details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.sources { font-size: 0.85rem; color: var(--muted); margin-top: 2.5em; }
.sources h2 { font-size: 1rem; padding-top: 0; }
.sources h2::before { display: none; }

/* ---------- cta band + form ---------- */
.cta-band { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: var(--yellow); color: var(--charcoal); padding: 30px 32px; border-radius: var(--radius); margin: 2.4em 0; flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 28px solid rgba(255,255,255,.22); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { margin: 0; }
.cta-title { font-family: var(--head); font-size: 1.6rem; font-weight: 700; margin-bottom: 4px !important; }
.cta-band .btn-primary { background: var(--charcoal); color: #fff; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-wrap { background: var(--mist); border-radius: var(--radius); padding: 28px; margin: 2em 0; border-top: 5px solid var(--yellow); }
.form-wrap h2 { margin-top: 0; padding-top: 0; }
.form-wrap h2::before { display: none; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 13px; border: 1px solid #c9cdd2; border-radius: 8px; background: #fff; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; border-color: var(--charcoal); }
.form-note { background: var(--yellow-soft); border-left: 4px solid var(--yellow); padding: 10px 14px; border-radius: 0 8px 8px 0; }
.hp { display: none; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 1em 0 2em; }
.office { border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 18px; }
.office-name { font-weight: 700; margin-bottom: 4px; }

/* ---------- sectioned pages (home) ---------- */
main:has(> .band) { padding: 0; }
.band { padding: 80px 0; }
.band:nth-of-type(even) { background: var(--mist); }
.band-head { max-width: 760px; }
.band-head h2 { margin: 0 0 18px; position: relative; padding-top: 22px; }
.band-head h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 5px; background: var(--yellow); border-radius: 3px; }
.band-head p { font-size: 1.12rem; color: var(--muted); }
.band-body > p { max-width: 760px; }

.band-intro { padding: 0 0 72px; background: #fff; }
.highlights { position: relative; z-index: 2; margin-top: -64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hl { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; }
.hl + .hl { border-left: 1px solid var(--line); }
.hl .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--yellow); color: var(--charcoal); margin-bottom: 4px; }
.hl-title { font-family: var(--head); font-weight: 700; font-size: 1.18rem; color: var(--charcoal); line-height: 1.2; }
.hl-text { font-size: 0.93rem; color: var(--muted); line-height: 1.5; }
.band-intro .highlights + p { max-width: 860px; margin: 56px auto 0; text-align: center; font-size: 1.28rem; line-height: 1.6; color: var(--steel); }

.layout-centered .band-head { margin: 0 auto; text-align: center; }
.layout-centered .band-head h2::before { left: 50%; margin-left: -24px; }
.layout-centered .band-body > p { margin: 0 auto; text-align: center; color: var(--muted); }

.layout-tiles .wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.layout-tiles .band-head { position: sticky; top: 110px; }
.layout-tiles ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.layout-tiles li { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); position: relative; }
.layout-tiles li::before { content: ""; width: 28px; height: 4px; background: var(--yellow); border-radius: 2px; margin-bottom: 6px; }
.layout-tiles li strong { font-family: var(--head); font-size: 1.2rem; color: var(--charcoal); line-height: 1.2; }
.layout-tiles li span { color: var(--muted); font-size: 0.97rem; }
.layout-tiles li span::first-letter, .layout-guides li span::first-letter { text-transform: uppercase; }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: start; }
.split-text .band-head p { color: var(--ink); font-size: 1.12rem; }
.split-aside { position: sticky; top: 110px; }
.panel { background: var(--charcoal); color: #dfe2e6; border-radius: var(--radius); padding: 30px; border-top: 5px solid var(--yellow); box-shadow: var(--shadow); }
.panel p { margin: 0 0 12px; }
.panel-icon { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--yellow); color: var(--charcoal); margin-bottom: 14px; }
.panel-head { font-family: var(--head); font-weight: 700; font-size: 1.45rem; color: #fff; }
.panel-sub { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--yellow); margin: 18px 0 8px !important; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: .92rem; font-weight: 600; }
.bases { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bases li { display: grid; gap: 1px; }
.bases strong { color: #fff; }
.bases span { font-size: .95rem; }
.svc-group { margin: 2em 0 0; }
.svc-group-head { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 -4px;
  display: flex; align-items: center; gap: 12px; font-family: var(--font); }
.svc-group-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.layout-centered .svc-group-head { justify-content: center; }
.checks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 36px; display: grid; gap: 2px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23282828' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks strong { color: #fff; }
.checks span { font-size: .95rem; }

.layout-steps { background: var(--charcoal) !important; color: #d6d9dd; position: relative; overflow: hidden; }
.layout-steps h2 { color: #fff; }
.layout-steps .band-head p { color: #c3c8ce; }
.layout-steps ol { list-style: none; counter-reset: step; margin: 44px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; position: relative; }
.layout-steps ol::before { content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 2px; background: rgba(255,205,5,.35); }
.layout-steps li { counter-increment: step; position: relative; padding-top: 72px; font-size: .97rem; }
.layout-steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--yellow);
  color: var(--charcoal); font-family: var(--head); font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px var(--charcoal); }
.layout-steps li strong { display: block; color: #fff; font-family: var(--head); font-size: 1.25rem; margin-bottom: 4px; }
.layout-steps .cta-band { margin-top: 48px; }

.layout-guides ul { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.layout-guides li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: box-shadow .2s, transform .2s; }
.layout-guides li:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.layout-guides li::before { content: "Guide"; align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--yellow-soft); color: #7a5d00; padding: 3px 10px; border-radius: 999px; }
.layout-guides li a { font-family: var(--head); font-weight: 700; font-size: 1.25rem; line-height: 1.25; color: var(--charcoal); text-decoration: none; }
.layout-guides li a::after { content: ""; position: absolute; inset: 0; }
.layout-guides li span { color: var(--muted); font-size: .95rem; }

.layout-faq .faqs { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 56px; align-items: start; }
.layout-faq .faqs h2 { grid-row: 1 / span 10; margin: 0; position: sticky; top: 110px; padding-top: 22px; }
.layout-faq .faqs h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 5px; background: var(--yellow); border-radius: 3px; }
.layout-faq .faqs details { grid-column: 2; }
.layout-faq .faqs .sources-fold { border: 0; background: none; padding: 0; margin: 18px 0 0; font-size: .85rem; color: var(--muted); }
.sources-fold summary { display: inline-flex; align-items: center; gap: 6px; padding: 0 !important; border: 0 !important; margin: 0 !important;
  font-weight: 600 !important; cursor: pointer; color: var(--muted); }
.sources-fold summary::after { content: "▾" !important; position: static !important; font-size: .9rem !important; color: var(--muted) !important; }
.sources-fold[open] summary::after { content: "▴" !important; }
.sources-fold ul { margin: 10px 0 0; padding-left: 1.1em; }
.sources-fold li { margin-bottom: 4px; }
.sources-fold a { color: var(--muted); }
main:has(> .band) > .wrap > .cta-band { margin: 40px auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #b9bec5; margin-top: 56px; padding: 56px 0 0; font-size: 0.95rem; border-top: 5px solid var(--yellow); }
main:has(> .band) + .site-footer { margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-logo { width: 190px; margin-bottom: 16px; }
.f-head { color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 0.82rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.legal { border-top: 1px solid #33373c; margin-top: 36px; padding-top: 16px; padding-bottom: 16px; font-size: 0.85rem; }

/* ---------- tablet + mobile ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-steps ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .layout-steps ol::before { display: none; }
  .layout-guides ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl:nth-child(3) { border-left: 0; }
  .hl:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  body { font-size: 17px; }
  .topbar { display: none; }
  .site-header .wrap { gap: 10px; min-height: 66px; }
  .logo img { width: 150px; }
  .header-actions { display: none; }
  .icon-btn { display: inline-flex; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0,0,0,.12); max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); overflow-y: auto; padding: 8px 20px 24px; }
  #nav.open { display: block; }
  #nav > ul { flex-direction: column; gap: 0; }
  #nav > ul > li { border-bottom: 1px solid var(--line); }
  #nav a { padding: 15px 4px; font-size: 1.1rem; border-radius: 0; }
  #nav a:hover, #nav a[aria-current], #nav > ul > li > a[aria-current] { background: none; box-shadow: none; color: var(--charcoal); }
  #nav > ul > li > a[aria-current] { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 14px; }
  .has-sub .sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 10px 12px; min-width: 0; width: auto; }
  .sub-head { padding: 10px 4px 6px; margin-bottom: 0; border-bottom: 0; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
  .has-sub .sub a { padding: 9px 4px; font-size: 1rem; color: var(--muted); }
  .nav-actions { display: block; padding-top: 16px; }
  .nav-actions .btn-ghost { color: var(--charcoal); }

  .with-side, .hero-grid, .footer-grid, .layout-tiles .wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .layout-tiles .band-head, .split-aside, .sidebar { position: static; }
  .layout-tiles .wrap, .split { gap: 28px; }
  .hero { padding: 26px 0 44px; }
  .hero-home { padding: 40px 0 96px; }
  .hero-media { display: none; }
  .band { padding: 56px 0; }
  .band-intro { padding-bottom: 48px; }
  .band-intro .highlights + p { margin-top: 40px; font-size: 1.12rem; text-align: left; }
  .layout-faq .faqs { display: block; }
  .layout-faq .faqs h2 { position: relative; top: auto; margin-bottom: 22px; }
  .quote-form { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .highlights { margin-top: -56px; }
  .hl { padding: 18px 16px; }
  .hl .icon { width: 38px; height: 38px; padding: 8px; }
  .hl-title { font-size: 1.05rem; }
  .hl-text { font-size: .86rem; }
  .layout-tiles ul, .layout-guides ul { grid-template-columns: minmax(0, 1fr); }
  .layout-centered .band-head, .layout-centered .band-body > p { text-align: left; }
  .layout-centered .band-head h2::before { left: 0; margin-left: 0; }
  .layout-steps ol { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 32px; }
  .layout-steps ol::before { display: block; top: 10px; bottom: 10px; left: 21px; right: auto; width: 2px; height: auto; }
  .layout-steps li { padding: 0 0 28px 66px; min-height: 60px; }
  .layout-steps li::before { width: 44px; height: 44px; font-size: 1.25rem; box-shadow: 0 0 0 6px var(--charcoal); }
  .cta-band { padding: 26px 22px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .panel { padding: 24px; }
  .card { padding: 20px; }
}
