:root {
  --plaster: #EDEFEE;
  --paper: #FAFBFA;
  --iron: #1E2329;
  --steel: #5F6A75;
  --rule: #C9CED1;
  --level: #CDDC39;
  --level-ink: #3F4A0E;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--plaster);
  color: var(--iron);
  font-family: "Archivo", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: 1.0625rem;
  line-height: 1.55;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--iron);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.wordmark {
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.wordmark span { color: var(--steel); }

.btn {
  display: inline-block;
  background: var(--iron);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 4px;
  border: 2px solid var(--iron);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.btn:hover { background: #2C333B; }
.btn-small { padding: 9px 16px; font-size: 0.95rem; }
.btn-ghost {
  background: transparent;
  color: var(--iron);
}
.btn-ghost:hover { background: var(--paper); }

/* Hero */
.hero {
  padding: 72px 0 88px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.hero h1 {
  font-variation-settings: "wdth" 72;
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}
.hero .lede {
  font-size: 1.2rem;
  color: var(--steel);
  max-width: 34ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Estimate sheet */
.estimate {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 6px solid var(--iron);
  padding: 28px 28px 22px;
  box-shadow: 0 18px 40px -24px rgba(30, 35, 41, 0.45);
}
.estimate-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 2px solid var(--iron);
  padding-bottom: 12px;
  margin-bottom: 6px;
}
.estimate-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  font-variation-settings: "wdth" 110;
}
.estimate-head p {
  margin: 0;
  color: var(--steel);
  font-size: 0.9rem;
}
.line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule);
}
.line h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 700;
}
.line p {
  margin: 0;
  color: var(--steel);
  font-size: 0.93rem;
}
.line .qty {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.95rem;
}
.total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding-top: 16px;
}
.total p { margin: 0; font-weight: 700; }
.total .mark {
  background: var(--level);
  color: var(--level-ink);
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--rule);
}
.section h2 {
  font-variation-settings: "wdth" 80;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  max-width: 22ch;
}
.section .intro {
  color: var(--steel);
  max-width: 60ch;
  margin: 0 0 40px;
}

.trades {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.trades h3 { margin: 0 0 6px; font-size: 1.1rem; }
.trades p { margin: 0; color: var(--steel); }
.status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--steel);
}
.status.now { background: var(--level); border-color: var(--level); color: var(--level-ink); }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  font-weight: 800;
  font-variation-settings: "wdth" 62;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--steel);
}
.steps h3 { margin: 0 0 6px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--steel); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.split > div { padding: 32px; }
.split > div + div { border-left: 1px solid var(--rule); }
.split h3 { margin: 0 0 14px; font-size: 1.2rem; }
.split ul { margin: 0; padding-left: 1.1em; }
.split li { margin-bottom: 8px; }

/* Contact */
.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.book-box {
  background: var(--iron);
  color: var(--paper);
  padding: 32px;
  border-radius: 4px;
  margin-top: 8px;
}
.book-box h3 { margin: 0 0 8px; font-size: 1.25rem; }
.book-box p { margin: 0 0 20px; color: #C3CAD0; }
.book-box .btn {
  background: var(--level);
  border-color: var(--level);
  color: var(--level-ink);
}
.book-box .btn:hover { background: #D9E66A; }

form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
label { font-weight: 700; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--steel); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #AEB5BA;
  border-radius: 4px;
  background: var(--paper);
  color: var(--iron);
  width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 16px;
  border-radius: 4px;
}
.consent input { width: 20px; height: 20px; margin-top: 3px; }
.consent label { font-weight: 400; font-size: 0.88rem; line-height: 1.5; color: var(--iron); }
.hidden { position: absolute; left: -9999px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0 48px;
  color: var(--steel);
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer p { margin: 0; }

/* Legal pages */
.legal {
  padding: 56px 0 80px;
}
.legal .wrap { max-width: 760px; }
.legal h1 {
  font-variation-settings: "wdth" 80;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  margin: 0 0 8px;
}
.legal .updated { color: var(--steel); margin: 0 0 40px; }
.legal h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.legal p, .legal li { max-width: 68ch; }
.legal .callout {
  background: var(--paper);
  border-left: 4px solid var(--level);
  padding: 16px 20px;
  margin: 20px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trades { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .estimate { padding: 22px 18px 18px; }
  .site-header .btn-small { padding: 8px 12px; }
}
