:root {
  --ink: #17211c;
  --muted: #5d6b63;
  --paper: #f7f4ed;
  --surface: #fffdf8;
  --forest: #164b3a;
  --forest-deep: #0d372a;
  --sage: #dce7df;
  --line: #d9ded9;
  --warm: #d8a85a;
  --shadow: 0 24px 60px rgba(27, 42, 34, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body::before {
  content: "Effective date: October 14, 2026.";
  display: block;
  padding: 0.55rem 1rem;
  background: #f4dfb9;
  color: #4d3816;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-align: center;
}

a {
  color: var(--forest);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 33, 28, 0.1);
  background: rgba(247, 244, 237, 0.94);
}

.nav-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px 12px 12px 4px;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: -0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 8.5rem) 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(216, 168, 90, 0.22), transparent 25rem),
    linear-gradient(135deg, #edf1eb 0%, var(--paper) 58%, #f1e7d3 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -15rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(22, 75, 58, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(22, 75, 58, 0.035), 0 0 0 8rem rgba(22, 75, 58, 0.025);
}

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

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 8vw, 6rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

.hero-summary {
  max-width: 520px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-aside {
  padding: 1.5rem 0 0 1.5rem;
  border-left: 2px solid var(--warm);
  color: var(--muted);
}

.hero-aside strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--forest-deep);
  color: white;
}

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

.button.secondary:hover {
  background: var(--sage);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-intro {
  max-width: 690px;
  margin-bottom: 2.5rem;
}

.section-intro p,
.prose .lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 245px;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-number {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 850;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--forest-deep);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
}

.contact-section .eyebrow {
  color: #c8d8cd;
}

.contact-section h2 {
  color: white;
}

.contact-section p {
  color: #c8d8cd;
}

.contact-list {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-row dt {
  color: #a9bdb1;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-row dd {
  margin: 0;
}

.contact-row a {
  color: white;
}

.legal-hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(140deg, #e7ede7 0%, var(--paper) 70%);
}

.legal-hero h1 {
  max-width: 800px;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.legal-hero .lead {
  max-width: 720px;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.prose-wrap {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(220px, 300px);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.prose h2 {
  margin: 3.25rem 0 0.8rem;
  font-size: 1.8rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: #36433c;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.side-note {
  position: sticky;
  top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--sage);
}

.side-note h2 {
  font-size: 1.25rem;
}

.side-note p {
  margin: 0.5rem 0 0;
  color: #3e5046;
  font-size: 0.92rem;
}

.steps {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 3rem;
  padding: 0 0 1.5rem 4rem;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: -0.15rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: white;
  font-weight: 800;
}

.notice {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--warm);
  background: #f6ead5;
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand p {
  max-width: 520px;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 780px) {
  .nav-shell {
    min-height: auto;
    padding: 1rem 0;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-grid,
  .contact-grid,
  .prose-wrap {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    max-width: 520px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-number {
    margin-bottom: 1.5rem;
  }

  .side-note {
    position: static;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .shell,
  .nav-shell {
    width: min(100% - 28px, 1120px);
  }

  .nav-shell {
    display: block;
  }

  .nav-links {
    margin-top: 1rem;
    justify-content: flex-start;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
