:root {
  --ink: #17202a;
  --muted: #5d6670;
  --paper: #f5f2ea;
  --surface: #ffffff;
  --line: #d9d4c9;
  --accent: #b83a2e;
  --accent-dark: #8e2c23;
  --blue: #1f4d68;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { top: 1rem; }
.site-header, footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 760; text-decoration: none; }
.brand-mark { width: 2rem; height: 2rem; display: grid; place-items: center; color: white; background: var(--accent); font-family: serif; }
.header-link, .text-link { font-size: .88rem; font-weight: 720; text-underline-offset: .25rem; }
main { overflow: hidden; }
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6.5rem 2rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}
.eyebrow, .section-number { margin: 0 0 1rem; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 720px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.3rem, 7.5vw, 6.6rem); font-weight: 500; letter-spacing: -.06em; line-height: .94; }
h2 { max-width: 760px; margin: 0 0 1.2rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.8vw, 4.3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
h3 { margin: 0 0 .55rem; font-size: 1rem; }
.hero-intro { max-width: 650px; margin: 1.8rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.offer-line { margin: 2rem 0 0; display: flex; align-items: baseline; gap: 1rem; }
.offer-line strong { font-size: 1.55rem; }
.offer-line span { color: var(--muted); font-size: .88rem; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: .85rem 1.25rem; border: 1px solid var(--ink); font-size: .9rem; font-weight: 780; text-decoration: none; transition: background .16s, color .16s, transform .16s; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #f2a93b; outline-offset: 3px; }
.button-primary { color: white; background: var(--ink); }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { background: transparent; }
.button-secondary:hover { color: white; background: var(--ink); }
.microcopy { margin-top: 1rem; color: var(--muted); font-size: .78rem; }
.handoff-link { margin: .85rem 0 0; color: var(--muted); font-size: .82rem; }
.handoff-link a { color: var(--blue); font-weight: 720; text-underline-offset: .2rem; }
.rescue-preview { position: relative; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); box-shadow: 12px 12px 0 #ded8ca; }
.preview-topline { padding-bottom: .8rem; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; letter-spacing: .12em; }
.preview-input, .preview-output { padding: 1.15rem 0; }
.preview-input strong, .preview-input > span:last-child, .preview-output strong { display: block; }
.preview-input > span:last-child, .preview-output p { margin: .25rem 0 0; color: var(--muted); font-size: .83rem; }
.field-label { display: block; margin-bottom: .4rem; color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.route-connector { height: 1px; background: var(--line); }
.route-connector span { position: relative; top: -4px; display: block; width: 9px; height: 9px; margin-left: 1.1rem; background: var(--accent); transform: rotate(45deg); }
.preview-output strong { font-family: "PingFang SC", "Noto Sans CJK SC", sans-serif; font-size: 1.6rem; }
.preview-output a { display: inline-block; margin-top: .65rem; color: var(--blue); font-size: .8rem; font-weight: 720; }
.driver-card { margin-top: .25rem; padding: 1rem; color: white; background: var(--blue); }
.driver-card span { font-size: .6rem; font-weight: 800; letter-spacing: .12em; }
.driver-card p { margin: .35rem 0 0; font-family: "PingFang SC", "Noto Sans CJK SC", sans-serif; font-size: 1rem; }
.proof-strip { max-width: var(--max); margin: 0 auto; padding: 0 2rem 5.5rem; display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-strip div { padding: 1.2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip div + div { border-left: 1px solid var(--line); }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { font-size: .9rem; }
.proof-strip span { margin-top: .2rem; color: var(--muted); font-size: .78rem; }
.section { max-width: var(--max); margin: 0 auto; padding: 7rem 2rem; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; column-gap: 4rem; }
.section-heading .section-number { grid-column: 1; }
.section-heading h2 { grid-column: 1 / -1; }
.section-heading > p:last-child { grid-column: 2; max-width: 620px; color: var(--muted); font-size: 1rem; }
.comparison-table { margin-top: 3rem; overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.comparison-row { min-width: 760px; display: grid; grid-template-columns: repeat(3, 1fr); }
.comparison-row > span { padding: 1.25rem; }
.comparison-row > span + span { border-left: 1px solid var(--line); }
.comparison-row + .comparison-row { border-top: 1px solid var(--line); }
.comparison-head { color: var(--muted); background: #ede9df; font-size: .69rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.comparison-row b, .comparison-row small { display: block; }
.comparison-row small { margin-top: .25rem; color: var(--muted); }
.checked-line { max-width: 780px; margin: 1rem 0 .4rem; color: var(--muted); font-size: .78rem; }
.two-column { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); }
.two-column article { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--surface); }
.two-column h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; font-weight: 500; }
ul { margin: 1.2rem 0 0; padding: 0; list-style: none; }
li { position: relative; padding-left: 1.35rem; }
ul li + li { margin-top: .75rem; }
ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.steps { max-width: 850px; margin: 3rem 0 0 auto; padding: 0; list-style: none; }
.steps li { padding: 1.4rem 0; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.steps p { margin: 0; color: var(--muted); }
.boundaries { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); color: white; background: var(--blue); max-width: none; padding-left: max(2rem, calc((100vw - var(--max)) / 2 + 2rem)); padding-right: max(2rem, calc((100vw - var(--max)) / 2 + 2rem)); border: 0; }
.boundaries .section-number { color: #ffb4a8; }
.boundaries h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.boundary-copy p { margin: 0; color: #e2edf3; }
.boundary-copy p + p { margin-top: 1.3rem; }
.boundary-copy strong { color: white; }
.faq-list { max-width: 850px; margin: 2.5rem 0 0 auto; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 1.2rem 2rem 1.2rem 0; font-weight: 720; }
details p { max-width: 710px; margin: -.3rem 0 1.3rem; color: var(--muted); }
.final-cta { max-width: 920px; margin: 2rem auto 7rem; padding: clamp(2rem, 6vw, 5rem); text-align: center; background: var(--surface); border: 1px solid var(--line); box-shadow: 10px 10px 0 #ded8ca; }
.final-cta h2 { margin-left: auto; margin-right: auto; }
.final-cta > p:not(.section-number) { max-width: 640px; margin: 0 auto 1.7rem; color: var(--muted); }
.final-cta .button { margin: 0; }
.final-cta small { display: block; margin-top: 1rem; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.final-cta .contact-actions { justify-content: center; }
.copy-button { display: none; cursor: pointer; font-family: inherit; }
.has-js .copy-button { display: inline-flex; }
.contact-fallback { margin: .9rem 0 0; color: var(--muted); font-size: .88rem; }
.final-cta > .contact-fallback { margin: .9rem auto 0; font-size: .88rem; }
.email-address { font-weight: 760; text-underline-offset: .2rem; user-select: all; }
.paste-instruction { margin: 1.2rem 0 .35rem; color: var(--muted); font-size: .78rem; font-weight: 760; }
.final-cta > .paste-instruction { margin: 1.2rem auto .35rem; font-size: .78rem; }
.paste-format { display: block; max-width: 720px; margin: 0 auto; padding: .9rem 1rem; overflow-wrap: anywhere; color: var(--ink); background: var(--paper); border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; text-align: left; user-select: all; }
.copy-status { min-height: 1.4em; margin: .55rem 0 0; color: var(--muted); font-size: .78rem; }
.final-cta > .copy-status { margin: .55rem auto 0; font-size: .78rem; }
.intake-template { margin: 1.2rem 0 0; padding: 1.25rem; overflow-x: auto; color: var(--ink); background: var(--surface); border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; line-height: 1.9; white-space: pre-wrap; user-select: all; }
footer { padding-top: 2rem; padding-bottom: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.site-footer nav, .legal-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a, .legal-footer a { text-underline-offset: .2rem; }
.legal-main { max-width: 850px; margin: 0 auto; padding: 5.5rem 2rem 7rem; overflow: visible; }
.legal-intro { padding-bottom: 3.5rem; }
.legal-intro h1 { font-size: clamp(3.2rem, 8vw, 6rem); }
.legal-intro > p:not(.eyebrow) { max-width: 650px; margin: 1.4rem 0 .65rem; color: var(--muted); font-size: 1.15rem; }
.legal-intro small { display: block; color: var(--muted); }
.legal-intro .button { margin-top: 1.4rem; }
.legal-intro .contact-actions { margin-top: 1.4rem; }
.legal-intro .contact-actions .button { margin-top: 0; }
.legal-intro > .contact-fallback { margin: .9rem 0 0; font-size: .88rem; }
.legal-intro > .copy-status { margin: .55rem 0 0; font-size: .78rem; }
.legal-intro .button + small { margin-top: .75rem; }
.legal-main section { padding: 2.4rem 0; border-top: 1px solid var(--line); }
.legal-main section:last-child { border-bottom: 1px solid var(--line); }
.legal-main h2 { margin-bottom: .8rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 4vw, 2.35rem); letter-spacing: -.025em; line-height: 1.1; }
.legal-main section p { margin: 0; color: var(--muted); }
.legal-main section p + p { margin-top: 1rem; }
.legal-main strong { color: var(--ink); }
.legal-main section a { color: var(--blue); font-weight: 700; text-underline-offset: .2rem; }
.legal-footer { flex-wrap: wrap; }

@media (max-width: 800px) {
  .site-header, footer { padding-left: 1.1rem; padding-right: 1.1rem; }
  .brand { font-size: .82rem; }
  .header-link { display: none; }
  .hero { padding: 4.2rem 1.1rem 3.8rem; grid-template-columns: 1fr; gap: 3rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .offer-line { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .rescue-preview { box-shadow: 7px 7px 0 #ded8ca; }
  .proof-strip { padding: 0 1.1rem 4rem; grid-template-columns: 1fr; }
  .proof-strip div + div { border-left: 0; border-top: 0; }
  .section { padding: 5rem 1.1rem; }
  .section-heading { display: block; }
  .section-heading > p:last-child { margin-top: 1.4rem; }
  .two-column, .boundaries { grid-template-columns: 1fr; }
  .boundaries { padding: 5rem 1.1rem; gap: 2rem; }
  .steps { margin-top: 2rem; }
  .final-cta { margin: 1rem 1.1rem 5rem; padding: 3rem 1.3rem; box-shadow: 7px 7px 0 #ded8ca; }
  footer { align-items: flex-start; flex-direction: column; }
  .legal-main { padding: 4.2rem 1.1rem 5rem; }
  .legal-intro { padding-bottom: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
