/* Shared layout for marketing product pages. Existing pages carry these rules
   inline; pages built by scripts/build-marketing-pages.py link this instead.
   Loaded before marketing.css so the design system still wins. */

.feature-page-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.feature-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% 0, rgba(0, 200, 81, 0.08) 0, transparent 65%),
    radial-gradient(700px 520px at 0 30%, rgba(255, 255, 255, 0.03) 0, transparent 70%),
    radial-gradient(700px 520px at 100% 70%, rgba(255, 255, 255, 0.02) 0, transparent 75%);
}
.feature-page-hero .container { position: relative; z-index: 10; text-align: center; max-width: 800px; }
.feature-page-hero h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); margin-bottom: 20px; line-height: 1.1; }
.feature-page-hero h1 .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-page-hero .lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.how-section { padding: var(--section-pad-y) 0; background: var(--bg-alt); }
.how-section h2 { text-align: center; margin-bottom: 60px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.step-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 200, 81, 0.1); }
.step-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
  margin: 0 auto 20px;
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--text); }
.step-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

.benefits-section { padding: var(--section-pad-y) 0; background: var(--bg); }
.benefits-section h2 { text-align: center; margin-bottom: 16px; }
.benefits-section .section-subtitle { text-align: center; color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 50px; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.benefit-card:hover { border-color: rgba(0, 200, 81, 0.3); background: var(--surface-2); }
.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(0, 200, 81, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.benefit-content h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text); font-weight: 600; }
.benefit-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

.use-cases-section { padding: var(--section-pad-y) 0; background: var(--bg-alt); }
.use-cases-section h2 { text-align: center; margin-bottom: 50px; }
.use-cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.use-case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}
.use-case:hover { border-color: var(--green); transform: translateY(-2px); }
.use-case-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 81, 0.1);
  border-radius: 12px;
  color: var(--green);
}
.use-case h3 { font-size: 1rem; color: var(--text); margin-bottom: 6px; }
.use-case p { font-size: 0.85rem; color: var(--text-muted); }

.cta-section { padding: var(--section-pad-y) 0; background: var(--bg); text-align: center; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 32px; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--green); }

/* ---- components introduced with the 2026-09-21 player-facing pages ---- */

/* A route the reader can choose: a way to play, a plan, a pathway. */
.mkt-route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.mkt-route {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.mkt-route:hover { border-color: rgba(0, 200, 81, 0.35); }
.mkt-route.is-primary { border-color: rgba(0, 200, 81, 0.45); }
.mkt-route-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
}
.mkt-route h3 { font-size: 1.2rem; color: var(--text); }
.mkt-route > p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.mkt-route ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 0; }
.mkt-route li { position: relative; padding-left: 22px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.mkt-route li::before { content: ''; position: absolute; left: 4px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mkt-route .mkt-text-link { margin-top: auto; padding-top: 12px; }

/* Scannable "what you get / what it costs" rows. */
.mkt-line-list { list-style: none; display: grid; gap: 0; max-width: 820px; margin: 0 auto; }
.mkt-line-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.mkt-line-list li:first-child { border-top: 1px solid var(--border); }
.mkt-line-label { color: var(--text); font-weight: 600; font-size: 0.98rem; }
.mkt-line-value { color: var(--text-secondary); font-size: 0.92rem; text-align: right; }
.mkt-line-note { max-width: 820px; margin: 18px auto 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* A quiet, bordered aside for a caveat or a promise. */
.mkt-callout {
  max-width: 820px;
  margin: 32px auto 0;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--surface);
}
.mkt-callout h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.mkt-callout p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.75; }
.mkt-callout p + p { margin-top: 10px; }

/* Numbers we can stand behind, stated plainly. */
.mkt-stat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding: 22px 0; }
.mkt-stat { text-align: center; min-width: 120px; }
.mkt-stat b { display: block; font-family: Poppins, Inter, sans-serif; font-size: 1.5rem; color: var(--text); line-height: 1.2; }
.mkt-stat span { font-size: 0.82rem; color: var(--text-muted); }

/* City pages: status pill plus the nearby-location list. */
.mkt-city-status { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border: 1px solid var(--border-light); border-radius: 100px; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 22px; }
.mkt-city-status .mkt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.mkt-city-status.is-live .mkt-dot { background: var(--green); }
.mkt-city-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin: 0 auto; }
.mkt-city-links a {
  display: inline-flex;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.mkt-city-links a:hover { border-color: var(--green); color: var(--text); }

/* Venue pages: a photo hero that names the field, then the venue and how to get there. */
.marketing-site.mkt-detail-page .mkt-venue-hero {
  min-height: min(80vh, 700px);
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: 72px;
  isolation: isolate;
}
.mkt-venue-hero-media, .mkt-venue-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mkt-venue-hero-media { z-index: -1; }
.mkt-venue-hero-media img { object-fit: cover; object-position: 55% 62%; }
.mkt-venue-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 9, 0.95) 0%, rgba(8, 10, 9, 0.84) 40%, rgba(8, 10, 9, 0.25) 72%, rgba(8, 10, 9, 0.05) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 10, 9, 0) 34%),
    linear-gradient(180deg, rgba(8, 10, 9, 0.7) 0%, rgba(8, 10, 9, 0) 22%);
}
.marketing-site.mkt-detail-page .mkt-venue-hero .container { width: 100%; }
.mkt-venue-hero .mkt-detail-copy { max-width: 640px; }
.mkt-venue-hero .mkt-detail-copy h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.mkt-venue-hero .lead { color: rgba(255, 255, 255, 0.82); }
.mkt-venue-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.mkt-venue-address .mkt-icon { width: 18px; height: 18px; color: var(--green); flex: none; }
.mkt-venue-address:hover { color: var(--green); }

