:root {
  --ink: #172033;
  --charcoal: #131b25;
  --navy: #0f1722;
  --rust: #c87523;
  --gold: #e1a24b;
  --cream: #f7f2e8;
  --paper: #ffffff;
  --muted: #687282;
  --line: #ded8ce;
  --soft: #f3eee5;
  --green: #516a59;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(17, 25, 36, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
}
img { max-width: 100%; height: auto; }
a { color: var(--rust); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; padding: 10px 14px; border: 2px solid var(--rust); }

.topbar { background: #0a111a; color: #e7ebef; font-size: .9rem; }
.topbar .wrap { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 750; }
.topbar .domain { color: var(--gold); font-weight: 850; letter-spacing: .03em; }

header { position: sticky; top: 0; z-index: 50; background: rgba(19, 27, 37, .97); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 240px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--rust), var(--gold)); color: #111; font-weight: 950; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 1.02rem; letter-spacing: -.02em; }
.brand-text span { color: #b7c0cb; font-size: .78rem; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: #eef2f6; text-decoration: none; font-weight: 720; font-size: .94rem; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { color: #111 !important; background: var(--gold); padding: 10px 16px; border-radius: 999px; }
.menu-btn { display: none; color: #fff; background: transparent; border: 1px solid #475364; border-radius: 10px; padding: 8px 11px; font: inherit; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 92px 0 74px;
  background:
    radial-gradient(circle at 85% 20%, rgba(225,162,75,.26), transparent 30%),
    radial-gradient(circle at 15% 0%, rgba(200,117,35,.18), transparent 28%),
    linear-gradient(140deg, #111923 0%, #18212d 55%, #0e151f 100%);
}
.hero:after { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; opacity: .28; background: linear-gradient(165deg, transparent 0 50%, #000 51% 52%, transparent 53%), linear-gradient(195deg, transparent 0 47%, #000 48% 49%, transparent 50%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow { color: var(--gold); text-transform: uppercase; font-size: .78rem; letter-spacing: .13em; font-weight: 900; }
h1,h2,h3,h4 { margin: 0 0 .68em; line-height: 1.12; letter-spacing: -.033em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: .2em 0 1.1em; }
.lead { font-size: clamp(1.14rem, 2vw, 1.38rem); color: #d3dae2; max-width: 760px; }
.hero .actions { margin-top: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font-weight: 850; text-decoration: none; border: 1px solid var(--rust); }
.btn.primary { background: var(--rust); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #111; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.ghost { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.04); }
.hero-card { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); box-shadow: 0 24px 70px rgba(0,0,0,.24); border-radius: 26px; padding: 26px; }
.hero-card img { border-radius: 16px; display: block; width: 100%; }
.hero-card p { color: #d8dee5; font-size: .92rem; margin-top: 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.pill { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #f7f9fb; padding: 8px 11px; border-radius: 999px; font-size: .88rem; font-weight: 760; }

.section { padding: 72px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--charcoal); color: #f6f8fa; }
.section.compact { padding: 42px 0; }
.section-head { max-width: 800px; margin-bottom: 30px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.shadow { box-shadow: var(--shadow); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--rust); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff0de; color: var(--rust); font-size: 1.25rem; margin-bottom: 18px; }
.kicker { color: var(--rust); text-transform: uppercase; letter-spacing: .08em; font-weight: 900; font-size: .82rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }

.service-strip { background: #0e151f; color: #fff; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.service-strip .wrap { display: grid; grid-template-columns: repeat(4,1fr); }
.service-strip a { padding: 20px 14px; text-align: center; color: #f5f6f8; text-decoration: none; border-right: 1px solid rgba(255,255,255,.08); font-weight: 800; }
.service-strip a:last-child { border-right: 0; }
.service-strip a:hover { color: var(--gold); background: rgba(255,255,255,.03); }

.callout { border: 1px solid #ead7be; background: #fff8ef; border-radius: var(--radius); padding: 22px; margin: 26px 0; }
.answer-box { border-left: 5px solid var(--rust); background: #fff7ed; padding: 20px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0 34px; font-size: 1.06rem; }
.note { background: #fffaf0; border: 1px solid #eadcbd; border-radius: var(--radius); padding: 20px; }
.checklist { padding-left: 1.2rem; }
.checklist li { margin: .5rem 0; }

.cta-band { background: linear-gradient(120deg, #1a2532, #0d151f); color: #fff; border: 1px solid rgba(255,255,255,.06); border-radius: 28px; padding: 38px; box-shadow: var(--shadow); }
.cta-band h2,.cta-band h3 { color: #fff; }
.cta-band p { color: #d7dee7; }
.cta-band .btn.primary { background: var(--gold); border-color: var(--gold); color: #111; }

.breadcrumbs { font-size: .9rem; color: var(--muted); padding-top: 18px; }
.breadcrumbs a { color: inherit; }
.article-hero { padding: 56px 0 34px; background: linear-gradient(180deg, #f8f3ea, #fff); border-bottom: 1px solid var(--line); }
.article-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 980px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: .92rem; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 800px) minmax(230px, 1fr); gap: 54px; align-items: start; }
.article { font-size: 1.035rem; }
.article h2 { margin-top: 1.65em; }
.article h3 { margin-top: 1.35em; }
.article ul,.article ol { padding-left: 1.3rem; }
.article li { margin: .48rem 0; }
.toc { position: sticky; top: 104px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc a { display: block; color: var(--muted); text-decoration: none; margin: 7px 0; font-size: .92rem; }
.toc a:hover { color: var(--rust); }
.article-cta { margin: 34px 0; padding: 26px; border-radius: 20px; background: linear-gradient(135deg, #192431, #101820); color: #fff; }
.article-cta p { color: #d9e0e8; }
.article-cta .phone { font-size: 1.2rem; font-weight: 900; color: var(--gold); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 850; }
.sources { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources li { margin: .5rem 0; }

.filter { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; margin: 12px 0 26px; }
.tag { display: inline-block; margin: 4px 5px 4px 0; padding: 4px 9px; border-radius: 999px; background: #f7ead8; color: #8b4f18; font-size: .8rem; font-weight: 800; }

form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 780; }
.field input,.field select,.field textarea { width: 100%; font: inherit; padding: 12px 13px; border: 1px solid #cbd2da; border-radius: 10px; }
.field textarea { min-height: 140px; }
.hp { position: absolute; left: -9999px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th,td { padding: 13px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--soft); }

footer { margin-top: 72px; background: #0b121b; color: #dce2e8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; padding: 48px 0; }
.footer-grid a { color: #dce2e8; }
.footer-grid h3 { color: #fff; font-size: 1.05rem; }
.footer-bottom { border-top: 1px solid #253140; padding: 18px 0; color: #9aa5b2; font-size: .88rem; }

@media (max-width: 960px) {
  .hero-grid,.article-wrap { grid-template-columns: 1fr; }
  .grid-3,.grid-4,.footer-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: relative; top: auto; }
  .nav-links { display: none; position: absolute; left: 18px; right: 18px; top: 76px; background: #111a24; border: 1px solid #334152; border-radius: 16px; padding: 18px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .service-strip .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar .wrap { flex-direction: column; align-items: flex-start; padding: 8px 0; gap: 2px; }
  .grid-2,.grid-3,.grid-4,.footer-grid { grid-template-columns: 1fr; }
  .service-strip .wrap { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 62px; }
  h1 { font-size: 2.7rem; }
  .section { padding: 54px 0; }
  .cta-band { padding: 28px; }
  .brand { min-width: 0; }
  .brand-text span { display: none; }
}

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