/* fairdoo.co.uk — same look as the extension (chosen design: Friendly layout, price-tag logo, green). */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  --bg: #f3f8f5; --surface: #ffffff; --tint: #ddefe5; --border: #d5e6dc;
  --text: #10201a; --muted: #41594c; --accent: #0f7b5a; --accent-ink: #ffffff; --accent-text: #0b5e43;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1612; --surface: #16211c; --tint: #1f3a2d; --border: #29392f;
    --text: #e7f0eb; --muted: #a7bcb1; --accent: #4cc38a; --accent-ink: #08140e; --accent-text: #7fd8ac;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 "Nunito", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); font-weight: 700; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand span { font-size: 24px; font-weight: 900; letter-spacing: -.01em; }
nav.site { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

.hero { padding: 40px 0 24px; text-align: center; }
.hero h1 { font-size: clamp(34px, 7vw, 52px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; margin: 0 0 14px; }
.hero p { font-size: 19px; color: var(--muted); margin: 0 auto 24px; max-width: 560px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 26px; border-radius: 999px; font: inherit; font-weight: 800; text-decoration: none;
  background: var(--accent); color: var(--accent-ink); border: 0;
}
.btn[aria-disabled="true"] { opacity: .65; cursor: default; }
.note { font-size: 14px; color: var(--muted); margin-top: 10px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 28px 0; }
.card { background: var(--surface); border-radius: 20px; padding: 20px; box-shadow: 0 2px 10px rgba(16, 32, 26, .06); }
.card h2, .card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.step { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--accent-text); font-weight: 900; margin-bottom: 10px; }

.sites { text-align: center; color: var(--muted); margin: 8px 0 32px; }
.sites b { color: var(--text); }

article { background: var(--surface); border-radius: 24px; padding: 28px clamp(18px, 4vw, 36px); margin: 8px 0 32px; box-shadow: 0 2px 10px rgba(16, 32, 26, .06); }
article h1 { font-size: clamp(28px, 5vw, 38px); font-weight: 900; line-height: 1.15; margin: 0 0 6px; }
article h2 { font-size: 21px; font-weight: 800; margin: 28px 0 8px; }
article .updated { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
article ul { padding-left: 22px; }
article li { margin: 4px 0; }
.callout { background: var(--tint); border-radius: 16px; padding: 14px 18px; margin: 18px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 800; }
.table-box { overflow-x: auto; }

footer.site { padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); }
