@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url('fonts/Inter-400Regular.ttf') format('truetype'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url('fonts/Inter-500Medium.ttf') format('truetype'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url('fonts/Inter-600SemiBold.ttf') format('truetype'); }
:root {
  --page: #F5F3EC;
  --surface: #FFFFFF;
  --line: #E4DFD1;
  --ink: #1B1E1A;
  --muted: #6B6757;
  --green: #1D4A38;
  --green-soft: #345C4C;
  --accent: #E1622C;
  --sand: #E9E4D3;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page); }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.5;
  font-size: 17px;
}
a { color: var(--green); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2 { font-weight: 600; letter-spacing: -0.01em; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; max-width: 22ch; }
h2 { font-size: 22px; }
p { margin: 0 0 12px; max-width: 62ch; }

.top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 16px; max-width: 1040px; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--ink); }
.brand img { border-radius: 10px; }
nav { display: flex; gap: 20px; }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px 48px; }
.hero { padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.hero .mark { display: block; max-width: 300px; width: 55%; height: auto; margin: 0 0 20px; }
.lead { font-size: 19px; }
.note { color: var(--muted); }

/* Each screenshot and its caption share one card, so the caption can only belong to the picture above it. Four across,
   two even rows of the eight cards; narrower than that and the captions wrap into each other's space. */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.screens figure { margin: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.screens img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--page); }
.screens figcaption { font-weight: 600; font-size: 16px; line-height: 1.35; margin: 12px 4px 2px; color: var(--ink); }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.three div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.three h2 { font-size: 19px; }
.three p { color: var(--muted); margin: 0; }

.how { padding: 36px 0; border-bottom: 1px solid var(--line); }
.how ol { padding-left: 22px; margin: 0; max-width: 70ch; }
.how li { margin: 0 0 14px; }
.how strong, .pricing strong { color: var(--green); font-weight: 600; }

.labels { padding: 36px 0; border-bottom: 1px solid var(--line); }
.pricing { padding: 36px 0; }

footer { max-width: 1040px; margin: 0 auto; padding: 24px 16px 40px; color: var(--muted); border-top: 1px solid var(--line); }
footer p { margin: 0 0 6px; }

/* The label page */
.label { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 16px; }
.label img { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 20px; }
.label h1 { max-width: 20ch; }
.label p { color: var(--muted); }
.button { display: inline-block; background: var(--green); color: #FBF9F3; padding: 14px 22px; border-radius: 14px; font-weight: 600; margin: 12px 0; }
.button:hover, .button:focus-visible { text-decoration: none; background: var(--green-soft); }
.small { font-size: 14px; }

@media (max-width: 980px) {
  .screens { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .screens {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 -16px; padding: 28px 16px; scroll-padding: 0 16px;
  }
  .screens figure { flex: 0 0 74%; scroll-snap-align: start; }
  .three { grid-template-columns: 1fr; }
  .hero .mark { width: 70%; }
  nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Guide pages (appliance-manuals.html and the others): prose sections and the question list */
.prose p { max-width: 70ch; }
.faq h2 { font-size: 18px; margin: 26px 0 6px; }
.faq h2:first-of-type { margin-top: 0; }
.faq .note { margin-top: -6px; }
