/* CopBuilt LLC website. Dark layout with police blue, red and white. */
:root {
  --bg: #06080d;
  --bg-alt: #0a0e17;
  --card: #0e1420;
  --card-2: #121a29;
  --line: rgba(120, 150, 210, .16);
  --line-strong: rgba(90, 140, 255, .38);
  --blue: #1f5cf0;
  --blue-2: #3b7bff;
  --blue-soft: #8db2ff;
  --red: #d7192b;
  --red-2: #ff3b4b;
  --white: #f6f8fc;
  --text: #c6cfdf;
  --muted: #8a96ab;
  --head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --max: 1160px;
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-soft); }
a:hover { color: var(--white); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--white); line-height: 1.15; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { color: var(--white); }
.hl { color: var(--blue-2); }
.hl-red { color: var(--red-2); }
em.it { font-style: italic; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 200; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }

/* ---------- Floating nav ---------- */
.site-header { position: sticky; top: 14px; z-index: 100; padding: 0 16px; margin-top: 14px; }
.nav-bar {
  max-width: 980px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(9, 12, 19, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 10px 9px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font: 800 1.12rem var(--head); letter-spacing: -.02em; }
.brand:hover { color: var(--white); }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; padding: 8px 13px; border-radius: 999px; }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--white); }
.nav .btn { margin-left: 8px; padding: 9px 18px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; border-radius: 999px; }
.nav-toggle svg { width: 24px; height: 24px; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff; border: 0; border-radius: 999px;
  padding: 13px 26px;
  font: 600 1rem var(--body);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(31, 92, 240, .35);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(31, 92, 240, .5); }
.btn svg { width: 16px; height: 16px; }
.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }
.btn-red { background: linear-gradient(135deg, var(--red-2), var(--red)); box-shadow: 0 6px 24px rgba(215, 25, 43, .35); }
.btn-red:hover { box-shadow: 0 10px 30px rgba(215, 25, 43, .5); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 90px; margin-top: -78px; padding-top: 170px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 60% at 50% 38%, rgba(31, 92, 240, .34), transparent 70%),
    radial-gradient(ellipse 30% 40% at 8% 20%, rgba(215, 25, 43, .20), transparent 70%),
    radial-gradient(ellipse 30% 40% at 92% 20%, rgba(31, 92, 240, .22), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero h1 { max-width: 900px; margin: 0 auto .4em; }
.hero .lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--text); max-width: 680px; margin: 0 auto; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-left { text-align: left; }
.hero-left .lead { margin: 0; }
.hero-left .actions { justify-content: flex-start; }
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

.lightbar { display: inline-flex; gap: 6px; margin-bottom: 22px; }
.lightbar span { width: 46px; height: 4px; border-radius: 4px; }
.lightbar span:first-child { background: var(--red-2); box-shadow: 0 0 14px rgba(255, 59, 75, .8); }
.lightbar span:last-child { background: var(--blue-2); box-shadow: 0 0 14px rgba(59, 123, 255, .8); }
.eyebrow { display: block; font: 700 .78rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 14px; }
.eyebrow.red { color: var(--red-2); }

.facts { margin-top: 70px; padding-top: 34px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.fact b { display: block; font: 800 1.9rem var(--head); color: var(--white); letter-spacing: -.02em; }
.fact span { font-size: .92rem; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.head p { color: var(--muted); font-size: 1.1rem; }
.head.left { margin-left: 0; text-align: left; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  transition: border-color .2s;
}
.card:hover { border-color: var(--line-strong); }
.card p { color: var(--muted); margin: 0; }
.card p + p { margin-top: .8em; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 18px; margin: 7px 0; font-size: .95rem; color: var(--text); }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); }
.card.red li::before { background: var(--red-2); }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(59, 123, 255, .12); border: 1px solid rgba(59, 123, 255, .28); color: var(--blue-soft); }
.ico.red { background: rgba(255, 59, 75, .1); border-color: rgba(255, 59, 75, .3); color: var(--red-2); }
.ico svg { width: 23px; height: 23px; }

