/* Auto Trader plans card (#hero-card) — compact and centred.

   Owner request (2026-10-07): less writing, neater, less spacious, in the
   shape of the newer bots' "Choose Your Plan" block — a short centred title,
   one line of copy, three tinted plan cards in a row and one row of pill
   buttons. House gold stays; the yearly card borrows the house green the
   Save pills already use. Loaded last, and every rule is scoped to
   #hero-card so it outranks the older hero rules in theme / mobile / polish
   at every width. app.js still renders the tiers (term, price, per-month,
   save) — only their presentation changes here. */

#hero-card.hero-card {
  display: block;
  position: relative;
  padding: 16px 18px 18px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(226, 166, 58, .26);
  background:
    radial-gradient(120% 140% at 50% -25%, rgba(226, 166, 58, .17), transparent 62%),
    linear-gradient(180deg, rgba(30, 20, 6, .94), rgba(14, 10, 4, .96));
  box-shadow: inset 0 1px 0 rgba(255, 220, 150, .06);
}
#hero-card.hero-card::after { content: none; }
#hero-card .hero-icon-col { display: none; }
#hero-card .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
}
#hero-card .hero-badges { justify-content: center; margin: 0; padding: 0; }
#hero-card .hero-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff6e3;
}
#hero-card .hero-title-hl {
  background: linear-gradient(90deg, #ffd88a, #f9c750 50%, #ffd88a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#hero-card .hero-desc {
  margin: 0;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted, #b9a179);
}
#hero-card .hero-more { display: none; }

/* ── the three plans ─────────────────────────────────────────────────────── */
#hero-card .hero-pricing { width: 100%; max-width: 640px; margin: 3px 0 0; }
#hero-card .hero-pricing-label { display: none; }
#hero-card .hero-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
#hero-card .hero-tier {
  --tone: #f3d9a4;
  --edge: rgba(243, 217, 164, .28);
  --tint: rgba(243, 217, 164, .07);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding: 11px 8px 10px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--tint), rgba(10, 7, 3, .55));
  text-align: center;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
#hero-card .hero-tier:hover {
  border-color: var(--tone);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  transform: translateY(-1px);
}
#hero-card .hero-tier.featured,
#hero-card .hero-tier[data-term="six_month"] {
  --tone: #f9c750;
  --edge: rgba(249, 199, 80, .52);
  --tint: rgba(249, 199, 80, .12);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='m2 4 3 12h14l3-12-6 7-4-7-4 7-6-7z'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E");
}
#hero-card .hero-tier[data-term="yearly"] {
  --tone: #6ee7b7;
  --edge: rgba(110, 231, 183, .36);
  --tint: rgba(110, 231, 183, .08);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
}
#hero-card .hero-tier-term {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tone);
}
#hero-card .hero-tier-term::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}
#hero-card .hero-tier-price {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--tone);
}
#hero-card .hero-tier-price i {
  margin-left: 3px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  color: var(--text-muted, #b9a179);
}
#hero-card .hero-tier-unit { font-size: 10px; color: var(--text-muted, #b9a179); }
#hero-card .hero-tier-save {
  position: absolute;
  top: -8px;
  right: 8px;
  margin: 0;
  padding: 1px 6px;
  border: 0;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #062a1c;
  background: #6ee7b7;
}

/* ── one neat row of pill buttons ────────────────────────────────────────── */
#hero-card .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 3px;
}
#hero-card .hero-actions .btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
}

@media (max-width: 560px) {
  #hero-card.hero-card { padding: 13px 11px 14px; }
  #hero-card .hero-content { gap: 8px; }
  #hero-card .hero-title { font-size: 16.5px; padding: 0 22px; }
  #hero-card .hero-desc { font-size: 11px; }
  #hero-card .hero-tiers { gap: 6px; }
  #hero-card .hero-tier { padding: 10px 3px 8px; border-radius: 10px; }
  #hero-card .hero-tier-term { font-size: 8.5px; letter-spacing: .05em; gap: 3px; }
  #hero-card .hero-tier-term::before { width: 10px; height: 10px; }
  #hero-card .hero-tier-price { font-size: 16px; }
  #hero-card .hero-tier-price i { font-size: 8px; margin-left: 2px; }
  #hero-card .hero-tier-unit { font-size: 8.5px; }
  #hero-card .hero-tier-save { top: -7px; right: 4px; font-size: 7px; padding: 1px 4px; }
  #hero-card .hero-actions { gap: 6px; }
  #hero-card .hero-actions .btn { flex: 1 1 auto; min-height: 34px; padding: 0 12px; font-size: 11.5px; }
}
