/* Entertom – "a tidy workbench".
   One accent (Entertom blue, the logo's cerulean deepened to 7.3:1 on white),
   ink borders, keycap buttons, window title bars and circuit-trace sequences.
   All sizes are rem/em so browser font settings and zoom scale everything. */

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/atkinson-hyperlegible-mono-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/atkinson-hyperlegible-mono-latin-700-normal.woff2) format('woff2');
}

:root {
  --paper: #ffffff;
  --bench: #eef1f3;
  --bench-2: #e1e7eb;
  --ink: #15202b;
  --ink-2: #45525e;
  --line: #6b7885;
  --rule: #c9d1d8;
  --accent: #0a5a91;
  --accent-hover: #084d7c;
  --accent-deep: #06395d;
  --accent-tint: #e4eff8;
  --ok: #1d6b3a;
  --ok-tint: #e3f3e8;
  --warn: #6f4b00;
  --warn-line: #a87400;
  --warn-tint: #fff3cd;
  --stop: #9b2c1f;
  --stop-tint: #fbe9e6;
  --focus: #15202b;
  --focus-dark: #ffd24a;

  --font: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Atkinson Hyperlegible Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* Fluid type: rem floor and ceiling with a small vw term, never below 16 px. */
  --step--1: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --step-0: clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 1.875rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.5vw, 2.5rem);
  --step-4: clamp(2rem, 1.55rem + 2.4vw, 3.375rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --wrap: 75rem;
  --measure: 36em;
  --radius: 0.6rem;
  --band: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.01em; margin-top: 1.5em; }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.3; margin-top: 1.5em; }
h4 { font-size: var(--step-0); font-weight: 700; line-height: 1.4; margin: 1.25em 0 0.25em; }
p, li, dd { max-width: var(--measure); }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
a { color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 0.16em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
[tabindex="-1"]:focus { outline: none; }
kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 0 0.45em;
  font: inherit;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-bottom-width: 4px;
  border-radius: 0.35em;
}
code { font-family: var(--mono); font-size: 0.9em; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.22em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
@media (max-width: 22em) { .nowrap { white-space: normal; } }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.stack > * + * { margin-top: 2.5rem; }
.fine { font-size: var(--step--1); color: var(--ink-2); }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 34em; }
.section-lead { font-size: var(--step-0); color: var(--ink-2); max-width: var(--measure); }
.more { margin: 1.5rem 0 0; font-weight: 700; }
.ref { font-family: var(--mono); font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -10rem; z-index: 10;
  padding: 0.75rem 1rem; font-weight: 700; color: #fff; background: var(--ink); border-radius: 0 0 0.4rem 0.4rem;
}
.skip-link:focus { top: 0; outline: 3px solid var(--focus-dark); outline-offset: 0; color: #fff; }

/* ------------------------------------------------------------ demo bar and review mode */
.demo-bar { background: var(--ink); color: #fff; font-size: var(--step--1); }
.demo-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 0.5rem; }
.demo-bar p { margin: 0; max-width: none; }
.demo-bar a { color: #9fd0f5; }
.demo-bar :focus-visible { outline-color: var(--focus-dark); }
.demo-bar__toggle {
  font: inherit; font-weight: 700; color: var(--ink); background: var(--focus-dark);
  border: 2px solid var(--focus-dark); border-radius: 0.4rem; padding: 0.35rem 0.85rem; min-height: 2.75rem; cursor: pointer;
}
.demo-bar__toggle[aria-pressed="true"] { background: #fff; border-color: #fff; }
.review [data-verify] { outline: 2px dashed var(--warn-line); outline-offset: 3px; flex-wrap: wrap; }
.verify-note {
  display: block; flex: 1 1 100%; grid-column: 1 / -1; margin: 0.6rem 0 0; padding: 0.5rem 0.75rem; max-width: 40em;
  font-size: 1rem; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-align: left;
  color: var(--warn); background: var(--warn-tint); border-left: 4px solid var(--warn-line);
}
.verify-note strong { font-weight: 700; }

/* ------------------------------------------------------------ buttons: keycaps */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-edge: var(--accent-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3rem; margin: 0 0 4px; padding: 0.6em 1.2em;
  font: inherit; font-weight: 700; line-height: 1.25; text-align: left; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-edge); border-radius: 0.5rem;
  box-shadow: 0 4px 0 var(--btn-edge);
  cursor: pointer;
  transition: transform 70ms ease-out, box-shadow 70ms ease-out;
}
.btn:hover { --btn-bg: var(--accent-hover); color: var(--btn-fg); text-decoration: none; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-edge); }
.btn:focus-visible { outline-offset: 5px; }
.btn .icon { width: 1.3em; height: 1.3em; }
.btn--secondary { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-edge: var(--ink); }
.btn--secondary:hover { --btn-bg: var(--bench); }
.btn--large { font-size: var(--step-1); min-height: 3.5rem; }
.btn--block { width: 100%; }
.btn--danger { --btn-bg: var(--paper); --btn-fg: var(--stop); --btn-edge: var(--stop); }
.btn--danger:hover { --btn-bg: var(--stop-tint); }
.actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.75rem 1rem; margin-block: 1.25rem; }
.link-button {
  font: inherit; color: var(--accent); background: none; border: 0; padding: 0.25rem 0; min-height: 2.75rem;
  text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; cursor: pointer;
}
.link-button:hover { color: var(--accent-hover); text-decoration-thickness: 0.16em; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
@media (forced-colors: active) { .btn { border-bottom-width: 5px; } }

/* ------------------------------------------------------------ header and navigation */
.site-header { background: var(--paper); border-bottom: 3px solid var(--ink); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 1rem; }
.brand { display: inline-flex; flex: 1 1 0; align-items: center; gap: 0.75rem; min-height: 3rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none;
  font-size: 1.5rem; font-weight: 800; line-height: 1; color: #fff; background: var(--accent);
  border: 2px solid var(--accent-deep); border-radius: 0.45rem; box-shadow: inset 0 -5px 0 var(--accent-deep);
  padding-bottom: 4px;
}
.brand__text { display: flex; flex-direction: column; gap: 0.2rem; }
.brand__name { font-size: 1.625rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.brand__tag { font-size: 1rem; line-height: 1.2; color: var(--ink-2); }
.header-call { font-size: var(--step-0); }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0.5rem 1rem;
  font: inherit; font-weight: 700; color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 0.5rem; cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--bench); }
