/* =============================================================
   SECTION: Hero + Trust Strip + COA Archive
   Owner: Agent B
   Partials: 02-hero · 03-trust-strip · 07-coa-archive
   Mobile-first. All values use tokens only. No hex literals.
   ============================================================= */


/* =============================================================
   HERO
   ============================================================= */

.hero {
  background-color: var(--color-surface);
  padding-top: var(--space-12);    /* 48px mobile */
  padding-bottom: var(--space-10); /* 40px mobile */
  text-align: center;
}

.hero__inner {
  max-width: var(--max-text);
  margin-inline: auto;
  padding-inline: var(--space-6); /* 24px side padding on small viewports */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6); /* 24px between H1, sub, actions */
}

/* ── Social proof pill — appears above H1 ─────────────────── */
.hero__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.hero__stars {
  color: var(--color-star);
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}

.hero__rating {
  font-size: var(--fs-body-sm); /* 14px */
  color: var(--color-text-secondary);
}

.hero__rating strong {
  color: var(--color-text-primary);
  font-weight: 700;
}

/* R6 — separator dots between social-proof metrics */
.hero__sep {
  color: var(--color-text-secondary);
  opacity: 0.4;
  font-size: var(--fs-body-sm);
  line-height: 1;
  user-select: none;
}

/* R6 — order/review count labels */
.hero__orders {
  font-size: var(--fs-body-sm);
  color: var(--color-text-secondary);
}

/* R6 — founding year slot */
.hero__since {
  font-size: var(--fs-body-sm);
  color: var(--color-text-secondary);
}

/* R5 — Eroids reputation link in hero social-proof row */
.hero__eroids-link {
  font-size: var(--fs-body-sm);
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
}

.hero__eroids-link:hover,
.hero__eroids-link:focus-visible {
  text-decoration: underline;
}

/* R3 — discreet shipping line below sub copy */
.hero__discreet {
  font-size: var(--fs-body-sm); /* 14px */
  color: var(--color-text-secondary);
  margin: 0;
  font-style: italic;
}

.hero__h1 {
  font-size: var(--fs-h1-mobile); /* 28px */
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.hero__sub {
  color: var(--color-text-secondary);
  font-size: var(--fs-body-lg-mobile); /* 16px */
  line-height: 1.6;
  margin: 0;
}

.hero__sub p {
  margin: 0;
}

.hero__break {
  display: block;
  height: 8px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4); /* 16px */
  width: 100%;
}

.hero__actions .btn--primary {
  width: 100%;
  max-width: 320px;
}


/* =============================================================
   TRUST STRIP
   ============================================================= */

.trust-strip {
  background-color: var(--color-muted);
  padding-top: var(--space-7);    /* 28px on mobile */
  padding-bottom: var(--space-7); /* 28px on mobile */
}

.trust-strip__inner {
  max-width: var(--max-trust);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.trust-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2×2 on mobile */
  gap: var(--space-8) var(--space-6);    /* 32px row / 24px col */
}

.trust-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3); /* 12px between icon and label */
  text-align: center;
  color: var(--color-accent); /* drives currentColor on the SVG stroke */
}

.trust-strip__item strong {
  font-size: var(--fs-body-sm); /* 14px */
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
}


/* =============================================================
   COA ARCHIVE
   ============================================================= */

.coa-archive {
  background-color: var(--color-muted);
  padding-top: var(--space-10);    /* 40px mobile */
  padding-bottom: var(--space-10); /* 40px mobile */
}

.coa-archive__inner {
  max-width: var(--max-text);
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6); /* 24px between elements */
}

.coa-archive__logo {
  display: block;
  width: 160px;
  height: auto;
}

.coa-archive__heading {
  font-size: var(--fs-h2-mobile); /* 24px */
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin: 0;
}

.coa-archive__lead {
  font-size: var(--fs-body-lg-mobile); /* 16px */
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin: 0;
}

.coa-archive__body {
  font-size: var(--fs-body); /* 16px */
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* R2 — COA archive table */
.coa-archive__table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: left;
}

.coa-archive__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--fs-body-sm);
}

.coa-archive__table thead {
  background-color: var(--color-surface);
  border-bottom: 2px solid var(--color-border);
}

.coa-archive__table th {
  padding: var(--space-3) var(--space-4);
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.coa-archive__table td {
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.coa-archive__table tbody tr:last-child td {
  border-bottom: none;
}

.coa-archive__table tbody tr:nth-child(even) {
  background-color: var(--color-surface);
}

.coa-archive__table td:first-child {
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.coa-archive__table a {
  color: var(--color-accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
}

.coa-archive__table a:hover,
.coa-archive__table a:focus-visible {
  text-decoration: underline;
}


/* =============================================================
   DESKTOP OVERRIDES (≥768px)
   ============================================================= */

@media (min-width: 768px) {

  /* Hero */
  .hero {
    padding-top: var(--space-20);    /* 80px */
    padding-bottom: var(--space-16); /* 64px */
  }

  .hero__h1 {
    font-size: var(--fs-h1); /* 40px */
  }

  .hero__sub {
    font-size: var(--fs-body-lg); /* 18px */
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }

  .hero__actions .btn--primary {
    width: auto;
    max-width: none;
  }

  /* Trust strip */
  .trust-strip__list {
    grid-template-columns: repeat(5, 1fr); /* single row, 5 columns */
    gap: var(--space-6);
  }

  /* COA archive */
  .coa-archive {
    padding-top: var(--space-16);    /* 64px */
    padding-bottom: var(--space-16); /* 64px */
  }

  .coa-archive__lead {
    font-size: var(--fs-body-lg); /* 18px */
  }
}
