:root {
  color-scheme: light;
  --paper: #f3efe7;
  --ink: #17231c;
  --muted: #5c665f;
  --line: #c9cdc4;
  --sage: #dce5d8;
  --accent: #295640;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; }
a { color: inherit; }

.site-header,
footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px 32px;
}

.wordmark { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; text-decoration: none; }
nav, footer div { display: flex; gap: 24px; }
nav a, footer a { color: var(--muted); font-size: .88rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"], footer a:hover { color: var(--ink); }

main { margin: 0 auto; max-width: 1180px; padding: 72px 32px 112px; }
.hero { max-width: 900px; padding: 54px 0 110px; }
.eyebrow { color: var(--accent); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
h1 { font-size: clamp(3.4rem, 8vw, 7.4rem); line-height: .92; margin: 20px 0 30px; }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; margin: 12px 0 24px; }
.lede { color: var(--muted); font-family: Georgia, serif; font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.5; max-width: 760px; }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.principles span { border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; padding: 9px 13px; }

.panel { background: var(--ink); color: var(--paper); display: grid; gap: 56px; grid-template-columns: 1fr 1.4fr; padding: 54px; }
.panel .eyebrow { color: #aac3b1; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 1px solid #526057; color: #c9d0cb; line-height: 1.65; padding: 20px 0; }
.steps strong { color: white; }
.split { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.split article { padding: 72px 54px 72px 0; }
.split article + article { border-left: 1px solid var(--line); padding-left: 54px; }
.split h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
.split p, .contact p, .legal p, .legal li { color: var(--muted); line-height: 1.72; }
.text-link { color: var(--accent); display: inline-block; font-weight: 700; margin-top: 12px; text-decoration: none; }
.contact { max-width: 760px; padding: 96px 0 0; }
.button { background: var(--accent); color: white; display: inline-block; font-weight: 700; margin-top: 20px; padding: 14px 18px; text-decoration: none; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.legal { max-width: 790px; padding-top: 90px; }
.legal h1 { font-size: clamp(3.3rem, 7vw, 6rem); }
.legal h2 { font-family: inherit; font-size: 1.35rem; letter-spacing: -.015em; margin-top: 56px; }
.legal li { margin-bottom: 9px; }
.legal code { background: #e3e1d9; border-radius: 3px; color: var(--ink); padding: 2px 5px; }

.callback-page { align-items: center; display: flex; min-height: 100vh; padding: 24px; }
.callback-card { background: #fffdf8; border: 1px solid var(--line); margin: auto; max-width: 580px; padding: 48px; width: 100%; }
.callback-card h1 { font-size: 2.2rem; line-height: 1.05; }
.callback-card p { color: var(--muted); line-height: 1.6; margin-top: 32px; }
[hidden] { display: none !important; }

@media (max-width: 720px) {
  .site-header, footer { padding: 20px; }
  main { padding: 42px 20px 72px; }
  .hero { padding: 44px 0 72px; }
  .panel { gap: 20px; grid-template-columns: 1fr; padding: 30px 24px; }
  .split { grid-template-columns: 1fr; }
  .split article { padding: 54px 0; }
  .split article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  footer { align-items: flex-start; gap: 22px; }
  footer div { flex-direction: column; gap: 10px; }
}

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