/* Dark, quiet, professional: black, white text, one orange accent, hairline rules. */
:root {
  --bg: #0a0a0a;
  --surface: #121212;
  --line: #232323;
  --line-strong: #3a3a3a;
  --text: #f3f2ef;
  --muted: #9b9a95;
  --accent: #ff5b1f;
  --accent-ink: #0a0a0a;
  --error: #ff7a6b;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; font-weight: 500; }
p { margin: 0 0 1em; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 760px; }
.label { font: 400 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 24px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; letter-spacing: -0.01em; }
.wordmark-mark { width: 12px; height: 12px; background: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .9rem; }
.site-nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 2px;
  font: 500 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s;
}
.btn:hover { background: #ff7442; }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.btn-small { height: 38px; padding: 0 16px; font-size: .875rem; }
.actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }

/* Hero */
.hero { padding: 120px 0 112px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 80px; align-items: end; }
.hero h1 { max-width: 17ch; }
.facts { margin: 0; border-top: 1px solid var(--line-strong); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 400 .75rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 0; font-size: .95rem; }

/* Sections */
.section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 56px; }
.section-head .label { margin: 10px 0 0; }
.section-head h2 { margin: 0; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.rows li { display: grid; grid-template-columns: 64px 1fr 1.6fr; gap: 40px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rows li:hover h3 { color: var(--accent); }
.rows h3 { margin: 0; transition: color .15s; }
.rows p { margin: 0; color: var(--muted); }
.row-num, .step-num { font: 400 .8rem/1 var(--mono); color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps li { background: var(--bg); padding: 28px 24px 32px; }
.steps li:first-child { box-shadow: inset 0 2px 0 var(--accent); }
.steps .step-num { display: block; margin-bottom: 40px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

.prices { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.price-col { padding: 32px 40px 8px 0; }
.price-col + .price-col { padding-left: 40px; border-left: 1px solid var(--line); }
.price-col h3 { color: var(--muted); font-size: .95rem; }
.price { font-size: 3.4rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin: 8px 0 20px; }
.price span { font-size: 1rem; letter-spacing: 0; color: var(--muted); }
.price-col p:last-child { color: var(--muted); max-width: 40ch; }
.footnote { font-size: .85rem; color: var(--muted); margin: 32px 0 0; }

.cta { border-bottom: 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin: 0; }

/* Intake form */
.form-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 80px; align-items: start; }
.form-intro { position: sticky; top: 108px; }
.form-intro h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.intake fieldset { border: 0; border-top: 1px solid var(--line-strong); margin: 0 0 40px; padding: 24px 0 0; min-width: 0; }
.intake legend { display: block; width: 100%; padding: 0; margin-bottom: 20px; font: 400 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; font-size: .9rem; color: var(--text); }
.field-label { display: block; }
.req { color: var(--accent); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong);
  border-radius: 2px; padding: 12px 14px; font: 400 1rem/1.4 var(--sans); transition: border-color .15s;
}
textarea { resize: vertical; min-height: 160px; }
select {
  appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
input::placeholder, textarea::placeholder { color: #5f5e5a; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.has-error input, .has-error textarea { border-color: var(--error); }
.error { color: var(--error); font-size: .85rem; }
.form-error { border: 1px solid var(--error); color: var(--error); padding: 12px 16px; margin: 0 0 32px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 8px; }
.choice { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--bg); cursor: pointer; font-size: .95rem; transition: background .15s; }
.choice:hover { background: var(--surface); }
.choice:has(input:checked) { background: var(--surface); box-shadow: inset 2px 0 0 var(--accent); }
.choice:last-child:nth-child(odd) { grid-column: span 2; }
.choice input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-submit p { margin: 0; flex: 1; min-width: 220px; }
.cf-turnstile { margin-bottom: 28px; }

/* Legal pages */
.prose { padding-top: 96px; padding-bottom: 96px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.prose h2 { font-size: 1.25rem; margin-top: 2.2em; }
.prose p, .prose li { color: #cfcdc8; }
.prose a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--accent); }
.prose ul { padding-left: 1.2em; }
.prose .muted { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: .85rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal { margin: 0; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero-grid, .section-head, .form-grid { grid-template-columns: 1fr; gap: 48px; }
  .section-head { gap: 12px; }
  .form-intro { position: static; }
  .rows li { grid-template-columns: 40px 1fr; gap: 8px 16px; }
  .rows li p { grid-column: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 72px 0; }
  .section { padding: 72px 0; }
  .site-nav .nav-optional { display: none; }
  .steps, .prices, .field-row, .choices { grid-template-columns: 1fr; }
  .choice:last-child:nth-child(odd) { grid-column: auto; }
  .price-col + .price-col { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
