/* Sparky Next Door. Tokens and rules: DESIGN.md. Signature device: the copper smile from the logo. */
@font-face { font-family: 'Bricolage'; src: url(/assets/fonts/bricolage-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url(/assets/fonts/atkinson-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url(/assets/fonts/atkinson-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ink: #1D1E22; --white: #FFFFFF; --plaster: #F6F4F1; --copper: #B4592A; --copper-dk: #96481F; --teal: #0F5F66;
  --copper-lt: #E8A07A; --teal-lt: #7CC3C4; --slate: #5E6470; --line: #E4E2DF;
  --display: 'Bricolage', 'Arial Narrow', Arial, sans-serif; --body: 'Atkinson', Arial, sans-serif;
  --gut: 16px; --max: 1180px; --plate: 22%; --r: 18px; --ease: cubic-bezier(.2, .8, .2, 1);
  --smile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M8 9 Q100 46 192 9' fill='none' stroke='%23B4592A' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E");
  --smile-lt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M8 9 Q100 46 192 9' fill='none' stroke='%23E8A07A' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E");
  --dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14'%3E%3Cpath d='M3 3 Q12 15 21 3' fill='none' stroke='%23B4592A' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: var(--copper-dk); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: .98; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 200; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.tbc { background: #fff3c4; color: #5b4300; border-radius: 4px; padding: 0 .3em; font-size: .9em; }

/* ---------- the smile (signature device) ---------- */
.smile { position: relative; white-space: nowrap; display: inline-block; }
.smile::after { content: ''; position: absolute; left: -1%; right: -1%; bottom: -.16em; height: .3em; background: var(--smile) center / 100% 100% no-repeat; pointer-events: none; }
.on-dark .smile::after, .band .smile::after { background-image: var(--smile-lt); }
.smile-svg { width: 1.3em; height: .7em; flex: none; }
ul.smiles { list-style: none; padding: 0; margin: 0; }
ul.smiles li { position: relative; padding-left: 1.8em; margin-bottom: .55em; }
ul.smiles li::before { content: ''; position: absolute; left: 0; top: .5em; width: 1.15em; height: .7em; background: var(--dot) center / contain no-repeat; }
.rule-smile { display: flex; align-items: center; gap: 14px; margin: 0 auto; max-width: var(--max); padding: 0 var(--gut); }
.rule-smile::before, .rule-smile::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.rule-smile span { width: 64px; height: 14px; background: var(--smile) center / 100% 100% no-repeat; }

/* ---------- buttons and chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.4em;
  background: var(--copper); color: var(--white); border: 0; border-radius: 14px; font: 800 1.06rem/1 var(--display);
  letter-spacing: -0.005em; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--copper-dk); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn .smile-svg { transition: transform .25s var(--ease); }
.btn:hover .smile-svg { transform: translateY(2px) scaleX(1.12); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.block { width: 100%; }
.btn.light { background: var(--white); color: var(--ink); }
.btn.light:hover { background: var(--copper-lt); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; background: var(--white); }
.chips a:hover { border-color: var(--copper); color: var(--copper-dk); }
.tag { display: inline-block; font: 700 .75rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--teal);
  background: #E3F0F0; border-radius: 6px; padding: 5px 8px; }

/* ---------- preview flag and header ---------- */
.preview-flag { background: var(--ink); color: #D7D9DE; font-size: .85rem; text-align: center; padding: 8px var(--gut); }
.preview-flag b { color: var(--copper-lt); }
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 60; }
.site-head > .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.site-head .logo, .mn-head .logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-head .logo img { display: block; height: 32px; width: auto; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; place-items: center; background: none; border: 2px solid var(--ink);
  border-radius: 14px; color: var(--ink); cursor: pointer; }
.menu-btn .ic { width: 24px; height: 24px; }
.mainnav { margin-left: auto; align-self: stretch; }
.mainnav > ul { display: flex; gap: 22px; height: 100%; margin: 0; padding: 0; list-style: none; }
.dd { display: flex; align-items: center; gap: 2px; }
.dd-top { text-decoration: none; font-weight: 700; font-size: 1rem; padding: 8px 0; position: relative; white-space: nowrap; color: var(--ink); }
.dd-top::after { content: ''; position: absolute; left: -4%; right: -4%; bottom: -4px; height: 8px; background: var(--smile) center / 100% 100% no-repeat;
  transform: scaleX(0); transition: transform .25s var(--ease); }
.dd:hover:not(.shut) .dd-top::after, .dd.open .dd-top::after, .dd-top:focus-visible::after { transform: scaleX(1); }
.dd-btn { display: inline-grid; place-items: center; width: 26px; height: 40px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.dd-btn .chev { transition: transform .2s var(--ease); }
.dd.open .dd-btn .chev, .dd:hover:not(.shut) .dd-btn .chev { transform: rotate(180deg); }
.dd-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(29, 30, 34, .10); visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s; }
.dd:hover:not(.shut) .dd-panel, .dd.open .dd-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.dd-in { display: flex; gap: 40px; padding-top: 28px; padding-bottom: 18px; }
.dd-groups { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 32px; }
.dd-groups.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dd-groups.n2 { grid-template-columns: repeat(2, minmax(0, 300px)); }
.dd-groups.n1 { grid-template-columns: minmax(0, 300px); }
.dd-h { font: 700 .8rem/1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--slate); margin: 0 0 8px; }
.dd-h-blank { visibility: hidden; }
.dd-g ul { list-style: none; margin: 0; padding: 0; }
.dd-g a { display: block; padding: 6px 0; text-decoration: none; font-weight: 700; font-size: .98rem; color: var(--ink); }
.dd-g a:hover { color: var(--copper-dk); text-decoration: underline; }
.dd-side { width: 280px; flex: none; align-self: start; background: var(--plaster); border-radius: var(--r); padding: 20px; }
.dd-side p { margin: 0 0 14px; font-size: .97rem; }
.dd-foot { padding-top: 12px; padding-bottom: 18px; }
.dd-foot a { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--copper-dk); }
.head-cta { flex: none; }

/* phone menu */
.mobile-nav { display: none; }
.mobile-nav.open { display: block; position: fixed; inset: 0; z-index: 100; background: var(--white); overflow-y: auto; overscroll-behavior: contain; }
html.menu-open, html.menu-open body { overflow: hidden; }
.mn-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; padding: 0 var(--gut); background: var(--white); border-bottom: 1px solid var(--line); }
.mn-head .logo img { height: 26px; width: auto; }
.mn-close { width: 48px; height: 48px; display: grid; place-items: center; flex: none; border: 2px solid var(--ink); border-radius: 14px;
  background: none; color: var(--ink); cursor: pointer; }
.mn-top { padding: 16px var(--gut) 18px; }
.mn-sec { border-top: 1px solid var(--line); }
.mn-sec summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px;
  padding: 0 var(--gut); font: 800 1.2rem/1 var(--display); cursor: pointer; }