.site-nav { border-top: 1px solid var(--rule); }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 0.25rem; }
.site-nav__list a {
  display: block; padding: 0.8rem 1rem 0.6rem; font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 4px solid transparent;
}
.site-nav__list a:hover { background: var(--bench); text-decoration: underline; }
.site-nav__list a[aria-current="page"], .site-nav__list a.is-section { border-bottom-color: var(--accent); color: var(--accent); }
.site-nav__list li:first-child a { margin-left: -1rem; }

@media (max-width: 47.99em) {
  .header-call { flex: 1 1 100%; order: 3; }
  .js-nav .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; padding-block: 0.5rem; }
  .site-nav__list li:first-child a { margin-left: 0; }
  .site-nav__list a { border-bottom: 1px solid var(--rule); border-left: 4px solid transparent; padding: 0.75rem 0.75rem; }
  .site-nav__list a[aria-current="page"], .site-nav__list a.is-section { border-bottom-color: var(--rule); border-left-color: var(--accent); }
}
@media (min-width: 48em) { .nav-toggle { display: none; } }
@media (max-width: 30em) { .hero .actions .btn { flex: 1 1 100%; } }

/* ------------------------------------------------------------ page structure */
.page-head { padding-block: 1.5rem 1rem; }
.page-head h1 { margin-bottom: 0.4em; }
.band { padding-block: var(--band); }
.band > .wrap > h2:first-child, .band > .wrap > .prose > h2:first-child { margin-top: 0; }
.band--bench { background: var(--bench); border-block: 2px solid var(--ink); }
.band--rule { border-top: 2px solid var(--ink); }
.band--flush { padding-bottom: 1rem; }
.prose-wide > * { max-width: 50rem; }
.crumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; font-size: var(--step--1); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.6rem; }
.crumbs li + li::before {
  content: ""; width: 0.45em; height: 0.45em; border-right: 2px solid var(--line); border-top: 2px solid var(--line); transform: rotate(45deg);
}
.crumbs a { display: inline-block; padding-block: 0.3rem; }
.toc ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.toc a { display: inline-block; padding-block: 0.35rem; font-weight: 700; }

