/* ============================================================
   Wolfpack Global Health — one-page site
   CI accent: #01ff9f
   ============================================================ */

:root {
  --accent: #01ff9f;
  --accent-dim: rgba(1, 255, 159, 0.55);
  --bg: #000000;
  --bg-soft: #0a0d0c;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-featured: rgba(1, 255, 159, 0.05);
  --text: #f4f4f4;
  --text-dim: #b6b6b6;
  --text-muted: #6b6b6b;
  --gray: #6b6b6b;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(1, 255, 159, 0.25);
  --border-accent-strong: rgba(1, 255, 159, 0.75);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --maxw: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

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

.accent { color: var(--accent); }
.muted  { color: var(--text-muted); }

.block-title {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Mobile default: focus on the man (slightly left of center) */
  background: url('assets/bg_image.jpg') 35% center / cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.9) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.2) 100%);
  z-index: -1;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 44px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(1, 255, 159, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* Hero content */
.hero-content {
  position: relative;
  margin: auto auto 0;
  width: 100%;
  max-width: var(--maxw);
  padding-top: 4rem;
}

.hero-headline {
  font-size: clamp(2.2rem, 7vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  color: var(--text);
  opacity: 0.85;
  font-weight: 300;
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}

.hero-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  line-height: 1.15;
}

.hero-features img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.hero-features strong { font-weight: 700; }

.hero-callout {
  border-left: 2px solid var(--accent);
  padding: 0.4rem 0 0.4rem 1rem;
  max-width: 420px;
}

.hero-callout h3 {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.hero-callout p {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ============================================================
   SECTION DEFAULTS
   ============================================================ */
section {
  padding: 4rem 1.25rem;
}

.section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.1em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-dim);
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* ============================================================
   TIERS
   ============================================================ */
.tiers {
  background: var(--bg);
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.tier {
  position: relative;
  border: 1px solid var(--border-accent);
  background: var(--bg-card);
  padding: 2rem 1.5rem 1.75rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tier:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent-strong);
  box-shadow: 0 8px 40px rgba(1, 255, 159, 0.12);
}

/* Tier header: logo left, text right */
.tier-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tier-logo {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}

.tier-head-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.tier-head-text h3 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.tier-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  line-height: 1.3;
}

.tier-desc {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.tier-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.tier-features li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.tier-features li:last-child { border-bottom: none; }

.tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 6px rgba(1, 255, 159, 0.5);
}

.tier-close {
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-accent);
  color: var(--accent);
}

/* --- Tier variants ----------------------------------------------------
   Hierarchy: EXECUTIVE = prominent silver/light (bestseller).
   SHIELD and LEGACY share the same restrained styling around it.
   ---------------------------------------------------------------------- */

/* SHIELD = basic — gray bullets, gray close text (default .tier styles) */

/* EXECUTIVE = mid (bestseller) — silver gradient bg, glow only (no lift) */
.tier--mid {
  border-color: rgba(220, 230, 240, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.02) 100%),
    var(--bg-card);
  box-shadow:
    0 0 38px rgba(255, 255, 255, 0.08),
    0 14px 44px rgba(0, 0, 0, 0.45);
}

.tier--mid:hover {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 50px rgba(255, 255, 255, 0.14),
    0 18px 56px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}

