:root {
  --bg: #f4efe6;
  --paper: #fffdf8;
  --ink: #1c1916;
  --muted: #5c564e;
  --line: #d9d0c2;
  --accent: #7a2e3a;
  --accent-soft: #f3e4e6;
  --ok: #2c5a3c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
.sans, nav, button, input, select, textarea, .btn, .meta, .banner, .status {
  font-family: system-ui, Segoe UI, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; }

.wrap { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .inner {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.logo {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}
nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--ink); }

.banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
}
.banner strong { font-weight: 700; }

.hero { padding: 48px 0 24px; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 12px; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 20px; }
.meta { font-size: 14px; color: var(--muted); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border: 0;
  padding: 12px 18px;
  font-size: 16px;
  cursor: pointer;
}
.btn:hover { filter: brightness(0.95); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 1.7rem; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px;
}
h2 { font-size: 1.4rem; margin: 0 0 10px; font-weight: 600; }
section { padding: 28px 0; }
.list { margin: 0; padding-left: 1.1em; color: var(--muted); }
.list li { margin: 6px 0; }

form { display: grid; gap: 10px; }
label { font-size: 14px; display: grid; gap: 4px; }
input, select, textarea {
  font-size: 16px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.status { font-size: 14px; min-height: 1.2em; }
.status[data-state="success"] { color: var(--ok); }
.status[data-state="error"] { color: var(--accent); }
.status[data-state="pending"] { color: var(--muted); }

.price { font-size: 1.6rem; margin: 0; }
.price span { font-size: 1rem; color: var(--muted); }

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  font-size: 14px;
  color: var(--muted);
}
footer a { color: var(--muted); }
.notes-list { padding-left: 0; list-style: none; }
.notes-list li { margin: 10px 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.note-body { max-width: 42rem; }