/* ------------------------------------------------------------ windows (panels with a title bar) */
.window { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); }
.window__bar {
  display: flex; align-items: center; gap: 0.6rem; margin: 0; padding: 0.55rem 1rem;
  font-size: var(--step-0); font-weight: 700; letter-spacing: 0; line-height: 1.3;
  background: var(--bench); border-bottom: 2px solid var(--ink); border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
}
.window__bar .icon { color: var(--accent); width: 1.4em; height: 1.4em; }
.window__body { padding: clamp(1rem, 0.8rem + 1vw, 1.5rem); }
.window__body > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ hero */
.hero { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); }
.hero__grid { display: grid; gap: 2rem 3.5rem; align-items: start; }
@media (min-width: 60em) { .hero__grid { grid-template-columns: minmax(0, 1.45fr) minmax(21rem, 1fr); } }
.hero h1 { max-width: 15em; }
.hero__hours { font-weight: 700; margin-top: 0.75rem; }
.hero__note {
  display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 1.5rem; padding: 1rem 1.25rem;
  background: var(--accent-tint); border-radius: 0.5rem;
}
.hero__note .icon { color: var(--accent); width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; }
.ticket__case { font-weight: 700; margin-bottom: 0.5rem; }
.receipt { width: 100%; border-collapse: collapse; margin: 0.25rem 0 1rem; font-variant-numeric: tabular-nums; }
.receipt th { text-align: left; font-weight: 400; padding: 0.45rem 0; }
.receipt td { text-align: right; padding: 0.45rem 0 0.45rem 1rem; white-space: nowrap; }
.receipt tbody tr + tr > * { border-top: 1px dashed var(--line); }
.receipt tfoot > tr > * { font-size: var(--step-1); font-weight: 800; border-top: 3px double var(--ink); padding-top: 0.6rem; }
.ticket__alt { padding-top: 1rem; border-top: 1px solid var(--rule); }

/* ------------------------------------------------------------ problem cabinet */
.problem-grid {
  list-style: none; margin: 1.75rem 1px 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.problem-grid > li { background: var(--paper); outline: 2px solid var(--ink); outline-offset: -1px; }
.problem { display: flex; align-items: flex-start; gap: 1rem; height: 100%; padding: 1.15rem 1.25rem; color: var(--ink); text-decoration: none; }
a.problem:hover { background: var(--bench); color: var(--ink); }
a.problem:hover .problem__title { text-decoration-thickness: 0.16em; }
a.problem:focus-visible { outline: 4px solid var(--accent); outline-offset: -6px; }
.problem__icon {
  display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem;
  color: var(--accent); background: var(--accent-tint); border-radius: 0.5rem;
}
.problem__icon .icon { width: 1.6rem; height: 1.6rem; }
.problem__title {
  display: block; margin: 0; font-weight: 700; line-height: 1.3; color: var(--accent);
  text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em;
}
.problem--unsure .problem__title { color: var(--ink); text-decoration: none; }
.problem__hint { display: block; margin: 0.3rem 0 0; font-size: var(--step--1); color: var(--ink-2); }
.problem--unsure { background: var(--accent-tint) !important; }
.problem--unsure p { margin: 0; }
.problem--unsure p + p { margin-top: 0.4rem; }
.problem--unsure a { font-weight: 700; }

/* ------------------------------------------------------------ options (home visit vs bring in) */
.options { display: grid; gap: 1.5rem; margin-top: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.option { padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); }
.option h3 { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.5rem; font-size: var(--step-2); }
.option h3 .icon { color: var(--accent); width: 1.3em; height: 1.3em; }
.option > :last-child { margin-bottom: 0; }
.option__lead { font-size: var(--step-0); }
.big-price { font-size: var(--step-3); font-weight: 800; line-height: 1.1; margin: 0.25rem 0 0.75rem; }
.example { padding: 0.75rem 1rem; background: var(--bench); border-radius: 0.4rem; }
.facts { margin: 1.25rem 0; }
.facts > div { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr); gap: 0.25rem 1.25rem; padding: 0.75rem 0; border-top: 1px solid var(--rule); }
.facts > div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
@media (max-width: 34em) { .facts > div { grid-template-columns: minmax(0, 1fr); } }
.facts--boxed { padding: 0.25rem 1.5rem; margin: 0; background: var(--bench); border: 2px solid var(--ink); border-radius: var(--radius); }
.facts--boxed > div { grid-template-columns: minmax(0, 1fr); }
.facts--boxed > div:first-child { border-top: 0; }
.facts--boxed > div:last-child { border-bottom: 0; }
.facts--contact dt { display: flex; align-items: center; gap: 0.5rem; }
.facts--contact dt .icon { color: var(--accent); }

