:root {
  --navy: #222e4e;
  --navy-deep: #17213b;
  --gold: #bc9963;
  --gold-bright: #d4b982;
  --ink: #1b2333;
  --slate: #5d6574;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --line: #dfe2e8;
  --shadow: 0 24px 70px rgba(23, 33, 59, .16);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; background: white; color: var(--navy); padding: 10px 16px; border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.transition-strip { background: var(--gold); color: var(--navy-deep); font-size: .88rem; }
.transition-inner { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 26px; }
.transition-inner p { margin: 0; }
.text-button { border: 0; background: transparent; color: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; padding: 4px 0; }
.text-button:hover, .text-button:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(34, 46, 78, .97); color: white; border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.header-inner { height: 88px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 220px; }
.brand img { width: 60px; height: auto; object-fit: contain; }
.brand-name { color: white; font-family: var(--serif); font-size: 1.02rem; line-height: 1.2; letter-spacing: .01em; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav a { position: relative; color: rgba(255,255,255,.82); text-decoration: none; font-size: .92rem; font-weight: 600; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--gold); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.header-phone { text-decoration: none; border-left: 1px solid rgba(255,255,255,.18); padding-left: 28px; line-height: 1.2; }
.eyebrow { display: block; color: var(--gold-bright); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 5px; }
.header-phone strong { font-size: .96rem; }
.menu-toggle { display: none; margin-left: auto; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: white; margin: 5px 0; }

.hero { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); background: var(--navy); }
.hero-copy { display: flex; align-items: center; background: linear-gradient(140deg, var(--navy-deep), var(--navy)); color: white; }
.hero-copy-inner { width: min(650px, calc(100% - 48px)); margin-left: max(24px, calc((100vw - 1180px)/2)); padding: 84px 60px 84px 0; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--gold-bright); font-size: .76rem; line-height: 1.3; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.kicker span { width: 30px; height: 1px; background: currentColor; }
.kicker.dark { color: #846635; }
.kicker.light { color: var(--gold-bright); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 5vw, 5.3rem); max-width: 780px; }
h2 { font-size: clamp(2.2rem, 3.6vw, 3.65rem); }
h3 { font-size: 1.16rem; line-height: 1.35; }
.hero-lede { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: 1.12rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 3px; padding: 0 22px; text-decoration: none; font-weight: 700; font-size: .88rem; cursor: pointer; transition: transform .2s ease, background .2s ease, border .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--navy-deep); }
.button-gold:hover { background: var(--gold-bright); }
.button-outline { background: transparent; color: white; border-color: rgba(255,255,255,.36); }
.button-outline:hover { border-color: white; }
.button-navy { background: var(--navy); color: white; }
.button-light { background: white; color: var(--navy); }
.button-ghost { background: transparent; color: white; border-color: rgba(255,255,255,.35); }
.microcopy { margin: 18px 0 0; color: rgba(255,255,255,.55); font-size: .77rem; max-width: 570px; }
.hero-image { position: relative; min-height: 690px; background: linear-gradient(180deg, rgba(23,33,59,.05), rgba(23,33,59,.42)), url("assets/hero-police.jpg") 58% center/cover no-repeat; }
.hero-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34,46,78,.35), transparent 35%); }
.hero-badge { position: absolute; left: 0; bottom: 42px; width: min(390px, 88%); display: flex; align-items: center; gap: 14px; padding: 20px 24px; color: white; background: rgba(23,33,59,.92); border-left: 4px solid var(--gold); box-shadow: var(--shadow); }
.badge-icon { color: var(--gold-bright); font-size: 1.6rem; }
.hero-badge p { margin: 0; font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.72); }
.hero-badge strong { color: white; font-size: .96rem; }

