/* Gridline Electric: design system
   Crisp, technical, Swiss. White, cool greys, one signal blue.
   Type: Archivo (text) + JetBrains Mono (labels, numbers, specs). */

:root {
  --ink: #0e1116;
  --ink-2: #3a4250;
  --ink-3: #3f4857;
  --rule: #b4bcc8;
  --rule-strong: #7d8795;
  --grey-1: #eaeef3;
  --grey-2: #dbe1e8;
  --white: #ffffff;
  --blue: #0047ff;
  --blue-dark: #0036c7;
  --blue-tint: #e8eeff;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --max: 1280px;
  --gutter: 24px;
  --bar-h: 52px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: .98; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }
strong { font-weight: 600; }
small { font-size: .875rem; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }

.mono, .label, .spec, .num {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: .02em;
}
.label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
}
.label .idx { color: var(--blue); margin-right: .6em; }
.muted { color: var(--ink-3); }
.blue { color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Top notice ---------- */
.notice {
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px var(--gutter);
  line-height: 1.4;
}
.notice span::before { content: "■ "; color: #ffd400; }
.notice a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 1em; white-space: nowrap; }
.notice a:hover { color: #ffd400; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 2px solid var(--ink);
}
.header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 68px;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo svg { height: 26px; width: auto; }
.nav { display: flex; justify-content: center; gap: 2px; }
.nav a {
  display: inline-block;
  padding: 10px 14px;
  font-size: .9375rem;
  text-decoration: none;
  border-radius: 2px;
  color: var(--ink-2);
}
.nav a:hover { color: var(--ink); background: var(--grey-1); }
.nav a[aria-current="page"], .nav a.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { font-family: var(--mono); font-size: .875rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--blue); }

.menu-btn {
  display: none;
  appearance: none; background: none; border: 1px solid var(--rule-strong); border-radius: 2px;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded="true"] .ic-menu { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--rule);
  background: #fff;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--rule);
  text-decoration: none; font-size: 1.0625rem;
}
.mobile-nav a .label { font-size: .6875rem; }
.mobile-nav a[aria-current="page"] { color: var(--blue); }

