/* ============================================================
   SellerFeesHQ — visual system
   Direction: trustworthy fintech / receipt. Light theme, navy-blue
   primary + money-green for the payout, crisp receipt-style fee
   breakdown. Distinct from the other five sites.
   ============================================================ */

:root {
  --bg:        #f5f7fa;
  --bg-raised: #ffffff;
  --bg-tint:   #eef2f8;
  --line:      #e2e8f0;
  --line-soft: #eef2f7;

  --ink:       #0f1b2d;
  --ink-dim:   #475569;
  --ink-faint: #8595a8;

  --navy:      #1e40af;
  --navy-dark: #1e3a8a;
  --blue:      #2563eb;
  --green:     #059669;
  --green-tint:#d1fae5;
  --red:       #dc2626;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow: 0 10px 34px -14px rgba(15,27,45,0.22);
  --shadow-sm: 0 3px 12px -5px rgba(15,27,45,0.16);

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-num: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
.site-shell { display: flex; flex-direction: column; min-height: 100vh; }

/* ---------------- Topbar ---------------- */
.topbar { display: flex; align-items: center; justify-content: space-between; max-width: 1040px; margin: 0 auto; width: 100%; padding: 1.1rem 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.02em; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; background: var(--navy); position: relative; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 0.9rem; font-family: var(--font-display); }
.brand-mark::after { content: "$"; }
.brand .hq { color: var(--green); }
.topnav { display: flex; gap: 1.4rem; font-size: 0.92rem; color: var(--ink-dim); font-weight: 500; }
.topnav a:hover { color: var(--navy); }

/* ---------------- Layout ---------------- */
.main-content { flex: 1; max-width: 1040px; margin: 0 auto; width: 100%; padding: 0.5rem 1.5rem 5rem; }
.site-footer { border-top: 1px solid var(--line); padding: 1.75rem 1.5rem; margin-top: auto; background: var(--bg-raised); }
.footer-inner { max-width: 1040px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.86rem; color: var(--ink-faint); }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a:hover { color: var(--navy); }

/* ---------------- Hero ---------------- */
.hero { padding: 2.5rem 0 1.5rem; text-align: center; }
.eyebrow { display: inline-block; font-weight: 600; font-size: 0.78rem; color: var(--navy); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 0.7rem; }
.h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; margin: 0 0 0.6rem; color: var(--ink); line-height: 1.05; }
.h1 .green { color: var(--green); }
.sub { color: var(--ink-dim); font-size: 1.05rem; max-width: 52ch; margin: 0 auto; line-height: 1.5; }

/* ---------------- Calculator panel ---------------- */
.calc-panel { max-width: 560px; margin: 2rem auto 0; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.field-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.field { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-dim); }
.input-money { position: relative; }
.input-money::before { content: "$"; position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--ink-faint); font-weight: 600; }
.input-money input { padding-left: 1.7rem !important; }
.field input { font-family: var(--font-body); font-size: 1.05rem; padding: 0.75rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); width: 100%; }
.field input:focus { outline: none; border-color: var(--navy); background: #fff; }

.calc-btn { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; padding: 0.85rem 2rem; border-radius: var(--radius-sm); border: none; background: var(--navy); color: #fff; cursor: pointer; transition: background 0.12s ease, transform 0.12s ease; width: 100%; margin-top: 0.3rem; }
.calc-btn:hover { background: var(--navy-dark); transform: translateY(-1px); }

/* Receipt-style result */
.receipt { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); }
.receipt-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.5rem 0; font-size: 0.98rem; }
.receipt-row .lbl { color: var(--ink-dim); }
.receipt-row .val { font-family: var(--font-num); font-weight: 600; font-variant-numeric: tabular-nums; }
.receipt-row.fee .val { color: var(--red); }
.receipt-divider { border-top: 1px solid var(--line); margin: 0.5rem 0; }
.receipt-row.net { padding-top: 0.75rem; border-top: 2px solid var(--ink); margin-top: 0.5rem; }
.receipt-row.net .lbl { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.receipt-row.net .val { font-family: var(--font-num); font-weight: 800; font-size: 1.8rem; color: var(--green); }
.fee-note { margin-top: 1rem; font-size: 0.82rem; color: var(--ink-faint); line-height: 1.5; }

/* ---------------- Grids ---------------- */
.section-label { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin: 3rem 0 1.25rem; text-align: center; letter-spacing: -0.02em; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.tool-card { display: flex; align-items: center; justify-content: space-between; gap: 0.35rem; padding: 1.15rem 1.25rem; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--bg-raised); transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.tool-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tool-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.tool-card .arrow { color: var(--green); font-weight: 700; }
.chip-rail { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.chip { padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-raised); font-size: 0.88rem; font-weight: 500; color: var(--ink-dim); transition: border-color 0.12s, color 0.12s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }

/* ---------------- SEO content ---------------- */
.info-section { margin-top: 3.5rem; display: grid; gap: 2rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.info-block h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin: 0 0 0.6rem; color: var(--ink); letter-spacing: -0.02em; }
.info-block p { color: var(--ink-dim); line-height: 1.7; margin: 0 0 0.75rem; font-size: 1rem; }
.faq-item { border-bottom: 1px solid var(--line-soft); padding: 1.1rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 600; font-size: 1rem; margin: 0 0 0.4rem; color: var(--ink); }
.faq-a { color: var(--ink-dim); font-size: 0.96rem; line-height: 1.6; margin: 0; }
.disclaimer { max-width: 720px; margin: 2rem auto 0; font-size: 0.82rem; color: var(--ink-faint); text-align: center; line-height: 1.5; }

/* ---------------- Static pages ---------------- */
.prose-page { max-width: 700px; margin: 0 auto; }
.prose-page h1 { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; margin-bottom: 1rem; letter-spacing: -0.02em; }
.prose-page h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 1.75rem 0 0.6rem; }
.prose-page p { color: var(--ink-dim); line-height: 1.75; margin-bottom: 0.9rem; }
.prose-page a { color: var(--navy); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
