* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: var(--head-weight, 700);
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin-top: 1.6em; }
h3 { font-size: 1.28rem; margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.35em; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.prose { max-width: 68ch; }

/* Header */
.site-header { background: var(--brand-deep); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.logo svg { flex: none; }
.logo:hover { color: #fff; }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--nav-ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration: underline; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1.05rem; font-family: inherit;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-call { background: var(--accent); color: var(--accent-ink); }
.btn-call:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.08); color: inherit; }
.header-call { white-space: nowrap; }

/* Hero */
.hero { background: var(--brand); color: #fff; padding: 56px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: end; }
.hero p.lede { font-size: 1.2rem; color: var(--hero-muted); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 48px; }
.hero-art { align-self: stretch; display: flex; align-items: flex-end; }
.hero-art svg { width: 100%; height: auto; display: block; }

.page-hero { background: var(--brand); color: #fff; padding: 44px 0 36px; }
.page-hero p { color: var(--hero-muted); max-width: 62ch; font-size: 1.15rem; margin: 0; }
.crumbs { font-size: 0.95rem; margin-bottom: 12px; color: var(--hero-muted); }
.crumbs a { color: #fff; }

/* Sections */
main section { padding: 48px 0; }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }

.service-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 2px solid var(--brand); }
.service-list li { margin: 0; border-bottom: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 4px; text-decoration: none; color: var(--ink); }
.service-list a:hover { background: var(--hover-tint); }
.service-list strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--brand); line-height: 1.2; }
.service-list span { color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 24px; }
.steps.stack { grid-template-columns: 1fr; }
.steps li { counter-increment: step; margin: 0; }
.steps li::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700;
  margin-bottom: 10px;
}
.steps h3 { margin-top: 0; }

.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin-top: 16px; }
.areas li { margin: 0; }
.areas a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--brand); border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--brand); }
.areas a:hover { background: var(--brand); color: #fff; }

.signs { columns: 2; column-gap: 40px; }
.signs li { break-inside: avoid; }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 68ch; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
.faq details p { margin: 10px 0 0; }

.note { border-left: 4px solid var(--accent); background: var(--note-bg); padding: 14px 18px; max-width: 68ch; margin: 1.4em 0; }
.note p:last-child { margin-bottom: 0; }

table.facts { border-collapse: collapse; width: 100%; max-width: 68ch; margin: 1em 0 1.4em; font-size: 0.98rem; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.facts th { background: var(--paper); font-weight: 700; }

.sources { font-size: 0.95rem; }
.sources li { margin-bottom: 0.5em; }

/* Quote card */
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky; top: 88px;
}
.quote-card h2 { margin-top: 0; font-size: 1.6rem; }
.quote-card .btn { width: 100%; }
.quote-card .or { text-align: center; color: var(--muted); margin: 14px 0; font-size: 0.95rem; }
form.quote label { display: block; font-weight: 600; margin: 12px 0 4px; font-size: 0.97rem; }
form.quote input, form.quote select, form.quote textarea {
  width: 100%; padding: 11px 12px;
  border: 1.5px solid var(--field-line);
  border-radius: var(--radius-sm);
  font: inherit; background: #fff; color: var(--ink);
}
form.quote textarea { min-height: 96px; resize: vertical; }
form.quote .btn { margin-top: 16px; }
form.quote .fine { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status[data-state="error"] { color: #a12d1c; }
.form-status[data-state="ok"] { color: var(--brand); }
.hp { position: absolute; left: -9999px; }

.cta-band { background: var(--band); color: #fff; padding: 40px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 6px 0 0; color: var(--band-muted); }

/* Footer */
.site-footer { background: var(--brand-deep); color: var(--foot-ink); padding: 40px 0 96px; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; margin-top: 0; font-size: 1.12rem; }
.site-footer ul { list-style: none; padding: 0; }
.disclosure { margin-top: 28px; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 18px; max-width: 90ch; }

.call-bar { position: fixed; inset: auto 0 0 0; display: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--brand-deep); z-index: 30; }
.call-bar .btn { width: 100%; }

@media (max-width: 900px) {
  .hero-grid, .split, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .quote-card { position: static; }
  .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  .signs { columns: 1; }
  .service-list a { grid-template-columns: 1fr; gap: 4px; }
  .call-bar { display: block; }
  .site-header .wrap { gap: 10px; min-height: 58px; }
  .logo { font-size: 1.02rem; gap: 8px; }
  .logo svg { width: 24px; height: 24px; }
  .header-call { padding: 8px 10px; font-size: 0.92rem; }
  .header-call .call-word { display: none; }
}
@media (max-width: 360px) {
  .logo span { display: none; }
}

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