:root {
  --ink: #17211b;
  --muted: #526057;
  --paper: #f4f1e9;
  --card: #fffdf7;
  --line: #cbd0c9;
  --accent: #bc3d25;
  --accent-dark: #8f2d1c;
  --sage: #d8e0d5;
  --focus: #1a6d73;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 18rem; line-height: 1.6; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: .08em; }
a:hover { color: var(--accent-dark); }
a:focus-visible { outline: .2rem solid var(--focus); outline-offset: .22rem; border-radius: .1rem; }

.skip-link { position: fixed; z-index: 10; top: .75rem; left: .75rem; transform: translateY(-180%); padding: .6rem .9rem; background: var(--ink); color: var(--card); }
.skip-link:focus { transform: none; }

.site-header, footer { max-width: 78rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem clamp(1.25rem, 4vw, 3rem); }
.site-header { border-bottom: 1px solid var(--line); }
.wordmark { font-weight: 850; letter-spacing: .13em; text-decoration: none; }
.wordmark span { color: var(--accent); }
nav, footer div { display: flex; gap: clamp(1rem, 3vw, 2rem); }
nav a[aria-current="page"] { color: var(--accent-dark); text-decoration-thickness: .16em; }

main { max-width: 78rem; margin: 0 auto; }
.hero { min-height: 40rem; padding: clamp(5rem, 12vw, 10rem) clamp(1.25rem, 7vw, 6rem) 5rem; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 27%, rgba(188,61,37,.12) 0 6rem, transparent 6.1rem), linear-gradient(135deg, transparent 60%, rgba(216,224,213,.65)); }
.eyebrow { margin: 0 0 1rem; font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; line-height: 1.03; }
h1 { max-width: 13ch; margin-bottom: 2rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 9vw, 7.5rem); font-weight: 500; }
h1 em { color: var(--accent); font-weight: 500; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 5vw, 4.2rem); font-weight: 500; }
h3 { margin-bottom: .25rem; font-size: 1.2rem; }
.lede { max-width: 42rem; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.25rem; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 10rem; background: rgba(255,253,247,.72); font-size: .92rem; font-weight: 650; }
.status span { width: .65rem; height: .65rem; border-radius: 50%; background: #24845d; box-shadow: 0 0 0 .24rem rgba(36,132,93,.15); }

.process { display: grid; grid-template-columns: minmax(5rem, 1fr) minmax(0, 3fr); gap: clamp(2rem, 6vw, 7rem); padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.section-number { font: 500 clamp(4rem, 8vw, 8rem)/1 Georgia, serif; color: var(--line); }
.steps { list-style: none; padding: 0; margin: 3.5rem 0 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--accent-dark); font-weight: 800; }
.steps p { margin-bottom: 0; color: var(--muted); }

.boundaries { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 7vw, 8rem); padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 6rem); background: #17211b; color: #fffdf7; }
.boundaries .eyebrow { color: #f8a18f; }
.boundaries ul { list-style: none; padding: 0; margin: 0; }
.boundaries li { position: relative; padding: 1.2rem 0 1.2rem 2.2rem; border-bottom: 1px solid #4b564f; font-size: 1.08rem; }
.boundaries li::before { content: "—"; position: absolute; left: 0; color: #f8a18f; }

.contact { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 6rem); text-align: center; background: var(--sage); }
.contact h2 { margin-bottom: 1.5rem; }
.contact a { font-size: clamp(1rem, 2.5vw, 1.45rem); font-weight: 750; overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); font-size: .9rem; }
footer p { margin: 0; }

.legal-hero { padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 7vw, 6rem) 4rem; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: none; font-size: clamp(3.2rem, 8vw, 6.8rem); }
.legal-content { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(0, 2.6fr); gap: clamp(2.5rem, 8vw, 8rem); padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 7vw, 6rem); }
.legal-content aside { align-self: start; position: sticky; top: 2rem; padding: 1.5rem; border-left: .22rem solid var(--accent); background: var(--sage); }
.legal-content aside p:last-child { margin-bottom: 0; }
.legal-content article { max-width: 48rem; }
.legal-content section { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 { font-family: inherit; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.025em; }
.legal-content p { color: var(--muted); }
code { padding: .12rem .3rem; border: 1px solid var(--line); border-radius: .2rem; background: var(--card); color: var(--ink); font-size: .88em; overflow-wrap: anywhere; }

@media (max-width: 48rem) {
  .process, .boundaries, .legal-content { grid-template-columns: 1fr; }
  .process .section-number { display: none; }
  .legal-content aside { position: static; }
  .site-header, footer { align-items: flex-start; }
  footer { flex-direction: column; }
}

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

@media (prefers-color-scheme: dark) {
  :root { --ink: #edf0e9; --muted: #b8c1b9; --paper: #17201a; --card: #222c25; --line: #4a564e; --accent: #ff8d77; --accent-dark: #ffab9b; --sage: #2a382f; --focus: #69d4dc; }
  .hero { background: radial-gradient(circle at 78% 27%, rgba(255,141,119,.11) 0 6rem, transparent 6.1rem), linear-gradient(135deg, transparent 60%, rgba(42,56,47,.65)); }
  .status { background: rgba(34,44,37,.75); }
  .boundaries { background: #0f1712; }
}
