/* PrecinctsPro public homepage and sign-up. Visual, short text, mobile first. */
:root { --navy: #1e2d5a; --navy2: #2b3b74; --gold: #c4892a; --gold2: #d9a24a; --bg: #f6f2ea; --card: #fff; --line: #e4dccd; --soft: #efe8dc; --muted: #5f6782; --green: #2d6a4f; --red: #b3261e; --r: 16px; --shadow: 0 10px 30px rgba(30,45,90,.08); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.hp { margin: 0; background: var(--bg); color: var(--navy); font: 16px/1.55 "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.hp a { color: var(--navy); }
.hp-wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.hp-narrow { max-width: 680px; }
.hp-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.hp-skip:focus { left: 8px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 750; }
p { margin: 0 0 1em; }
.hp-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 800; color: var(--gold); margin: 0 0 10px; }
.hp-small { font-size: 14px; color: var(--muted); }
.hp-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hp-head-in { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 16px; }
/* Official PrecinctsPro logo: same file as the old site header (theme logo public://PrecinctsPro.png), kept on disk in this module. */
.hp-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.hp-logo img { width: 80px; height: 80px; display: block; }
.hp-nav { display: flex; align-items: center; gap: 22px; }
.hp-nav a { text-decoration: none; font-weight: 650; font-size: 15.5px; }
.hp-nav a:hover { color: var(--gold); }
.hp-nav .hp-signin { border: 1.5px solid var(--navy); border-radius: 999px; padding: 7px 18px; }
.hp-nav .hp-signin:hover { background: var(--navy); color: #fff; }
.hp-menu { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 26px; font-weight: 750; font-size: 16.5px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .12s, background .12s; }
.hp-btn:hover { transform: translateY(-1px); }
.hp-btn-sm { padding: 8px 18px; font-size: 15px; }
.hp a.hp-btn-gold, .hp-btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(196,137,42,.35); }
.hp a.hp-btn-gold:hover, .hp-btn-gold:hover { background: #b07a22; color: #fff; }
.hp a.hp-btn-ghost, .hp-btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.hp a.hp-btn-line, .hp-btn-line { border-color: var(--navy); color: var(--navy); background: #fff; }
.hp-btn-block { width: 100%; }
.hp-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.hp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.hp-hero { background: radial-gradient(1200px 500px at 85% -10%, #3c4e93 0, transparent 60%), linear-gradient(135deg, #1e2d5a 0%, #22336b 60%, #2b3b74 100%); color: #fff; padding: 72px 0 84px; overflow: hidden; }
.hp-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hp-hero h1 { color: #fff; }
.hp-hero .hp-kicker { color: var(--gold2); }
.hp-lead { font-size: clamp(17px, 2vw, 20px); color: #dfe4f3; max-width: 560px; }
.hp-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: #cfd6ee; font-size: 15px; }
.hp-ticks li { display: inline-flex; gap: 6px; align-items: center; }
.hp-ticks svg { color: var(--gold2); }
.hp-mock { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.28); transform: rotate(-1.5deg); }
.hp-mock-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.hp-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e7dfd0; }
.hp-mock-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.hp-mock-map { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; background: var(--soft); padding: 10px; border-radius: 12px; }
.hp-mock-map i { aspect-ratio: 1; border-radius: 5px; background: #d9e2f3; }
.hp-mock-map i.t1 { background: #f3d9a8; } .hp-mock-map i.t2 { background: #9fc3a9; } .hp-mock-map i.t3 { background: var(--green); } .hp-mock-map i.t0 { background: #e8d0cd; }
.hp-mock-side { display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; background: var(--soft); border-radius: 12px; padding: 12px; }
.hp-mock-ring { width: 86px; height: 86px; border-radius: 50%; background: conic-gradient(var(--gold) 0 68%, #e6dccb 0); display: grid; place-items: center; }
.hp-mock-ring::after { content: ""; width: 58px; height: 58px; border-radius: 50%; background: var(--soft); }
.hp-mock-lines { width: 100%; display: grid; gap: 7px; }
.hp-mock-lines b { height: 8px; border-radius: 9px; background: #d6cdbd; } .hp-mock-lines b:nth-child(2) { width: 75%; } .hp-mock-lines b:nth-child(3) { width: 55%; }
.hp-mock-cols { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 12px; padding: 10px; background: var(--soft); border-radius: 12px; }
.hp-mock-cols i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #3b6fb6, var(--navy)); }
.hp-mock-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hp-mock-chips span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #eef1f9; color: var(--navy); }
.hp-sec { padding: 76px 0; }
.hp-sec-soft { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hp-sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.hp-sec-head p { color: var(--muted); font-size: 18px; }
.hp-sec-head.hp-left { text-align: left; margin: 0 0 28px; }
.hp-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }
.hp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hp-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.hp-tile:hover { transform: translateY(-3px); border-color: var(--c); }
.hp-tile-art { height: 150px; background: color-mix(in srgb, var(--c) 10%, #fff); display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.hp-tile-body { padding: 20px 22px 24px; }
.hp-tile-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--c); margin: -42px 0 12px; box-shadow: 0 6px 14px rgba(0,0,0,.14); position: relative; }
.hp-tile p { color: var(--muted); margin: 0; font-size: 15.5px; }
.ta { width: 210px; height: 112px; position: relative; }
.ta-list { background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow); display: grid; gap: 7px; align-content: start; }
.ta-list .ta-pill { justify-self: start; font-size: 11px; font-weight: 800; background: var(--c); color: #fff; border-radius: 99px; padding: 2px 9px; }
.ta-list b { height: 8px; border-radius: 8px; background: #dfe6f3; } .ta-list b.s { width: 62%; }
.ta-tree { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ta-tree .n { width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--c) 45%, #fff); border: 3px solid #fff; box-shadow: var(--shadow); display: inline-block; }
.ta-tree .n.top { width: 34px; height: 34px; background: var(--c); }
.ta-tree .ln { width: 2px; height: 8px; background: var(--c); }
.ta-tree .row { display: flex; gap: 18px; } .ta-tree .row.sm { gap: 8px; } .ta-tree .row.sm .n { width: 18px; height: 18px; }
.ta-chat .bub { position: absolute; height: 24px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.ta-chat .bub.l { left: 6px; top: 8px; width: 130px; } .ta-chat .bub.l.s { top: 76px; width: 96px; }
.ta-chat .bub.r { right: 6px; top: 42px; width: 120px; background: var(--c); }
.ta-chat .env { position: absolute; right: 18px; bottom: 4px; width: 46px; height: 32px; border-radius: 6px; background: #fff; box-shadow: var(--shadow); border: 2px solid var(--c); }
.ta-phone { display: grid; place-items: center; }
.ta-phone .scr { width: 92px; height: 112px; border-radius: 16px; background: #fff; border: 4px solid var(--navy); padding: 8px; display: grid; gap: 5px; align-content: start; }
.ta-phone small { font-size: 9px; font-weight: 800; color: var(--c); }
.ta-phone b { height: 6px; border-radius: 6px; background: #e3dcef; } .ta-phone b.s { width: 70%; }
.ta-phone .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 3px; }
.ta-phone .btns i { height: 14px; border-radius: 5px; background: color-mix(in srgb, var(--c) 30%, #fff); } .ta-phone .btns i:first-child { background: var(--c); }
.ta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 6px; }
.ta-grid i { border-radius: 5px; background: var(--c); opacity: .85; }
.ta-grid i.g { background: #f0c9a0; opacity: 1; }
.ta-money { display: flex; gap: 12px; align-items: center; justify-content: center; }
.ta-money .cal { width: 104px; background: #fff; border-radius: 10px; padding: 8px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; border-top: 8px solid var(--c); }
.ta-money .cal span { aspect-ratio: 1; border-radius: 4px; background: #f1e6e4; } .ta-money .cal span.on { background: var(--c); }
.ta-money .amts { display: grid; gap: 6px; } .ta-money .amts i { width: 70px; height: 20px; border-radius: 99px; background: #fff; box-shadow: var(--shadow); } .ta-money .amts i.on { background: var(--c); }
.hp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hp-step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; position: relative; }
.hp-step-n { position: absolute; top: 18px; right: 20px; font-size: 44px; font-weight: 900; color: #e6dcc9; line-height: 1; }
.hp-step-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.hp-step p { color: var(--muted); margin: 0; }
.hp-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hp-who-card { background: #fff; border-radius: var(--r); padding: 28px 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hp-who-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fbf1df; color: var(--gold); margin-bottom: 14px; }
.hp-who-card p { color: var(--muted); margin: 0; }
.hp-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.hp-quote { margin: 0; background: var(--bg); border-radius: var(--r); padding: 26px; border: 1px solid var(--line); }
.hp-quote-mark { color: var(--gold); }
.hp-quote blockquote { margin: 8px 0 14px; font-size: 18px; font-weight: 600; }
.hp-quote figcaption b { display: block; } .hp-quote figcaption span { color: var(--muted); font-size: 14px; }
.hp-price { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 40px; align-items: center; background: #fff; border-radius: 22px; padding: 40px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hp-price p { color: var(--muted); font-size: 17px; }
.hp-price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-weight: 650; }
.hp-price-list li { display: flex; gap: 10px; align-items: center; } .hp-price-list svg { color: var(--green); flex: none; }
.hp-price .hp-cta { grid-column: 1 / -1; margin: 0; }
.hp-band { background: linear-gradient(120deg, var(--navy), var(--navy2)); color: #fff; padding: 56px 0; }
.hp-band-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hp-band h2 { color: #fff; margin: 0; }
.hp-band .hp-cta { margin: 0; }
.hp-foot { background: #151f40; color: #c8cee3; padding: 40px 0 28px; }
.hp-foot-in { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: start; }
.hp-foot .hp-logo img { width: 64px; height: 64px; }
.hp-foot-brand p { margin: 10px 0 0; font-size: 14px; max-width: 360px; }
.hp-foot-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hp-foot-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; } .hp-foot-nav a:hover { color: var(--gold2); }
.hp-copy { grid-column: 1 / -1; font-size: 13px; color: #8d96b8; margin: 10px 0 0; border-top: 1px solid #27325a; padding-top: 16px; }
.hp-filter { display: grid; grid-template-columns: 1fr 220px auto; gap: 12px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); margin-bottom: 20px; }
.hp-filter .hp-field { margin: 0; }
.hp-clients { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.hp-client a { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; box-shadow: var(--shadow); transition: border-color .12s, transform .12s; min-height: 76px; }
.hp-client a:hover, .hp-client a:focus { border-color: var(--gold); transform: translateY(-1px); }
.hp-client-logo { width: 48px; height: 48px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--soft); }
.hp-client-logo img { width: 100%; height: 100%; object-fit: contain; }
.hp-mono { font-weight: 900; color: var(--navy); font-size: 17px; letter-spacing: .02em; }
.hp-client-name { flex: 1; font-weight: 750; line-height: 1.25; }
.hp-client-name small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.hp-client svg { color: var(--gold); flex: none; }
.hp-empty { color: var(--muted); padding: 20px 0; }
.hp-org-note { display: flex; gap: 12px; align-items: center; margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: #fbf1df; color: var(--navy); }
.hp-org-note svg { color: var(--gold); flex: none; }
.hp-signup-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.hp-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.hp-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.hp-form legend { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; margin-bottom: 10px; padding: 0; }
.hp-form legend em, .hp-field em { font-style: normal; font-weight: 500; color: var(--muted); }
.hp-form legend svg { color: var(--gold); }
.hp-field { display: block; margin: 0 0 14px; }
.hp-field > span { display: block; font-weight: 650; font-size: 14.5px; margin-bottom: 5px; }
.hp-field small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.hp-field input, .hp-field select, .hp-field textarea { width: 100%; font: inherit; color: var(--navy); background: #fdfcf9; border: 1.5px solid #d8cfbd; border-radius: 10px; padding: 11px 12px; min-height: 46px; }
.hp-field textarea { min-height: 120px; resize: vertical; }
.hp-field input:focus, .hp-field select:focus, .hp-field textarea:focus { outline: 3px solid rgba(196,137,42,.35); border-color: var(--gold); background: #fff; }
.hp-field [aria-invalid="true"] { border-color: var(--red); }
.hp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hp-row-3 { grid-template-columns: 1fr 1.6fr 1.2fr; }
.hp-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 15px; cursor: pointer; }
.hp-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.hp-role { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.hp-err { display: block; color: var(--red); font-size: 13.5px; font-weight: 650; margin-top: 4px; }
.hp-alert { background: #fdecea; color: var(--red); border-radius: 12px; padding: 12px 14px; font-weight: 650; margin-bottom: 16px; }
.hp-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hp-pow { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin: 4px 0 14px; }
.hp-pow svg { color: var(--green); }
.hp-pow.is-done span { color: var(--green); font-weight: 700; }
.hp-aside { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: sticky; top: 88px; }
.hp-aside h2 { font-size: 20px; }
.hp-aside-team { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.hp-aside-team img, .hp-aside-team .hp-mono { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; background: var(--soft); display: grid; place-items: center; }
.hp-next { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.hp-next li { display: flex; gap: 12px; }
.hp-next li > span { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.hp-next small { display: block; color: var(--muted); font-size: 14px; }
.hp-lock { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; font-size: 14px; color: var(--green); font-weight: 650; }
.hp-done { text-align: center; background: #fff; border-radius: 22px; padding: 48px 32px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hp-done-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: #fbf1df; color: var(--gold); }
.hp-done h1 { font-size: clamp(26px, 4vw, 36px); }
.hp-done p { color: var(--muted); font-size: 17px; }
.hp-legal h1 { font-size: 34px; }
@media (max-width: 960px) {
  .hp-hero-in, .hp-signup-grid, .hp-price { grid-template-columns: 1fr; }
  .hp-hero { padding: 48px 0 60px; }
  .hp-hero-art { max-width: 520px; }
  .hp-tiles { grid-template-columns: 1fr 1fr; }
  .hp-aside { position: static; }
}
@media (max-width: 760px) {
  .hp-menu { display: block; }
  .hp-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .hp-nav.is-open { display: flex; }
  .hp-nav a { padding: 12px 0; border-bottom: 1px solid var(--soft); }
  .hp-nav .hp-signin, .hp-nav .hp-btn { margin-top: 10px; text-align: center; justify-content: center; border-bottom: 0; }
  .hp-tiles, .hp-steps, .hp-who { grid-template-columns: 1fr; }
  .hp-sec { padding: 52px 0; }
  .hp-filter { grid-template-columns: 1fr; }
  .hp-row, .hp-row-3 { grid-template-columns: 1fr; }
  .hp-form { padding: 20px; }
  .hp-price { padding: 26px; }
  .hp-foot-in { grid-template-columns: 1fr; }
  .hp-cta .hp-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
