:root {
  --ink: #1c2b26;
  --muted: #5d675f;
  --paper: #f6f3ec;
  --paper-2: #fffdf8;
  --line: #e2ddd2;
  --accent: #1f3d34;
  --accent-2: #d7e2a4;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(28, 43, 38, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #3d5c32; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.topline {
  background: var(--accent);
  color: #f4f1e8;
  font-size: 12px;
  letter-spacing: 0.14em;
}
.topline .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
header { position: sticky; top: 0; z-index: 5; background: rgba(246, 243, 236, 0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { text-decoration: none; font-family: var(--serif); font-size: 22px; letter-spacing: -0.03em; }
.brand small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }
nav { display: flex; gap: 22px; margin-left: auto; }
nav a { text-decoration: none; font-size: 15px; }
nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--ink); }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 14px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--accent);
  color: #f7f4ec;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
}
.button.light { background: var(--accent-2); color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: end; padding: 64px 0 28px; }
.eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
h1 { margin: 0 0 16px; font-size: clamp(48px, 6vw, 84px); }
h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 52px); }
.lead { font-size: 19px; color: var(--muted); max-width: 38rem; }
.micro { color: var(--muted); font-size: 14px; }
figure { margin: 0; }
figure img { border-radius: 28px; box-shadow: var(--shadow); background: #e7efe4; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 22px 0; }
.stats b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.stats span { color: var(--muted); }
.section { padding: 72px 0; }
.tinted { background: #efeae0; }
.section-heading, .split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card, .project, .cta, .notice, .calculator {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}
.number, .price { display: block; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.steps li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 28px 0 64px; background: var(--accent); color: #f7f4ec; }
.cta h2 { color: inherit; }
footer { padding: 28px 0 40px; }
.footer-main, .footer-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; gap: 18px; }
.footer-bottom { margin-top: 22px; color: var(--muted); font-size: 14px; }
.breadcrumbs { color: var(--muted); font-size: 14px; margin: 28px 0 8px; }
.page-intro { padding-bottom: 12px; }
.body-section { display: grid; gap: 22px; }
table { width: 100%; border-collapse: collapse; background: var(--paper-2); border-radius: 20px; overflow: hidden; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.fields { display: grid; gap: 12px; }
input, select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: white; }
.estimate { display: block; margin: 16px 0; font-family: var(--serif); font-size: 42px; }
.empty { padding: 48px 0 72px; }
.code { font-family: var(--serif); font-size: 84px; }
@media (max-width: 860px) {
  .topline .wrap, .hero, .stats, .section-heading, .split, .grid, .footer-main, .footer-bottom, .cta { display: block; }
  .menu-toggle { display: inline-flex; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 20px; }
  nav.open { display: grid; gap: 12px; }
  .header-inner .button { display: none; }
  .stats div, .card, .project { margin-bottom: 12px; }
  h1 { font-size: 46px; }
}
