/* Patriot Defend — shared funnel styles */
:root {
  --navy: #0B1F3A;
  --navy-dark: #08152A;
  --red: #C0392B;
  --red-bg: #FBF3F2;
  --red-border: #E8C7C2;
  --gold: #D4A017;
  --gold-dark: #C29212;
  --green: #1E8E3E;
  --green-dark: #16702F;
  --green-hover: #1B7F37;
  --green-bg: #F2F9F4;
  --cream: #F7F5F0;
  --cream-dark: #F1EEE6;
  --cream-warm: #FBFAF6;
  --charcoal: #1A1A1A;
  --grey: #4A4A4A;
  --taupe: #7A7466;
  --slate: #5A6472;
  --bluegrey: #8A94A6;
  --steel: #C9D1DE;
  --border: #D8D3C6;
  --border-light: #E5E1D8;
  --line: #F1EEE6;
  --input-border: #B9BFC9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  font-family: 'Source Sans 3', Arial, sans-serif;
  color: var(--charcoal);
}

a { color: var(--navy); }
a:hover { color: var(--green); }

h1, h2, h3, .oswald { font-family: 'Oswald', sans-serif; }

@keyframes pdPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
@keyframes pdSpin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

/* ---------- Header / brand ---------- */
.site-header {
  background: var(--navy);
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.shield {
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 15%, 100% 60%, 50% 100%, 0% 60%, 0% 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  padding-top: 2px;
  flex: none;
}
.shield--sm { width: 30px; height: 34px; font-size: 15px; }
.shield--md { width: 34px; height: 38px; font-size: 17px; }
.brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.brand--md { font-size: 22px; }
.brand--lg { font-size: 24px; }
.brand .gold { color: var(--gold); }

.alarm-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* ---------- Buttons ---------- */
.btn-cta {
  display: block;
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 18px;
  border-radius: 8px;
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--green-dark);
  border: none;
  width: 100%;
  font-family: 'Source Sans 3', Arial, sans-serif;
  text-decoration: none;
}
.btn-cta:hover { background: var(--green-hover); color: #fff; }
.btn-cta--pulse { animation: pdPulse 2.4s ease-in-out infinite; }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 17px;
  padding: 15px 22px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  flex: none;
  font-family: 'Source Sans 3', Arial, sans-serif;
}
.btn-gold:hover { background: var(--gold-dark); }

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 2px solid var(--border-light);
  padding: 12px 16px;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.12);
  z-index: 50;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn-cta {
  max-width: 520px;
  margin: 0 auto;
  padding: 16px;
  font-size: 18px;
}