.mkt-venue-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1100px; }
.mkt-venue-copy { text-align: left; }
.mkt-venue-section .mkt-venue-copy h2 { text-align: left; margin-bottom: 18px; }
.mkt-venue-copy > p { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; }
.mkt-venue-copy > p + p { margin-top: 14px; }
.mkt-venue-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 14px 24px; margin-top: 18px; border-top: 1px solid var(--border); }
.mkt-venue-facts .mkt-stat { text-align: left; min-width: 0; }
.mkt-venue-facts .mkt-stat b { color: var(--green); }
.mkt-venue-facts .mkt-stat b span { font-size: inherit; color: inherit; }

.mkt-venue-there { max-width: 720px; margin: 0 auto; }
.mkt-venue-map { align-self: stretch; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 420px; background: var(--surface); }
.mkt-venue-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: invert(0.9) hue-rotate(180deg) saturate(0.7) brightness(0.95); }
.mkt-venue-card { display: flex; flex-direction: column; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); text-align: left; }
.mkt-venue-card h3 { font-size: 1.2rem; color: var(--text); }
.mkt-venue-card .mkt-venue-address { margin: 8px 0 18px; font-weight: 500; color: var(--text-secondary); }
.mkt-venue-card .mkt-line-list { margin: 0 0 22px; }
.mkt-venue-card .mkt-line-list li { padding: 12px 0; }
.mkt-venue-card a.mkt-line-value { color: var(--text); text-decoration: none; }
.mkt-venue-card a.mkt-line-value:hover { color: var(--green); }
.mkt-venue-card .hero-cta { margin-top: auto; justify-content: flex-start; gap: 10px; }
.mkt-venue-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 0 auto; }
.mkt-venue-photo { margin: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-align: left; }
.mkt-venue-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.mkt-venue-photo figcaption { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.mkt-venue-photo figcaption b { color: var(--text); font-size: 1rem; }
.mkt-venue-photo figcaption span { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

@media (max-width: 900px) {
  .mkt-venue-grid { grid-template-columns: 1fr; gap: 28px; }
  .mkt-venue-map, .mkt-venue-map iframe { min-height: 320px; }
  .mkt-venue-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .marketing-site.mkt-detail-page .mkt-venue-hero { min-height: 0; padding: 0 0 36px; flex-direction: column; align-items: stretch; }
  .mkt-venue-hero-media { position: relative; display: block; height: 240px; }
  .mkt-venue-hero-media img { object-position: 55% 55%; }
  .mkt-venue-hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(8, 10, 9, 0) 55%), linear-gradient(180deg, rgba(8, 10, 9, 0.5) 0%, rgba(8, 10, 9, 0) 30%); }
  .marketing-site.mkt-detail-page .mkt-venue-hero .container { margin-top: -48px; padding: 0 16px; }
  .mkt-venue-address { font-size: 0.88rem; }
  .mkt-venue-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-venue-card .hero-cta { flex-direction: row; }
  .mkt-venue-card .hero-cta .btn { width: auto; flex: 1; }
  .mkt-venue-photos { gap: 12px; }
  .mkt-venue-photo figcaption { padding: 12px 12px 14px; }
  .mkt-venue-photo figcaption span { font-size: 0.84rem; }
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; }
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .mkt-route-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .feature-page-hero { min-height: auto; padding: 120px 20px 60px; }
  .feature-page-hero h1 { font-size: 2rem; }
  .feature-page-hero .lead { font-size: 1rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
  .step-card { padding: 24px; }
  .benefit-card { padding: 20px; }
  .footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; text-align: left; }
  .footer-brand { grid-column: 1 / -1; text-align: center; margin-bottom: 8px; }
  .footer-brand .footer-logo { justify-content: center; }
  .footer-links { text-align: left; align-self: start; }
  .footer-links h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 12px; }
  .footer-links a { font-size: 0.95rem; padding: 4px 0; display: block; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { justify-content: center; }
  .mkt-line-list li { flex-direction: column; gap: 4px; }
  .mkt-line-value { text-align: left; }
}
@media (max-width: 480px) {
  .use-cases-grid { grid-template-columns: 1fr; }
}
.feature-chip:hover { border-color: rgba(0, 200, 81, 0.3) !important; color: var(--text) !important; }
