:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #2b2a27;
  --muted: #6b665d;
  --accent: #2f6f5e;
  --accent-soft: #e3efe9;
  --warm: #c9783f;
  --line: #e7e1d6;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
nav a { margin-left: 18px; text-decoration: none; color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--accent); }

.hero { padding: 56px 0 36px; }
.hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin: 0 0 14px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0; }

section { padding: 26px 0; }
h2 { font-size: 27px; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--warm); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }

.tool h3 { color: var(--accent); }
.tool label { display: block; font-size: 14px; color: var(--muted); margin: 10px 0 4px; }
.tool input, .tool select {
  width: 100%; padding: 9px 11px; font-size: 16px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn {
  margin-top: 12px; background: var(--accent); color: #fff; border: 0; border-radius: 9px;
  padding: 10px 16px; font-size: 15px; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.result {
  margin-top: 14px; padding: 12px 14px; background: var(--accent-soft);
  border-radius: 9px; font-weight: 600; min-height: 22px;
}
.rooms .room { display: grid; grid-template-columns: 1.4fr 1fr 1fr 32px; gap: 8px; margin-top: 8px; }
.rooms .room button { border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; }

table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 16px; vertical-align: top; }
th { background: var(--accent-soft); font-size: 15px; }

.checklist label { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--ink); font-size: 16px; }
.checklist input { margin-top: 5px; width: auto; }
.progress { height: 8px; background: var(--line); border-radius: 8px; margin-top: 10px; overflow: hidden; }
.progress div { height: 100%; width: 0; background: var(--accent); transition: width .3s; }

.partners .card h3 a { text-decoration: none; }
.partners .card h3 a:hover { text-decoration: underline; }

footer.site { margin-top: 40px; padding: 26px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  nav a { margin-left: 12px; }
  .rooms .room { grid-template-columns: 1fr 1fr 1fr 28px; }
  .rooms .room input:first-child { grid-column: 1 / -1; }
}
