/* Light only. Paper white, slate type, copper accent (PCB trace colour), a faint circuit-board
   tile behind the page that fades out under reading areas. Layout reads like a spec sheet:
   rules and numbered rows, not stacks of rounded cards. */
:root {
  --bg: #fafbfb;
  --paper: #ffffff;
  --tint: #eef3f5;
  --fg: #152029;
  --muted: #55636f;
  --line: #cfd9df;
  --trace: #b9c9d3;
  --copper: #a85a14;
  --copper-ink: #ffffff;
  --green: #1f5d4a;
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  position: relative;
}
/* Circuit board tile: traces, pads and vias, drawn once as an SVG data URI and repeated.
   Kept well under text contrast; masked so it fades out of the reading column. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%23b9c9d3' stroke-width='1.5'><path d='M20 20h70v50h60v-50h70M20 120h40l30 30h60l30-30h40M20 220h70v-50h60v50h70M70 70v50M170 70v50M100 150v70M140 150v70M20 20v30M220 20v30M20 170v50M220 170v50'/><g fill='%23fafbfb'><circle cx='20' cy='20' r='4'/><circle cx='220' cy='20' r='4'/><circle cx='20' cy='120' r='4'/><circle cx='220' cy='120' r='4'/><circle cx='20' cy='220' r='4'/><circle cx='220' cy='220' r='4'/><circle cx='70' cy='70' r='3'/><circle cx='170' cy='70' r='3'/><circle cx='100' cy='150' r='3'/><circle cx='140' cy='150' r='3'/><circle cx='90' cy='120' r='3'/><circle cx='150' cy='120' r='3'/></g><rect x='112' y='64' width='16' height='12' rx='1' fill='%23e3eaee'/><rect x='64' y='164' width='12' height='16' rx='1' fill='%23e3eaee'/><rect x='164' y='164' width='12' height='16' rx='1' fill='%23e3eaee'/></svg>");
  background-size: 240px 240px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 0%, transparent 30%, #000 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 0%, transparent 30%, #000 100%);
  opacity: 0.9;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 700; max-width: 18ch; letter-spacing: -0.005em; }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; }
h3 { font-size: 1.45rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
p { margin: 0; max-width: 64ch; }
p + p { margin-top: 0.9rem; }
a { color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
strong { font-weight: 600; }
.muted { color: var(--muted); font-size: 1rem; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border: 1px solid var(--line); }
.skip:focus { left: 8px; z-index: 20; }

/* Header: a thin rule, name in condensed caps, nav as plain words */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); background: rgba(250, 251, 251, 0.92); border-bottom: 1px solid var(--line); z-index: 10; backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg); text-decoration: none; }
.brand-mark { width: 26px; height: 26px; background: var(--copper); clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%); }
nav { display: flex; gap: 6px 26px; flex-wrap: wrap; align-items: center; }
nav a { color: var(--fg); text-decoration: none; font-weight: 500; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-display); font-size: 1.05rem; }
nav a:hover { color: var(--copper); }
.nav-cta { color: var(--copper); border-bottom: 2px solid var(--copper); }

/* Hero: left-aligned, a copper rule above the headline, a side column of plain facts */
.hero { padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.eyebrow { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin-bottom: 18px; padding-top: 14px; border-top: 3px solid var(--copper); display: inline-block; }
.lede { margin-top: 22px; font-size: clamp(1.15rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 58ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-block; padding: 13px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; border: 2px solid var(--copper); }
.btn-primary { background: var(--copper); color: var(--copper-ink); }
.btn-ghost { color: var(--copper); background: var(--paper); }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.facts li span:first-child { color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-display); font-size: 1rem; }
.facts li span:last-child { font-weight: 600; text-align: right; }

/* Sections: a numbered label in the margin, a rule, then the content */
.band { padding-block: clamp(44px, 6vw, 80px); }
.band.tint { background: var(--tint); }
.band.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: baseline; padding-bottom: 16px; border-bottom: 2px solid var(--fg); }
.head .num { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.08em; color: var(--copper); }
.section-lede { margin-top: 14px; color: var(--muted); }

/* Services: definition rows, not cards */
.rows { margin-top: 8px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row p { font-size: 1.08rem; }
.row .tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.tags span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; color: var(--green); border: 1px solid var(--green); padding: 2px 8px; }

/* Who: text beside a plain checklist */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 28px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: 12px 0 12px 34px; position: relative; font-weight: 500; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 18px; height: 18px; background: var(--copper); clip-path: polygon(0 50%, 40% 100%, 100% 10%, 85% 0, 40% 75%, 12% 38%); }

/* Steps: a vertical trace with pads, like a board */
.steps { list-style: none; margin: 28px 0 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 15px; top: 12px; bottom: 12px; width: 2px; background: var(--trace); }
.steps li { position: relative; padding: 0 0 30px 56px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 6px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--copper); }
.steps h3 { color: var(--fg); }
.steps p { margin-top: 6px; font-size: 1.08rem; }

/* Ownership: four claims, copper rules, plain white */
.claims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; margin-top: 28px; }
.claims div { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 4px solid var(--copper); min-width: 0; }
.claims strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; }
.claims span { color: var(--muted); font-size: 1.02rem; }
.footnote { margin-top: 30px; color: var(--muted); }

/* Pricing note */
.note { border: 1px solid var(--line); border-top: 4px solid var(--green); padding: 22px 24px; background: var(--paper); }
.note p { margin-top: 8px; font-size: 1.02rem; color: var(--muted); }

/* Contact: three plain columns with rules */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.contact div { border-top: 1px solid var(--fg); padding-top: 14px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.contact p { font-size: 1.12rem; word-break: break-word; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 6px; color: var(--muted); font-size: 0.95rem; background: var(--paper); }
.site-footer a { color: var(--muted); }
.site-footer nav a { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 0.95rem; }

/* Document pages (privacy, 404) */
.doc { padding-block: 48px 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.doc h2 { font-size: 1.5rem; margin-top: 40px; }
.doc p, .doc li { font-size: 1.08rem; }
.doc ul { padding-left: 22px; }
.doc .updated { color: var(--muted); margin-top: 8px; }

@media (max-width: 860px) {
  .hero .wrap, .split, .row { grid-template-columns: 1fr; }
  .claims, .contact { grid-template-columns: 1fr 1fr; }
  .head { grid-template-columns: 48px minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .claims, .contact { grid-template-columns: 1fr; }
  nav { gap: 6px 14px; }
  .site-header .bar { padding-block: 10px; }
}
