:root {
  --bg: #faf7f1;
  --ink: #1d1d1b;
  --rule: #c7c1b4;
  --muted: #5a564f;
  --measure: 38rem;
  --wide: 52rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 7rem 1.75rem 4rem;
}

main.wide {
  max-width: var(--wide);
}

/* Header */
header {
  margin-bottom: 4.5rem;
}

.wordmark {
  font-weight: 500;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  letter-spacing: 0.005em;
  margin: 0;
  line-height: 1.1;
}

.eyebrow {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

/* Sections */
section {
  margin-bottom: 3rem;
}

section h2 {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

/* Lede */
.lede p {
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.lede p:last-child {
  margin-bottom: 0;
}

/* Hero */
.hero {
  margin-bottom: 4rem;
}

.hero h1 {
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.005em;
  margin: 0 0 1.25rem;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 0 0 1.75rem;
  color: var(--muted);
}

/* Lists */
.services ul,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services li,
.plain-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}

.services li:first-child,
.plain-list li:first-child {
  padding-top: 0;
}

.services li:last-child,
.plain-list li:last-child {
  border-bottom: none;
}

/* Numbered steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1rem 0 1rem 3rem;
  border-bottom: 1px solid var(--rule);
  counter-increment: step;
}

.steps li:last-child {
  border-bottom: none;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  font-size: 0.95rem;
  width: 1.9rem;
  height: 1.9rem;
  line-height: 1.9rem;
  text-align: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--muted);
}

.steps li .step-title {
  display: block;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.steps li .step-body {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Feature blocks */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.feature h3 {
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* FAQ */
.faq dt {
  font-weight: 500;
  margin: 1.25rem 0 0.3rem;
}

.faq dt:first-child {
  margin-top: 0;
}

.faq dd {
  margin: 0 0 0.6rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.98rem;
}

.faq dd:last-child {
  border-bottom: none;
}

/* Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  font-family: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn.solid {
  background: var(--ink);
  color: var(--bg);
}

.btn.solid:hover {
  background: transparent;
  color: var(--ink);
}

.btn.ghost {
  border-color: var(--rule);
  color: var(--muted);
}

.btn.ghost:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

/* Links */
a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--muted);
}

a.btn {
  text-decoration: none;
}

.contact p {
  margin: 0 0 0.5rem;
}

/* Footer */
footer {
  margin-top: 5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

footer p {
  margin: 0 0 0.35rem;
}

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

/* Placeholder page */
.placeholder {
  text-align: center;
  padding-top: 2rem;
}

.placeholder h1 {
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 0.75rem;
}

.placeholder p {
  color: var(--muted);
  margin: 0 0 2rem;
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html, body { font-size: 17px; }
  main { padding: 4.5rem 1.25rem 3rem; }
  header { margin-bottom: 3rem; }
  .hero { margin-bottom: 3rem; }
}
