/* ═══════════════════════════════════════════════════════
   PIDIGA — DESIGN SYSTEM
   Edit :root to retheme the entire app.
   ═══════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --bg:      #FFFFFF;
  --surface: #F5F5F5;
  --border:  #E2E2E2;
  --text:    #111111;
  --muted:   #6B6B6B;
  --subtle:  #ADADAD;

  /* Layout */
  --max-w:    680px;
  --pad:      24px;
  --radius:   8px;

  /* Sticky header height (tab-bar offset) */
  --header-h: 54px;
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 18px;
  line-height: 1.75;
}

/* ── Container ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ═══════════════════════════════════════════════════════
   SHARED — HEADER
   ═══════════════════════════════════════════════════════ */
.site-header,
.guide-header {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.guide-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}
.site-header .header-inner,
.guide-header .header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo {
  height: 28px;
  width: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}
.nav-brand:hover { opacity: 0.7; }
.nav-sub {
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 440px) { .nav-sub { display: none; } }

.share-btn {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .15s, color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.share-btn:hover {
  border-color: var(--biz-color, var(--text));
  color: var(--biz-color, var(--text));
  background: color-mix(in srgb, var(--biz-color, var(--text)) 6%, var(--bg));
}
.share-btn svg { width: 18px; height: 18px; stroke-width: 1.75; }

/* ═══════════════════════════════════════════════════════
   INDEX — INTRO
   ═══════════════════════════════════════════════════════ */
.intro {
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.intro h1 {
  font-size: clamp(34px, 8vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.hero-line { display: inline-block; }
.hero-caret {
  display: inline-block;
  width: 0.08em;
  min-width: 3px;
  height: 0.78em;
  background: currentColor;
  margin-left: 0.14em;
  vertical-align: -0.06em;
  animation: caretBlink 0.9s steps(2) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-caret { animation: none; opacity: 0.5; }
}
.intro p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  max-width: 460px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   INDEX — BUSINESS CARD GRID
   ═══════════════════════════════════════════════════════ */
.grid-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 18px;
}
.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 64px;
}
@media (min-width: 540px) { .biz-grid { grid-template-columns: repeat(3, 1fr); } }

.biz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s, transform .15s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.biz-card:hover {
  border-color: var(--biz-color, var(--text));
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}
.biz-card:hover .biz-arrow { color: var(--biz-color, var(--text)); transform: translateX(2px); }
.biz-card:active { transform: scale(0.985); }
.biz-arrow {
  position: absolute;
  top: 18px;
  right: 16px;
  color: var(--subtle);
  transition: color .15s, transform .15s;
}
.biz-arrow svg { width: 18px; height: 18px; stroke-width: 2; display: block; }
.biz-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--biz-color, var(--text)) 10%, transparent);
  color: var(--biz-color, var(--text));
}
.biz-icon svg     { width: 24px; height: 24px; stroke-width: 1.75; }
.biz-name         { font-size: 13px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.biz-margin       { font-size: clamp(22px, 5.5vw, 30px); font-weight: 800; letter-spacing: -1px; line-height: 1; }
.biz-pct          { font-size: 0.6em; }
.biz-margin-label { font-size: 11px; color: var(--muted); margin-top: 4px; margin-bottom: 16px; }
.biz-meta {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.biz-meta-item { font-size: 12px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════
   GUIDE — STICKY HEADER
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   GUIDE — HERO
   ═══════════════════════════════════════════════════════ */
.guide-hero {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border);
}
.guide-name    {
  font-size: clamp(32px, 7vw, 46px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.guide-tagline {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 12px;
}
.guide-pidi {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 22px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--biz-color, var(--text)) 7%, transparent);
  border-left: 2px solid var(--biz-color, var(--text));
  border-radius: 0 6px 6px 0;
}
.guide-pidi strong { color: var(--biz-color, var(--text)); font-weight: 700; }

.guide-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.guide-stat { background: var(--bg); padding: 16px 12px; }
.gs-val {
  font-size: clamp(16px, 4.5vw, 22px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.gs-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.guide-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.badge {
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════
   GUIDE — "YOU'LL NEED" LINE (in About tab)
   ═══════════════════════════════════════════════════════ */
.guide-need {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 26px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: var(--radius);
}
.guide-need strong { color: var(--text); font-weight: 800; }

/* ═══════════════════════════════════════════════════════
   GUIDE — TIMELINE STRIP
   ═══════════════════════════════════════════════════════ */
.timeline-strip { padding: 4px 0 8px; }
.timeline-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--biz-color, var(--text));
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.timeline-title-meta {
  font-size: 11px;
  color: var(--subtle);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.timeline-row { display: flex; flex-direction: column; gap: 0; }
.timeline-step {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.timeline-step:last-child { border-bottom: none; }
.timeline-when {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--biz-color, var(--text));
  flex-shrink: 0;
  width: 76px;
  padding-top: 2px;
}
.timeline-what { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ═══════════════════════════════════════════════════════
   GUIDE — FAQ / DOUBTS TAB
   ═══════════════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; color: var(--text); }
.faq-a { font-size: 16px; color: var(--muted); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════
   GUIDE — OVERVIEW SECTION
   ═══════════════════════════════════════════════════════ */
.biz-overview { padding: 0 0 8px; }
.overview-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.overview-stat {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
}
.overview-facts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; padding-top: 2px; }
.overview-fact { display: flex; gap: 14px; align-items: baseline; }
.overview-fact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  flex-shrink: 0;
  width: 96px;
  padding-top: 3px;
}
.overview-fact-value { font-size: 15px; color: var(--text); line-height: 1.55; }

/* ═══════════════════════════════════════════════════════
   GUIDE — TAB BAR
   ═══════════════════════════════════════════════════════ */
.tab-bar-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.tab-bar-wrap .container { position: relative; }
.tab-bar-wrap .container::after {
  content: '›';
  position: absolute;
  right: var(--pad);
  top: 0;
  bottom: 0;
  width: 56px;
  background: linear-gradient(to right, transparent, var(--bg) 55%);
  color: var(--biz-color, var(--muted));
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}
.tab-bar-wrap .container.has-more::after { opacity: 1; }
.tab-bar {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color .15s;
  flex-shrink: 0;
  font-family: inherit;
}
.tab-btn.active { color: var(--biz-color, var(--text)); }
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--biz-color, var(--text));
}

.tab-panel        { display: none; padding: 32px 0 80px; }
.tab-panel.active { display: block; }

/* section-label style is now unified with .market-section-title above */

/* ═══════════════════════════════════════════════════════
   GUIDE — NICHES (top of Steps tab)
   ═══════════════════════════════════════════════════════ */
.niches-block { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.niches-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--biz-color, var(--text));
  margin-bottom: 8px;
}
.niches-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 520px;
}
.niches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) { .niches-grid { grid-template-columns: 1fr; } }
.niche-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--bg);
  transition: border-color .15s, background .15s;
}
.niche-card:hover {
  border-color: var(--biz-color, var(--text));
  background: color-mix(in srgb, var(--biz-color, var(--text)) 5%, var(--bg));
}
.niche-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; color: var(--biz-color, var(--text)); }
.niche-why  { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ═══════════════════════════════════════════════════════
   GUIDE — PITFALLS (bottom of Steps tab)
   ═══════════════════════════════════════════════════════ */
.pitfalls-block { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--border); }
.pitfalls-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--biz-color, var(--text));
  margin-bottom: 18px;
}
.pitfalls-list { display: flex; flex-direction: column; }
.pitfall-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.pitfall-item:last-child { border-bottom: none; }
.pitfall-what {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pitfall-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--biz-color, var(--text)) 18%, transparent);
  color: var(--biz-color, var(--text));
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
  position: relative;
  top: 1px;
}
.pitfall-fix {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 28px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pitfall-fix-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--biz-color, var(--text));
  flex-shrink: 0;
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--biz-color, var(--text)) 40%, transparent);
  border-radius: 4px;
  position: relative;
  top: -1px;
}

