/* ============================================
   MY EVERYDAY DRIVER — ANNOUNCEMENT PAGE
   Brand colors & typography from myeverydaydriver.com
   ============================================ */

/* --- TOKENS --- */
:root {
  --orange:        #E8651A;
  --orange-dim:    #bf5218;
  --orange-hover:  #d0561a;
  --navy:          #0D1B2A;
  --dark:          #1a1a1a;
  --dark-surface:  #242424;
  --beige:         #f5f3ef;
  --beige-border:  #e0dbd3;
  --white:         #ffffff;
  --gray-mid:      #555555;
  --gray-light:    #aaaaaa;
  --gray-faint:    #888888;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-label:    'Barlow Condensed', Arial Narrow, sans-serif;
  --font-body:     'Source Sans 3', system-ui, sans-serif;

  --radius:        4px;
  --radius-lg:     8px;
  --max-w:         1100px;
  --max-w-narrow:  720px;
  --transition:    0.2s ease;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hover); text-decoration: underline; }
img, svg { display: block; }
strong { font-weight: 600; }
em { font-style: italic; }

/* --- LAYOUT --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
}

/* --- HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 3px solid var(--orange);
  height: 64px;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  text-decoration: none;
}
.logo-main { color: var(--white); }
.logo-accent { color: var(--orange); }
.btn-header {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
}
.btn-header:hover {
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
}

/* --- HERO --- */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero-stripe {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 24px,
    rgba(232, 101, 26, 0.04) 24px,
    rgba(232, 101, 26, 0.04) 25px
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  text-align: center;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-light);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
}
.hero-proof span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gray-light);
}
.check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- LETTER SECTION --- */
.section-letter {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--white);
}
.letter-card {
  background: var(--beige);
  border: 1px solid var(--beige-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
}
.letter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.letter-date {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-faint);
  margin-bottom: 1.5rem;
}
.letter-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dark);
  margin-bottom: 1.25rem;
  max-width: 68ch;
}
.letter-card p:last-of-type { margin-bottom: 0; }
.letter-sign {
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  color: var(--dark) !important;
  margin-top: 2rem !important;
  margin-bottom: 0.25rem !important;
}
.letter-location {
  font-family: var(--font-label);
  font-size: 0.82rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-faint) !important;
  margin-bottom: 0 !important;
}

/* --- SECTION COMMONS --- */
.section-label {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-label.light { color: var(--orange); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.section-title.light { color: var(--white); }
.section-intro {
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 62ch;
  margin-bottom: 2.75rem;
  line-height: 1.7;
}

/* --- SECTION: LIGHT (WHAT IS MED) --- */
.section-light {
  background: var(--white);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.feature-card {
  background: var(--beige);
  border: 1px solid var(--beige-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.feature-icon {
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--dark);
}
.feature-card p {
  font-size: 0.97rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* --- SECTION: DARK (WHAT'S BUILT) --- */
.section-dark {
  background: var(--dark);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }
.built-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.built-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.97rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.built-list li:first-child { padding-top: 0; }
.built-list li .check { flex-shrink: 0; margin-top: 3px; }
.built-list strong { color: var(--white); }
.coming-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.coming-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.coming-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.coming-list li {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.8);
  padding-left: 1.1rem;
  position: relative;
}
.coming-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.85rem;
}
.coming-note {
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.6;
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}

/* --- SECTION: BEIGE (HOW TO HELP) --- */
.section-beige {
  background: var(--beige);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.help-tiers {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.help-tier {
  background: var(--white);
  border: 1px solid var(--beige-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
}
@media (max-width: 640px) {
  .help-tier { grid-template-columns: 1fr; }
}
.tier-flag {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.25rem;
  line-height: 1.4;
}
.tier-1 .tier-flag { background: var(--orange); color: var(--white); }
.tier-2 .tier-flag { background: var(--dark); color: var(--white); }
.tier-3 .tier-flag { background: var(--navy); color: var(--white); }
.tier-4 .tier-flag { background: #3a3a3a; color: var(--white); }
.tier-body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tier-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.15rem;
}
.tier-body p {
  font-size: 0.97rem;
  color: var(--gray-mid);
  line-height: 1.65;
  margin-bottom: 0;
}
.tier-body a { color: var(--orange); }

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  transition: background var(--transition);
  text-decoration: none;
  width: fit-content;
  margin-top: 0.5rem;
}
.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--white);
  text-decoration: none;
}
.btn-large {
  font-size: 0.9rem;
  padding: 0.9rem 2.25rem;
  margin-top: 2rem;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* --- SECTION: NAVY (TIMING) --- */
.section-navy {
  background: var(--navy);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  text-align: center;
}
.timing-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--orange);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.95rem;
  color: var(--gray-light);
  max-width: 420px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}
.footer-links a {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }
.footer-links span { color: var(--gray-faint); font-size: 0.7rem; }
.footer-privacy {
  font-size: 0.82rem;
  color: var(--gray-faint);
  margin-bottom: 1.5rem;
}
.pplx-credit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  transition: color var(--transition);
}
.pplx-credit:hover { color: rgba(255,255,255,0.45); }

/* --- SCROLL ANIMATIONS --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge  { animation: fadeUp 0.5s ease both; animation-delay: 0.1s; }
.hero-headline { animation: fadeUp 0.6s ease both; animation-delay: 0.2s; }
.hero-sub    { animation: fadeUp 0.6s ease both; animation-delay: 0.3s; }
.hero-proof  { animation: fadeUp 0.6s ease both; animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- MOBILE --- */
@media (max-width: 720px) {
  .hero-headline br { display: none; }
  .section-title br { display: none; }
  .help-tier { grid-template-columns: 1fr; }
  .tier-flag {
    justify-content: flex-start;
    padding: 0.85rem 1.25rem;
  }
  .tier-body { padding: 1.25rem; }
}
