/* ==========================================================================
   Vaytax v2 Design System — editorial marketing treatment (2026-04-23)
   Loaded on every page. Adds new v2 accents; never overrides existing layout.
   Safe to load alongside styles.css (no conflicting selectors at equal
   specificity).
   ========================================================================== */

/* Flag-dot eyebrow decoration — decorates ALL existing `.tagline` usage
   (section eyebrow tags). Also available as `.eyebrow-flag`. */
.tagline::before,
.eyebrow-flag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 8px;
  margin-right: 12px;
  vertical-align: -1px;
  background: linear-gradient(
    90deg,
    #000 0%, #000 33.333%,
    #dd0000 33.333%, #dd0000 66.666%,
    #ffcc00 66.666%, #ffcc00 100%
  );
  border-radius: 1px;
}

/* Opt-out where a page doesn't want the flag-dot on .tagline */
.tagline.no-flag::before { display: none; }

/* Gold-italic accent for hero H1s — pages can mark a word or phrase with
   <em> or <span class="accent"> to get the gold italic treatment.
   Default is MUTED gold (reads well on light backgrounds). Dark-background
   heros override to FLAG gold (#ffcc00). */
h1 em,
h1 .accent {
  color: #8a6d3b;
  font-style: italic;
  font-weight: 400;
}

/* Dark-hero override: any h1 inside a dark hero or hero gradient section
   gets the brighter flag-gold italic for contrast. */
.hero h1 em,
.hero h1 .accent,
.v2-dark-hero h1 em,
.v2-dark-hero h1 .accent,
.pricing-hero h1 em,
.pricing-hero h1 .accent,
.lander-hero h1 em,
.lander-hero h1 .accent,
.amazon-hero h1 em,
.amazon-hero h1 .accent,
.shopify-hero h1 em,
.shopify-hero h1 .accent {
  color: #ffcc00;
}

/* Footer flag-stripe left accent — works on the existing footer on every
   page. Targets a <footer> that is a direct child of <body>. */
body > footer {
  position: relative;
}
body > footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    #000 0%, #000 33.333%,
    #dd0000 33.333%, #dd0000 66.666%,
    #ffcc00 66.666%, #ffcc00 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Section eyebrow — alt inline pattern (when <span class="tagline"> isn't
   appropriate and you need a flex inline block). */
.v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 6.6px;
  color: #bcbcbc;
  margin-bottom: 12px;
}
.v2-flag-dot {
  display: inline-block;
  width: 24px;
  height: 8px;
  background: linear-gradient(
    90deg,
    #000 0%, #000 33.333%,
    #dd0000 33.333%, #dd0000 66.666%,
    #ffcc00 66.666%, #ffcc00 100%
  );
  border-radius: 1px;
}

/* Stats band — navy surface with flag-top stripe.
   <section class="v2-stats-band"><div class="v2-stats-grid">…</div></section> */
.v2-stats-band {
  position: relative;
  padding: 80px 24px;
  background: #14203b;
  color: #fff;
  overflow: hidden;
}
.v2-stats-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(
    90deg,
    #000 0%, #000 33.333%,
    #dd0000 33.333%, #dd0000 66.666%,
    #ffcc00 66.666%, #ffcc00 100%
  );
}
.v2-stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.v2-stat-number {
  font-family: 'Marcellus', serif;
  font-size: 56px;
  color: #ffcc00;
  line-height: 1;
  letter-spacing: -1px;
}
.v2-stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-top: 12px;
}
.v2-stat-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Feature card — matches homepage feature grid small cards */
.v2-feature-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  border: 1px solid #e6e6e6;
  position: relative;
}
.v2-feature-card.accent {
  background: #fff8e1;
  border-color: #f0e1a8;
}
.v2-feature-card.accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 3px;
  background: linear-gradient(
    90deg,
    #000 0%, #000 33.333%,
    #dd0000 33.333%, #dd0000 66.666%,
    #ffcc00 66.666%, #ffcc00 100%
  );
}
.v2-feature-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #8a6d3b;
  margin-bottom: 12px;
}
.v2-feature-card h4 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  color: #233985;
  font-size: 20px;
  margin: 0 0 8px;
  line-height: 1.2;
}
.v2-feature-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #262626;
  margin: 0;
}