/* ═══════════════════════════════════════════════════════
   GUIDE — STEPS
   ═══════════════════════════════════════════════════════ */
.steps-list { display: flex; flex-direction: column; }

.step-item {
  display: flex;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.step-item:last-child { border-bottom: none; }

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--subtle);
  width: 26px;
  flex-shrink: 0;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}

.step-content { flex: 1; min-width: 0; }
.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.step-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.step-action {
  font-size: 15px;
  margin-top: 2px;
}
.step-action-link {
  display: inline-block;
  color: var(--biz-color, var(--text));
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity .15s;
}
.step-action-link:hover { opacity: 0.75; }
.step-action-static {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}
.pidi-hint {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 14px;
  margin-bottom: 14px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--biz-color, var(--text)) 7%, transparent);
  border-left: 2px solid var(--biz-color, var(--text));
  border-radius: 0 6px 6px 0;
}
.pidi-hint-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--biz-color, var(--text));
  flex-shrink: 0;
}
.pidi-hint-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   GUIDE — MARKET TAB
   ═══════════════════════════════════════════════════════ */
.own-store-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 48px;
  background: var(--surface);
}
.own-store-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--biz-color, var(--text));
  margin-bottom: 8px;
}
.own-store-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.own-store-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.store-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-opt {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  background: var(--bg);
}
.store-opt-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.store-opt-type { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 5px; }
.store-opt-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Pidiga feature grid */
.pidiga-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.pidiga-feature {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  background: var(--bg);
}
.pidiga-feature-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.pidiga-feature-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

.pidiga-trial {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.cta-btn {
  display: block;
  background: var(--text);
  color: var(--bg);
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: opacity .15s;
}
.cta-btn:hover { opacity: 0.8; }


.market-section-title,
.tips-section-title,
.online-title,
.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--biz-color, var(--text));
  margin-bottom: 18px;
}

