:root {
  --ink: #172033;
  --muted: #5c677a;
  --paper: #f6f3ec;
  --card: #fffdf8;
  --line: #e4ddd0;
  --accent: #0f6e56;
  --accent-ink: #08382c;
  --warn: #8a3b12;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.site-header, .site-footer { background: #fffdf8; border-bottom: 1px solid var(--line); }
.site-footer { border-bottom: 0; border-top: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
nav { display: flex; gap: 18px; align-items: center; }
nav a { text-decoration: none; color: var(--muted); }
nav a.active, nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 999px; padding: 10px 16px;
  text-decoration: none; background: var(--accent); color: white; font-weight: 650; cursor: pointer;
}
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.hero { padding: 72px 0 36px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: end; }
.hero h1 { font-family: Georgia, "Iowan Old Style", serif; font-size: clamp(40px, 6vw, 68px); line-height: 0.95; letter-spacing: -0.04em; margin: 0 0 16px; }
.lede { font-size: 18px; color: var(--muted); max-width: 40rem; }
.actions { display: flex; gap: 10px; margin-top: 22px; }
.panel { background: var(--accent-ink); color: #f3efe4; border-radius: 18px; padding: 22px; }
.panel strong { display: block; font-size: 28px; }
.section { padding: 28px 0 64px; }
.section h2 { font-family: Georgia, serif; font-size: 36px; margin: 0 0 8px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.plan, .card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.plan.featured { border-color: var(--accent); box-shadow: 0 12px 30px rgba(15, 110, 86, 0.08); }
.price { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; }
.price span { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 18px; color: var(--muted); }
.plan .btn { margin-top: 12px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 10px 12px; font: inherit;
}
textarea { min-height: 120px; }
.field { margin-bottom: 14px; }
.error { color: var(--warn); font-size: 13px; }
.ok { background: #e7f6ef; border: 1px solid #b7e0cc; padding: 12px 14px; border-radius: 12px; }
.desk { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side { background: #111827; color: #e5e7eb; padding: 22px 16px; }
.side a { color: #e5e7eb; text-decoration: none; display: block; padding: 8px 10px; border-radius: 8px; }
.side a.active { background: #1f2937; }
.main { padding: 28px; }
.row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.help { color: var(--muted); margin: 4px 0 0; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.check input { width: auto; }
@media (max-width: 800px) {
  .hero, .plans, .features, .desk, .row { grid-template-columns: 1fr; }
  .side { padding-bottom: 8px; }
}
