:root {
  --bg: #f4f1ea;
  --bg-elevated: #fbfaf6;
  --ink: #1a1814;
  --muted: #3f3b35;
  --line: #ddd6c8;
  --moss: #1c4634;
  --moss-deep: #10281e;
  --on-moss: #f4f1ea;
  --on-moss-soft: #d5ddd8;
  --focus: #1c4634;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Liberation Serif", "Times New Roman", serif;
  --sans: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --wrap: 70rem;
  --gutter: clamp(1rem, 3vw, 1.75rem);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

section[id],
article[id] {
  scroll-margin-top: 1rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  border-top: 4px solid var(--moss);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
.wordmark,
.clients li,
.price,
.contact-address a {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.15rem);
  line-height: 1.04;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.45rem;
}

p {
  margin: 0.75rem 0;
}

a {
  color: var(--moss);
  text-underline-offset: 0.16em;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  transform: none;
  z-index: 30;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0;
  transform: translateY(-150%);
  background: var(--moss);
  color: var(--on-moss);
  padding: 0.65rem 1rem;
  z-index: 30;
  text-decoration: none;
  border-radius: 4px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  justify-content: center;
  min-width: 0;
}

.wordmark {
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--ink);
}

.brand-note {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0;
  font-family: var(--sans);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  text-decoration: underline;
}

.hero {
  padding: clamp(2.4rem, 6vw, 4.75rem) 0 clamp(2.8rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}

.lede {
  font-size: 1.125rem;
  max-width: 42rem;
}

.legal-line {
  color: var(--muted);
  max-width: 42rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  background: var(--moss);
  color: var(--on-moss);
  text-decoration: none;
  border: 1px solid var(--moss);
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  max-width: 100%;
}

.button:hover {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
  color: var(--on-moss);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: #c9c1b2;
  font-weight: 600;
}

.button-secondary:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.hero-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.25rem 1.3rem;
  min-width: 0;
}

.panel-label,
.eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
}

.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-panel li {
  border-top: 1px solid var(--line);
}

.hero-panel li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.hero-panel li a:hover {
  text-decoration: underline;
}

.panel-fee {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin: 0.2rem 0 0;
  padding-top: 0.9rem;
  color: var(--ink);
}

.panel-next {
  display: inline-block;
  margin-top: 0.35rem;
}

.section {
  padding: clamp(3rem, 7vw, 5.25rem) 0;
}

.section-intro {
  max-width: 42rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.service-grid article {
  min-width: 0;
  padding: 1.3rem 1.6rem 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.service-grid article:nth-child(odd) {
  padding-right: 1.6rem;
  border-right: 1px solid var(--line);
}

.service-grid article:nth-child(even) {
  padding-left: 1.6rem;
  padding-right: 0;
}

#audit {
  background: var(--moss-deep);
  color: var(--on-moss);
  padding: clamp(3rem, 7vw, 5.25rem) 0;
}

#audit .eyebrow {
  color: var(--on-moss-soft);
}

#audit a {
  color: var(--on-moss);
}

#audit :focus-visible {
  outline-color: var(--on-moss);
}

.audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.price {
  font-size: clamp(3rem, 7vw, 4.6rem);
  line-height: 0.95;
  margin: 0.2rem 0 0.4rem;
}

.price-note {
  color: var(--on-moss-soft);
  margin-top: 0;
}

.deliverables {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.deliverables li {
  padding: 0.8rem 0;
  border-top: 1px solid rgba(244, 241, 234, 0.28);
}

.deliverables li:last-child {
  border-bottom: 1px solid rgba(244, 241, 234, 0.28);
}

#audit .button {
  background: var(--on-moss);
  color: var(--moss-deep);
  border-color: var(--on-moss);
  margin-top: 0.6rem;
}

#audit .button:hover {
  background: #fff;
  color: var(--moss-deep);
  border-color: #fff;
}

.after-note {
  color: var(--on-moss-soft);
  max-width: 40rem;
}

.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
  padding: 1.15rem 1.15rem 1.3rem;
  min-width: 0;
}

.steps h3::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--moss);
  margin-bottom: 0.45rem;
}

.fee {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.55rem;
}

.identity {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-top: 1.25rem;
}

.identity dl {
  margin: 0.4rem 0 0;
}

.identity dl > div {
  display: grid;
  grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr);
  gap: 0.3rem 1.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.identity dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.identity dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.record {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  max-width: 44rem;
}

.record li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.record li:last-child {
  border-bottom: 1px solid var(--line);
}

.clients-heading {
  margin-top: 2.2rem;
}

.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.clients li {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.15;
}

.contact-address {
  margin: 1rem 0 0.4rem;
}

.contact-address a {
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 1.2;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem 3rem;
  padding-top: 2.4rem;
  padding-bottom: 2.6rem;
}

.site-footer address {
  font-style: normal;
  line-height: 1.65;
  min-width: 0;
  overflow-wrap: break-word;
}

.site-footer address strong {
  font-size: 1.02rem;
}

.footer-email {
  overflow-wrap: anywhere;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: 0.75rem;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

.year {
  color: var(--muted);
  margin-top: 0.2rem;
}

.legal {
  padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.prose {
  max-width: 68ch;
}

.legal h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
}

.updated {
  color: var(--muted);
}

.prose ul,
.prose ol {
  margin: 0.6rem 0 0.9rem;
  padding-left: 1.2rem;
}

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

@media (max-width: 860px) {
  .hero-grid,
  .audit-grid,
  .steps,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 700px) {
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-grid article,
  .service-grid article:nth-child(odd),
  .service-grid article:nth-child(even) {
    padding: 1.15rem 0;
    border-right: 0;
  }

  .identity dl > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

@media print {
  body {
    border-top: 0;
    background: #fff;
  }

  .site-header {
    position: static;
  }

  #audit,
  #audit a,
  .button,
  .button:hover {
    background: #fff;
    color: #000;
    border-color: #000;
  }

  .hero-panel,
  .steps li,
  .identity {
    border-color: #bbb;
  }
}
