/* Shared styles for the secondary pages (privacy, terms, alerts sign-up).
   Tokens, header, footer and buttons mirror the inline styles in index.html —
   if you change one there, change it here too. */

/* ============ FONTS (self-hosted, latin subset) ============ */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); }

/* ============ TOKENS ============ */
:root {
  --navy-950: #0A101C;
  --navy-900: #0F172A;
  --navy-border: #26334D;
  --ink: #101828;
  --body: #344054;
  --muted: #5D6B7E;
  --bg: #FFFFFF;
  --bg-alt: #F4F6F8;
  --orange: #EA580C;
  --orange-deep: #C2410C;
  --border: #E4E7EC;
  --field-border: #98A2B3;
  --on-navy-body: #C6D0DE;
  --radius: 8px;
  --shadow-card: 0 1px 2px rgba(16,24,40,.05), 0 4px 12px rgba(16,24,40,.06);
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --stripe: repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--navy-900) 14px 28px);
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  padding-top: 64px; /* fixed header */
}
svg { display: block; max-width: 100%; }
a { color: var(--orange-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange-deep); color: #fff; font-weight: 700;
  padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 15px 30px;
  font-family: var(--font-body); font-size: 1.17rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; touch-action: manipulation;
  transition: background-color .18s ease, transform .1s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; background: var(--navy-900);
  border-bottom: 1px solid var(--navy-border);
}
.site-header .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; letter-spacing: .04em;
  color: #fff; text-decoration: none; text-transform: uppercase;
  min-height: 44px;
}
.wordmark svg { width: 30px; height: 30px; }
.wordmark .lp-line { color: #fff; }
.wordmark .lp-patrol { color: var(--orange); }
.nav-phone {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 8px 14px;
  font-size: 1.06rem; font-weight: 700; color: #fff; text-decoration: none;
  border: 2px solid var(--navy-border); border-radius: var(--radius);
  white-space: nowrap; touch-action: manipulation;
  transition: border-color .18s ease;
}
.nav-phone:hover { border-color: var(--orange); }
.nav-phone svg { width: 19px; height: 19px; color: var(--orange); }
@media (max-width: 400px) { .nav-phone { font-size: 1rem; padding: 8px 10px; } .wordmark { font-size: 1.45rem; } }

/* ============ PAGE HERO ============ */
.page-hero { background: var(--navy-900); color: var(--on-navy-body); padding: 48px 0 56px; position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--stripe); }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 700; line-height: 1.02; max-width: 760px; }
.page-hero p { margin-top: 14px; max-width: 620px; font-size: 1.125rem; }
.kicker {
  display: inline-block;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #FF8A4C; margin-bottom: 14px;
}
@media (min-width: 900px) { .page-hero { padding: 72px 0 80px; } }

/* ============ LEGAL PROSE ============ */
.page-body { padding: 48px 0 72px; }
@media (min-width: 900px) { .page-body { padding: 64px 0 96px; } }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.75rem, 5vw, 2.125rem); font-weight: 700; line-height: 1.1; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; margin: 24px 0 6px; }
.prose p, .prose ul, .prose dl { margin-top: 12px; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-top: 6px; }
.prose li::marker { color: var(--orange-deep); }
.prose strong { color: var(--ink); }
.prose address { font-style: normal; margin-top: 12px; }
.callout {
  margin-top: 16px; padding: 18px 20px;
  background: var(--bg-alt); border: 1px solid var(--border); border-left: 5px solid var(--orange);
  border-radius: var(--radius); color: var(--ink); font-weight: 600;
}
.facts { border-top: 1px solid var(--border); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .facts div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; } }
.facts dt { font-weight: 700; color: var(--ink); }

/* ============ SIGN-UP FORM ============ */
.form-section { background: var(--bg-alt); padding: 48px 0 72px; }
@media (min-width: 900px) { .form-section { padding: 64px 0 96px; } }
.form-card {
  max-width: 560px;
  background: var(--bg); border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: var(--shadow-card); padding: 30px 24px;
}
@media (min-width: 640px) { .form-card { padding: 36px 34px; } }
.field + .field { margin-top: 20px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input {
  width: 100%; min-height: 54px; padding: 12px 14px;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--field-border); border-radius: var(--radius);
}
.field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(234,88,12,.28); }
.field-hint { font-size: .95rem; color: var(--muted); margin-top: 6px; }
.consent {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 1rem; line-height: 1.55;
}
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--orange-deep); cursor: pointer; }
.consent label { color: var(--ink); cursor: pointer; }
.consent-links { display: block; margin-top: 8px; }
.form-card .btn { width: 100%; margin-top: 26px; }
.form-note { margin-top: 18px; font-size: .95rem; color: var(--muted); }
.hp { display: none; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy-950); color: #93A2B8; padding: 44px 0; font-size: .98rem; }
.footer-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer .wordmark { font-size: 1.4rem; margin-bottom: 8px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-contact a { color: #C6D0DE; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact a:hover { color: var(--orange); }
.footer-address { font-style: normal; line-height: 1.6; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; margin-top: 18px; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { color: #C6D0DE; display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--orange); }
