/* ============================================================
   StripeFee.tools — Style System
   Aesthetic: Editorial fintech — ink-black, electric-green,
              warm-white. Clean grids, sharp type, no fluff.
   Font Stack: "DM Serif Display" (headings) + "IBM Plex Mono" (data)
               + "DM Sans" (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=IBM+Plex+Mono:wght@400;500;600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --ink:       #0d0d0d;
  --ink-2:     #1a1a1a;
  --ink-3:     #2e2e2e;
  --muted:     #6b6b6b;
  --border:    #e0e0e0;
  --border-dk: #2e2e2e;
  --surface:   #f9f8f6;
  --white:     #ffffff;
  --green:     #00c853;
  --green-dk:  #00a843;
  --green-pale:#e6faf0;
  --red-pale:  #fff0f0;
  --red:       #e53935;
  --accent:    #635bff;   /* Stripe purple as subtle accent */

  --radius-sm: 4px;
  --radius:    10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.13);

  --f-display: 'DM Serif Display', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;
  --f-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --max-w: 1120px;
  --col-gap: 24px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Layout Helpers ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Top Bar ─────────────────────────────────────────────── */
.topbar {
  background: var(--ink);
  color: var(--white);
  font-size: .75rem;
  font-family: var(--f-mono);
  letter-spacing: .04em;
  text-align: center;
  padding: 8px 20px;
}
.topbar a { color: var(--green); text-decoration: none; }

/* ── Header / Nav ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
}
.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--green);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: .8rem !important;
  transition: background .18s !important;
}
.nav-cta:hover { background: var(--ink-3) !important; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 72px 20px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,200,83,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(99,91,255,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(0,200,83,.35);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.12;
  font-weight: 400;
  max-width: 640px;
  margin: 0 auto 16px;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero p {
  color: rgba(255,255,255,.62);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 32px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}
.hero-meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ── Calculator Card ─────────────────────────────────────── */
.calc-section {
  padding: 56px 20px;
  background: var(--surface);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  align-items: start;
}
@media (max-width: 768px) {
  .calc-grid { grid-template-columns: 1fr; }
}

.calc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.calc-card__title {
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-card__title::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
}

/* Form elements */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 7px;
  letter-spacing: .02em;
}
.input-wrap {
  position: relative;
}
.input-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}
.input-field {
  width: 100%;
  padding: 13px 14px 13px 34px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--f-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
}
.input-field:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,200,83,.12);
}
.select-field {
  padding-left: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Results panel */
.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.result-header {
  background: var(--ink);
  color: var(--white);
  padding: 20px 28px;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.result-body { padding: 28px; }

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.result-row:last-child { border-bottom: none; }
.result-label {
  font-size: .83rem;
  color: var(--muted);
  font-weight: 500;
}
.result-value {
  font-family: var(--f-mono);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.result-row.highlight {
  background: var(--green-pale);
  margin: 0 -28px;
  padding: 14px 28px;
  border-bottom: none;
  border-radius: 0;
}
.result-row.highlight .result-label { color: var(--ink); font-weight: 600; }
.result-row.highlight .result-value { font-size: 1.35rem; color: var(--green-dk); }
.result-row.fee-row .result-value { color: var(--red); }

/* Visual fee bar */
.fee-bar-wrap {
  margin: 20px 0 4px;
}
.fee-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: .73rem;
  font-family: var(--f-mono);
  color: var(--muted);
  margin-bottom: 7px;
}
.fee-bar-track {
  height: 10px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.fee-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-dk));
  border-radius: 100px;
  transition: width .4s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.fee-bar-overlay {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--red);
  border-radius: 0 100px 100px 0;
  transition: width .4s cubic-bezier(.4,0,.2,1);
}