/* ------------------------------------------------------------ process: circuit trace with vias */
.trace { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; }
.trace__step { position: relative; padding: 0 0 2rem 3.75rem; }
.trace__step::before {
  content: ""; position: absolute; left: 1.25rem; top: 2.5rem; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--accent);
}
.trace__step:last-child { padding-bottom: 0; }
.trace__step:last-child::before { display: none; }
.trace__via {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  font-size: 1.125rem; font-weight: 800; color: var(--accent); background: var(--paper);
  border: 3px solid var(--accent); border-radius: 50%;
}
.trace__step h3 { margin: 0.35rem 0 0.35rem; }
.trace__step p { margin: 0; }
@media (min-width: 64em) {
  .trace { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
  .trace__step { padding: 3.5rem 0 0; }
  .trace__step::before { left: 2.5rem; right: -2.5rem; top: 1.25rem; bottom: auto; width: auto; height: 3px; margin: -1.5px 0 0; }
}
.teaser {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 2px solid var(--ink);
}
.teaser > .icon { width: 2rem; height: 2rem; color: var(--accent); }
.teaser p { margin: 0; flex: 1 1 18rem; font-size: var(--step-1); font-weight: 700; }

.about-grid { display: grid; gap: 2rem 4rem; align-items: start; }
@media (min-width: 60em) { .about-grid { grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 1fr); } }
.about-grid .prose > h2:first-child { margin-top: 0; }

/* ------------------------------------------------------------ notes */
.note { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.25rem; margin-block: 1.25rem; background: var(--accent-tint); border: 2px solid var(--accent); border-radius: 0.5rem; }
.note > .icon { flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; color: var(--accent); }
.note p { margin: 0; }
.note p + p { margin-top: 0.75em; }
.note--warn { background: var(--warn-tint); border-color: var(--warn-line); }
.note--warn > .icon { color: var(--warn); }
.note--wide h2 { font-size: var(--step-2); margin: 0 0 0.5rem; }
.stop { margin-block: 1.5rem; padding: 1rem 1.25rem; background: var(--stop-tint); border: 2px solid var(--stop); border-radius: 0.5rem; }
.stop h2 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; font-size: var(--step-1); color: var(--stop); }
.stop .bullets { margin-bottom: 0; }

/* ------------------------------------------------------------ lists */
.bullets { padding-left: 1.3em; margin: 0.75rem 0 1rem; }
.bullets li { margin-block: 0.4rem; padding-left: 0.2em; }
.bullets li::marker { color: var(--accent); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 1.25rem; display: grid; gap: 0.85rem; }
.steps > li { counter-increment: step; position: relative; padding-left: 2.85rem; min-height: 2rem; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: -0.05rem; display: grid; place-items: center;
  width: 2rem; height: 2rem; font-size: 1.0625rem; font-weight: 800; color: var(--accent);
  border: 2px solid var(--accent); border-radius: 50%;
}
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .icon { color: var(--ok); width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; }
.link-list { list-style: none; padding: 0; margin: 0.75rem 0 0; border-top: 2px solid var(--ink); }
.link-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); max-width: none; }
.link-list a { font-weight: 700; }
.link-list__meta { color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.url-list { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 2px solid var(--ink); }
.url-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); max-width: none; }
.url-list code { color: var(--ink-2); overflow-wrap: anywhere; }
.guide-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.guide-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); max-width: none; }
.guide-list h3 { margin: 0 0 0.35rem; }
.guide-list p { margin: 0; }
.file-link { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; font-weight: 700; }
.file-link .icon { color: var(--accent); width: 1.5rem; height: 1.5rem; }
.file-link .fine { font-weight: 400; }