/* Silver logo + silver title, green subtitle for EXECUTIVE */
.tier--mid .tier-logo {
  filter: grayscale(1) brightness(1.7);
}
.tier--mid .tier-head-text h3 { color: #e8edf2; }
.tier--mid .tier-tag         { color: var(--accent); }

.tier--mid .tier-features li::before { background: #ffffff; box-shadow: none; }
.tier--mid .tier-close {
  color: #ffffff;
  border-top-color: rgba(255, 255, 255, 0.2);
}

/* LEGACY = featured — restrained, but keeps green accent bullets/text */
.tier--featured .tier-features li::before {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(1, 255, 159, 0.5);
}

.tier--featured .tier-close {
  color: var(--accent);
  border-top-color: var(--border-accent);
}

/* Badge — only EXECUTIVE has one ("MOST POPULAR" in silver) */
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.tier-badge--popular {
  background: linear-gradient(135deg, #f6f8fa, #c9d3dc);
  color: #0a0a0a;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

/* ============================================================
   COMPARE
   ============================================================ */
.compare {
  background: var(--bg-soft);
}

.compare-grid {
  max-width: var(--maxw);
  margin: 0 auto;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 3rem 0.5rem 0.5rem;
  margin: -2rem -0.5rem 0;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
  min-width: 600px;
  table-layout: fixed;
}

.compare-table th:first-child { width: 38%; }
.compare-table th:nth-child(n+2) { width: calc(62% / 3); }

/* Column headers ------------------------------------------------- */
.compare-table thead th {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-align: center;
  font-weight: 700;
  color: var(--text-dim);
  padding: 1.2rem 0.75rem 1.1rem;
  text-transform: uppercase;
  vertical-align: bottom;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-accent);
}

.compare-table thead th:first-child {
  text-align: left;
  background: transparent;
  border-bottom-color: var(--border);
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
}

.compare-table thead th:nth-child(2) { border-top-left-radius: 6px; }
.compare-table thead th:nth-child(3) { /* no rounding mid column */ }

.col-logo {
  width: 30px;
  height: auto;
  margin: 0 auto 0.4rem;
  opacity: 1;
  filter: none;
}

.col-name {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.15em;
}

/* Body cells ---------------------------------------------------- */
.compare-table tbody th {
  font-weight: 400;
  text-align: left;
  color: var(--text);
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
}

.compare-table tbody td {
  text-align: center;
  padding: 0.85rem 0.9rem;
  color: var(--text-dim);
  font-size: 0.83rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

/* Subtle zebra striping on non-featured cells */
.compare-table tbody tr:nth-child(even) > th,
.compare-table tbody tr:nth-child(even) > td:not(.is-featured) {
  background: rgba(255, 255, 255, 0.015);
}

/* Row hover highlight */
.compare-table tbody tr:hover > th,
.compare-table tbody tr:hover > td:not(.is-featured) {
  background: rgba(255, 255, 255, 0.04);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

/* EXECUTIVE featured column — raised "card" treatment in silver ------ */
.compare-table .is-featured {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.compare-table thead .is-featured {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px 8px 0 0;
  padding-top: 2rem;
  box-shadow: 0 -6px 24px rgba(255, 255, 255, 0.08);
}

.compare-table thead .is-featured .col-logo {
  filter: grayscale(1) brightness(1.7);
  width: 36px;
}

.compare-table thead .is-featured .col-name { color: #ffffff; }

.compare-table tbody tr:hover > .is-featured {
  background: rgba(255, 255, 255, 0.07);
}

.compare-table tbody tr:last-child .is-featured {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0 0 8px 8px;
}

/* "MOST POPULAR" floating badge on EXECUTIVE column — silver */
.col-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f6f8fa, #c9d3dc);
  color: #0a0a0a;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Check / dash badges ------------------------------------------- */
.compare-table .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.compare-table .check--on {
  color: var(--accent);
  background: rgba(1, 255, 159, 0.12);
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 8px rgba(1, 255, 159, 0.25);
}

.compare-table .check--off {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-weight: 400;
}

.compare-table .is-featured .check--on {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

/* Final tier row ----------------------------------------------- */
.compare-table .tier-row th,
.compare-table .tier-row td {
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.025);
}

.compare-table .tier-row .is-featured {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.14));
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.08);
}

/* Side boxes */
.compare-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  padding: 1.5rem 1.4rem;
}

.info-box h4 {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.info-intro {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

/* Progressive Protection — visual bars */
.progress-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.progress-list li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.progress-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.progress-node {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(1, 255, 159, 0.05);
}

.progress-label {
  color: var(--text);
  letter-spacing: 0.04em;
}

.progress-pct {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 36px;
}

.progress-bar-fill {
  height: 100%;
  width: var(--pct);
  background: linear-gradient(90deg, rgba(1,255,159,0.4), var(--accent));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(1, 255, 159, 0.55);
  transition: width 0.4s ease;
}

.progress-list .is-full .progress-node {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(1, 255, 159, 0.65);
}

.full-pill {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--accent);
  background: rgba(1, 255, 159, 0.06);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
}

.full-pill img {
  width: 18px;
  height: 18px;
}

.info-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.45;
  font-style: italic;
}

/* Fees list */
.fees { list-style: none; }
.fees li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  border-bottom: 1px dashed var(--border);
}
.fees li:last-child { border-bottom: none; }

.card-img {
  width: 240px;
  max-width: 100%;
  margin: 1.25rem auto 0;
  filter: drop-shadow(0 12px 24px rgba(1, 255, 159, 0.18));
}

/* ============================================================
   STRATEGIC
   ============================================================ */
.strategic {
  text-align: center;
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.strategic .block-title {
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.strategic-body {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.pillars li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-align: center;
}

.pillars img {
  width: 36px;
  height: 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 4rem 1.25rem 3rem;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--border-accent);
}

.footer-logo {
  width: 40px;
  height: auto;
  margin: 0 auto 1rem;
}

.site-footer h2 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: 0.18em;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.tagline {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 600;
}

.imprint {
  margin-top: 2.5rem;
  font-size: 0.78rem;
  font-style: normal;
  color: var(--text-dim);
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.imprint strong { color: var(--text); font-weight: 700; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  .hero-features {
    grid-template-columns: repeat(4, auto);
    gap: 1.5rem 2rem;
  }
  .pillars { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1000px) {
  section { padding: 6rem 2rem; }
  .hero {
    padding: 2rem 2.5rem 5rem;
    min-height: 100vh;
  }
  .tier-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

@media (min-width: 1200px) {
  .hero { padding: 2.5rem 4rem 6rem; }
  section { padding: 7rem 4rem; }
  .hero-headline { line-height: 0.95; }
  .tier-logo { width: 72px; }
}

/* ============================================================
   COMPARE — mobile tabbed view
   ============================================================ */
.compare-mobile { display: none; }

.tab-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem;
}

.tab-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 0.7rem 0.3rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover { color: var(--text); }

.tab-btn.is-active {
  background: var(--accent);
  color: #000;
  box-shadow: 0 4px 14px rgba(1, 255, 159, 0.35);
}

.tab-panel {
  border: 1px solid var(--border-accent);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 1.4rem 1.1rem 1.2rem;
  position: relative;
}

.tab-panel--featured {
  border-color: rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.08);
}

.tab-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f6f8fa, #c9d3dc);
  color: #0a0a0a;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.tab-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.tab-head img { width: 36px; height: auto; }
.tab-head strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 800;
}
.tab-head span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.15rem;
  min-height: 2.2em; /* keep header height consistent across tabs */
}

.tab-rows { list-style: none; }
.tab-rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  font-size: 0.84rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}
.tab-rows li:last-child { border-bottom: none; }
.tab-rows li > span:first-child { color: var(--text); }
.tab-rows li > span:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--accent);
}

/* Drop the gray bottom border on the row directly before the final row,
   so the green top border of the final row doesn't double up. */
.tab-rows li:has(+ .tab-row--final) { border-bottom: none; }

.tab-row--final {
  margin-top: 0.5rem;
  padding-top: 0.85rem !important;
  border-top: 1px solid var(--border-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
}

.tab-rows .check { /* reuse desktop check styles */ }

/* ============================================================
   MOBILE-ONLY OVERRIDES
   ============================================================ */
@media (max-width: 999px) {
  /* Compare: show tabs, hide table */
  .compare-mobile { display: block; }
  .compare-main .table-scroll { display: none; }

  /* Info-boxes: trim padding so heading fits */
  .info-box { padding: 1.2rem 1rem; }
  .info-box h4 {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    overflow-wrap: anywhere;
  }
  .progress-row { font-size: 0.78rem; gap: 0.5rem; }
  .progress-pct { font-size: 0.72rem; }
  .full-pill {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    padding: 0.55rem 0.6rem;
  }
  .fees li { font-size: 0.8rem; }
  .card-img { width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