@media (max-width: 1023px) {
  .nav { display: none; }
  .header .container { grid-template-columns: auto 1fr auto; height: 62px; }
  .header-phone { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid var(--ink); border-radius: 2px;
  background: var(--ink); color: #fff;
  text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn-blue { background: var(--blue); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--grey-1); color: var(--ink); border-color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: .875rem; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Grid primitives ---------- */
.section { padding: 72px 0; border-top: 2px solid var(--ink); }
.section-tight { padding: 48px 0; }
.section-grey { background: var(--grey-1); }
.section-head {
  display: grid; grid-template-columns: 3fr 9fr; gap: var(--gutter);
  margin-bottom: 40px; align-items: start;
}
.section-head .label { padding-top: 6px; }
.section-head > div { border-left: 2px solid var(--ink); padding-left: var(--gutter); }
.section-head .lede { max-width: 56ch; margin: 14px 0 0; color: var(--ink-2); font-size: 1.125rem; }
.cols { display: grid; gap: var(--gutter); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5-7 { grid-template-columns: 5fr 7fr; }
.cols-7-5 { grid-template-columns: 7fr 5fr; }
.cols-4-8 { grid-template-columns: 4fr 8fr; }
.cols-8-4 { grid-template-columns: 8fr 4fr; }

/* Ruled grid: cells separated by thin lines */
.ruled { display: grid; border: 2px solid var(--ink); background: var(--rule); gap: 1px; }
.ruled > * { background: #fff; }
.section-grey .ruled > * { background: #fff; }
.ruled-2 { grid-template-columns: repeat(2, 1fr); }
.ruled-3 { grid-template-columns: repeat(3, 1fr); }
.ruled-4 { grid-template-columns: repeat(4, 1fr); }
.cell { padding: 28px; }
.cell-sm { padding: 20px 24px; }

@media (max-width: 1023px) {
  .section { padding: 56px 0; }
  .section-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
  .section-head > div { border-left: 0; padding-left: 0; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-5-7, .cols-7-5, .cols-4-8, .cols-8-4 { grid-template-columns: 1fr; }
  .ruled-3, .ruled-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .section { padding: 44px 0; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .ruled-2, .ruled-3, .ruled-4 { grid-template-columns: 1fr; }
  .cell { padding: 22px 20px; }
}

/* ---------- Hero ---------- */
.hero { border-top: 0; padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero .label { margin-bottom: 4px; }
.hero p.lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 46ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.need {
  border: 2px solid var(--ink); border-radius: 2px; background: #fff;
}
.need-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.need-head .label { color: var(--ink); }
.need ul { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.need li + li { border-left: 1px solid var(--rule); }
.need a {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 14px 14px; text-decoration: none;
  font-size: .9375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25;
  min-height: 96px;
  transition: background .15s var(--ease);
}
.need a:hover, .need a:focus-visible { background: var(--blue-tint); color: var(--blue); }
.need a svg { width: 26px; height: 26px; stroke: currentColor; }
.need a .spec { font-size: .6875rem; color: var(--ink-3); font-weight: 500; margin-top: auto; }

.hero-media { position: relative; }
.hero-media .frame { position: relative; border: 2px solid var(--ink); background: var(--grey-2); height: 100%; min-height: 520px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, transparent 24.9%, var(--rule) 25%, transparent 25.1%),
    linear-gradient(to right, transparent 49.9%, var(--rule) 50%, transparent 50.1%),
    linear-gradient(to right, transparent 74.9%, var(--rule) 75%, transparent 75.1%);
  opacity: .45; mix-blend-mode: multiply;
}
.hero-tag {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: #fff; border: 1px solid var(--rule); border-left: 0; border-bottom: 0;
  padding: 12px 14px; font-family: var(--mono); font-size: .75rem; color: var(--ink);
  display: grid; gap: 4px; min-width: 200px;
}
.hero-tag b { color: var(--ink); font-weight: 500; }
.hero-tag .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: 0; }

@media (max-width: 1023px) {
  .hero { padding: 40px 0 48px; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-media .frame { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-media img { position: absolute; }
  .need ul { grid-template-columns: repeat(3, 1fr); }
  .need li:nth-child(4), .need li:nth-child(5) { border-top: 1px solid var(--rule); }
  .need li:nth-child(4) { border-left: 0; }
}
@media (max-width: 639px) {
  .hero { padding: 32px 0 40px; }
  .hero-media .frame { aspect-ratio: 4 / 5; }
  .need ul { grid-template-columns: repeat(2, 1fr); }
  .need li { border-left: 0 !important; border-top: 0 !important; border-bottom: 1px solid var(--rule); }
  .need li:nth-child(odd) { border-right: 1px solid var(--rule); }
  .need li:nth-last-child(1), .need li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .need li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
  .need a { min-height: 0; padding: 14px 14px 12px; }
}

/* ---------- Stat strip ---------- */
.stats { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .stat { padding: 20px 0 20px 20px; border-left: 1px solid var(--rule); }
.stats .stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-size: 1.75rem; color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; }
.stat .num i { font-style: normal; color: var(--blue); }
.stat .label { margin-top: 6px; }
@media (max-width: 639px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); row-gap: 0; }
  .stats .stat { padding: 16px 0 16px 16px; }
  .stats .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats .stat:nth-child(3), .stats .stat:nth-child(4) { border-top: 1px solid var(--rule); }
  .stat .num { font-size: 1.5rem; }
}

/* ---------- Service cards ---------- */
.svc { display: flex; flex-direction: column; gap: 16px; padding: 28px; position: relative; text-decoration: none; color: inherit; }
.svc:hover .svc-title { color: var(--blue); }
.svc .icon { width: 40px; height: 40px; stroke: var(--ink); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.svc-title { font-size: 1.25rem; transition: color .15s var(--ease); }
.svc p { color: var(--ink); margin: 0; }
.incl { list-style: none; display: grid; gap: 6px; font-size: .9375rem; color: var(--ink); }
.incl li { padding-left: 22px; position: relative; }
.incl li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 1.6px solid var(--blue); border-bottom: 1.6px solid var(--blue); transform: rotate(-45deg);
}
.specs { margin-top: auto; border-top: 1px solid var(--rule); padding-top: 12px; display: grid; gap: 6px; }
.specs .row { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: .75rem; }
.specs .row span:first-child { color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.specs .row span:last-child { color: var(--ink); text-align: right; }
.svc .arrow { position: absolute; top: 28px; right: 28px; width: 20px; height: 20px; stroke: var(--ink-3); fill: none; stroke-width: 1.5; transition: transform .2s var(--ease), stroke .2s; }
.svc:hover .arrow { transform: translate(3px, -3px); stroke: var(--blue); }
@media (max-width: 639px) { .svc { padding: 22px 20px; } .svc .arrow { top: 22px; right: 20px; } }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); }
table.cmp { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 720px; }
.cmp th, .cmp td { padding: 14px 18px; border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); text-align: left; vertical-align: top; }
.cmp th:first-child, .cmp td:first-child { border-left: 0; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { background: var(--grey-2); font-weight: 600; font-size: 1rem; }
.cmp thead th .label { display: block; margin-bottom: 4px; }
.cmp tbody th { font-family: var(--mono); font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); width: 18%; background: var(--grey-1); }
.cmp td .mono { font-size: .875rem; }
.cmp td.price { font-family: var(--mono); font-size: .9375rem; color: var(--ink); }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 90px 3fr 7fr; gap: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.steps li > * { padding: 24px 0; }
.steps li h3, .steps li p { border-left: 2px solid var(--ink); padding-left: var(--gutter); padding-right: var(--gutter); }
.steps .n { font-family: var(--mono); font-size: .8125rem; color: var(--blue); padding-top: 4px; }
.steps h3 { font-size: 1.125rem; }
.steps p { margin: 0; color: var(--ink-2); }
.steps .spec { display: block; margin-top: 8px; font-size: .75rem; color: var(--ink-3); }
@media (max-width: 1023px) { .steps li { grid-template-columns: 60px 1fr; } .steps li p { grid-column: 2; padding-top: 0; border-left: 1px solid var(--rule); } .steps li h3 { padding-bottom: 8px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center;
  padding: 18px 0; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; border: 1px solid var(--rule-strong); border-radius: 2px; position: relative; justify-self: end; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--ink); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.faq summary .plus::before { width: 12px; height: 1.5px; }
.faq summary .plus::after { width: 1.5px; height: 12px; transition: transform .2s var(--ease); }
.faq details[open] summary .plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq details[open] summary { color: var(--blue); }
.faq .answer { padding: 0 44px 20px 0; color: var(--ink-2); max-width: 70ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Reviews ---------- */
.review { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.55; letter-spacing: -0.005em; }
.review blockquote::before { content: "“"; color: var(--blue); font-family: var(--mono); font-size: 1.5rem; line-height: 0; margin-right: 2px; }
.review .stars { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .9375rem; letter-spacing: .08em; color: #e8a400; }
.review .stars .src { font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.review .who { margin-top: 0; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; }
.review .who b { color: var(--ink); font-weight: 500; }

/* ---------- Areas ---------- */
.area-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); align-self: start; border: 2px solid var(--ink); }
.area-list li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.area-list a, .area-list span { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; text-decoration: none; font-size: .9375rem; }
.area-list a:hover { background: var(--blue-tint); color: var(--blue); }
.area-list .spec { font-size: .6875rem; color: var(--ink-3); }
@media (max-width: 1023px) { .area-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .area-list { grid-template-columns: 1fr; } }

/* ---------- Figures / media ---------- */
.figure { margin: 0; position: relative; border: 2px solid var(--ink); background: var(--grey-2); }
.cols > .figure { align-self: start; }
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.figure.r32 img { aspect-ratio: 3 / 2; }
.figure.r45 img { aspect-ratio: 4 / 5; }
.figure figcaption { font-family: var(--mono); font-size: .6875rem; color: var(--ink-3); padding: 10px 12px; border-top: 1px solid var(--rule); background: #fff; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Page header ---------- */
.page-head { padding: 48px 0 40px; }
.page-head .crumbs { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); margin-bottom: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.page-head .crumbs a { text-decoration: none; color: var(--ink-3); }
.page-head .crumbs a:hover { color: var(--blue); }
.page-head .crumbs span::before { content: "/"; margin-right: 10px; color: var(--rule-strong); }
.page-head .crumbs span:first-child::before { content: none; }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-head .lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 58ch; margin: 20px 0 0; }
.page-head .container { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; align-items: end; }
.page-head .meta { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.page-head .meta .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: .75rem; }
.page-head .meta .row dt, .page-head .meta .row span:first-child { color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 1023px) { .page-head .container { grid-template-columns: 1fr; gap: 28px; } .page-head { padding: 36px 0 32px; } }

/* ---------- Prose ---------- */
.prose { max-width: 64ch; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); margin: 1.6em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--blue); }

/* ---------- Definition list / spec sheet ---------- */
.sheet { border-top: 2px solid var(--ink); }
.sheet .row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.sheet .row dt { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding-top: 3px; }
.sheet .row dd { margin: 0; color: var(--ink); }

/* ---------- Price list ---------- */
.prices { list-style: none; border-top: 2px solid var(--ink); }
.prices li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.prices li .what { font-weight: 600; letter-spacing: -0.01em; }
.prices li .what small { display: block; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
.prices li .price { font-family: var(--mono); font-size: .9375rem; white-space: nowrap; }

/* ---------- Callout ---------- */
.callout { border: 1px solid var(--rule); border-left: 3px solid var(--blue); padding: 18px 22px; background: var(--grey-1); }
.callout p:last-child { margin: 0; }
.callout .label { margin-bottom: 6px; }

/* ---------- CTA band ---------- */
.cta { background: var(--blue); color: #fff; padding: 64px 0; border-top: 0; }
.cta .container { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.94); margin: 12px 0 0; max-width: 52ch; font-size: 1.125rem; }
.cta .label { color: rgba(255,255,255,.94); }
.cta .label .idx { color: #fff; }
.cta .btn { background: #fff; color: var(--blue); border-color: #fff; }
.cta .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta .mono-line { font-family: var(--mono); font-size: .8125rem; color: #fff; margin-top: 16px; }
@media (max-width: 1023px) { .cta .container { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } .cta { padding: 48px 0; } }

/* ---------- Footer ---------- */
.footer { border-top: 2px solid var(--ink); background: var(--grey-1); padding: 56px 0 0; font-size: .9375rem; }
.footer .top { display: grid; grid-template-columns: 4fr 2fr 2fr 1.5fr 2.5fr; gap: var(--gutter); padding-bottom: 40px; }
.footer h2 { font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; font-weight: 500; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--ink-2); }
.footer a:hover { color: var(--blue); }
.footer .about p { color: var(--ink-2); max-width: 36ch; margin: 16px 0 0; }
.footer .hours li { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .8125rem; white-space: nowrap; }
.footer .hours li span:last-child { color: var(--ink); }
.footer .bottom { border-top: 1px solid var(--rule); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: .6875rem; color: var(--ink-3); letter-spacing: .04em; }
@media (max-width: 1023px) { .footer .top { grid-template-columns: 1fr 1fr; } .footer .about { grid-column: 1 / -1; } }
@media (max-width: 639px) { .footer .top { grid-template-columns: 1fr; } }

/* ---------- Urgent bar ---------- */
.urgent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: var(--bar-h);
  background: var(--ink); color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
}
.urgent .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.urgent .left { display: flex; align-items: center; gap: 14px; min-width: 0; font-family: var(--mono); font-size: .8125rem; }
.urgent .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(0,71,255,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,71,255,.6);} 70% { box-shadow: 0 0 0 10px rgba(0,71,255,0);} 100% { box-shadow: 0 0 0 0 rgba(0,71,255,0);} }
.urgent .msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.urgent .msg b { color: #fff; font-weight: 500; }
.urgent .msg span { color: rgba(255,255,255,.7); }
.urgent .right { display: flex; align-items: center; gap: 8px; flex: none; }
.urgent .btn { padding: 8px 14px; font-size: .875rem; background: var(--blue); border-color: var(--blue); }
.urgent .btn:hover { background: #fff; color: var(--blue); border-color: #fff; }
.urgent .close { appearance: none; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; width: 34px; height: 34px; border-radius: 2px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.urgent .close:hover { border-color: #fff; }
.urgent .close svg { width: 14px; height: 14px; }
body.urgent-hidden { padding-bottom: 0; }
body.urgent-hidden .urgent { display: none; }
@media (max-width: 639px) {
  .urgent .msg span { display: none; }
  .urgent .btn { padding: 8px 12px; }
}

/* ---------- Example notice (dialog) ---------- */
.ex-dialog { border: 0; padding: 0; background: transparent; max-width: min(92vw, 440px); width: 100%; }
.ex-dialog::backdrop { background: rgba(14,17,22,.55); backdrop-filter: blur(2px); }
.ex-card { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--blue); padding: 28px; display: grid; gap: 14px; }
.ex-card .label { color: var(--blue); }
.ex-card h2 { font-size: 1.4rem; }
.ex-card p { color: var(--ink-2); margin: 0; }
.ex-card .actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.ex-card .mono { font-size: .75rem; color: var(--ink-3); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: 2px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .8125rem; color: var(--ink-3); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule-strong); padding: 9px 12px; border-radius: 2px; font-size: .9375rem; cursor: pointer; font-family: var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); white-space: nowrap; }
.choice label:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); color: var(--blue); }
.choice input { accent-color: var(--blue); margin: 0; }
@media (max-width: 639px) { .form .f2 { grid-template-columns: 1fr; } }

/* ---------- Line-art diagram ---------- */
.diagram { border: 2px solid var(--ink); background: #fff; padding: 20px; align-self: start; margin: 0; }
.diagram svg { width: 100%; height: auto; stroke: var(--ink); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.diagram svg .b { stroke: var(--blue); }
.diagram svg .f { fill: var(--grey-2); stroke: none; }
.diagram svg text { font-family: var(--mono); font-size: 10px; fill: var(--ink-3); stroke: none; letter-spacing: .04em; text-transform: uppercase; }
.diagram figcaption { font-family: var(--mono); font-size: .6875rem; color: var(--ink-3); margin-top: 14px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  .reveal:nth-child(2) { transition-delay: .06s; }
  .reveal:nth-child(3) { transition-delay: .12s; }
  .reveal:nth-child(4) { transition-delay: .18s; }
}

/* ---------- 404 ---------- */
.nf { padding: 80px 0 100px; }
.nf .code { font-family: var(--mono); font-size: clamp(5rem, 16vw, 11rem); line-height: .9; letter-spacing: -0.04em; color: var(--ink); }
.nf .code i { font-style: normal; color: var(--blue); }
.nf p { font-size: 1.125rem; color: var(--ink-2); max-width: 46ch; }
.nf .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 56px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.right { text-align: right; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.sticky { position: sticky; top: 92px; }
@media (max-width: 1023px) { .sticky { position: static; } }

/* rewiring / emergency / about pages */
@media (max-width: 639px) {
  .prices li .price { white-space: normal; text-align: right; }
  .page-head .hero-actions .btn { width: 100%; }
}
.page-head .meta dd, .page-head .meta dt { margin: 0; }
.span3 { grid-column: span 3; }
@media (max-width: 1023px) { .span3 { grid-column: span 2; } }
@media (max-width: 639px) { .span3 { grid-column: auto; } }