/* Product cards on the home page */
.product { display: flex; flex-direction: column; padding: 36px; }
.product .top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.product .top img { width: 64px; height: 64px; border-radius: 14px; }
.product .top h3 { margin: 0; font-size: 1.55rem; }
.product .top small { display: block; color: var(--muted); font-size: .9rem; }
.product .more { margin-top: auto; padding-top: 26px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px; border: 1px solid; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.live { color: #5fd38a; border-color: rgba(95, 211, 138, .35); }
.status.dev { color: var(--blue-soft); border-color: rgba(141, 178, 255, .35); }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.quote { border-left: 3px solid var(--red-2); padding: 4px 0 4px 24px; font: 500 1.35rem/1.5 var(--head); color: var(--white); margin-bottom: 22px; }

/* CTA band */
.cta { text-align: center; padding: 64px 32px; border-radius: 26px; background:
  radial-gradient(ellipse 60% 90% at 0% 0%, rgba(215, 25, 43, .22), transparent 60%),
  radial-gradient(ellipse 60% 90% at 100% 100%, rgba(31, 92, 240, .3), transparent 60%),
  var(--card); border: 1px solid var(--line); }
.cta p { color: var(--muted); max-width: 620px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Product pages ---------- */
.phone { background: #04060a; border-radius: 34px; padding: 9px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 80px rgba(31, 92, 240, .18); }
.phone img { border-radius: 26px; width: 100%; height: auto; aspect-ratio: 585 / 1200; object-fit: cover; object-position: top; }
.phone-wrap { max-width: 320px; margin: 0 auto; }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phones .phone { width: 250px; }
.phones .phone:nth-child(2) { margin-top: 40px; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 14px; text-align: center; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature .phone-wrap { max-width: 300px; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 28px; margin: 12px 0; }
.feature li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2); transform: rotate(-45deg); }
.feature + .feature { margin-top: 110px; }
.num { font: 800 .85rem var(--body); color: var(--red-2); letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 12px; }

.replaces { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.chip { font-size: .9rem; padding: 6px 15px; border-radius: 999px; border: 1px solid rgba(255, 59, 75, .35); color: #ffb3b9; background: rgba(255, 59, 75, .07); }
.chip.blue { border-color: rgba(59, 123, 255, .35); color: var(--blue-soft); background: rgba(59, 123, 255, .08); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.step b { display: block; font: 800 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); margin-bottom: 4px; }
.step span { color: var(--white); font-weight: 600; }
.step-num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; font-weight: 700; margin-bottom: 16px; }

.timeline { display: flex; align-items: stretch; gap: 0; margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.timeline div { flex: 1; padding: 16px 18px; background: var(--card); }
.timeline div + div { border-left: 1px solid var(--line); }
.timeline b { display: block; color: var(--white); font: 700 1.05rem var(--head); }
.timeline span { font-size: .92rem; color: var(--muted); }

/* SMS program box */
.sms { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 34px; background: linear-gradient(180deg, rgba(31, 92, 240, .08), transparent 70%), var(--card); }
.sms h3 { font-size: 1.4rem; }
.sms dl { display: grid; grid-template-columns: 190px 1fr; gap: 12px 24px; margin: 20px 0 0; }
.sms dt { color: var(--white); font-weight: 600; }
.sms dd { margin: 0; color: var(--text); }
.sample { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; background: #05070c; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 6px 0; color: #dfe7f5; }

.fineprint { font-size: .9rem; color: var(--muted); margin-top: 28px; max-width: 780px; }
.research-lead { border-left: 3px solid var(--red-2); padding-left: 16px; font: 600 1.2rem/1.45 var(--head); color: var(--white) !important; margin-bottom: 12px !important; }
.source { margin-top: 14px !important; font-size: .88rem; }
.tag { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; font-weight: 700; vertical-align: middle; margin-right: 6px; }
.tag-old { background: rgba(255, 59, 75, .14); color: #ff9aa3; }
.tag-new { background: rgba(59, 123, 255, .16); color: var(--blue-soft); }
.badge { display: inline-block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.badge-now { background: var(--blue); color: #fff; }
.badge-later { background: rgba(255, 255, 255, .08); color: var(--muted); }
.card.featured { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(59, 123, 255, .25), 0 20px 50px rgba(31, 92, 240, .12); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-list .ico { margin: 0; width: 42px; height: 42px; flex: none; }
.contact-list b { display: block; color: var(--white); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--white); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--white); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: 1rem var(--body); color: var(--white);
  padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: #070a11;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-2); outline: 3px solid rgba(59, 123, 255, .25); outline-offset: 0; }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { background: rgba(255, 59, 75, .07); border: 1px solid rgba(255, 59, 75, .3); color: #ffc9ce; border-radius: 10px; padding: 12px 14px; font-size: .9rem; margin-bottom: 20px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 4px 0 18px; }
.form-msg { margin: 14px 0 0; font-weight: 600; }
.form-msg.ok { color: #5fd38a; }
.form-msg.err { color: var(--red-2); }

/* ---------- Legal pages ---------- */
.legal { padding: 70px 0 100px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: var(--text); }
.legal li { margin: 6px 0; }
.legal .updated { color: var(--muted); font-size: .95rem; }
.legal .box { background: var(--card); border: 1px solid var(--line-strong); border-radius: 14px; padding: 20px 24px; margin: 20px 0; }
.legal .box p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #04060a; padding: 64px 0 34px; font-size: .95rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.foot h4 { font: 700 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 8px 0; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--white); }
.foot p { color: var(--muted); margin: 14px 0 0; max-width: 300px; }
.foot address { font-style: normal; color: var(--text); line-height: 1.8; }
.legal-line { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.legal-line a { color: var(--muted); }
.legal-line a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4, .steps { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-split, .feature, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip > :first-child { order: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 2px; background: #0b0f19; border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 6px 0 0; justify-content: center; }
  .grid-2, .timeline { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; }
  .timeline div + div { border-left: 0; border-top: 1px solid var(--line); }
  .sms dl { grid-template-columns: 1fr; gap: 2px; }
  .sms dd { margin-bottom: 12px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  section { padding: 68px 0; }
  .hero { padding-top: 140px; padding-bottom: 64px; }
  .grid-4, .steps, .foot { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; gap: 0; }
  .card, .product, .sms { padding: 24px; }
  .phones .phone { width: 46%; }
  .phones .phone:nth-child(3) { display: none; }
  .phones .phone:nth-child(2) { margin-top: 24px; }
  .cta { padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
.hero-left h1 { margin-left: 0; }
.feature .steps { grid-template-columns: 1fr 1fr; }
.product .top img { background: #04060a; border: 1px solid var(--line); padding: 8px; }
.product .more { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.flyer-link { color: var(--text); font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.flyer-link:hover { color: var(--white); }
