/* MySpaRemote: dezelfde tokens als de app.
   Teal is wat de spa is, ember is wat hij nog moet worden. Die twee kleuren
   wisselen nergens van rol; dat maakt de boog leesbaar zonder legenda. */

:root {
  --water: #4fb3b0;
  --ember: #e8703a;

  --bg: #edf2f1;
  --surface: #ffffff;
  --surface-high: #dce7e6;
  --text: #0e2a30;
  --muted: #5c7377;
  --line: rgba(92, 115, 119, 0.18);

  --measure: 62ch;
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1f24;
    --surface: #123039;
    --surface-high: #1a424e;
    --text: #e6f0ef;
    --muted: #89a3a6;
    --line: rgba(137, 163, 166, 0.2);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------ kop */

header.site {
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: block;
}

.brand strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ----------------------------------------------------------------- hero */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  padding: 32px 0 72px;
}

@media (min-width: 820px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin: 0 0 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--water);
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: var(--measure);
  margin: 0 0 28px;
}

.arc-card {
  background: var(--surface);
  border-radius: 26px;
  padding: 30px;
  display: grid;
  place-items: center;
}

.arc {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

.arc .track { stroke: var(--surface-high); }
.arc .fill { stroke: var(--water); }
.arc .tick { stroke: var(--ember); }
.arc .value { fill: var(--text); }
.arc .unit,
.arc .caption { fill: var(--muted); }
.arc .caption.heating { fill: var(--ember); }

/* --------------------------------------------------------------- knoppen */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  background: var(--water);
  color: #06251f;
  border: 1px solid transparent;
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.note {
  font-size: 0.87rem;
  color: var(--muted);
}

/* -------------------------------------------------------------- secties */

section { padding: 56px 0; border-top: 1px solid var(--line); }

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.section-lede {
  color: var(--muted);
  max-width: var(--measure);
  margin: 0 0 36px;
}

.points {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .points { grid-template-columns: repeat(3, 1fr); }
}

.point {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
}

.point h3 {
  font-size: 1.03rem;
  margin: 0 0 8px;
  font-weight: 600;
}

.point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* De streep bovenaan een punt gebruikt dezelfde kleurcodering als de app. */
.point::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--water);
  margin-bottom: 16px;
}

.point.warm::before { background: var(--ember); }

/* ---------------------------------------------------------- schermbeelden */

.shots {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.shots figure { margin: 0; }

.shots img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.shots figcaption {
  margin-top: 10px;
  font-size: 0.87rem;
  color: var(--muted);
}

/* -------------------------------------------------------------- artikel */

.doc { padding: 24px 0 72px; }

.doc h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.doc .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 40px;
}

.doc h2 {
  margin: 40px 0 10px;
  font-size: 1.2rem;
}

.doc p,
.doc li {
  max-width: var(--measure);
  color: var(--text);
}

.doc li { margin-bottom: 8px; }

.doc a { color: var(--water); }

.callout {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 22px;
  border-left: 3px solid var(--water);
  max-width: var(--measure);
}

.callout p { margin: 0; }

dl.facts { max-width: var(--measure); }
dl.facts dt { font-weight: 600; margin-top: 18px; }
dl.facts dd { margin: 4px 0 0; color: var(--muted); }

/* --------------------------------------------------------------- voet */

footer.site {
  border-top: 1px solid var(--line);
  padding: 32px 0 56px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

footer.site a { color: var(--text); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .arc .fill { transition: stroke-dashoffset 0.6s ease; }
}
