/* ===================================================
   KnowYourSender — Advertorial Bridge Page
   Target: Mobile-first, 38-55F, reading on phone at night
   =================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1a2744;
  --blue: #1e4fa3;
  --blue-hover: #163b80;
  --green: #2a9d5c;
  --gold: #e8a020;
  --red: #c0392b;
  --text: #1a1a1a;
  --text-light: #555;
  --border: #dde3ee;
  --bg-light: #f5f7fb;
  --white: #ffffff;
  --font-body: Georgia, 'Times New Roman', serif;
  --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 680px;
}

html {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  padding-bottom: 80px; /* room for sticky CTA on mobile */
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Masthead ---- */
.masthead {
  background: var(--navy);
  padding: 10px 0;
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.masthead-divider { color: rgba(255,255,255,0.3); }

.masthead-home {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.masthead-home:hover { text-decoration: underline; }

/* ---- Hero ---- */
.hero {
  padding: 32px 0 24px;
  border-bottom: 3px solid var(--navy);
}

.category-tag {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.headline {
  font-family: var(--font-ui);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

.subheadline {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.author-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  font-family: var(--font-ui);
  font-size: 0.8rem;
}

.author-name { font-weight: 700; color: var(--text); }
.author-location { color: var(--text-light); }

/* ---- Social Bar ---- */
.social-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.social-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-light);
}

.social-stat { display: flex; align-items: center; gap: 5px; }
.social-divider { color: var(--border); }
.bbb-logo { height: 18px; width: auto; }
.lock-icon { font-size: 0.85rem; }

/* ---- Article ---- */
.article {
  padding: 32px 0 48px;
}

.article-inner p {
  margin-bottom: 20px;
}

.lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
}

.pull-quote {
  border-left: 4px solid var(--blue);
  padding: 12px 20px;
  margin: 28px 0;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  background: var(--bg-light);
  border-radius: 0 6px 6px 0;
}

.section-heading {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin: 36px 0 16px;
  padding-top: 8px;
  border-top: 2px solid var(--border);
}

.inline-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Callouts ---- */
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 8px;
  margin: 28px 0;
  font-size: 0.9rem;
  font-family: var(--font-ui);
  line-height: 1.5;
}

.callout-privacy {
  background: #eaf4ff;
  border: 1px solid #b3d4f5;
}

.callout-trust {
  background: #fffbea;
  border: 1px solid #f0d970;
}

.callout-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Feature List ---- */
.feature-list {
  list-style: none;
  margin: 0 0 24px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

.feature-list li:last-child { border-bottom: none; }

.check {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---- CTA Boxes ---- */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #243a6e 100%);
  color: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  margin: 36px 0;
}

.cta-box-headline {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--white);
}

.cta-box-sub {
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

.cta-box-final {
  background: linear-gradient(135deg, #0f1f45 0%, var(--navy) 100%);
}

.trust-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 8px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}

.cta-disclaimer {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  line-height: 1.2;
  text-align: center;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--gold);
  color: #1a1a00;
  padding: 16px 28px;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(232,160,32,0.4);
}

.btn-primary:hover {
  background: #d4911a;
  color: #1a1a00;
}

.btn-large {
  font-size: 1.1rem;
  padding: 18px 36px;
  width: 100%;
  max-width: 380px;
}

.btn-sticky {
  padding: 14px 24px;
  font-size: 0.95rem;
  width: auto;
}

/* ---- Testimonials ---- */
.testimonials { margin: 12px 0; }

.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 10px;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ---- FAQ ---- */
.faq {
  margin-bottom: 32px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-q {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- Sticky CTA ---- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

/* ---- Footer ---- */
.site-footer {
  background: #f0f2f7;
  border-top: 1px solid var(--border);
  padding: 28px 0 48px;
}

.footer-inner {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: #888;
  line-height: 1.6;
}

.footer-disclosure,
.footer-fcra {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.footer-copyright {
  color: #aaa;
}

.footer-copyright a {
  color: #888;
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (min-width: 640px) {
  .headline { font-size: 2.6rem; }
  .testimonial-grid { flex-direction: row; }
  .testimonial-card { flex: 1; }
  .sticky-cta { display: none; } /* desktop doesn't need sticky bar */
}

@media (max-width: 480px) {
  html { font-size: 17px; }
  .headline { font-size: 1.85rem; }
  .pull-quote { font-size: 1.1rem; }
}