/* CTA Buttons */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: transform .15s, box-shadow .15s, background .18s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--green);
  color: var(--ink);
}
.btn-primary:hover { background: var(--green-dk); color: var(--white); }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { background: var(--white); border-color: var(--ink-3); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

/* ── Rate badge ──────────────────────────────────────────── */
.rate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: .73rem;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.rate-badge span { color: var(--green); font-weight: 600; }

/* ── Content Sections ────────────────────────────────────── */
.section {
  padding: 64px 20px;
}
.section--alt { background: var(--surface); }
.section--dark { background: var(--ink); color: var(--white); }

.section-eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  font-size: .98rem;
  max-width: 540px;
  margin-bottom: 36px;
}
.section--dark .section-sub { color: rgba(255,255,255,.55); }

/* ── Country Grid ────────────────────────────────────────── */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.country-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.country-card:hover {
  border-color: var(--green);
  box-shadow: 0 6px 24px rgba(0,200,83,.1);
  transform: translateY(-2px);
}
.country-flag { font-size: 1.8rem; margin-bottom: 10px; }
.country-name { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.country-rate {
  font-family: var(--f-mono);
  font-size: .78rem;
  color: var(--muted);
}
.country-rate strong { color: var(--ink); }
.country-card-arrow {
  margin-top: auto;
  padding-top: 14px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Comparison Table ────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table thead tr {
  background: var(--ink);
  color: var(--white);
}
.compare-table th {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--surface); }
.compare-table .winner {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--green-dk);
  background: var(--green-pale);
  padding: 3px 9px;
  border-radius: 100px;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--f-body);
  font-size: .97rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color .18s;
}
.faq-question:hover { color: var(--green-dk); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: .85rem;
  transition: transform .25s, background .18s;
  border: 1px solid var(--border);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ── Example Calc Section ────────────────────────────────── */
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.example-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.example-amount {
  font-family: var(--f-mono);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.example-line {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  padding: 4px 0;
}
.example-line .lbl { color: var(--muted); }
.example-line .val { font-family: var(--f-mono); font-weight: 600; }
.example-line .val.fee { color: var(--red); }
.example-line .val.net { color: var(--green-dk); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--muted);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: var(--border); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.5);
  padding: 48px 20px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: .82rem; line-height: 1.75; max-width: 280px; }
.footer-col-title {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: .83rem;
  text-decoration: none;
  color: rgba(255,255,255,.5);
  transition: color .18s;
}
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .75rem;
}
.footer-disclaimer {
  font-size: .72rem;
  color: rgba(255,255,255,.28);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 16px;
}

/* ── Ad Placeholder ──────────────────────────────────────── */
.ad-slot {
  background: repeating-linear-gradient(
    45deg,
    var(--surface),
    var(--surface) 4px,
    var(--white) 4px,
    var(--white) 14px
  );
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .06em;
}
.ad-slot-label { margin-bottom: 4px; text-transform: uppercase; }
.ad-slot-size { color: var(--border); }

/* ── Country page intro hero ─────────────────────────────── */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 56px 20px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 90% 50%, rgba(0,200,83,.12), transparent 70%);
  pointer-events: none;
}
.page-hero-flag {
  font-size: 2.8rem;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255,255,255,.6);
  max-width: 560px;
  font-size: .97rem;
}
.page-hero .rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,83,.15);
  border: 1px solid rgba(0,200,83,.3);
  color: var(--green);
  font-family: var(--f-mono);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ── Internal links strip ────────────────────────────────── */
.related-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}
.related-strip-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.related-strip-label {
  font-family: var(--f-mono);
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.related-links { display: flex; gap: 8px; flex-wrap: wrap; }
.related-link {
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  transition: border-color .18s, color .18s;
}
.related-link:hover { border-color: var(--green); color: var(--green-dk); }
.related-link.current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ── Utility ─────────────────────────────────────────────── */
.text-mono  { font-family: var(--f-mono); }
.text-muted { color: var(--muted); }
.text-green { color: var(--green-dk); }
.text-red   { color: var(--red); }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeUp .45s ease both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }

/* ── Mobile tweaks ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 52px 20px 48px; }
  .calc-section { padding: 36px 20px; }
  .section { padding: 48px 20px; }
  .calc-card { padding: 22px; }
  .result-body { padding: 20px; }
  .result-row.highlight { margin: 0 -20px; padding: 12px 20px; }
  .compare-table { font-size: .78rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

/* ── Sticky calc on mobile ───────────────────────────────── */
@media (max-width: 640px) {
  .sticky-calc-hint {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 50;
    display: flex;
    justify-content: center;
  }
  .sticky-calc-btn {
    background: var(--ink);
    color: var(--white);
    padding: 13px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: .88rem;
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sticky-calc-btn .dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
  }
}

/* ── Domestic / International Toggle ─────────────────────── */
.card-type-toggle {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.toggle-btn {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: var(--white);
  font-family: var(--f-body);
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background .18s, color .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.toggle-btn + .toggle-btn {
  border-left: 1.5px solid var(--border);
}
.toggle-btn.active {
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}
.toggle-btn.active.intl-active {
  background: var(--accent);
}
.intl-note {
  font-size: .75rem;
  color: var(--muted);
  background: rgba(99,91,255,.06);
  border: 1px solid rgba(99,91,255,.18);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  margin-bottom: 16px;
  display: none;
  line-height: 1.55;
}
.intl-note.visible { display: block; }
.intl-comparison-row {
  background: rgba(99,91,255,.06);
  border-top: 1px dashed rgba(99,91,255,.25);
  padding: 10px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
}
.intl-comparison-row .label { color: var(--muted); }
.intl-comparison-row .value { font-family: var(--f-mono); font-weight: 600; color: var(--accent); }

/* ── Yearly Fee Estimator ────────────────────────────────── */
.yearly-widget {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 768px) { .yearly-widget { grid-template-columns: 1fr; } }
.yearly-title {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  grid-column: 1 / -1;
}
.yearly-results { grid-column: 2 / -1; }
.yearly-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}
.yearly-row:last-child { border-bottom: none; }
.yearly-row.highlight-row { color: var(--white); }
@media (max-width: 768px) { .yearly-results { grid-column: 1; } }

/* ── Affiliate Strip ─────────────────────────────────────── */
.affiliate-strip {
  margin-top: 8px;
}
.affiliate-strip__title {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.affiliate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.affiliate-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .18s, transform .18s, box-shadow .18s;
  gap: 10px;
}
.affiliate-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,200,83,.1);
}
.affiliate-card__icon { font-size: 1.6rem; }
.affiliate-card__body strong { font-size: .9rem; display: block; margin-bottom: 4px; }
.affiliate-card__body p { font-size: .8rem; color: var(--muted); line-height: 1.6; margin: 0; }
.affiliate-card__cta {
  margin-top: auto;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-dk);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Alternatives Grid ───────────────────────────────────── */
.alt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.alt-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.alt-icon { font-size: 1.4rem; margin-bottom: 8px; }
.alt-name { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }

/* ── Comparison page table enhancements ──────────────────── */
.compare-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
@media (max-width: 640px) { .compare-hero-stats { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat-card .stat-value {
  font-family: var(--f-mono);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label { font-size: .78rem; color: var(--muted); }
.stat-card.winner-card { background: var(--green-pale); border-color: var(--green); }
.stat-card.winner-card .stat-value { color: var(--green-dk); }

/* ── Amount pages ────────────────────────────────────────── */
.amount-hero-result {
  display: inline-block;
  background: var(--green-pale);
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  margin: 24px 0;
  text-align: center;
}
.amount-hero-result .big-fee {
  font-family: var(--f-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
  display: block;
}
.amount-hero-result .big-net {
  font-family: var(--f-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-dk);
  display: block;
  margin-top: 8px;
}
.amount-hero-result .amount-label {
  font-size: .8rem;
  color: var(--muted);
  font-family: var(--f-mono);
}