/* ---------- Forms ---------- */
.input, .select {
  padding: 16px 14px;
  font-size: 18px;
  border: 2px solid var(--input-border);
  border-radius: 8px;
  color: var(--charcoal);
  font-family: 'Source Sans 3', sans-serif;
  background: #fff;
  width: 100%;
}
.form-col { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row .input { flex: 1; min-width: 140px; }

/* ---------- Cards / misc ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.exposed-stamp {
  position: absolute;
  background: var(--red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  transform: rotate(6deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.blur { filter: blur(5px); user-select: none; }
.photo-ph {
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, var(--border), var(--border) 5px, #EDEAE1 5px, #EDEAE1 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  color: var(--taupe);
  flex: none;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.faq-q:hover { background: var(--cream-warm); }
.faq-q .mark { color: var(--gold); font-size: 20px; flex: none; }
.faq-a {
  display: none;
  padding: 0 18px 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey);
}
.faq-item.open .faq-a { display: block; }

/* ---------- Advertorial ---------- */
.masthead { border-bottom: 3px double var(--charcoal); background: #fff; }
.masthead .ad-tag {
  text-align: center;
  padding: 6px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--bluegrey);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-light);
}
.masthead .paper-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 5vw, 36px);
  letter-spacing: 2px;
  color: var(--navy);
  text-transform: uppercase;
}
.masthead .paper-sub {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--taupe);
  text-transform: uppercase;
  margin-top: 2px;
}
.art-wrap { max-width: 700px; margin: 0 auto; padding: 34px 20px 0; }
.art-h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5.5vw, 42px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 14px;
}
.art-dek {
  font-size: 20px;
  line-height: 1.55;
  color: var(--grey);
  font-style: italic;
  margin: 0 0 20px;
}
.art-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  margin-bottom: 26px;
  font-size: 16px;
}
.art-body {
  font-size: 19px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.art-body p { margin: 0; }
.art-h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  margin: 10px 0 0;
}
.art-cta-navy {
  background: var(--navy);
  border-radius: 10px;
  padding: 26px 22px;
  text-align: center;
  margin: 6px 0;
}
.art-cta-gold {
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 26px 22px;
  text-align: center;
  margin: 6px 0;
}
.art-cta-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 6px;
}
.art-cta-sub { font-size: 17px; margin-bottom: 16px; }
.art-cta-navy .art-cta-title { color: #fff; }
.art-cta-navy .art-cta-sub { color: var(--steel); }
.art-cta-gold .art-cta-title { color: var(--navy); }
.art-cta-gold .art-cta-sub { color: var(--grey); }
.art-cta-end {
  background: var(--navy);
  border-radius: 10px;
  padding: 30px 22px;
  text-align: center;
  margin: 30px 0;
}
.art-footer {
  text-align: center;
  color: var(--bluegrey);
  font-size: 13px;
  line-height: 1.6;
  padding: 30px 0 10px;
  border-top: 1px solid var(--border-light);
  margin-top: 26px;
}
.art-footer a { color: var(--bluegrey); }

/* Comments */
.comments {
  border-top: 3px double var(--charcoal);
  padding-top: 24px;
  margin-top: 10px;
}
.comments-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 18px;
}
.comment { display: flex; gap: 12px; margin-bottom: 16px; }
.comment .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.comment .bubble {
  background: var(--cream);
  border-radius: 10px;
  padding: 13px 16px;
  flex: 1;
}
.comment .who { font-weight: 700; font-size: 16px; }
.comment .when { font-weight: 400; color: var(--taupe); font-size: 14px; }
.comment .what { font-size: 17px; line-height: 1.55; }
.comment .likes { font-size: 14px; color: var(--taupe); margin-top: 6px; }
.comment .reply {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.comment .reply .avatar { width: 34px; height: 34px; font-size: 13px; }
.comment .reply .who { font-size: 15px; }
.comment .reply .what { font-size: 16px; line-height: 1.5; }

.av-navy { background: var(--navy); }
.av-red { background: var(--red); }
.av-gold { background: var(--gold); color: var(--navy) !important; }
.av-green { background: var(--green); }
.av-slate { background: var(--slate); }

/* ---------- Checkout ---------- */
.bump-box {
  border: 2px dashed var(--red);
  border-radius: 10px;
  background: #FFFDF8;
  padding: 16px;
  margin-bottom: 14px;
}
.bump-head {
  text-align: center;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.bump-row { display: flex; gap: 12px; cursor: pointer; align-items: flex-start; }
.bump-check {
  width: 26px; height: 26px;
  border: 2px solid var(--input-border);
  border-radius: 6px;
  background: #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  flex: none;
  margin-top: 2px;
}
.bump-box.on .bump-check { background: var(--green); border-color: var(--green); }
.bump-copy { font-size: 17px; line-height: 1.5; color: var(--charcoal); }
.bump-copy .price { color: var(--green); }

/* ---------- Upsell ---------- */
.upsell-progress { background: var(--navy); padding: 14px 20px; text-align: center; }
.upsell-progress .label { color: #fff; font-weight: 700; font-size: 16px; }
.upsell-progress .label .warn { color: var(--gold); }
.upsell-progress .track {
  max-width: 420px;
  margin: 10px auto 0;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  overflow: hidden;
}
.upsell-progress .fill { height: 100%; background: var(--gold); border-radius: 5px; }
.upsell-wrap { max-width: 560px; margin: 0 auto; padding: 44px 20px 60px; text-align: center; }
.upsell-h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 38px);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 14px;
}
.upsell-sub { font-size: 18px; line-height: 1.65; color: var(--grey); margin: 0 0 26px; }
.upsell-note { font-size: 15px; color: var(--taupe); margin-top: 10px; }
.upsell-no { margin-top: 22px; }
.upsell-no a { color: var(--bluegrey); font-size: 16px; }
.check-li { display: flex; gap: 12px; align-items: flex-start; }
.check-li .tick { color: var(--green); font-size: 20px; font-weight: 700; flex: none; }
.check-li .txt { font-size: 17px; line-height: 1.55; }

/* ---------- Guarantee ---------- */
.guarantee {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 22px;
}

/* ---------- Footer ---------- */
.legal-footer {
  background: var(--navy-dark);
  color: var(--bluegrey);
  padding: 26px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}
.legal-footer a { color: var(--bluegrey); }

/* ---------- Utility ---------- */
.section-h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 34px);
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
  margin: 0 0 12px;
}
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
}

