/* buythebest.co.za — one static page, no script. Light and dark follow the reader's system setting. */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f5;
  --text: #17201b;
  --muted: #4a5750;
  --accent: #0b6e4f;
  --accent-text: #ffffff;
  --rule: #d9dfdc;
  --focus: #0b6e4f;
  --max: 46rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111613;
    --bg-alt: #182019;
    --text: #e8eeea;
    --muted: #a9b6ae;
    --accent: #5fd0a6;
    --accent-text: #0c1410;
    --rule: #2a352e;
    --focus: #5fd0a6;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

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

.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.wordmark {
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.25rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0;
}

.how {
  padding: 2rem 0 2.5rem;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  counter-increment: step;
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.steps li::before {
  content: counter(step);
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
}

.steps h3 {
  margin-top: 0.25rem;
}

.steps p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.panel {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0;
}

.panel + .panel {
  background: var(--bg);
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

.button--disabled {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--rule);
  cursor: default;
}

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

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.company {
  font-size: 0.875rem;
}