.mn-sec summary::-webkit-details-marker { display: none; }
.mn-sec .chev { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.mn-sec[open] summary .chev { transform: rotate(180deg); }
.mn-body { padding: 0 var(--gut) 18px; }
.mn-h { font: 700 .78rem/1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--slate); margin: 14px 0 2px; }
.mn-body ul { list-style: none; margin: 0; padding: 0; }
.mn-body a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 700; }
.mn-all { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; margin-top: 6px; font-weight: 700; color: var(--copper-dk); text-decoration: none; }
.mn-link { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 var(--gut);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }

/* ---------- home: hero ---------- */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.hero h1 { margin-bottom: .32em; }
.hero .lede { font-size: 1.2rem; max-width: 34em; color: #34363C; }
.picker-h { font: 800 1.1rem/1.2 var(--display); margin: 28px 0 12px; }
.picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.picker a { display: flex; flex-direction: column; gap: 10px; min-height: 112px; padding: 16px; border-radius: var(--r);
  border: 2px solid var(--ink); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.25;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.picker a .ic { width: 30px; height: 30px; color: var(--copper); }
.picker a:hover { background: var(--plaster); transform: translateY(-2px); }
.picker a:hover .ic { color: var(--copper-dk); }
.picker-more { margin: 14px 0 0; font-size: .98rem; }
.picker-more a { font-weight: 700; }
.free-line { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--slate); font-size: .95rem; }

/* the example match card */
.match { position: relative; background: var(--plaster); border-radius: 28px; padding: 26px 24px 24px; margin-top: 10px; }
.match .tag { position: absolute; top: -12px; right: 22px; background: var(--ink); color: var(--white); }
.match-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.match-head img { width: 64px; height: 64px; flex: none; }
.match-head b { display: block; font: 800 1.3rem/1.1 var(--display); }
.match-head span { color: var(--slate); font-size: .95rem; }
.match dl { margin: 0; display: grid; gap: 0; }
.match dl div { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.match dt { color: var(--slate); font-size: .93rem; }
.match dd { margin: 0; font-weight: 700; display: flex; gap: 8px; align-items: flex-start; }
.match dd .ok { color: var(--teal); flex: none; display: inline-flex; margin-top: .15em; }
.match dd .ok .ic { width: 1.1em; height: 1.1em; }
.match-foot { margin: 16px 0 0; font-size: .95rem; color: #34363C; }

/* ---------- what we check ---------- */
.checks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.checks .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 34px; }
.checks h2 { font-size: 1.25rem; margin: 0 14px 0 0; }
.checks ul { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.checks li { margin: 0; font-weight: 700; }

/* ---------- how it works: editorial timeline ---------- */
.how { padding: 88px 0 72px; }
.how-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
.how-intro p { color: #34363C; max-width: 26em; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 2px solid var(--ink); }
.steps li:last-child { border-bottom: 2px solid var(--ink); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 800 3.6rem/.9 var(--display); color: var(--copper); letter-spacing: -0.04em; }
.steps h3 { font-size: 1.45rem; margin: 2px 0 6px; }
.steps p { margin: 0; color: #34363C; }

/* ---------- jobs list ---------- */
.jobs { padding: 72px 0 80px; background: var(--plaster); }
.jobs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 30px; }
.jobs-head p { margin: 0; max-width: 30em; color: #34363C; }
.jobs-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; }
.jobs h3 { font-size: 1.1rem; font-family: var(--body); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.joblist { list-style: none; margin: 0; padding: 0; }
.joblist li { border-top: 1px solid #D8D4CE; }
.joblist a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; color: var(--ink);
  font: 800 clamp(1.25rem, 2.2vw, 1.7rem)/1.15 var(--display); letter-spacing: -0.015em; }
.joblist a small { display: block; font: 400 .95rem/1.4 var(--body); color: var(--slate); letter-spacing: 0; margin-top: 4px; }
.joblist a .ic { width: 26px; height: 26px; color: var(--copper); transition: transform .2s var(--ease); }
.joblist a:hover .ic { transform: translateX(4px); }
.joblist a:hover { color: var(--copper-dk); }
.safety { margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--white); font-size: .97rem; }
.safety b { display: block; }

/* ---------- teal band ---------- */
.band { background: var(--teal); color: var(--white); padding: 80px 0; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.band h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0; }
.band p { color: #D9ECEC; font-size: 1.08rem; }
.band a.more { color: var(--white); font-weight: 700; }

/* ---------- local ---------- */
.local { padding: 80px 0 72px; }
.local-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.local p { color: #34363C; }
.next-cities { margin-top: 18px; font-size: .97rem; color: var(--slate); }

/* ---------- dated rules (guides) ---------- */
.dates { padding: 24px 0 88px; }
.dates h2 { margin-bottom: 26px; }
.datelist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.datelist li { padding: 22px 26px 6px 0; }
.datelist li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.datelist .big { display: block; font: 800 clamp(2rem, 3.6vw, 2.8rem)/1 var(--display); letter-spacing: -0.03em; color: var(--copper); margin-bottom: 10px; }
.datelist a { font-weight: 700; }
.datelist p { color: #34363C; font-size: .98rem; }

/* ---------- for electricians ---------- */
.sparkies { background: var(--ink); color: var(--white); padding: 64px 0; }
.sparkies .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.sparkies h2 { margin: 0 0 8px; }
.sparkies p { margin: 0; color: #C9CBD1; max-width: 36em; }

/* ---------- FAQ ---------- */
.faq { padding: 88px 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px;
  font: 800 1.2rem/1.25 var(--display); padding: 10px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 22px; height: 22px; transition: transform .2s var(--ease); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; color: #34363C; max-width: 40em; }

/* ---------- quote flow ---------- */
.flow { padding: 40px 0 88px; }
.flow-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 40px; align-items: start; }
.qcard { background: var(--white); border: 2px solid var(--ink); border-radius: 28px; padding: 28px; }
.qtop { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.qface { width: 64px; height: 64px; flex: none; }
.qface .sm { stroke-dasharray: 64; stroke-dashoffset: calc(64 - 64 * var(--p, .25)); transition: stroke-dashoffset .5s var(--ease); }
.qh { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0; }
.qstep-label { display: block; color: var(--slate); font-size: .95rem; margin-top: 4px; }
.step { display: none; }
.step.on { display: block; }
.opts { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opts legend { font: 800 1.3rem/1.2 var(--display); margin-bottom: 14px; padding: 0; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt label { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r);
  font-weight: 700; cursor: pointer; transition: border-color .15s var(--ease), background .15s var(--ease); }
.opt label .ic { width: 26px; height: 26px; color: var(--copper); }
.opt input:checked + label { border-color: var(--copper); background: #FBF1EB; }
.opt input:focus-visible + label { outline: 3px solid var(--copper); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; }
.field input { font: 400 1.0625rem/1.4 var(--body); min-height: 52px; padding: 0 14px; border: 2px solid #C9C6C1; border-radius: 14px; width: 100%; color: var(--ink); background: var(--white); }
.field input:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 3px #F3D8C9; }
.hint { color: var(--slate); font-size: .9rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; margin: 6px 0 4px; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--copper); }
/* Google's "I'm not a robot" box is a fixed 304 x 78 frame: scaled down where the card is narrower, clipped so its
   unscaled box can't push the page sideways */
.captcha { margin: 14px 0 4px; height: 78px; overflow: hidden; }
@media (max-width: 400px) { .captcha { height: 63px; } .captcha .g-recaptcha { transform: scale(.8); transform-origin: 0 0; } }
.err { color: #A3261E; font-weight: 700; min-height: 1.4em; margin: 10px 0 0; }
.step-nav { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.back { background: none; border: 0; color: var(--ink); font: 700 1rem var(--body); text-decoration: underline; cursor: pointer; min-height: 44px; }
.fineprint { color: var(--slate); font-size: .88rem; margin-top: 16px; }
.aside-card { background: var(--plaster); border-radius: 28px; padding: 26px; }
.aside-card h3 { font-size: 1.3rem; }
.aside-card ol { margin: 0 0 18px; padding-left: 1.2em; }
.aside-card li { margin-bottom: 8px; }
.disclosure { border-top: 1px solid #D8D4CE; padding-top: 14px; font-size: .95rem; }
.urgent { margin-top: 14px; font-size: .95rem; }

/* ---------- simple pages (thank you, 404) ---------- */
.simple { padding: 72px 0 96px; }
.simple .wrap { max-width: 760px; }
.simple .face { width: 96px; height: 96px; margin-bottom: 18px; }
.simple .lede { font-size: 1.2rem; color: #34363C; }
.simple .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #D7D9DE; padding: 64px 0 120px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot h4 { font: 700 .8rem/1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; color: #9EA2AB; margin: 6px 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: var(--copper-lt); }
.foot-logo { height: 78px; width: auto; display: block; margin-bottom: 18px; }
.foot-small { display: grid; gap: 10px; margin-top: 44px; padding-top: 20px; border-top: 1px solid #3A3C42; font-size: .9rem; color: #A9ADB5; }

/* ---------- sticky phone bar ---------- */
.sticky { display: none; }

/* ---------- breakpoints ---------- */
@media (max-width: 1180px) {
  .mainnav { display: none; }
  .menu-btn { display: inline-grid; margin-left: 0; }
  .head-cta { margin-left: auto; }
}
@media (max-width: 1000px) {
  .hero-grid, .how-grid, .jobs-grid, .band .wrap, .local-grid, .faq-grid, .flow-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .datelist { grid-template-columns: minmax(0, 1fr); }
  .datelist li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .site-head > .wrap { min-height: 68px; gap: 12px; }
  .site-head .logo img { height: 24px; }
  .head-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .hero { padding: 32px 0 48px; }
  .picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker a { min-height: 96px; }
  .steps li { grid-template-columns: 3.6rem minmax(0, 1fr); gap: 12px; }
  .steps li::before { font-size: 2.6rem; }
  .opts { grid-template-columns: minmax(0, 1fr); }
  .qcard { padding: 20px; border-radius: 22px; }
  .match dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); }
  .sticky .btn { width: 100%; }
  .flow-page .sticky { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- call-back banner (a promise: content/_claims.json) ---------- */
.callback-banner { background: var(--plaster); border-bottom: 1px solid var(--line); text-align: center; padding: 9px var(--gut); font-size: .95rem; }
.callback-banner b { font-weight: 700; }
.callback-banner span { color: var(--slate); }

/* ---------- closing postcode band ---------- */
.closing { background: var(--plaster); padding: 72px 0 80px; }
.closing h2 { max-width: 16em; }
.pc-form { max-width: 560px; margin-top: 22px; }
.pc-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.pc-row { display: flex; gap: 10px; }
.pc-row input { flex: 1; min-width: 0; font: 400 1.1rem/1.4 var(--body); min-height: 56px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 14px; }
.pc-row input:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px #F3D8C9; }
.pc-row .btn { min-height: 56px; flex: none; }
.spec-line { display: flex; gap: 10px; align-items: center; background: #FBF1EB; border-radius: 14px; padding: 12px 14px; margin: 0 0 16px; font-weight: 700; }
@media (max-width: 720px) {
  .pc-row { flex-direction: column; }
  .callback-banner { font-size: .9rem; }
}

/* ---------- 28 Oct round 2: the Find My Roofer level (hero quote card, the street, rules band, licence checks) ---------- */
.hero { padding: 52px 0 28px; }
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); }
.ticks { margin: 4px 0 26px; }
.ticks li { font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-cta span { color: var(--slate); font-size: .95rem; }
.hcard { background: var(--white); border: 2px solid var(--ink); border-radius: 26px; padding: 24px; box-shadow: 8px 8px 0 var(--ink); }
.hcard-h { font: 800 1.35rem/1.15 var(--display); margin: 0 0 4px; }
.hcard .hint { display: block; margin: 0 0 14px; }
.hopts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.hopts .opt label { min-height: 54px; padding: 8px 12px; gap: 10px; font-size: .95rem; line-height: 1.2; border-radius: 14px; }
.hopts .opt label .ic { width: 22px; height: 22px; }
.hpc-label { display: block; font-weight: 700; margin-bottom: 6px; }
.hpc { font: 400 1.0625rem/1.4 var(--body); min-height: 52px; padding: 0 14px; border: 2px solid #C9C6C1; border-radius: 14px; width: 100%; color: var(--ink); }
.hpc:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 3px #F3D8C9; }
.hcard .err { margin: 6px 0 8px; min-height: 0; }
.hcard .fine { color: var(--slate); font-size: .86rem; margin: 12px 0 0; }

/* the street: houses on one power line, ONE house lit (the second signature device) */
.street-wrap { overflow: hidden; }
.street { display: block; width: 100%; height: clamp(96px, 10.5vw, 150px); }
.street-wrap.divider .street { height: clamp(72px, 7.5vw, 110px); }
.site-foot { padding-top: 0; }
.foot-street { height: clamp(80px, 8.5vw, 120px); margin-bottom: 44px; }

.eyebrow { font: 700 .82rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; color: var(--copper-dk); }
.on-dark .eyebrow, .band .eyebrow { color: var(--copper-lt); }
.band { padding: 80px 0 84px; }
.band .wrap { display: block; }
.band h2 { max-width: 15em; margin-bottom: 36px; }
.rules3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .35); }
.rules3 > div { padding: 22px 28px 0 0; }
.rules3 > div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .25); }
.rules3 h3 { font-size: 1.25rem; color: var(--white); }
.rules3 p { margin: 0; font-size: 1rem; }

.lcheck { padding: 96px 0; }
.lcheck-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.lcheck .match { transform: rotate(-1.5deg); box-shadow: 6px 6px 0 var(--ink); border: 2px solid var(--ink); background: var(--white); }
.lcheck h2 { max-width: 13em; }
.regs { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .98rem; }
.regs th { text-align: left; vertical-align: top; width: 34%; padding: 12px 16px 12px 0; border-top: 1px solid var(--line); font-weight: 700; }
.regs td { padding: 12px 0; border-top: 1px solid var(--line); }
.simple .street-wrap { margin-top: 56px; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hcard { max-width: 560px; }
  .lcheck-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lcheck .match { transform: none; }
  .rules3 { grid-template-columns: minmax(0, 1fr); }
  .rules3 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 22px; }
}
@media (max-width: 720px) {
  .hcard { padding: 18px; box-shadow: 5px 5px 0 var(--ink); }
  .hopts .opt label { font-size: .9rem; }
  .regs th { width: 40%; }
}

/* ---------- content pages (ported from the AU site 29 Oct, same classes): heroes, blocks, cards. No coloured side bars on callouts (Cameron's rule). ---------- */
.phero { padding: 30px 0 0; }
.phero .street-wrap { margin-top: 30px; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.ph-text h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
.ph-text h1 .second { display: block; color: var(--copper-dk); }
.phero.reading .ph-text { max-width: 820px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0 0 18px; font-size: .9rem; color: var(--slate); }
.crumbs li + li::before { content: '/'; margin: 0 8px; color: #B7B3AD; }
.crumbs a { color: var(--slate); }
.qmini { background: var(--white); border: 2px solid var(--ink); border-radius: 24px; padding: 22px; box-shadow: 6px 6px 0 var(--ink); }
.qmini h2 { font-size: 1.3rem; margin-bottom: 10px; }
.qsteps { margin: 0 0 14px; padding-left: 1.2em; font-size: .95rem; }
.qsteps li { margin-bottom: 4px; }
.qmini .field input { min-height: 50px; }
.qticks { list-style: none; padding: 0; margin: 14px 0 0; font-size: .9rem; color: #34363C; }
.qticks li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.qticks .ic { color: var(--teal); margin-top: .1em; }
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--plaster); }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: 6px 32px; padding-top: 14px; padding-bottom: 10px; }
.trust-strip li { font-weight: 700; font-size: .95rem; }

.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 44px; padding-bottom: 40px; }
.prose { max-width: 720px; }
.prose .meta { color: var(--slate); font-size: .9rem; margin-bottom: 26px; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; }
.prose p, .prose li { font-size: 1.06rem; }
.doc-side { position: sticky; top: 24px; align-self: start; display: grid; gap: 18px; }
.toc { border-top: 2px solid var(--ink); padding-top: 12px; }
.toc h2 { font: 700 .82rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin: 0 0 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0 0 6px; }
.toc a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.toc a:hover { color: var(--copper-dk); text-decoration: underline; }
.side-cta { background: var(--plaster); border-radius: var(--r); padding: 18px; }
.side-cta p { font-size: .97rem; }
.hub-intro { padding-top: 36px; }
.hub-intro .prose { max-width: 780px; }

.b { margin: 0 0 8px; }
.b-steps ol { list-style: none; padding: 0; margin: 0; counter-reset: st; }
.b-steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.b-steps li::before { counter-increment: st; content: counter(st); font: 800 2rem/1 var(--display); color: var(--copper); grid-row: span 2; }
.b-steps li h3 { margin: 0 0 4px; }
.b-steps li p { margin: 0; grid-column: 2; }
.b-check ul, .b-flags ul, .b-ask ul { list-style: none; padding: 0; margin: 0; }
.b-check li, .b-flags li, .b-ask li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); }
.b-check .ic { color: var(--teal); flex: none; margin-top: .2em; }
.b-flags .ic { color: #A3261E; flex: none; margin-top: .2em; }
.b-ask .ic { color: var(--copper); flex: none; margin-top: .15em; }
.b-warn { background: #FBEDE6; border-radius: var(--r); padding: 18px 20px; margin: 24px 0; }
.b-warn .warn-head { display: flex; gap: 10px; align-items: center; }
.b-warn .warn-head .ic { color: #A3261E; width: 26px; height: 26px; }
.b-warn h2 { font-size: 1.25rem; margin: 0; }
.b-warn p { margin: 8px 0 0; }
.tbl { overflow-x: auto; }
.b-compare table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.b-compare th, .b-compare td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.b-compare thead th { border-top: 0; border-bottom: 2px solid var(--ink); font-weight: 700; }
.diy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.diy-you, .diy-pro { border-radius: var(--r); padding: 16px 18px; }
.diy-you { background: #E3F0F0; }
.diy-pro { background: var(--plaster); }
.diy-grid h3 { margin: 0 0 8px; }
.diy-grid ul { margin: 0; padding-left: 1.1em; }
.b-advice { display: flex; gap: 16px; align-items: flex-start; background: var(--plaster); border-radius: var(--r); padding: 20px; margin: 28px 0; }
.b-advice .adv-mark { flex: none; }
.b-advice h2 { margin-top: 0; font-size: 1.3rem; }
.b-advice p { margin: 0; }
.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.loc { border: 2px solid var(--ink); border-radius: var(--r); padding: 14px 16px; }
.loc h3 { margin: 0 0 6px; font-size: 1.05rem; }
.loc p { margin: 0; font-size: .98rem; }
.tool-soon { background: var(--plaster); border-radius: var(--r); padding: 18px; }

.cta-band { background: var(--teal); color: var(--white); border-radius: 22px; margin: 32px 0; }
.cta-band .cta-in { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 24px; }
.cta-band h2 { color: var(--white); margin: 0 0 6px; font-size: 1.4rem; }
.cta-band p { color: #D9ECEC; margin: 0; max-width: 34em; font-size: 1rem; }
.cta-final .cta-sub { max-width: 40em; color: #34363C; }

.cards-sec, .chips-sec { padding: 44px 0; border-top: 1px solid var(--line); }
.cards-sec h2, .chips-sec h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* ---------- topic and city photos at the top of pages (photos.py) ---------- */
.page-photo-wrap { margin-top: 28px; }
.page-photo { margin: 0; }
.page-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r); border: 2px solid var(--ink); background: var(--plaster); }
.page-photo figcaption { margin-top: 6px; font-size: .8rem; color: var(--slate); text-align: right; }
.page-photo figcaption a { color: var(--slate); }
@media (max-width: 720px) { .page-photo img { aspect-ratio: 4 / 3; } .page-photo-wrap { margin-top: 20px; } }

/* ---------- site search (/search/, search.js) ---------- */
.site-search label { display: block; margin-bottom: 8px; }
.site-search input { width: 100%; min-height: 54px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 14px; font: 400 1.0625rem/1.2 var(--body); background: var(--white); color: var(--ink); }
.site-search input:focus { outline: 3px solid var(--copper); outline-offset: 2px; }
.search-count { margin: 12px 0 6px; color: var(--slate); font-size: .95rem; }
.search-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.search-results li { padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); }
.search-results a { font: 800 1.08rem/1.25 var(--display); letter-spacing: -0.005em; text-decoration: none; color: var(--ink); }
.search-results a:hover { color: var(--copper-dk); text-decoration: underline; }
.search-results span { display: block; margin-top: 4px; color: #34363C; font-size: .95rem; }

/* ---------- job photos from network electricians (proof.py) ---------- */
.proof-sec { padding: 44px 0; border-top: 1px solid var(--line); background: var(--plaster); }
.proof-sec h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.proof-note { max-width: 40em; color: #34363C; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.proof-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-job { margin: 0; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.proof-job img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.proof-job figcaption { padding: 12px 14px 14px; font-size: .95rem; line-height: 1.45; }
@media (max-width: 1000px) { .proof-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .proof-grid, .proof-grid.four { grid-template-columns: minmax(0, 1fr); } }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 18px 44px; border: 2px solid var(--ink); border-radius: var(--r);
  text-decoration: none; color: var(--ink); background: var(--white); transition: transform .2s var(--ease), background .2s var(--ease); }
.card:hover { transform: translateY(-2px); background: var(--plaster); color: var(--ink); }
.card-ic .ic { width: 26px; height: 26px; color: var(--copper); }
.card-t { font: 800 1.12rem/1.2 var(--display); }
.card-b { font-size: .95rem; color: #34363C; }
.card-subs { font-size: .85rem; color: var(--slate); }
.card-go { position: absolute; right: 16px; bottom: 14px; color: var(--copper); }
.state-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px; }
.state-col h3 { font-size: 1.15rem; }
.state-col ul { list-style: none; padding: 0; margin: 0; }
.state-col li { margin-bottom: 4px; }
.sources { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: .92rem; }
.sources h2 { font-size: 1.15rem; }
.sources ul { padding-left: 1.1em; }
.sources .small { color: var(--slate); }

/* slide-in quiz on job pages (site.js shows it past half the page; never takes focus; closed = 30 days) */
.quiz-pop { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: min(380px, calc(100vw - 24px)); background: var(--white);
  border: 2px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); padding: 16px; transform: translateY(16px);
  opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.quiz-pop.in { transform: none; opacity: 1; }
.qp-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qp-title { font: 800 1.1rem/1.2 var(--display); margin: 0; }
.qp-close { background: none; border: 0; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.qp-intro p { font-size: .95rem; margin: 6px 0 12px; }
.qp-step { border: 0; padding: 0; margin: 8px 0 0; }
.qp-step legend { font-weight: 700; margin-bottom: 8px; }
.qp-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.qp-opt { display: flex; gap: 8px; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: .9rem; font-weight: 700; cursor: pointer; }
.qp-opt input { accent-color: var(--copper); }
.qp-opt .ic { width: 18px; height: 18px; color: var(--copper); }
.qp-next { background: none; border: 2px solid var(--ink); border-radius: 12px; min-height: 44px; padding: 0 14px; font: 700 .95rem var(--body); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.qp-step input[name="postcode"] { width: 100%; min-height: 48px; border: 2px solid #C9C6C1; border-radius: 12px; padding: 0 12px; font: 400 1rem var(--body); margin: 6px 0 10px; }
.qp-fine { font-size: .82rem; color: var(--slate); margin: 10px 0 0; }

@media (max-width: 1000px) {
  .phero-grid, .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-side { position: static; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cards, .diy-grid, .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .qmini { padding: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .quiz-pop { right: 12px; left: 12px; width: auto; bottom: 86px; }
}

/* live form (29 Oct): optional labels, the honeypot people never see, field errors from the engine, Blufire's notice */
.field .optional { font-weight: 400; color: var(--slate); }
.field textarea { font: 400 1.0625rem/1.45 var(--body); padding: 12px 14px; border: 2px solid #C9C6C1; border-radius: 14px; width: 100%; color: var(--ink); resize: vertical; }
.field textarea:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 3px #F3D8C9; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ferr { display: block; color: #A3261E; font-weight: 700; font-size: .92rem; margin-top: 4px; }
.privacy-notice { font-size: .82rem; line-height: 1.5; color: #34363C; margin: 6px 0 10px; }
.privacy-notice a { color: #34363C; overflow-wrap: anywhere; }

/* ---------- tools (sparky-tools.js): questions one at a time, a clear verdict ---------- */
.tool-ui { border: 2px solid var(--ink); border-radius: var(--r); padding: 20px; background: var(--white); }
.tool-field { margin-bottom: 14px; }
.tool-field label { display: block; font-weight: 700; margin-bottom: 6px; }
.tool-field select, .tool-field input { width: 100%; min-height: 52px; padding: 0 14px; border: 2px solid #C9C6C1; border-radius: 14px; font: 400 1.0625rem/1.2 var(--body); color: var(--ink); background: var(--white); }
.tool-field select:focus, .tool-field input:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 3px #F3D8C9; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.tool-q { border: 0; padding: 0; margin: 0 0 16px; }
.tool-q legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.tool-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-opt { min-height: 48px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); font: 400 1rem/1.3 var(--body); text-align: left; cursor: pointer; }
.tool-opt:hover:not(:disabled) { border-color: var(--ink); }
.tool-opt.on { border-color: var(--copper); background: #FBEDE5; font-weight: 700; }
.tool-opt:disabled:not(.on) { opacity: .55; cursor: default; }
.tool-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; cursor: pointer; }
.tool-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--copper); }
.tool-again { margin-top: 4px; background: none; border: 0; padding: 6px 0; color: var(--copper-dk); text-decoration: underline; font: 400 .95rem/1.2 var(--body); cursor: pointer; }
.tool-result:empty { display: none; }
.tool-result { margin-top: 14px; }
.tool-verdict { border-radius: 14px; padding: 16px 18px; background: var(--plaster); border: 2px solid var(--line); }
.tool-verdict.good { border-color: #7CC3C4; } .tool-verdict.warn, .tool-verdict.mid { border-color: var(--copper-lt); } .tool-verdict.stop { border-color: #A3261E; }
.tool-verdict-h { font: 800 1.2rem/1.25 var(--display); margin-bottom: 8px; }
.tool-verdict.stop .tool-verdict-h { color: #A3261E; }
.tool-sub { font-weight: 700; margin: 12px 0 4px; }
.tool-facts { margin: 0 0 10px; padding-left: 1.2em; }
.tool-facts li { margin-bottom: 8px; }
.tool-facts a { margin-left: 2px; font-size: .9rem; }
.tool-note { font-size: .92rem; color: #34363C; }
.tool-cta { margin: 12px 0 0; }
.tool-soon { margin: 0; }
@media (max-width: 720px) { .tool-grid { grid-template-columns: minmax(0, 1fr); } .tool-ui { padding: 16px; } .tool-opt { width: 100%; } }