/* ------------------------------------------------------------ pricing */
.price-columns { display: grid; gap: 2.5rem 3.5rem; margin-top: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.price-group h3 { margin: 0; padding-bottom: 0.5rem; font-size: var(--step-2); border-bottom: 3px solid var(--ink); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0.2rem 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); max-width: none; }
.price-row__name { font-weight: 700; }
.price-row__price { font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-row__note { grid-column: 1 / -1; font-size: var(--step--1); color: var(--ink-2); }
@media (max-width: 26em) {
  .price-row { grid-template-columns: minmax(0, 1fr); }
  .price-row__price { text-align: left; }
}
.price-lines { margin: 0; }
.price-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--rule); }
.price-line:first-child { padding-top: 0; }
.price-line dt { font-weight: 400; }
.price-line dd { margin: 0; }
.price-line--group { border-bottom: 0; padding-bottom: 0; }
.price-line--group dt { font-weight: 700; }
.price { font-size: var(--step-2); font-weight: 800; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price--small { font-size: var(--step-0); white-space: normal; }
.price-lines--compact .price { font-size: var(--step-1); }
.conditions { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 0.6rem; }
.conditions li { display: flex; gap: 0.6rem; align-items: flex-start; }
.conditions .icon { color: var(--accent); margin-top: 0.2em; }
.approval { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.75rem 1rem; font-weight: 700; background: var(--ok-tint); border-radius: 0.4rem; }
.approval .icon { color: var(--ok); margin-top: 0.15em; }

/* ------------------------------------------------------------ service and guide pages */
.service { display: grid; gap: 1.5rem 3.5rem; padding-block: 1.5rem 1rem; }
@media (min-width: 60em) {
  .service { grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem); grid-template-areas: "head price" "body price"; align-items: start; }
  .service__head { grid-area: head; }
  .service__price { grid-area: price; }
  .service__body { grid-area: body; }
}
.details { display: grid; gap: 0.5rem 2rem; margin-top: 1.5rem; }
.detail h2 { font-size: var(--step-2); margin: 1rem 0 0.25rem; }
.after-article { padding-bottom: var(--band); }
.related-grid { display: grid; gap: 2rem 3.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.related h2 { font-size: var(--step-2); margin: 0; }
.contact-box { margin-block: 2.5rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); background: var(--bench); border: 2px solid var(--ink); border-radius: var(--radius); }
.contact-box h2 { font-size: var(--step-2); margin-top: 0; }
.contact-box > :last-child { margin-bottom: 0; }
.guide { padding-block: 1.5rem var(--band); }
.guide__grid { display: grid; gap: 2rem 3.5rem; margin-top: 1.5rem; }
@media (min-width: 60em) { .guide__grid { grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem); align-items: start; } }
.guide__main > h2 { margin-top: 1.75em; }
.quick { margin-bottom: 1.5rem; }
.quick .steps { margin: 0; }

