/* pianorental.uk — deliberately minimal. One column, one accent, no decoration.
   System fonts only: nothing external to fetch, nothing to block the render. */

:root {
  --ink: #141414;
  --ink-soft: #5b5b57;
  --ink-faint: #8d8d87;
  --bg: #fbfbf9;
  --bg-soft: #f3f2ee;
  --rule: #e2e1db;
  --accent: #8a5a2b;
  --measure: 34rem;
  --gap: clamp(3rem, 8vw, 5.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceae4;
    --ink-soft: #a8a6a0;
    --ink-faint: #77756f;
    --bg: #111110;
    --bg-soft: #1a1a18;
    --rule: #2b2b28;
    --accent: #c99a5e;
  }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(1rem, 0.97rem + 0.2vw, 1.0625rem)/1.65 ui-sans-serif, -apple-system,
        BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.wrap--wide { max-width: 52rem; }

section { padding-block: var(--gap); }
section + section { border-top: 1px solid var(--rule); }

/* ---------- type ---------- */

h1, h2, h3 {
  margin: 0 0 0.75em;
  line-height: 1.12;
  letter-spacing: -0.021em;
  font-weight: 560;
}

h1 { font-size: clamp(2.1rem, 1.55rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.75rem); }
h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.008em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: currentColor; }

small, .fine { font-size: 0.8125rem; line-height: 1.55; color: var(--ink-faint); }

/* ---------- the price block ---------- */

.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
}
.price b {
  font-size: clamp(2.6rem, 2rem + 3vw, 4rem);
  font-weight: 560;
  line-height: 1;
}
.price span { font-size: 1rem; color: var(--ink-soft); letter-spacing: 0; }

/* ---------- facts list: the whole offer, no prose ---------- */

.facts { margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.facts > div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.25rem 1.25rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--rule);
}
.facts dt { color: var(--ink-faint); font-size: 0.8125rem; padding-top: 0.15rem; }
.facts dd { margin: 0; }
@media (max-width: 30rem) {
  .facts > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* ---------- steps ---------- */

.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 1.6rem 2.5rem;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 0.1rem;
  width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-size: 0.75rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.steps b { font-weight: 600; display: block; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.6rem;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  font: inherit;
  font-weight: 560;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.86; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--block { width: 100%; }

/* ---------- forms ---------- */

label { display: block; margin-bottom: 1.15rem; }
label > span { display: block; font-size: 0.8125rem; color: var(--ink-soft); margin-bottom: 0.35rem; }

input, select, textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 0;
  font: inherit;
}
textarea { min-height: 6rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 30rem) { .row { grid-template-columns: 1fr; } }

.check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.check input { width: 1.05rem; min-height: 0; height: 1.05rem; margin-top: 0.35rem; }
.check span { margin: 0; font-size: 0.875rem; color: var(--ink-soft); }

fieldset { margin: 0 0 1.15rem; padding: 0; border: 0; }
legend { padding: 0; font-size: 0.8125rem; color: var(--ink-soft); margin-bottom: 0.35rem; }

/* ---------- notices ---------- */

.note {
  padding: 0.9rem 1.1rem;
  background: var(--bg-soft);
  border-left: 2px solid var(--accent);
  font-size: 0.9375rem;
}
.note[hidden] { display: none; }
.note--bad { border-left-color: #b3392a; }

.total {
  padding: 1.1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.5rem;
}
.total dl { margin: 0; }
.total div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.3rem; }
.total dt { color: var(--ink-soft); font-size: 0.9375rem; }
.total dd { margin: 0; font-variant-numeric: tabular-nums; }
.total .big dt, .total .big dd { font-weight: 600; color: var(--ink); font-size: 1.0625rem; }

/* ---------- header / footer ---------- */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--rule);
}
header.site a.brand {
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
header.site nav { display: flex; gap: 1.25rem; font-size: 0.875rem; }

footer.site {
  padding-block: 2.5rem 3.5rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-faint);
  font-size: 0.8125rem;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-bottom: 1.1rem; }

/* ---------- faq ---------- */

details { border-bottom: 1px solid var(--rule); padding-block: 1rem; }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 560; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--ink-faint); font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details > *:not(summary) { margin-top: 0.8rem; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
