:root {
  color-scheme: only light;
  --bg: #f6f1ea;
  --surface: #fffdf9;
  --ink: #241a14;
  --muted: #6b5d52;
  --line: #e2d8cb;
  --field-line: #8f8172;
  --accent: #8a3b12;
  --gold: #e3a857;
  --accent-ink: #fffdf9;
  --ok: #2f6b3c;
  --warn: #9a2a1f;
}

* { box-sizing: border-box; }

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

a { color: var(--accent); text-underline-offset: 2px; }

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.tag {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.12;
  margin: 0 0 12px;
  text-wrap: balance;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 28px;
}

.card h2 { font-size: 19px; margin: 0 0 4px; }
.card h3 { font-size: 16px; margin: 18px 0 2px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card .intro { font-size: 15px; margin: 0 0 12px; }
.card .small { font-size: 13px; margin: 12px 0 0; }
.card .msg { font-size: 15px; font-weight: 600; margin: 12px 0 0; }
.card .msg.error { color: var(--warn); }
.card .price-thanks { color: var(--ok); font-weight: 600; margin: 14px 0 0; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0 5px;
}

.card label:first-of-type { margin-top: 0; }

input[type="email"], select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--field-line);
  border-radius: 8px;
  padding: 12px;
}

input[type="email"]:focus, select:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

button {
  width: 100%;
  margin-top: 16px;
  font: inherit;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
}

button:disabled { opacity: 0.6; cursor: default; }

button.choice {
  margin-top: 8px;
  padding: 12px;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--field-line);
}

.thanks h2 { color: var(--ok); }
.thanks:focus { outline: none; }
.thanks > p:last-child { margin-bottom: 0; }

ul.points {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

ul.points li {
  padding: 12px 0 12px 30px;
  border-top: 1px solid var(--line);
  position: relative;
}

ul.points li:last-child { border-bottom: 1px solid var(--line); }

ul.points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

ul.points strong { display: block; }

.about h2 { font-size: 17px; margin: 0 0 4px; }
.about p { margin: 0; color: var(--muted); }

[hidden] { display: none !important; }

footer {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
}

footer a { color: inherit; }
