/* Gigxie — Become a Seller page */

/* ============ Hero ============ */
.sell-hero {
  position: relative;
  background: var(--hero-grad);
  overflow: hidden;
  padding-block: 112px 128px;
  text-align: center;
}
.sell-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 247, 71, .16), transparent 65%);
  pointer-events: none;
}
.sell-hero::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 59, 255, .35), transparent 65%);
  pointer-events: none;
}
.sell-hero .container { position: relative; z-index: 1; max-width: 860px; }
.sell-hero h1 {
  color: #fff;
  margin: 24px 0 20px;
}
.sell-hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.sell-hero .hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
  max-width: 56ch;
  margin: 0 auto 36px;
}
/* Both CTAs are the same button on the same dark gradient — the global purple ring
   is near-invisible there, so the accent ring has to cover both. */
.sell-hero .btn-accent:focus-visible,
.sell-cta .btn-accent:focus-visible { outline-color: var(--accent); }
.hero-fineprint {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* Floating proof pills (decorative) */
.hero-pill {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  animation: pill-float 6s ease-in-out infinite;
}
.hero-pill strong { color: var(--accent); font-weight: 700; }
/* Anchored to the text column, not the viewport: the h1 sets on one line (~692px) and
   centres, so its edges sit at 50% ∓ 346px. Parking the pills at 50% ∓ 616px keeps a
   constant ~32px gap from the headline at every width instead of one that closes as the
   viewport narrows (at left: 6% the left pill crossed into "Keep" from ~1310px down). */
.hero-pill--left  { left: calc(50% - 616px);  top: 34%; animation-delay: -2s; }
.hero-pill--right { right: calc(50% - 616px); top: 52%; }
@keyframes pill-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
/* Below 1280px the anchored pills would run past the container's 24px gutter, and the h1
   starts wrapping — hide them rather than clip them. */
@media (max-width: 1279px) { .hero-pill { display: none; } }
@media (max-width: 720px)  { .sell-hero { padding-block: 72px 84px; } }

/* Three-up grids on this page go 3 → 1: a 2+1 orphan row is the worst of both */
@media (max-width: 1000px) { .grid-3 { grid-template-columns: 1fr; } }

/* ============ Calculator ============ */
.calc-section { margin-top: -64px; position: relative; z-index: 2; padding-bottom: 96px; }
.calc-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  padding: 48px;
  max-width: 880px;
  margin-inline: auto;
}
.calc-card h2 { font-size: 32px; margin-bottom: 8px; }
.calc-card > p { color: var(--body); margin-bottom: 32px; max-width: 60ch; }
.calc-slider-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.calc-slider-label output {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--r-pill);
  background: linear-gradient(to right, var(--brand) 0%, var(--brand) 12%, var(--line) 12%, var(--line) 100%);
  outline: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(14, 14, 26, .25);
  transition: transform var(--ease);
}
.calc-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(14, 14, 26, .25);
  transition: transform var(--ease);
}
.calc-range:hover::-webkit-slider-thumb { transform: scale(1.12); }
.calc-range:hover::-moz-range-thumb { transform: scale(1.12); }
.calc-range:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
/* Itemised lines: charge → commission (0) → processing, above the two totals. The
   deduction has to be as visible as the headline, so it sits in the same column. */
.calc-lines { margin-top: 32px; border-top: 1px solid var(--line); }
.calc-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.calc-line dt { font-size: 15px; font-weight: 600; color: var(--ink); }
.calc-line dt span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.calc-line dd {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.calc-line dd.calc-line-zero { color: var(--accent-ink, var(--brand)); }
.calc-line dd.calc-line-out { color: var(--danger-ink); }
.calc-fineprint { font-size: 13px; color: var(--muted); margin-top: 16px; max-width: 72ch; }
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.calc-result {
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--line);
}
.calc-result .calc-result-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.calc-result .calc-result-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.calc-result .calc-result-note { font-size: 13px; margin-top: 8px; }
.calc-result--keep {
  background: var(--ink);
  border-color: var(--ink);
}
.calc-result--keep .calc-result-label { color: var(--accent); }
.calc-result--keep .calc-result-num  { color: var(--accent); }
.calc-result--keep .calc-result-note { color: rgba(255, 255, 255, .6); }
.calc-result--lose { background: var(--bg-soft); }
.calc-result--lose .calc-result-label { color: var(--body); }
.calc-result--lose .calc-result-num  { color: var(--danger-ink); }
.calc-result--lose .calc-result-note { color: var(--muted); }
@media (max-width: 720px) {
  /* hero bottom padding drops 128px → 84px up here, so the overlap has to shrink with it
     or the card eats the band of hero it leaves visible on desktop */
  .calc-section { margin-top: -40px; padding-bottom: 56px; } /* match .section's mobile rhythm */
  .calc-card { padding: 28px 20px; }
  .calc-results { grid-template-columns: 1fr; }
  .calc-result .calc-result-num { font-size: 32px; }
}

/* ============ How it works ============ */
/* Same surface language as .story-card — but no lift: nothing here is clickable. */
.step-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.step-num {
  position: absolute;
  top: 4px;
  right: 16px;
  font-family: var(--font-head);
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  /* --brand-tint is invisible on any near-white surface; this reads as a ghost numeral */
  color: var(--brand-ghost);
  user-select: none;
}
.step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-wash);
  box-shadow: 0 0 0 1px rgba(108, 59, 255, .10);
  color: var(--brand);
  margin-bottom: 16px;
}
.step-icon svg { width: 26px; height: 26px; }
.step-card h3 { font-size: 24px; margin-bottom: 8px; position: relative; }
.step-card p { position: relative; max-width: 42ch; }