/* ------------------------------------------------------------ contact and forms */
.contact-grid { display: grid; gap: 2.5rem 4rem; padding-bottom: var(--band); }
@media (min-width: 60em) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }
.phone-big { margin: 0 0 0.5rem; font-size: var(--step-4); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.phone-big a { text-decoration: none; color: var(--ink); }
.phone-big a:hover { text-decoration: underline; }
.contact-form-wrap h2 { margin-top: 0; }
.form { display: grid; gap: 1.5rem; max-width: 38rem; }
.field { display: grid; gap: 0.4rem; }
.field-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1rem; }
.field-group legend { padding: 0; margin-bottom: 0.25rem; }
label, legend { font-weight: 700; }
.field__hint { margin: 0; font-size: var(--step--1); color: var(--ink-2); }
.field__error { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0; font-weight: 700; color: var(--stop); }
.field__error .icon { margin-top: 0.15em; }
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], input[type="date"], input[type="number"], textarea, select {
  width: 100%; min-height: 3rem; padding: 0.6rem 0.75rem;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: 0.4rem;
}
textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: 3px solid var(--focus); outline-offset: 2px; }
/* Chrome gives the date field a separate calendar button tab stop; give it the same focus ring. */
input[type="date"]::-webkit-calendar-picker-indicator { padding: 0.35rem; border-radius: 0.25rem; cursor: pointer; }
input[type="date"]::-webkit-calendar-picker-indicator:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--stop); border-width: 3px; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; }
.check input { width: 1.5rem; height: 1.5rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--accent); }
.check label { font-weight: 400; }
.error-summary { padding: 1rem 1.25rem; background: var(--stop-tint); border: 3px solid var(--stop); border-radius: 0.5rem; }
.error-summary h3 { margin: 0 0 0.5rem; color: var(--stop); font-size: var(--step-1); }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: var(--stop); font-weight: 700; }
.form-success { padding: 1.25rem 1.5rem; background: var(--ok-tint); border: 2px solid var(--ok); border-radius: var(--radius); }
.form-success h3 { display: flex; align-items: center; gap: 0.5rem; margin-top: 0; color: var(--ok); }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--bench); border-top: 3px solid var(--ink); }
.footer-grid { display: grid; gap: 2rem 3rem; padding-block: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.site-footer h2 { font-size: var(--step-1); margin: 0 0 0.75rem; }
.site-footer p { margin: 0 0 0.6rem; }
.footer-phone a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; font-size: var(--step-2); font-weight: 800; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding-block: 0.4rem; }
.hours { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 1rem; margin: 0 0 0.75rem; }
.hours > div { display: contents; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.statusbar { color: #fff; background: var(--ink); font-size: var(--step--1); }
.statusbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 2rem; padding-block: 0.7rem; }
.statusbar p { margin: 0; }

/* ------------------------------------------------------------ repair tracking */
.tracking { padding-bottom: var(--band); }
.tracking > * { max-width: 50rem; }
.demo-flag { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.6rem 0.9rem; margin: 0 0 1.5rem; font-size: var(--step--1); border: 2px dashed var(--line); border-radius: 0.4rem; max-width: none; }
.demo-flag .icon { margin-top: 0.15em; color: var(--ink-2); }
.panel { padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); }
.panel > h2:first-child { margin-top: 0; font-size: var(--step-2); }
.panel > :last-child { margin-bottom: 0; }
.input-code { font-family: var(--mono); font-size: var(--step-1); letter-spacing: 0.08em; max-width: 16rem; }
.loading { display: flex; align-items: center; gap: 1rem; padding: 2rem 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); font-weight: 700; }
.loading__bar { position: relative; flex: none; width: 3rem; height: 0.5rem; overflow: hidden; background: var(--bench-2); border-radius: 0.25rem; }
.loading__bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent); border-radius: 0.25rem; animation: slide 1.1s ease-in-out infinite alternate; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(150%); } }
@media (prefers-reduced-motion: reduce) { .loading__bar::after { animation: none; width: 100%; opacity: 0.6; } }
.problem-state { border-color: var(--stop); }
.problem-state > h2 { display: flex; align-items: center; gap: 0.6rem; color: var(--stop); }
.sms { margin: 0 0 1.5rem; padding: 1rem 1.25rem; max-width: 36rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 1.1rem 1.1rem 1.1rem 0.25rem; }
.sms__label { display: inline-flex; gap: 0.4rem; align-items: center; margin: 0 0 0.5rem; padding: 0.1rem 0.55rem; font-size: var(--step--1); font-weight: 700; color: var(--warn); background: var(--warn-tint); border-radius: 0.3rem; }
.sms__text { margin: 0.25rem 0 0.5rem; }
.sms__from { margin: 0; font-weight: 700; }
.sms .ref { white-space: normal; }

