:root {
  --bg: #f4f5f4;
  --surface: #ffffff;
  --surface-muted: #ecefeb;
  --text: #22272b;
  --muted: #667077;
  --line: #d8ded8;
  --accent: #123452;
  --accent-soft: #dfe7ec;
  --copper: #8d6042;
  --shadow: 0 14px 34px rgba(28, 39, 48, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 245, 244, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--accent);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-size: 14px;
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--accent);
}

.section {
  padding: 76px 0;
}

section[id] {
  scroll-margin-top: 104px;
}

.hero {
  padding: 62px 0 66px;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding: 66px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 18px;
  color: #384047;
  font-size: 19px;
}

.page-description {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 17px;
}

.scope-line {
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-secondary {
  background: transparent;
  color: var(--accent);
}

.button:hover,
.button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.hero-note {
  border-left: 4px solid var(--accent);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-note p:last-child,
.card p:last-child,
.step p:last-child,
.directions-grid p:last-child,
.text-block p:last-child,
.final-box p:last-child {
  margin-bottom: 0;
}

.note-title {
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 700;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.cards-grid,
.directions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cards-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.directions-grid article,
.step {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 24px;
}

.card {
  min-height: 196px;
}

.compact-card {
  min-height: 178px;
}

.card p,
.directions-grid p,
.step p,
.text-block p {
  color: var(--muted);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--copper);
  border-radius: 50%;
  background: transparent;
}

.section-muted {
  background: var(--surface-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.small-note {
  margin-top: 26px;
  padding: 18px;
  border-left: 4px solid var(--copper);
  background: rgba(255, 255, 255, 0.58);
  color: #4d555b;
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 28px;
  box-shadow: 0 10px 26px rgba(28, 39, 48, 0.045);
}

.contact-form label {
  color: var(--text);
  font-weight: 700;
}

.contact-form label span {
  color: var(--copper);
}

.contact-form input[type="text"],
.contact-form textarea {
  width: 100%;
  border: 1px solid #c8d0c9;
  border-radius: 4px;
  background: #ffffff;
  color: var(--text);
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent-soft);
}

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #737b80;
  font-size: 13px;
  font-weight: 400;
}

.consent input {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  accent-color: var(--accent);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: #59636a;
  font-size: 14px;
}

.form-message.is-error {
  color: #7a4b3a;
}

.form-message.is-success {
  color: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.steps-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--copper);
  font-weight: 700;
}

.section-accent {
  background: var(--accent);
  color: #ffffff;
}

.section-accent h2,
.section-accent p {
  color: #ffffff;
}

.section-accent .eyebrow {
  color: #d8b28f;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: #ffffff;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.directions-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-final {
  padding-top: 44px;
}

.final-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 38px;
}

.final-box div {
  max-width: 680px;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.footer-inner a {
  color: var(--muted);
}

.footer-inner a:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  .hero-grid,
  .two-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cards-grid,
  .steps,
  .steps-five,
  .directions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 40px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-text {
    max-width: 190px;
    white-space: normal;
    line-height: 1.2;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .page-hero {
    padding: 42px 0 50px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .scope-line {
    margin-bottom: 20px;
  }

  .hero-actions,
  .final-box,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .cards-grid,
  .steps,
  .steps-five,
  .directions-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .contact-form {
    padding: 22px;
  }
}
