/* ============================================================================
   STL Prefway — Marketing site CSS
   ---------------------------------------------------------------------------
   Visual language matches the Flutter app's dark theme (Cast Iron palette)
   so the handoff from marketing → app is seamless.

   Palette:
     Cast Iron     #1A1512   (background)
     Cast Iron Elev#221D18   (card surface)
     Limestone     #F0E8D6   (foreground)
     River Gold    #C49030   (primary accent)
     Corridor Green#2C4A30   (success / active)
     Brick         #8C3A28   (donation CTA)
     Clay          #AE5B44   (warning)

   Type:
     Display: Syne (matches Flutter GoogleFonts.syne)
     UI/Body: Outfit (matches Flutter GoogleFonts.outfit)
   ============================================================================ */

:root {
  --cast-iron:     #1A1512;
  --cast-iron-el:  #221D18;
  --cast-iron-hi:  #2A2420;
  --limestone:     #F0E8D6;
  --limestone-dim: rgba(240,232,214,0.55);
  --river-gold:    #C49030;
  --corridor-green:#2C4A30;
  --green-text:    #4E8A56;
  --brick:         #8C3A28;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--cast-iron);
  color: var(--limestone);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* -----------------------------------------------------------------------
   NAV
----------------------------------------------------------------------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 21, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196,144,48,0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mono {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--river-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cast-iron);
  font-family: 'Syne', -apple-system, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.3px;
  box-shadow: 0 0 16px rgba(196,144,48,0.3);
}

.logo-text {
  font-family: 'Syne', -apple-system, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
  color: var(--limestone-dim);
}

.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--limestone); }

.nav-cta {
  padding: 8px 18px;
  background: var(--river-gold);
  color: var(--cast-iron) !important;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  transition: box-shadow .2s, transform .2s !important;
}
.nav-cta:hover {
  box-shadow: 0 4px 16px rgba(196,144,48,0.45) !important;
  transform: translateY(-1px) !important;
  color: var(--cast-iron) !important;
}

/* -----------------------------------------------------------------------
   HERO
----------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 36px 80px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

/* Ambient gold glow top-right */
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  right: -160px; top: -80px;
  background: radial-gradient(circle, rgba(196,144,48,0.10) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--river-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--river-gold);
  flex-shrink: 0;
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-text);
  box-shadow: 0 0 10px var(--green-text);
  animation: dot-pulse 1.6s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.65); }
}

h1.hero-title {
  font-family: 'Syne', -apple-system, system-ui, sans-serif;
  font-size: clamp(56px, 9vw, 108px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -2px;
  margin: 0 0 28px;
}

h1.hero-title .accent { color: var(--river-gold); }

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  max-width: 560px;
  color: var(--limestone-dim);
  line-height: 1.75;
  margin: 0 0 44px;
}

.hero-stats {
  display: flex;
  gap: 52px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(196,144,48,0.18);
}

.stat-block .stat-value {
  font-family: 'Syne', -apple-system, system-ui, sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--river-gold);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-block .stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--limestone-dim);
  margin-top: 6px;
}

/* -----------------------------------------------------------------------
   BUTTONS
----------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: transform .2s ease-out, box-shadow .2s;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--river-gold);
  color: var(--cast-iron);
  box-shadow: 0 4px 20px rgba(196,144,48,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,144,48,0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--limestone);
  border-color: rgba(240,232,214,0.25);
}
.btn-secondary:hover { border-color: var(--river-gold); color: var(--river-gold); }

.btn-donate {
  background: var(--brick);
  color: var(--limestone);
  box-shadow: 0 4px 20px rgba(140,58,40,0.3);
}
.btn-donate:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(140,58,40,0.5); }

.hero-cta { display: flex; gap: 14px; margin-bottom: 52px; flex-wrap: wrap; }
.section-cta { margin-top: 48px; }

/* -----------------------------------------------------------------------
   SECTIONS — shared
----------------------------------------------------------------------- */
.section {
  padding: 100px 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--river-gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', -apple-system, system-ui, sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  margin: 0 0 20px;
}

.section-sub {
  color: var(--limestone-dim);
  font-size: 17px;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 0 52px;
}

/* -----------------------------------------------------------------------
   HOW IT WORKS (steps)
----------------------------------------------------------------------- */
.how-section {
  background: var(--cast-iron-el);
  border-top: 1px solid rgba(196,144,48,0.1);
  border-bottom: 1px solid rgba(196,144,48,0.1);
  margin-top: 48px;
  padding: 64px 36px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-top: 32px;
}

.step-num {
  font-family: 'Syne', -apple-system, system-ui, sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--river-gold);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -1px;
  opacity: 0.8;
}

.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 0 0 10px;
}

.step p {
  color: var(--limestone-dim);
  line-height: 1.7;
  font-size: 14px;
  margin: 0;
}

/* -----------------------------------------------------------------------
   STOP LIST
----------------------------------------------------------------------- */
.stop-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(196,144,48,0.12);
}

.stop-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(196,144,48,0.08);
}

.stop-number {
  font-family: 'Syne', -apple-system, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--river-gold);
  line-height: 1;
  min-width: 36px;
  padding-top: 2px;
  opacity: 0.75;
}

.stop-content { flex: 1; }

.stop-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.stop-name {
  font-family: 'Syne', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.stop-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--river-gold);
  background: rgba(196,144,48,0.1);
  border: 1px solid rgba(196,144,48,0.3);
  border-radius: 100px;
  padding: 3px 8px;
}

.stop-addr {
  font-size: 13px;
  color: var(--limestone-dim);
  margin-bottom: 2px;
}

.stop-piece {
  font-size: 12px;
  color: rgba(240,232,214,0.35);
  font-style: italic;
}

/* -----------------------------------------------------------------------
   IISTL SECTION
----------------------------------------------------------------------- */
.iistl-section {
  background: var(--cast-iron-el);
  border-top: 1px solid rgba(140,58,40,0.2);
  border-bottom: 1px solid rgba(140,58,40,0.2);
  padding: 100px 36px;
}

.iistl-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.iistl-inner .section-title { margin-bottom: 20px; }
.iistl-inner .section-sub { margin: 0 auto 44px; }

/* -----------------------------------------------------------------------
   FOOTER
----------------------------------------------------------------------- */
footer {
  padding: 48px 36px;
  max-width: 1200px;
  margin: 0 auto;
  color: rgba(240,232,214,0.28);
  font-size: 11px;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* -----------------------------------------------------------------------
   RESPONSIVE
----------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hero { padding: 72px 24px 60px; min-height: 80vh; }
  .hero-stats { gap: 28px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .section { padding: 72px 24px; }
  .how-section { padding: 60px 24px; }
  .iistl-section { padding: 72px 24px; }
  .steps { gap: 28px; }
  footer { padding: 32px 24px; justify-content: center; text-align: center; }
  .stop-number { font-size: 18px; min-width: 28px; }
}
