:root {
  --ink: #0e1726;
  --ink-2: #3b4658;
  --muted: #6b7686;
  --line: #e3e7ee;
  --bg: #f6f7f9;
  --card: #ffffff;
  --accent: #e4572e;
  --accent-ink: #ffffff;
  --accent-soft: #fdeee9;
  --ok: #1f8a4c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14,23,38,.06), 0 8px 24px rgba(14,23,38,.06);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); line-height: 1.5; padding-bottom: 72px; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.brand { font-weight: 800; letter-spacing: -.01em; text-decoration: none; font-size: 1.1rem; }
.topbar-phone { text-decoration: none; font-weight: 600; opacity: .9; }

.hero { background: linear-gradient(180deg, var(--ink) 0%, #1b2940 100%); color: #fff; padding: 56px 0 64px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: #9fb0c8; margin: 0 0 12px; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 16px; }
.accent { color: var(--accent); }
.lede { font-size: 1.15rem; color: #c9d3e1; max-width: 560px; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: #c9d3e1; font-size: .92rem; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 8px; }

.btn { border: 0; border-radius: 10px; padding: 12px 18px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .05s, filter .15s; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 22px; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn[disabled] { opacity: .6; cursor: wait; }

.section { padding: 48px 16px 8px; }
.section h2 { font-size: 1.6rem; letter-spacing: -.02em; margin: 0 0 18px; }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat { text-align: left; background: var(--ink); color: #fff; border: 0; border-radius: var(--radius); padding: 22px 18px; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; }
.cat:hover { background: #1b2940; }
.cat-title { font-weight: 800; font-size: 1.1rem; }
.cat-sub { color: #9fb0c8; font-size: .88rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.card { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-k { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--accent); }
.card-title { font-weight: 800; font-size: 1.15rem; }
.card-sub { color: var(--muted); font-size: .92rem; }

.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 48px; padding: 32px 0; }
.band-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.band-inner div { display: flex; gap: 14px; align-items: flex-start; }
.band-inner strong { background: var(--accent-soft); color: var(--accent); border-radius: 999px; min-width: 36px; height: 36px; display: grid; place-items: center; }
.band-inner span { color: var(--ink-2); }

.footer { padding: 40px 0; color: var(--muted); font-size: .92rem; }
.footer p { margin: 2px 0; }
.footer .brand { color: var(--ink); }

.mobile-bar { display: none; }

/* modal */
dialog { border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 20px 60px rgba(0,0,0,.3); color: var(--ink); }
dialog::backdrop { background: rgba(14,23,38,.55); }
#lead-form { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.01em; }
.x { background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); padding: 0 4px; }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.step-title { font-weight: 700; margin: 4px 0 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; font-weight: 600; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.chips input:checked + label { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.chips input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.consent input { margin-top: 3px; flex-shrink: 0; }
.form-error { color: #c0392b; font-weight: 600; margin: 0; min-height: 1em; font-size: .9rem; }
.form-error:empty { display: none; }
.modal-foot { display: flex; justify-content: space-between; gap: 12px; }
.modal-foot .btn { flex: 1; }
.hp { position: absolute; left: -9999px; }
.done { text-align: center; padding: 20px 0; }
.done .check { width: 64px; height: 64px; border-radius: 99px; background: #e7f6ed; color: var(--ok); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 12px; }

@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr 1fr; }
  .band-inner { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 48px; }
  .hero-ctas .btn { width: 100%; }
  .topbar-phone { font-size: .9rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); z-index: 20; }
  .mobile-bar .btn-ghost { color: var(--ink); }
}
@media (min-width: 761px) { body { padding-bottom: 0; } }