.repair { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); }
.repair__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; padding: 0.6rem 1rem; font-weight: 700; background: var(--bench); border-bottom: 2px solid var(--ink); border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; }
.repair__bar p { margin: 0; }
.repair__device { font-weight: 400; color: var(--ink-2); }
.repair__body { padding: clamp(1rem, 0.8rem + 1vw, 1.75rem); }
.repair__body > :last-child { margin-bottom: 0; }
.status { display: flex; gap: 1rem; align-items: flex-start; margin: 0 0 1.25rem; padding: 1rem 1.25rem; border: 2px solid; border-radius: 0.5rem; }
.status__icon { flex: none; width: 2.5rem; height: 2.5rem; margin-top: 0.2rem; }
.status__label { margin: 0; font-size: var(--step--1); font-weight: 700; color: var(--ink-2); }
.status :is(h2, h4) { margin: 0.1rem 0 0; font-size: var(--step-3); line-height: 1.1; }
.status--action { background: var(--warn-tint); border-color: var(--warn-line); }
.status--action .status__icon { color: var(--warn); }
.status--ok { background: var(--ok-tint); border-color: var(--ok); }
.status--ok .status__icon { color: var(--ok); }
.status--stop { background: var(--stop-tint); border-color: var(--stop); }
.status--stop .status__icon { color: var(--stop); }
.status--info { background: var(--accent-tint); border-color: var(--accent); }
.status--info .status__icon { color: var(--accent); }
.status--neutral { background: var(--bench); border-color: var(--line); }
.status--neutral .status__icon { color: var(--ink-2); }
.repair__explain { font-size: var(--step-1); line-height: 1.5; }
.repair__facts { margin: 1.25rem 0; }
.repair__facts > div { display: grid; grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr); gap: 0.25rem 1.25rem; padding: 0.8rem 0; border-top: 1px solid var(--rule); }
.repair__facts > div:last-child { border-bottom: 1px solid var(--rule); }
.repair__facts dt { font-weight: 700; }
.repair__facts dd { margin: 0; }
@media (max-width: 38em) { .repair__facts > div { grid-template-columns: minmax(0, 1fr); } }
.action-box { margin: 1.5rem 0; padding: 1.25rem; background: var(--warn-tint); border: 2px solid var(--warn-line); border-radius: 0.5rem; }
.action-box :is(h3, h5) { margin-top: 0; font-size: var(--step-1); }
.action-box .price { display: block; margin: 0.25rem 0 0.5rem; }
.action-box .actions { margin-bottom: 0.25rem; }
.confirm { margin-top: 1rem; padding: 1rem 1.25rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 0.5rem; }
.confirm p { font-weight: 700; }
.collect { margin: 1.5rem 0; }
.collect :is(h3, h5) { font-size: var(--step-1); }
.collect .steps { margin-bottom: 0.5rem; }
.amount-due { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; margin: 1rem 0; padding: 0.75rem 1rem; background: var(--bench); border-radius: 0.4rem; }
.amount-due strong { font-size: var(--step-2); font-weight: 800; font-variant-numeric: tabular-nums; }
.journey :is(h3, h5), .history :is(h3, h5) { font-size: var(--step-1); margin: 2rem 0 0.75rem; }
.journey__steps { list-style: none; margin: 0; padding: 0; }
.jstep { position: relative; min-height: 3rem; padding: 0.15rem 0 1.25rem 3.25rem; max-width: none; }
.jstep::before { content: ""; position: absolute; left: 1rem; top: 2.1rem; bottom: -0.1rem; width: 3px; margin-left: -1.5px; background: var(--accent); }
.jstep:last-child { padding-bottom: 0; }
.jstep:last-child::before { display: none; }
.jstep--current::before, .jstep--todo::before { background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 11px); }
.jstep__via { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 3px solid var(--accent); background: var(--paper); color: #fff; }
.jstep__via .icon { width: 1.1rem; height: 1.1rem; stroke-width: 3; }
.jstep--done .jstep__via { background: var(--accent); }
.jstep--current .jstep__via { background: var(--paper); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--accent); }
.jstep--current .jstep__via::after { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--accent); }
.jstep--todo .jstep__via { border-color: var(--line); }
.jstep--stopped .jstep__via { background: var(--stop); border-color: var(--stop); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--stop); }
.jstep--stopped .jstep__via::after { content: none; }
.jstep__label { display: block; font-weight: 700; }
.jstep--todo .jstep__label { font-weight: 400; color: var(--ink-2); }
.jstep__meta { display: block; font-size: var(--step--1); color: var(--ink-2); }
.jstep--current .jstep__meta { color: var(--ink); font-weight: 700; }
.history__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.history__list li { display: grid; gap: 0.2rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); max-width: none; }
.history__time { font-size: var(--step--1); font-weight: 700; color: var(--ink-2); }
.history__status { font-weight: 700; }
.history__list p { margin: 0; }
.repair__help { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.how { margin-top: 3rem; }
.how h2 { font-size: var(--step-2); }
.demo-panel { margin-top: 2.5rem; border: 2px dashed var(--line); border-radius: 0.5rem; }
.demo-panel summary { padding: 0.9rem 1.25rem; min-height: 3rem; font-weight: 700; cursor: pointer; }
.demo-panel__body { padding: 0 1.25rem 1.25rem; }
.demo-panel__body ul { list-style: none; padding: 0; margin: 0.5rem 0 1rem; border-top: 1px solid var(--rule); }
.demo-panel__body li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); max-width: none; }
.badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.1rem 0.5rem; font-size: var(--step--1); font-weight: 700; line-height: 1.5; border: 2px solid; border-radius: 0.3rem; white-space: nowrap; }
.badge .icon { width: 1.05em; height: 1.05em; }
.badge--action { color: var(--warn); background: var(--warn-tint); border-color: var(--warn-line); }
.badge--ok { color: var(--ok); background: var(--ok-tint); border-color: var(--ok); }
.badge--stop { color: var(--stop); background: var(--stop-tint); border-color: var(--stop); }
.badge--info { color: var(--accent); background: var(--accent-tint); border-color: var(--accent); }
.badge--neutral { color: var(--ink-2); background: var(--bench); border-color: var(--line); }

