/* ============================================
   RESET & GLOBAL STYLES
   ============================================ */
* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #d3d8de;
  font-family: Arial, sans-serif;
  color: #000;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 80px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ============================================
   HEADER & PREHEADER
   ============================================ */
.preheader {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #000;
  margin-bottom: 1rem;
  border: 1px dotted #000;
  padding: 0.5em;
  flex-wrap: nowrap;
}

.preheader img {
  height: 3em !important;
  width: auto !important;
  margin-right: 0.5em;
  flex-shrink: 0;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-align: center;
}

header > img {
  display: block;
  margin: 20px auto;
  width: 75%;
  height: auto;
  border-radius: 8px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
p {
  font-size: 1rem;
  margin: 1rem 0;
}

h3 {
  margin-top: 0;
  color: #1a2a4a;
}

/* ============================================
   SECTIONS & SPACING
   ============================================ */
header,
section,
footer {
  margin-bottom: 30px;
}

/* ============================================
   VIDEO WRAPPER
   ============================================ */
.video-wrapper {
  width: 100%;
  text-align: center;
  margin: 20px 0;
  overflow: hidden;
}

.video-wrapper img {
  max-width: 75%;
  width: 75%;
  border-radius: 8px;
  height: auto;
  margin: 0 auto;
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.cta-wrapper {
  text-align: center;
  margin: 20px 0;
}

.cta {
  display: inline-block;
  background: #3d56b0;
  color: #fff;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ============================================
   HIGHLIGHTS & CALLOUTS
   ============================================ */
.highlight {
  color: #ffd66b;
  font-weight: 700;
  background: rgba(255, 214, 107, 0.15);
  padding: 2px 4px;
  border-radius: 3px;
  display: inline;
}

.bullet-strong {
  font-weight: 600;
  color: #1a2a4a;
  display: inline;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  font-style: italic;
  font-size: 1rem;
  margin-top: 50px;
}

/* ============================================
   URGENCY BANNER
   ============================================ */
.urgency {
  background: #fffae6;
  color: #000;
  text-align: center;
  padding: 12px;
  margin: 20px 0;
  font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  text-align: center;
  font-size: 0.75rem;
  color: #999;
}

footer p {
  font-size: 0.75rem;
  margin: 0.5rem 0;
}

footer p:first-of-type {
  font-size: 1rem;
}

footer .policy-links {
  font-size: 0.875rem;
  margin: 0.5rem 0 1rem;
}

/* ============================================
   LARGE SCREENS (≥1440px)
   ============================================ */
@media (min-width: 1440px) {
  .container {
    max-width: 1100px;
  }
}

/* ============================================
   TABLET (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  .container {
    padding: 30px;
  }
  
  h1 {
    font-size: 1.9rem;
  }
  
  .preheader {
    font-size: 0.875rem;
    line-height: 1.2;
  }
  
  .preheader img {
    height: 2em !important;
  }
  
  .cta {
    padding: 14px 28px;
    font-size: 1.25rem;
  }
  
  .video-wrapper img {
    width: 90%;
    max-width: 90%;
  }
  
  header > img {
    width: 50%;
  }
  
  /* Inline style overrides for tablet */
  section[style*="padding: 32px 24px"] {
    padding: 28px 20px !important;
  }
}

/* ============================================
   MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
  html {
    font-size: 20px;
  }
  
  .container {
    padding: 20px;
  }
  
  h1 {
    font-size: 1.6rem;
    line-height: 1.25;
  }
  
  h3 {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
  }
  
  .preheader {
    font-size: 0.75rem;
    line-height: 1.2;
    padding: 8px 12px;
  }
  
  .preheader img {
    height: 2em !important;
  }
  
  .cta {
    font-size: 1rem;
    padding: 14px 20px;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .cta-wrapper {
    margin: 30px 0 10px;
  }
  
  .video-wrapper img {
    width: 100%;
    max-width: 100%;
  }
  
  header > img {
    width: 60%;
  }
  
  .urgency {
    font-size: 0.9rem;
    padding: 12px 16px;
  }
  
  footer {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  footer p {
    margin-bottom: 12px;
  }
  
  /* Inline style overrides for mobile */
  section[style*="padding: 32px 24px"],
  section[style*="padding: 40px 24px"] {
    padding: 24px 16px !important;
  }
  
  section[style*="margin-bottom: 32px"],
  section[style*="margin-bottom: 48px"] {
    margin-bottom: 24px !important;
  }
  
  div[style*="padding: 20px 24px"],
  div[style*="padding: 16px 20px"] {
    padding: 14px 16px !important;
  }
}

/* ============================================
   SMALL PHONES (≤480px)
   ============================================ */
@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
    line-height: 1.2;
  }
  
  h3 {
    font-size: 1.2rem !important;
  }
  
  .preheader {
    font-size: 0.7rem;
    padding: 6px 10px;
  }
  
  p {
    font-size: 0.95rem;
    line-height: 1.65 !important;
  }
  
  footer {
    font-size: 0.8rem;
  }
  
  /* Inline style overrides for small phones */
  section[style*="padding: 32px 24px"],
  section[style*="padding: 40px 24px"],
  section[style*="padding: 28px 20px"] {
    padding: 20px 14px !important;
  }
  
  section[style*="margin-bottom"] {
    margin-bottom: 20px !important;
  }
  
  .video-wrapper {
    margin-bottom: 24px !important;
  }
  
  .cta-wrapper[style*="margin-bottom: 48px"] {
    margin-bottom: 32px !important;
  }
  
  div[style*="text-transform: uppercase"] {
    font-size: 0.75rem !important;
  }
  
  div[style*="border-left: 5px solid"],
  section[style*="border-left: 5px solid"] {
    border-left-width: 4px !important;
  }
}

/* ============================================
   LANDSCAPE PHONES
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  h1 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  section {
    margin-bottom: 16px !important;
  }
  
  .video-wrapper {
    margin-bottom: 20px !important;
  }
}

/* ============================================
   TOUCH DEVICES
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  .cta {
    min-height: 48px;
    padding: 16px 24px;
  }
  
  a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
}