/* ---------- Design accents ---------- */
.flag-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33.3%, var(--gold) 33.3% 66.6%, var(--navy) 66.6% 100%);
}
.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 10px;
}
.eyebrow--red { color: var(--red); }
.identity-strip {
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 40px 20px 46px;
}
.identity-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 17px;
  line-height: 1.45;
}
.identity-card strong { color: var(--navy); }
.social-proof-pill {
  display: inline-block;
  background: var(--green-bg);
  border: 1px solid #BFE3CB;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 8px 18px;
}
.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  flex-wrap: wrap;
}
.checkout-steps .step-done { color: var(--green); }
.checkout-steps .step-now { color: var(--navy); }
.checkout-steps .sep { color: var(--border); }
.included-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.included-list .check-li .txt { font-size: 16px; }

/* ---------- Live activity toast ---------- */
.pd-toast {
  position: fixed;
  left: 14px;
  bottom: 96px;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 290px;
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.18);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.pd-toast.on { opacity: 1; transform: none; }
.pd-toast strong { color: var(--navy); }

/* ---------- Protect-who question ---------- */
.protect-btn {
  display: block;
  width: 100%;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
}
.protect-btn:hover { border-color: var(--green); background: var(--green-bg); }

/* ---------- Above-the-fold compression (mobile) ----------
   Every page's primary CTA must land inside the first viewport
   on a 375x812 phone. */
@media (max-width: 640px) {
  .alarm-bar { font-size: 13px; padding: 7px 12px; }
  .site-header { padding: 10px 16px; }
  .input, .select { padding: 12px; font-size: 17px; }
  .form-col { gap: 9px; }
  .btn-cta { padding: 15px; font-size: 19px; }

  .hero-section { padding: 22px 16px 30px !important; }
  .hero-h1 { font-size: 24px !important; margin-bottom: 10px !important; }
  .hero-sub { font-size: 16px !important; margin-bottom: 16px !important; }
  .scan-card { padding: 16px 14px !important; }
  .scan-card .scan-card-title { font-size: 16px !important; margin-bottom: 10px !important; }

  .upsell-progress { padding: 10px 14px; }
  .upsell-progress .label { font-size: 14px; }
  .upsell-progress .track { margin-top: 7px; height: 8px; }
  .upsell-wrap { padding: 18px 16px 50px; }
  .upsell-h1 { font-size: 24px; margin-bottom: 10px; }
  .upsell-sub { font-size: 16px; line-height: 1.5; margin-bottom: 16px; }
  .upsell-card { padding: 16px 14px !important; margin-bottom: 16px !important; }
  .check-li .txt { font-size: 15px; line-height: 1.45; }
}
