:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d1f21;
  --muted: #5b6168;
  --line: #e3e0d8;
  --accent: #1f5f5b;
  --accent-text: #ffffff;
  --mark: #f3efe3;
  --ok: #2c6e3f;
  --warn: #8a5a00;
  --radius: 10px;
  --measure: 40rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151719;
    --surface: #1d2023;
    --text: #e8e6e1;
    --muted: #a3a9b0;
    --line: #2f3337;
    --accent: #6fb8b1;
    --accent-text: #0f1415;
    --mark: #23272a;
    --ok: #7cc58f;
    --warn: #e0b45c;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 14px;
  padding-bottom: 14px;
}
.wordmark {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
}
header.site nav a {
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 1rem;
}

main section { padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
main section:last-child { border-bottom: 0; }

h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 1rem; }
.byline { font-size: 0.95rem; color: var(--muted); margin: 0; }

.fail {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.fail li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
}
.punch { font-weight: 600; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card.offer { border: 2px solid var(--accent); }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.price {
  font-size: 1.05rem;
  margin: 0.75rem 0;
}
.price strong { font-size: 1.4rem; }
.card ul { padding-left: 1.2rem; margin: 0.5rem 0 0.75rem; }
.card li { margin-bottom: 0.3rem; }

code, .cmd {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  background: var(--mark);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}
.cmd {
  display: block;
  padding: 0.75rem 0.9rem;
  margin: 0.75rem 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  border: 0;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

form.signup { margin-top: 1rem; }
form.signup label.field { display: block; font-weight: 600; margin-bottom: 0.35rem; }
form.signup .row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
form.signup input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}
form.signup .consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
form.signup .consent input { margin-top: 0.3rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 0.9rem; color: var(--muted); }
.local-note {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--warn);
}

.about { display: grid; gap: 0.5rem; }

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
footer.site .wrap { padding-top: 1.25rem; padding-bottom: 2rem; }
footer.site p { margin: 0.25rem 0; }

.plain h2 { margin-top: 1.75rem; }