.service-community { border-bottom: 1px solid var(--line); background: white; }
.community-row { min-height: 92px; display: flex; align-items: center; gap: 34px; }
.community-row > p { margin: 0; color: var(--slate); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; white-space: nowrap; }
.community-list { width: 100%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.community-list span { text-align: center; color: var(--navy); font-size: .86rem; font-weight: 700; border-left: 1px solid var(--line); }

.section { padding: 110px 0; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.intro-copy { padding-top: 14px; }
.intro-copy p { margin: 0 0 18px; color: var(--slate); }
.intro-copy .large-copy { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; line-height: 1.6; }

.solutions { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.section-heading > p { margin: 0 0 5px; color: var(--slate); }
.section-heading.centered { display: block; max-width: 780px; margin: 0 auto 54px; text-align: center; }
.section-heading.centered .kicker { justify-content: center; }
.section-heading.centered > p { margin: 18px auto 0; max-width: 620px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d7d0c4; border-left: 1px solid #d7d0c4; }
.solution-card { position: relative; min-height: 330px; padding: 34px; background: rgba(255,255,255,.62); border-right: 1px solid #d7d0c4; border-bottom: 1px solid #d7d0c4; transition: background .25s ease, transform .25s ease; }
.solution-card:hover { background: white; transform: translateY(-3px); z-index: 1; box-shadow: 0 18px 40px rgba(23,33,59,.08); }
.solution-card.featured { background: var(--navy); color: white; }
.solution-card.featured p { color: rgba(255,255,255,.7); }
.card-number { position: absolute; top: 24px; right: 26px; color: #9b8c75; font-size: .72rem; letter-spacing: .14em; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 46px; color: var(--gold); border: 1px solid currentColor; border-radius: 50%; font-size: 1.35rem; }
.solution-card h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.solution-card p { color: var(--slate); font-size: .92rem; }
.card-link { border: 0; background: transparent; color: var(--gold-bright); padding: 10px 0; font-weight: 700; cursor: pointer; }
.section-note { margin: 24px 0 0; color: var(--slate); font-size: .82rem; }

.process { padding: 0; background: var(--navy-deep); color: white; }
.process-layout { width: 100%; max-width: none; display: grid; grid-template-columns: 1.03fr .97fr; }
.process-visual { position: relative; min-height: 760px; overflow: hidden; }
.process-visual img { width: 100%; height: 100%; object-fit: cover; }
.process-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(23,33,59,.85)); }
.visual-caption { position: absolute; z-index: 1; left: max(32px, calc((100vw - 1180px)/2)); right: 32px; bottom: 44px; display: flex; flex-direction: column; }
.visual-caption strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.visual-caption span { color: rgba(255,255,255,.66); font-size: .86rem; }
.process-copy { padding: 110px max(32px, calc((100vw - 1180px)/2)) 110px 80px; }
.process-copy h2 { max-width: 520px; }
.steps { list-style: none; padding: 0; margin: 46px 0 38px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-bright); border-radius: 50%; font-size: .8rem; }
.steps h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; }
.steps p { margin: 0; color: rgba(255,255,255,.65); font-size: .9rem; }

.moments { background: white; }
.moment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.moment-card { position: relative; min-height: 190px; padding: 36px; text-align: left; color: var(--navy); background: white; border: 1px solid var(--line); cursor: pointer; transition: border .2s ease, background .2s ease, transform .2s ease; }
.moment-card:hover, .moment-card:focus-visible { border-color: var(--gold); background: var(--cream); transform: translateY(-2px); }
.moment-arrow { position: absolute; top: 24px; right: 26px; color: var(--gold); font-size: 1.25rem; }
.moment-card strong { display: block; max-width: 360px; margin-top: 35px; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.moment-card small { display: block; margin-top: 12px; color: var(--slate); font-size: .85rem; }

.story { padding: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 610px; background: var(--navy); color: white; }
.story-image { background: linear-gradient(90deg, transparent 65%, rgba(34,46,78,.4)), url("assets/first-responders-military.jpg") center/cover no-repeat; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px max(32px, calc((100vw - 1180px)/2)) 90px 80px; }
.story-copy p:not(.kicker) { margin: 26px 0 0; color: rgba(255,255,255,.72); }
.story-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

.faq { background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-intro > p:not(.kicker) { color: var(--slate); margin: 24px 0 30px; }
.accordion { border-top: 1px solid #cbc3b6; }
.accordion details { border-bottom: 1px solid #cbc3b6; }
.accordion summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 25px 0; font-family: var(--serif); font-size: 1.05rem; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--gold); font-family: var(--sans); font-size: 1.4rem; transition: transform .2s ease; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { margin: -8px 46px 24px 0; color: var(--slate); font-size: .92rem; }

.closing-cta { padding: 72px 0; background: var(--navy-deep); color: white; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.closing-inner h2 { max-width: 700px; font-size: clamp(2rem, 3.4vw, 3.2rem); }
.closing-actions { display: flex; gap: 12px; flex-wrap: wrap; min-width: max-content; }

footer { padding: 76px 0 30px; background: #11182b; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand p, .footer-grid p { color: rgba(255,255,255,.62); font-size: .85rem; }
.footer-grid h3 { margin: 0 0 12px; color: var(--gold-bright); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { color: white; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.legal-disclosure { margin-top: 58px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.52); font-size: .72rem; line-height: 1.6; }
.copyright { margin-top: 18px; }

.chat-dialog { width: min(420px, calc(100% - 24px)); max-width: none; padding: 0; margin: auto 18px 18px auto; border: 0; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.32); overflow: hidden; }
.chat-dialog::backdrop { background: rgba(11,16,29,.42); backdrop-filter: blur(3px); }
.chat-shell { background: white; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy); color: white; }
.chat-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .75rem; }
.chat-header strong { display: block; font-size: .9rem; }
.chat-header span { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.68); font-size: .72rem; }
.chat-header i { width: 7px; height: 7px; border-radius: 50%; background: #77d69b; }
.chat-close { margin-left: auto; border: 0; background: transparent; color: white; font-size: 1.55rem; line-height: 1; cursor: pointer; }
.chat-notice { padding: 8px 16px; text-align: center; background: #f7f0e3; color: #66512d; font-size: .68rem; }
.chat-body { height: 360px; overflow-y: auto; padding: 18px; background: #f7f8fb; }
.message { max-width: 87%; margin-bottom: 12px; padding: 11px 13px; border-radius: 12px; font-size: .84rem; line-height: 1.5; }
.message.bot { background: white; color: var(--ink); border: 1px solid #e4e7ed; border-bottom-left-radius: 3px; }
.message.user { margin-left: auto; background: var(--navy); color: white; border-bottom-right-radius: 3px; }
.quick-replies { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.quick-replies button { border: 1px solid #d8c6a7; background: white; color: var(--navy); border-radius: 999px; padding: 7px 10px; font-size: .74rem; cursor: pointer; }
.quick-replies button:hover { background: #f7f0e3; }
.chat-form { display: grid; grid-template-columns: 1fr 44px; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: .84rem; }
.chat-form button { border: 0; border-radius: 8px; background: var(--gold); color: var(--navy); font-weight: 800; cursor: pointer; }
.mockup-label { margin: 0; padding: 0 12px 10px; text-align: center; color: #8a909c; font-size: .64rem; }

.transition-page { min-height: 100vh; background: var(--cream); }
.transition-main { min-height: 100vh; display: grid; grid-template-columns: .92fr 1.08fr; }
.transition-visual { position: sticky; top: 0; height: 100vh; background: linear-gradient(180deg, rgba(23,33,59,.12), rgba(23,33,59,.54)), url("assets/hero-police.jpg") 62% center/cover no-repeat; }
.transition-content { display: flex; align-items: center; padding: 60px 0; }
.transition-content-inner { width: min(680px, calc(100% - 80px)); margin: 0 auto; }
.transition-brand { width: fit-content; margin-bottom: 64px; }
.transition-brand .brand-name { color: var(--navy); }
.transition-content h1 { color: var(--navy); font-size: clamp(2.7rem, 5vw, 4.8rem); }
.transition-lede { margin: 28px 0 18px; color: var(--ink); font-family: var(--serif); font-size: 1.22rem; line-height: 1.6; }
.transition-content p:not(.kicker) { color: var(--slate); }
.assistance-box { margin: 34px 0; padding: 30px; background: var(--navy); color: white; box-shadow: var(--shadow); }
.assistance-box h2 { font-size: 1.65rem; }
.assistance-box p { color: rgba(255,255,255,.68) !important; }
.assistance-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ai-demo-note { margin: 14px 0 0; font-size: .72rem; line-height: 1.5; }
.assistance-label { display: block; margin-bottom: 9px; color: var(--gold-bright); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.transition-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cbc3b6; border-bottom: 1px solid #cbc3b6; }
.transition-links a { padding: 16px 12px; text-decoration: none; font-size: .8rem; font-weight: 700; border-right: 1px solid #cbc3b6; }
.transition-links a:last-child { border-right: 0; }
.transition-links span { display: block; color: #846635; font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.privacy-note { margin: 24px 0 8px; font-size: .78rem; }
.compact-disclosure { font-size: .7rem; line-height: 1.55; }

@media (max-width: 980px) {
  .site-nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .site-nav.open { position: absolute; top: 88px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 24px 24px; background: var(--navy-deep); }
  .site-nav.open a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy-inner { margin: 0 auto; padding: 78px 0; }
  .hero-image { min-height: 480px; }
  .community-row { align-items: flex-start; flex-direction: column; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
  .community-list { grid-template-columns: repeat(3, 1fr); gap: 12px 0; }
  .intro-grid, .section-heading, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .process-layout { grid-template-columns: 1fr; }
  .process-visual { min-height: 520px; }
  .process-copy { padding: 90px max(24px, calc((100vw - 760px)/2)); }
  .story { grid-template-columns: 1fr; }
  .story-image { min-height: 480px; }
  .story-copy { padding: 90px max(24px, calc((100vw - 760px)/2)); }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .transition-main { grid-template-columns: 1fr; }
  .transition-visual { position: relative; height: 48vh; min-height: 380px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1180px); }
  .transition-inner { min-height: 58px; align-items: flex-start; flex-direction: column; gap: 0; padding-top: 8px; padding-bottom: 8px; }
  .transition-inner p { font-size: .78rem; }
  .header-inner { height: 76px; }
  .brand { min-width: 0; }
  .brand img { width: 52px; }
  .brand-name { font-size: .88rem; }
  .site-nav.open { top: 76px; }
  .hero { min-height: auto; }
  .hero-copy-inner { width: calc(100% - 32px); padding: 62px 0; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.65rem); }
  h2 { font-size: clamp(2rem, 10vw, 2.9rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions, .story-actions, .closing-actions { width: 100%; flex-direction: column; }
  .hero-actions .button, .story-actions .button, .closing-actions .button, .assistance-actions .button { width: 100%; }
  .assistance-actions { flex-direction: column; }
  .hero-image { min-height: 390px; }
  .hero-badge { bottom: 20px; padding: 16px 18px; }
  .community-list { grid-template-columns: repeat(2, 1fr); }
  .community-list span { font-size: .78rem; }
  .section { padding: 78px 0; }
  .intro-grid { gap: 28px; }
  .solution-grid, .moment-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 280px; }
  .process-visual, .story-image { min-height: 350px; }
  .process-copy, .story-copy { padding: 72px 16px; }
  .visual-caption { left: 20px; bottom: 22px; }
  .closing-cta { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .chat-dialog { margin: auto auto 8px; }
  .chat-body { height: 330px; }
  .transition-content { padding: 40px 0; }
  .transition-content-inner { width: calc(100% - 32px); }
  .transition-brand { margin-bottom: 42px; }
  .transition-links { grid-template-columns: 1fr; }
  .transition-links a { border-right: 0; border-bottom: 1px solid #cbc3b6; }
  .transition-links a:last-child { border-bottom: 0; }
  vapi-widget .vapi-widget-wrapper > div { right: .5rem !important; bottom: .5rem !important; }
  vapi-widget .vapi-widget-wrapper > div > div:not([class]),
  vapi-widget .vapi-widget-wrapper > div > div[class=""] {
    width: calc(100vw - 1rem) !important;
    height: calc(100vh - 1rem) !important;
    max-height: 40rem;
  }
}

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