/* ============ Comparison table ============ */
/* Keyboard-scrollable (tabindex=0 in markup) + a fade that shows there's more to the right.
   The gradient pair is painted local/scroll so the fade disappears once you reach the end. */
.compare-wrap {
  overflow-x: auto;
  border-radius: 16px;
  background:
    linear-gradient(to right, var(--bg-soft) 30%, rgba(247, 247, 251, 0)) left / 40px 100% no-repeat local,
    linear-gradient(to left,  var(--bg-soft) 30%, rgba(247, 247, 251, 0)) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(14, 14, 26, .14), transparent) left / 16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(14, 14, 26, .14), transparent) right / 16px 100% no-repeat scroll;
}
.compare-wrap:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.compare th, .compare td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  background: var(--bg-soft);
}
.compare thead th.col-gigxie {
  background: var(--ink);
  color: #fff;
}
.compare thead th.col-gigxie .logo-dot { color: var(--accent); }
.compare tbody th {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  width: 30%;
}
.compare td.cell-gigxie { background: var(--accent-wash); font-weight: 600; color: var(--ink); }
.compare td .cell-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.compare .mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.compare .mark svg { width: 12px; height: 12px; }
.compare .mark-yes { background: var(--accent); color: var(--ink); }
.compare .mark-no  { background: var(--danger-wash); color: var(--danger); }
.compare .big-zero {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  background: var(--accent);
  padding: 2px 12px;
  border-radius: var(--r-pill);
}
.compare td.cell-other { color: var(--body); }
/* Real column labels for the stacked mobile cards; thead carries them on desktop.
   (Was ::before generated content, which VoiceOver never exposed.) */
.cell-label { display: none; }

/* Below 640px the table becomes four stacked mini-cards — no side-scrolling table on a phone. */
@media (max-width: 640px) {
  .compare-wrap { overflow-x: visible; background: none; }
  .compare {
    min-width: 0;
    border: 0;
    background: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .compare thead { display: none; }
  .compare tbody { display: contents; }
  .compare tbody tr {
    display: block;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    overflow: hidden;
  }
  .compare tbody th, .compare tbody td { display: block; width: auto; }
  .compare tbody th {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
  }
  /* thead is hidden, so each cell names its own column */
  .compare tbody td .cell-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .compare tbody td.cell-gigxie .cell-label { color: var(--brand-dark); }
  .compare tbody tr:last-child td.cell-gigxie { border-bottom: 1px solid var(--line); }
}

/* ============ Live platform numbers ============ */
.proof-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.proof-zero {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px;
  border-radius: 20px;
  background: var(--ink);
}
.proof-zero-fig { flex: none; }
.proof-zero-num {
  display: block;
  font-family: var(--font-head);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.proof-zero-label {
  display: block;
  margin-top: 8px;
  max-width: 22ch;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
}
.proof-zero p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
}
.proof-zero p em { font-style: normal; color: var(--accent); font-weight: 600; }
.proof-stat {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.proof-num {
  display: block;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.proof-label { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
/* The seed numbers are only true until the API answers — shimmer over them until it does.
   Same skeleton treatment as app.css/.sk; reduced-motion kills the animation globally. */
.proof-num.is-loading {
  color: transparent;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--bg-soft) 25%, #EEEEF5 37%, var(--bg-soft) 63%);
  background-size: 400% 100%;
  animation: sk-shimmer 1.4s ease infinite;
}
@keyframes sk-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-zero { padding: 24px; gap: 20px; }
  .proof-zero-num { font-size: 56px; }
}

/* ============ Seller protection ============ */
/* Same surface as .step-card — also nothing clickable, so no lift here either. */
.protect-card { padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.protect-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  margin-bottom: 16px;
}
.protect-tick svg { width: 15px; height: 15px; }
/* Same level of hierarchy as .step-card h3 — same size. */
.protect-card h3 { font-size: 24px; margin-bottom: 8px; }
.protect-card p { max-width: 52ch; }

/* ============ Success stories ============ */
.story-card {
  position: relative; /* containing block for the stretched .story-link */
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--ease), transform var(--ease);
}
/* The lift is earned: .story-link stretches over the whole card to the seller's profile. */
.story-card:hover, .story-card:focus-within { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.story-top { display: flex; align-items: center; gap: 16px; }
.story-top .story-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--ink); }
.story-link { color: inherit; }
.story-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.story-card:hover .story-link { color: var(--brand); }
.story-link:focus-visible { outline: none; }
.story-card:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
/* raised above the stretched link so the quote and the figure stay selectable */
.story-quote, .story-earn { position: relative; z-index: 1; }
.story-top .story-craft { font-size: 14px; color: var(--muted); }
.story-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  border: 0;
  margin: 0;
  padding: 0;
}
.story-earn {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.story-earn strong {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-right: 6px;
}
.story-earn .earn-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

/* ============ Final CTA band ============ */
.sell-cta {
  background: var(--hero-grad);
  text-align: center;
  padding-block: 88px;
  position: relative;
  overflow: hidden;
}
.sell-cta::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(108, 59, 255, .4), transparent 70%);
  pointer-events: none;
}
.sell-cta .container { position: relative; }
.sell-cta h2 { color: #fff; margin-bottom: 12px; }
.sell-cta h2 em { font-style: normal; color: var(--accent); }
.sell-cta p { color: rgba(255, 255, 255, .75); max-width: 52ch; margin: 0 auto 32px; font-size: 18px; }
.sell-cta .hero-fineprint { margin-top: 16px; }

/* FAQ width */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-wrap .section-head { text-align: center; }
.faq-wrap .section-head p { margin-inline: auto; }
