:root { --accent: #0062d6; }
/* Wetrooms landing sites. One stylesheet for every site; --accent is written above per site at build time. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f6f4f0;
  --surface: #ffffff;
  --alt: #eeeae3;
  --ink: #17140f;
  --muted: #5d5851;
  --line: #dcd5ca;
  --dark: color-mix(in srgb, var(--accent) 24%, #0f0d0b);
  /* Neutrals above are the default warm set; a site can override them via settings.theme. */
  --accent-soft: color-mix(in srgb, var(--accent) 12%, #ffffff);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: none;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: 16px;
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 0.18em; }

h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 3.6vw + 1.1rem, 3.8rem); font-weight: 600; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.7rem, 1.8vw + 1.1rem, 2.5rem); font-weight: 600; letter-spacing: -0.035em; }
h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container, 1180px); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 20;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Labels: small upper-case monospace, like a column heading */
.eyebrow {
  margin-bottom: 1rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.7rem 1.2rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: 0.9375rem; font-weight: 550; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 84%, #000); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); }
.btn--outline-light { border-color: rgb(255 255 255 / 40%); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }
.btn--small { min-height: 36px; padding: 0.45rem 0.9rem; font-size: 0.875rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--spaced { margin-top: 1.5rem; }

/* Command box: a dark strip with a monospace line, used for the phone number */
.cmd { margin-top: 1.75rem; }
.cmd__label {
  display: block; margin-bottom: 0.6rem;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.cmd__box {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.8rem;
  padding: 14px 18px; background: var(--dark); color: #fff; border-radius: var(--radius);
  font-family: var(--mono); font-size: 0.9375rem; text-decoration: none;
}
.cmd__box:hover { background: color-mix(in srgb, var(--dark) 88%, #fff); }
.cmd__prompt { color: color-mix(in srgb, var(--accent) 45%, #fff); }
.cmd__hint { color: rgb(255 255 255 / 55%); font-size: 0.8125rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__logo { height: 34px; width: auto; flex: none; }
.brand__tagline { color: var(--muted); font-family: var(--mono); font-size: 0.75rem; line-height: 1.3; }
.brand__tagline::before { content: "/"; margin-right: 12px; color: var(--line); }

.site-nav { display: none; gap: 24px; }
.site-nav a { color: var(--muted); font-size: 0.875rem; font-weight: 450; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: none; flex-direction: column; align-items: flex-end; line-height: 1.25; text-decoration: none; }
.header-phone__label { font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); }
.header-phone__number { font-family: var(--mono); font-size: 0.9375rem; font-weight: 600; }

@media (min-width: 760px) {
  .header-phone { display: flex; }
  .brand__logo { height: 38px; }
}
@media (min-width: 1080px) {
  .site-nav { display: flex; }
}
@media (max-width: 479px) {
  .brand__tagline { display: none; }
}

/* Hero */
.hero { padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero__intro {
  margin-top: 1.4rem; max-width: 38rem;
  color: var(--muted); font-size: clamp(1.125rem, 0.6vw + 1rem, 1.375rem); line-height: 1.5; letter-spacing: -0.01em;
}
.hero .actions { margin-top: 1.9rem; }
.hero__note { margin-top: 1.1rem; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.01em; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero__media img { aspect-ratio: 1 / 1; }
}

.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}
.facts__item { display: flex; flex-direction: column; gap: 8px; }
.facts dt {
  color: var(--muted); font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.06em; line-height: 1.4; text-transform: uppercase;
}
.facts dd { margin: auto 0 0; font-size: clamp(1.3rem, 1vw + 1rem, 1.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }

@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--alt { background: var(--alt); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__intro { margin-top: 1rem; color: var(--muted); font-size: 1.0625rem; }
.section__intro p + p { margin-top: 0.75rem; }
.section__intro strong { color: var(--ink); font-weight: 600; }

.prose { margin-top: 1.25rem; color: var(--muted); font-size: 1.0625rem; }
.prose > * + * { margin-top: 1rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 0; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.5rem; }
.prose li + li { margin-top: 0.55rem; }
.prose li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-family: var(--mono); font-size: 0.875rem;
}
.prose a, .faq__answer a { color: var(--accent); font-weight: 550; }

/* Text + image */
.split { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split__media img { aspect-ratio: 1 / 1; }
  .split--image-left .split__media { order: -1; }
}

/* Diagrams and drawings: never crop, show the whole image */
.media--contain img { aspect-ratio: auto; object-fit: contain; background: var(--surface); border: 1px solid var(--line); }

/* Features: a numbered index, each item under a hairline */
.feature-grid { display: grid; gap: 32px 28px; margin: 0; padding: 0; list-style: none; counter-reset: feature; }
.feature { counter-increment: feature; padding-top: 18px; border-top: 1px solid var(--line); }
.feature h3::before {
  content: counter(feature, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  color: var(--muted); font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em;
}
.feature p { margin-top: 0.5rem; color: var(--muted); font-size: 0.9375rem; }

@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Cards */
.card-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card__image { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: #fff; border-bottom: 1px solid var(--line); }
.card__body { padding: 16px 18px 20px; }
.card__body h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 1rem; }
.card__body p { margin-top: 0.4rem; color: var(--muted); font-size: 0.9375rem; }
.card__body .card__link { margin-top: 0.9rem; }
.card__link a { color: var(--accent); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; text-decoration: none; }
.card__link a::after { content: " →"; }
.badge { color: var(--muted); font-family: var(--mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0; text-transform: lowercase; }

@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 880px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Short rows fill the width: two cards take two columns, three take three */
@media (min-width: 880px) { .card-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .card-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Steps */
.steps { display: grid; gap: 32px 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.step::before {
  content: "Step " counter(step, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  color: var(--accent); font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.step p { margin-top: 0.5rem; color: var(--muted); font-size: 0.9375rem; }

@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Table: an open list, hairline rows, monospace figures */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 15px 20px 15px 0; text-align: left; vertical-align: baseline; }
thead th {
  padding-block: 0 12px; color: var(--muted); border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
tbody tr { border-bottom: 1px solid var(--line); }
tbody th { font-weight: 600; }
tbody td { color: var(--muted); }
tbody td.num { color: var(--ink); font-family: var(--mono); font-size: 0.875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-note { margin-top: 1rem; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; line-height: 1.6; }

@media (max-width: 719px) {
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  table, tbody, tr, th, td { display: block; }
  tbody tr { padding: 14px 0; }
  tbody th { padding: 0 0 8px; font-size: 1rem; }
  tbody td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; }
  tbody td::before { content: attr(data-label); color: var(--muted); font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 550;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; color: var(--muted); font-family: var(--mono); font-size: 1rem; font-weight: 400; }
.faq__item[open] summary::after { content: "−"; }
.faq__answer { padding: 0 0 20px; color: var(--muted); max-width: 44rem; }

/* CTA band */
.cta { padding-block: clamp(3rem, 6vw, 4.75rem); background: var(--dark); color: #fff; }
.cta__inner { display: grid; gap: 28px; align-items: center; }
.cta :focus-visible { outline-color: #fff; }
.cta h2 { color: #fff; }
.cta p { margin-top: 0.75rem; color: rgb(255 255 255 / 70%); max-width: 38rem; }

@media (min-width: 900px) {
  .cta__inner { grid-template-columns: 1fr auto; gap: 48px; }
}

/* Section "more" link */
.section__more { margin-top: 2rem; }
.section__more a { color: var(--accent); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; text-decoration: none; }
.section__more a::after { content: " →"; }

/* Sub-page header with breadcrumbs */
.page-head { padding-block: clamp(2rem, 4vw, 3.25rem); background: var(--alt); }
.page-head h1 { font-size: clamp(2rem, 2.6vw + 1rem, 3.2rem); }
.page-head__intro { margin-top: 1rem; max-width: 44rem; color: var(--muted); font-size: 1.125rem; line-height: 1.5; }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.25rem; padding: 0; list-style: none;
  color: var(--muted); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Product: image plus a spec card that stays in view */
.product { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.product__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.product__info h2 { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem); }
.product__info .prose { margin-top: 1rem; font-size: 1rem; }
.product__specs { margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.product__specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.product__specs dt { color: var(--muted); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.product__specs dd { margin: 0; font-family: var(--mono); font-size: 0.875rem; text-align: right; }
.product__cta { width: 100%; margin-top: 1.5rem; }
.product__note { margin-top: 0.8rem; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; }
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .product__info { position: sticky; top: 104px; }
}

/* Footer */
.site-footer { padding-block: 3rem 2rem; background: var(--alt); color: var(--muted); font-size: 0.9375rem; }
.site-footer__grid { display: grid; gap: 2rem; }
.site-footer__grid p + p { margin-top: 0.75rem; }
.site-footer__logo { height: 34px; width: auto; margin-bottom: 1.1rem; }
.site-footer__heading {
  margin-bottom: 0.9rem; color: var(--ink);
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__contact a { font-family: var(--mono); font-weight: 600; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.75rem; }
.site-footer__legal p + p { margin-top: 0.4rem; }

@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
}

/* Design: guide. A technical manual: serif reading text, numbered chapters, figures, contents. */

.design-guide {
  --container: 1000px;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", Georgia, serif;
  --radius: 6px;
  background: var(--surface);
  counter-reset: figure;
}
.design-guide h1,
.design-guide h2,
.design-guide h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; }

/* Masthead: centred, not sticky, no menu (the contents list does that job) */
html:has(.design-guide) { scroll-padding-top: 24px; }
.masthead { padding-block: 1.75rem 1.25rem; border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; text-align: center; }
.masthead__brand { display: inline-flex; }
.masthead__logo { height: 40px; width: auto; }
.masthead__tagline { color: var(--muted); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* Title page */
.guide-hero { padding-block: clamp(2.5rem, 6vw, 5rem) 0; }
.guide-hero__inner { max-width: 820px; text-align: center; }
.guide-hero h1 { font-size: clamp(2.4rem, 4.2vw + 1rem, 4rem); line-height: 1.05; }
.guide-hero__meta { margin-top: 1.1rem; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.guide-hero__intro {
  max-width: 40rem; margin: 1.4rem auto 0;
  color: var(--muted); font-family: var(--serif); font-size: clamp(1.125rem, 0.5vw + 1rem, 1.3rem); line-height: 1.6;
}
.guide-hero .actions { justify-content: center; align-items: center; margin-top: 1.8rem; }
.guide-hero__note { margin-top: 0.9rem; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; }
.guide-hero__figure { max-width: 720px; margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.guide-hero__points { max-width: 900px; margin-top: 1.5rem; }
.guide-phone { color: var(--muted); font-family: var(--mono); font-size: 0.875rem; }

/* Figures, numbered automatically */
.fig { margin: 2rem 0 0; }
.fig img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fig figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
.fig figcaption::before {
  counter-increment: figure; content: "Fig. " counter(figure); margin-right: 0.7em;
  color: var(--ink); font-family: var(--mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.fig-grid { display: grid; gap: 24px; margin-top: 1.5rem; }
.fig-grid .fig { margin: 0; }
@media (min-width: 640px) { .fig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Key points under the title figure: ruled rows, figure on the left, meaning on the right */
.key-points__title { margin-bottom: 0.8rem; color: var(--ink); font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.key-points dl { margin: 0; border-top: 1px solid var(--ink); }
.key-points dl > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.key-points dt { font-family: var(--mono); font-size: 0.875rem; font-weight: 600; }
.key-points dd { margin: 0; color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 640px) { .key-points dl > div { grid-template-columns: 12rem minmax(0, 1fr); gap: 20px; } }

/* Contents + reading column */
.guide { display: grid; gap: 0 56px; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.guide__toc { font-size: 0.875rem; }
.guide__toc-title { margin-bottom: 0.6rem; color: var(--ink); font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.guide__toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.guide__toc li { border-bottom: 1px solid var(--line); }
.guide__toc a { display: flex; gap: 12px; padding: 9px 0; color: var(--ink); text-decoration: none; line-height: 1.35; }
.guide__toc a:hover { color: var(--accent); }
.guide__toc-num { flex: none; min-width: 1.7em; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; line-height: 1.8; font-variant-numeric: tabular-nums; }
.guide__main { max-width: 680px; min-width: 0; }

@media (min-width: 1000px) {
  .guide { grid-template-columns: 220px minmax(0, 1fr); gap: 0 48px; }
  .guide__toc { position: sticky; top: 24px; align-self: start; }
}

/* Chapters */
.chapter { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.guide__main > .chapter:first-child { margin-top: 1.5rem; }
@media (min-width: 1000px) { .guide__main > .chapter:first-child { margin-top: 0; padding-top: 0; border-top: 0; } }
.chapter__head { display: flex; align-items: flex-start; gap: 18px; }
.chapter__num {
  flex: none; margin-top: 0.3rem; padding: 3px 7px;
  border: 1px solid var(--accent); border-radius: 4px; color: var(--accent);
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums;
}
.chapter__head .eyebrow { margin-bottom: 0.35rem; }
.chapter h2 { font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.2rem); }
.chapter__intro,
.chapter__body { margin-top: 1.2rem; font-family: var(--serif); font-size: 1.125rem; line-height: 1.7; }
.chapter__intro > * + *,
.chapter__body > * + * { margin-top: 1rem; }
.chapter__body ul { padding-left: 1.2rem; }
.chapter__body li + li { margin-top: 0.4rem; }
.chapter__body a, .qa a, .fig figcaption a { color: var(--accent); }
.guide-link { color: var(--accent); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; text-decoration: none; }
.guide-link:hover { text-decoration: underline; }

/* Checklist */
.checklist { margin: 1.5rem 0 0; padding: 0; list-style: none; font-family: var(--serif); font-size: 1.0625rem; line-height: 1.6; }
.checklist li { position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--line); }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 22px; height: 22px;
  border: 2px solid var(--accent); border-radius: 4px;
}
.checklist li::after {
  content: ""; position: absolute; left: 11px; top: 21px; width: 7px; height: 11px;
  border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

/* Steps: vertical, numbered, joined by a line */
.guide-steps { margin: 1.75rem 0 0; padding: 0; list-style: none; counter-reset: gstep; }
.guide-steps li { position: relative; padding: 0 0 1.75rem 60px; counter-increment: gstep; }
.guide-steps li::before {
  content: counter(gstep, decimal-leading-zero); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--accent); border-radius: 50%; background: var(--surface);
  color: var(--accent); font-family: var(--mono); font-size: 0.8125rem; font-weight: 600;
}
.guide-steps li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.guide-steps li:last-child { padding-bottom: 0; }
.guide-steps li:last-child::after { content: none; }
.guide-steps h3 { font-size: 1.2rem; padding-top: 6px; }
.guide-steps p { margin-top: 0.4rem; font-family: var(--serif); font-size: 1.0625rem; line-height: 1.65; color: var(--muted); }

/* Table: ruled top and bottom, like a printed manual */
.guide-table { margin: 1.5rem 0 0; }
.design-guide .table-wrap { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.design-guide thead th { padding-top: 12px; color: var(--ink); }
.design-guide tbody tr:last-child { border-bottom: 0; }
.guide-table__note { margin-top: 0.75rem; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; }

/* Questions and answers, all open */
.qa { margin: 1.5rem 0 0; }
.qa__item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.qa__item:first-child { border-top: 1px solid var(--line); }
.qa dt { font-family: var(--serif); font-size: 1.175rem; font-weight: 700; }
.qa dd { margin: 0.45rem 0 0; font-family: var(--serif); font-size: 1.0625rem; line-height: 1.65; color: var(--muted); }

/* Call to action: a dark command-style box inside the reading column */
.callout { margin-top: 3rem; padding: 28px 30px; background: var(--dark); color: #fff; border-radius: 8px; }
.callout h2 { color: #fff; font-size: 1.5rem; }
.callout > p:not(.actions) { margin-top: 0.6rem; color: rgb(255 255 255 / 70%); }
.callout .actions { margin-top: 1.25rem; align-items: center; }
.callout .btn--primary { background: #fff; color: var(--ink); }
.callout .btn--primary:hover { background: color-mix(in srgb, var(--accent) 14%, #fff); }
.callout .guide-phone { color: rgb(255 255 255 / 72%); }
.callout :focus-visible { outline-color: #fff; }

/* Footer: one centred paragraph and a fine-print line */
.site-footer--minimal { padding-block: 2.5rem; background: var(--surface); border-top: 1px solid var(--line); text-align: center; }
.site-footer--minimal .container { max-width: 760px; }
.site-footer--minimal a { color: var(--accent); }
.site-footer__fine { margin-top: 0.8rem; font-family: var(--mono); font-size: 0.75rem; }

:root { --bg: #f5f7fa; --alt: #e9eef5; --line: #d5dce7; --ink: #10141a; --muted: #525c6a;
}