/* ------------------------------------------------------------ staff demo */
.staff { padding-bottom: var(--band); }
.staff__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (min-width: 64em) { .staff__grid { grid-template-columns: minmax(17rem, 23rem) minmax(0, 1fr); } }
.staff h2 { font-size: var(--step-2); margin-top: 0; }
.staff h3 { font-size: var(--step-1); }
.repair-list { list-style: none; margin: 1rem 0 1.5rem; padding: 0; border-top: 2px solid var(--ink); }
.repair-list li { max-width: none; }
.repair-item {
  display: grid; gap: 0.15rem; width: 100%; min-height: 3rem; padding: 0.75rem 0.75rem 0.85rem 1rem;
  font: inherit; text-align: left; color: var(--ink); background: var(--paper);
  border: 0; border-bottom: 1px solid var(--rule); cursor: pointer;
}
.repair-item:hover { background: var(--bench); }
.repair-item[aria-current="true"] { background: var(--accent-tint); box-shadow: inset 5px 0 0 var(--accent); }
.repair-item:focus-visible { outline-offset: -3px; }
.repair-item__who { font-weight: 700; }
.repair-item__device { color: var(--ink-2); font-size: var(--step--1); }
.repair-item .badge { justify-self: start; margin-top: 0.25rem; }
.staff__detail > * + * { margin-top: 2rem; }
.staff__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 90em) { .staff__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.staff-form { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border: 2px solid var(--ink); border-radius: var(--radius); }
.staff-form h3 { margin: 0; }
.staff-form--internal { background: var(--bench); border-style: dashed; }
.note-list { list-style: none; margin: 0.5rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.note-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); max-width: none; }
.note-list p { margin: 0; }
.note-list .history__time { display: block; }
.preview { padding: 1rem; background: var(--bench); border: 2px dashed var(--line); border-radius: var(--radius); }
.preview > h2 { margin-bottom: 0.25rem; }
.saved { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.75rem 1rem; font-weight: 700; color: var(--ok); background: var(--ok-tint); border: 2px solid var(--ok); border-radius: 0.4rem; }
.saved .icon { margin-top: 0.15em; }

@media print {
  .demo-bar, .site-nav, .nav-toggle, .skip-link, .demo-panel { display: none !important; }
  .band--bench { background: none; }
}