.channel-list { display: flex; flex-direction: column; }
.channel-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.channel-item:last-child { border-bottom: none; }
.ch-name   { font-size: 18px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.ch-why    { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.ch-label  {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--subtle);
  margin-bottom: 10px;
}
.ch-tips { display: flex; flex-direction: column; gap: 8px; }
.ch-tip {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}
.ch-tip::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--subtle);
}

/* ═══════════════════════════════════════════════════════
   GUIDE — MONEY TAB
   ═══════════════════════════════════════════════════════ */
.profit-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 44px;
}
.profit-box-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--biz-color, var(--text));
}
.profit-row { display: flex; align-items: center; }
.profit-cell {
  flex: 1;
  padding: 22px 10px;
  text-align: center;
  min-width: 0;
}
.profit-cell.earn { background: color-mix(in srgb, var(--biz-color, var(--text)) 8%, transparent); }
.profit-cell.earn .profit-label { color: var(--biz-color, var(--text)); }
.profit-cell.earn .profit-amount { color: var(--biz-color, var(--text)); }
.profit-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.profit-amount {
  font-size: clamp(20px, 5.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1;
}
.profit-sub { font-size: 12px; color: var(--muted); margin-top: 6px; }
.profit-sep { padding: 0 2px; color: var(--subtle); font-size: 16px; flex-shrink: 0; }
.profit-note {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--muted);
  background: var(--surface);
  line-height: 1.6;
}

.earnings-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 44px;
}
.earnings-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--biz-color, var(--text));
}
.earnings-row {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.earnings-row:last-child { border-bottom: none; }
.earnings-row-good { background: color-mix(in srgb, var(--biz-color, var(--text)) 8%, transparent); }
.earnings-label { font-size: 15px; color: var(--muted); flex: 1; }
.earnings-units { font-size: 13px; color: var(--subtle); flex-shrink: 0; }
.earnings-amount { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; flex-shrink: 0; min-width: 90px; text-align: right; }
.earnings-amount-good { color: var(--biz-color, var(--text)); }

.stats-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 44px;
}
.stats-table-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--biz-color, var(--text));
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.stat-row:last-child { border-bottom: none; }
.stat-key { font-size: 16px; color: var(--muted); }
.stat-val { font-size: 16px; font-weight: 700; text-align: right; }

.tips-list { display: flex; flex-direction: column; }
.tip-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.tip-item:last-child { border-bottom: none; }
.tip-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--biz-color, var(--subtle));
  width: 26px;
  flex-shrink: 0;
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}
.tip-text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  min-width: 0;
}
.tip-text strong { color: var(--text); font-weight: 700; }

.comp-dots { display: inline-flex; gap: 4px; align-items: center; margin-right: 8px; vertical-align: middle; }
.comp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.comp-dot-filled { background: var(--biz-color, var(--text)); }

/* ═══════════════════════════════════════════════════════
   GUIDE — SOURCES TAB
   ═══════════════════════════════════════════════════════ */
.source-list { display: flex; flex-direction: column; margin-bottom: 48px; }
.source-item { padding: 28px 0; border-bottom: 1px solid var(--border); }
.source-item:last-child { border-bottom: none; }
.source-name-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.source-name { font-size: 18px; font-weight: 700; }
.source-starter {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  background: var(--biz-color, var(--text)); color: var(--bg); padding: 3px 8px; border-radius: 3px; flex-shrink: 0;
}
.source-desc { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.source-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-icon { width: 12px; height: 12px; stroke-width: 2; vertical-align: middle; margin-right: 4px; position: relative; top: -1px; }
.source-tag  {
  font-size: 13px;
  padding: 4px 11px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  font-weight: 500;
}

/* Per-supplier "Find suppliers" / "Locate suppliers" CTA */
.source-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 16px;
  border: 1.5px solid var(--biz-color, var(--text));
  border-radius: 6px;
  color: var(--biz-color, var(--text));
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: color-mix(in srgb, var(--biz-color, var(--text)) 6%, var(--bg));
  transition: background .15s;
  -webkit-tap-highlight-color: transparent;
}
.source-cta:hover  { background: color-mix(in srgb, var(--biz-color, var(--text)) 14%, var(--bg)); }
.source-cta:active { background: color-mix(in srgb, var(--biz-color, var(--text)) 22%, var(--bg)); }
.source-cta svg    { width: 14px; height: 14px; stroke-width: 2; }

.buy-tips { display: flex; flex-direction: column; }
.buy-tip { font-size: 16px; color: var(--muted); line-height: 1.75; padding: 22px 0; border-bottom: 1px solid var(--border); }
.buy-tip:last-child { border-bottom: none; }
.buy-tip strong { color: var(--text); font-weight: 700; }

/* ── Sticky bottom CTA ─────────────────────────────────── */
.bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 14px var(--pad);
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 200;
}
.bottom-cta-btn {
  display: block;
  background: var(--text);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: opacity .15s;
}
.bottom-cta-btn:hover { opacity: 0.8; }

/* offset page bottom so content doesn't hide under sticky bar */
body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
