/* Sympli5 — shared styles. No frameworks, no build step. Teal brand. */

:root {
  --bg: #f5faf9;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #5b6b82;
  --brand: #0f766e;
  --brand-dark: #0b5d57;
  --brand-soft: #effaf8;
  --green: #047857;
  --green-soft: #ecfdf5;
  --sky: #0284c7;
  --border: #dfe8e6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 118, 110, .25);
}
.brand-word { letter-spacing: -.02em; line-height: 1; }
.brand-five { color: var(--brand); }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--muted); font-weight: 500; }
.site-nav a:hover { color: var(--brand); text-decoration: none; }

/* Mobile & Tablet Nav Toggle Button */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  min-height: 42px;
  transition: all .15s ease;
  line-height: 1;
}
.nav-toggle:hover,
.nav-toggle.is-active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-dark);
}
.nav-toggle-box {
  width: 18px;
  height: 14px;
  position: relative;
  display: inline-block;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
  position: absolute;
}
.nav-toggle-bar {
  top: 6px;
}
.nav-toggle-bar::before {
  content: '';
  top: -6px;
}
.nav-toggle-bar::after {
  content: '';
  top: 6px;
}
.nav-toggle.is-active .nav-toggle-bar {
  background: transparent;
}
.nav-toggle.is-active .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.is-active .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}
.nav-toggle-label {
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* Mobile & Tablet Navigation Drawer */
.mobile-nav {
  display: none;
}
body.nav-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .site-nav {
    display: none !important;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--brand);
    box-shadow: 0 24px 48px rgba(15, 23, 42, .2);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), opacity .22s ease;
    z-index: 1000;
  }
  .mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}
.mobile-nav-inner {
  padding: 18px 14px 28px;
}
.mobile-nav-section {
  margin-bottom: 18px;
}
.mobile-nav-section:last-child {
  margin-bottom: 0;
}
.mobile-nav-subhead {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 2px;
}
.mobile-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 520px) and (max-width: 768px) {
  .mobile-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.mobile-nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  min-height: 56px;
  transition: background .12s, border-color .12s, transform .12s;
}
.mobile-nav-card:hover,
.mobile-nav-card:active {
  background: var(--brand-soft);
  border-color: var(--brand);
  text-decoration: none;
  transform: translateY(-1px);
}
.mobile-nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #ccebe6;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-nav-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav-card-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-card-text strong {
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.25;
}
.mobile-nav-card-text span {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}
.mobile-nav-grid-sub {
  grid-template-columns: 1fr;
  gap: 6px;
}
@media (min-width: 520px) and (max-width: 768px) {
  .mobile-nav-grid-sub {
    grid-template-columns: repeat(3, 1fr);
  }
}
.mobile-nav-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: .84rem;
  color: var(--ink);
  text-decoration: none;
  transition: all .12s ease;
  min-height: 44px;
}
.mobile-nav-sublink:hover,
.mobile-nav-sublink:active {
  background: var(--brand-soft);
  border-color: var(--brand);
  text-decoration: none;
}
.mobile-nav-icon-sm {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-nav-icon-sm svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav-quick {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.mobile-nav-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mobile-nav-chips a {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  min-height: 36px;
}
.mobile-nav-chips a:hover,
.mobile-nav-chips a:active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  text-decoration: none;
}

/* Hero */
.hero { padding: 72px 0 56px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { margin: 0 0 26px; font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.stat-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.stat strong { display: block; font-size: 1.7rem; color: var(--brand); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-ghost { border-color: var(--border); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* Sections */
.section { padding: 48px 0; }
.section-head { margin-bottom: 24px; }
.section-head h2 { margin: 0 0 6px; font-size: 1.6rem; letter-spacing: -.01em; }
.section-head p { margin: 0; color: var(--muted); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
a.card { display: block; color: inherit; transition: transform .12s ease, border-color .12s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--brand); text-decoration: none; }
.tool-card h3 { margin: 8px 0 8px; font-size: 1.08rem; }
.tool-card p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.tool-icon { font-size: 1.5rem; }
.card-cta { color: var(--brand); font-weight: 600; font-size: .95rem; }
.card.soon { opacity: .75; }
.tag {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 600;
}

/* Region grid (hub + home) */
.region-block { margin-bottom: 34px; }
.region-block h3 { margin: 0 0 12px; font-size: 1.15rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500;
}
.chip:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.chip small { color: var(--muted); font-weight: 400; }

/* Tool (calculator) */
.tool { padding: 26px; }
.tool-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 1.05rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}
.currency-field { grid-column: span 2; }
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: var(--muted);
  margin: 4px 0 18px;
  grid-column: 1 / -1;
}
.check input { width: 17px; height: 17px; accent-color: var(--brand); }

.tool-hint { color: var(--muted); }
.tool-error { color: #b91c1c; font-weight: 500; }

.callout {
  background: var(--green-soft);
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 1rem;
}
.callout strong { color: var(--green); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th {
  background: #eef5f4;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  white-space: nowrap;
}
tbody tr:hover { background: #f7fbfa; }
tbody tr.best-row { background: var(--green-soft); }
tbody tr.best-row:hover { background: #e4f8f0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td .cell-note { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; max-width: 340px; }
.keep { color: var(--green); font-weight: 700; }

.note { color: var(--muted); font-size: .85rem; }

/* Availability cards (generated currency pages) */
.avail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 14px; }
.avail-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--card);
}
.avail-card strong { display: block; margin-bottom: 4px; }
.avail-card .note { display: block; }
.pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.pill-fees { background: var(--green-soft); color: var(--green); }
.pill-custom { background: #fefce8; color: #a16207; }
.pill-global { background: var(--brand-soft); color: var(--brand-dark); }

/* Prose / guide (full width of container) */
.prose { max-width: 100%; width: 100%; }
.prose h2 { font-size: 1.45rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.prose p, .prose li { color: #334155; }
.prose ul { padding-left: 22px; }
.prose table { margin: 1.2em 0; }

.faq { max-width: 100%; width: 100%; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.02rem; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* Breadcrumb */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--brand), var(--sky));
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin: 0 0 4px; font-size: 1.3rem; }
.cta-banner p { margin: 0; opacity: .9; }
.cta-banner .btn { background: #fff; color: var(--brand-dark); }
.cta-banner .btn:hover { background: #effaf8; text-decoration: none; }

/* Flash top bar */
.flash-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--brand-dark);
  color: #fff;
  font-size: .88rem;
  padding: 8px 16px;
}
.flash-bar a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  max-width: 100%;
}
.flash-bar a:hover { text-decoration: underline; }
.flash-label {
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .7rem;
  background: rgba(255, 255, 255, .16);
  padding: 2px 9px;
  border-radius: 999px;
  flex: none;
}
.flash-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity .25s;
}
.flash-text.fade { opacity: 0; }
.flash-bar button {
  background: none;
  border: none;
  color: #fff;
  opacity: .65;
  font-size: 1.15rem;
  cursor: pointer;
  flex: none;
  line-height: 1;
  padding: 0 4px;
}
.flash-bar button:hover { opacity: 1; }

/* Updates strip + section */
.updates-strip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
}
.updates-strip h2 { font-size: 1.02rem; margin: 0 0 6px; }
.updates-strip ul { list-style: none; margin: 0; padding: 0; }
.updates-strip li {
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .93rem;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.updates-strip li:last-child { border-bottom: none; }
.u-date { color: var(--muted); font-size: .82rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.u-region { color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: 2px 9px; font-size: .74rem; font-weight: 700; }
.updates-strip .more { margin: 8px 0 0; font-size: .88rem; }

.update-card { margin-bottom: 16px; }
.update-card .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; font-size: .85rem; color: var(--muted); }
.update-card h2 { margin: 0 0 8px; font-size: 1.2rem; }
.update-card p { margin: 0 0 10px; color: #334155; }
.update-card .links { font-size: .88rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 28px 0 40px;
  margin-top: 56px;
  color: var(--muted);
  font-size: .9rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .tool-form { grid-template-columns: 1fr; }
  .currency-field { grid-column: span 1; }
  .hero { padding: 48px 0 40px; }
}

/* Calculator v2: ranked result rows */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quick-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 16px; }
.quick-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.chip-btn {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); cursor: pointer; font-size: .88rem; color: var(--ink);
}
.chip-btn:hover { border-color: var(--brand); color: var(--brand); }
.chip-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.intl-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: .9rem; color: var(--muted); cursor: pointer; }
.intl-toggle input { width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; }
.calc-row {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 6px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border);
}
.calc-row:last-child { border-bottom: none; }
.calc-rank {
  width: 28px; height: 28px; border-radius: 50%; background: #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: var(--muted);
}
.calc-row.best .calc-rank { background: var(--green); color: #fff; }
.calc-main strong { font-size: 1.02rem; display: block; }
.calc-figs { display: flex; gap: 24px; text-align: right; justify-content: flex-end; }
.fig .fig-l { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.fig .fig-v { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig.keep .fig-v { color: var(--green); }
.calc-bar { grid-column: 2 / 4; height: 5px; border-radius: 99px; background: #e8edf3; overflow: hidden; }
.calc-bar span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.calc-row.best .calc-bar span { background: var(--green); }
@media (max-width: 640px) {
  .calc-grid { grid-template-columns: 1fr; }
  .intl-toggle { margin-left: 0; }
  .calc-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px 10px;
    align-items: start;
    padding: 12px 0;
  }
  .calc-rank {
    width: 24px;
    height: 24px;
    font-size: .76rem;
    margin-top: 2px;
  }
  .calc-title-line {
    margin-bottom: 4px;
    gap: 6px;
  }
  .calc-title-line strong {
    font-size: .95rem;
  }
  .calc-type-badge {
    font-size: .68rem;
    padding: 1px 6px;
  }
  .calc-meta-pills {
    gap: 4px;
  }
  .calc-meta-pill {
    font-size: .7rem;
    padding: 2px 6px;
  }
  .calc-note-line {
    font-size: .75rem;
    margin-top: 3px;
  }
  .calc-figs {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    background: var(--bg);
    padding: 8px 10px;
    border-radius: 8px;
    margin-top: 6px;
    width: 100%;
    text-align: left;
    justify-content: normal;
  }
  .calc-figs .fig {
    min-width: 0;
  }
  .calc-figs .fig .fig-l {
    font-size: .65rem;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .calc-figs .fig .fig-v {
    font-size: .86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .calc-bar {
    grid-column: 2;
    height: 4px;
    margin-top: 4px;
  }
}
@media (max-width: 380px) {
  .calc-figs {
    grid-template-columns: 1fr 1fr;
    gap: 6px 8px;
  }
  .calc-figs .fig:nth-child(2) {
    grid-column: span 2;
  }
}

/* Currency page mini calculator */
.currency-calc-form { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.currency-calc-form .field { flex: 1; min-width: 180px; margin: 0; }
.cc-intl-wrap { margin: 0 0 12px; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }

/* Footer columns */
.footer-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.f-col h4 { margin: 0 0 12px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.f-col a { display: block; color: var(--ink); font-size: .92rem; padding: 4px 0; }
.f-col a:hover { color: var(--brand); text-decoration: none; }
.f-brand .brand { display: inline-flex; margin-bottom: 14px; }
.f-tagline { margin: 0 0 12px; max-width: 320px; color: var(--muted); line-height: 1.55; }
.f-updated {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 4px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); font-size: .8rem; font-weight: 600;
}
.f-updated svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--muted);
}
@media (max-width: 860px) {
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
  .f-brand { grid-column: 1 / -1; }
}

/* Flash sidebar + filter layout */
.u-cat {
  color: #334155;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: .73rem;
  font-weight: 600;
}
.flash-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.flash-sidebar {
  position: sticky;
  top: 76px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.filter-group {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.filter-group:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.filter-group h3 {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0 0 8px;
}
.filter-search {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .88rem;
  background: var(--bg);
  color: var(--ink);
}
.filter-search:focus {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
  background: #fff;
}
.filter-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: .86rem;
  cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
}
.filter-btn:hover {
  background: #f1f5f9;
  text-decoration: none;
}
.filter-btn.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-color: #bae6fd;
  font-weight: 600;
}
.filter-count {
  font-size: .74rem;
  color: var(--muted);
  background: #f1f5f9;
  border-radius: 999px;
  padding: 1px 7px;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.filter-btn.active .filter-count {
  background: #fff;
  color: var(--brand-dark);
}
.flash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: .88rem;
  color: var(--muted);
}
.flash-reset-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--brand-dark);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}
.flash-reset-btn:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.flash-empty {
  text-align: center;
  padding: 36px 24px;
  color: var(--muted);
}
@media (max-width: 820px) {
  .flash-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .flash-sidebar {
    position: static;
    padding: 14px;
    border-radius: 12px;
  }
  .filter-group {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  .filter-group h3 {
    font-size: .7rem;
    margin-bottom: 6px;
  }
  .filter-search {
    padding: 7px 10px;
    font-size: .86rem;
  }
  .filter-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .filter-btn {
    width: auto;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .8rem;
    background: var(--bg);
    border: 1px solid var(--border);
  }
  .filter-btn:hover {
    background: #e2e8f0;
  }
  .filter-btn.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
  }
  .filter-btn.active .filter-count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
  }
  .filter-count {
    font-size: .7rem;
    padding: 1px 6px;
    background: #e2e8f0;
  }
  .flash-toolbar {
    margin-bottom: 10px;
    font-size: .82rem;
  }
}

/* Currency page layout */
html { scroll-padding-top: 84px; }
.curr-main { min-width: 0; }

/* Centralized SVG Icon Boxes (no emoticons) */
.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  border: 1px solid #ccebe6;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.icon-box svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Centralized Last-Updated & Verification Meta Bar */
.page-meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid #ccebe6;
  color: var(--brand-dark);
  font-size: .82rem;
  font-weight: 500;
}
.updated-badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--brand);
  stroke-width: 2.2;
  fill: none;
  flex: none;
}
.updated-badge strong {
  font-weight: 700;
  color: var(--ink);
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .81rem;
}
.verified-badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--green);
  stroke-width: 2.2;
  fill: none;
  flex: none;
}

/* Redesigned Calculator Workspace */
.calc-workspace {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.calc-controls-card {
  position: sticky;
  top: 76px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.calc-controls-card .field {
  margin-bottom: 16px;
}
.calc-controls-card .field:last-child {
  margin-bottom: 0;
}
.calc-results-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.calc-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.calc-stat-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.calc-stat-box.best-stat {
  background: var(--green-soft);
  border-color: #a7f3d0;
}
.calc-stat-box .stat-label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 3px;
}
.calc-stat-box .stat-val {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc-stat-box.best-stat .stat-val {
  color: var(--green);
}
.calc-stat-box .stat-sub {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 2px;
}
.calc-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.calc-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.calc-method-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.calc-method-card h3 {
  margin: 6px 0 6px;
  font-size: 1.02rem;
}
.calc-method-card p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .calc-workspace {
    grid-template-columns: 1fr;
  }
  .calc-controls-card {
    position: static;
  }
  .calc-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Redesigned Split Hero & Stat Bento Grid */
.hero {
  padding: 40px 0 36px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.hero-copy .lead {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
}
.hero-quick-jump {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.hero-quick-label {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.hero-quick-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hero-quick-pills a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .12s, color .12s, background .12s;
}
.hero-quick-pills a small {
  font-weight: 400;
  color: var(--muted);
  font-size: .75rem;
}
.hero-quick-pills a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
  text-decoration: none;
}

/* Right-hand Live Preview Card in Hero */
.hero-preview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hero-preview-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brand-dark);
}
.hero-preview-title .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.hero-preview-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-tab-btn {
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .12s ease;
}
.hero-tab-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.hero-tab-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.hero-preview-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hero-p-row {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.hero-p-row.is-best {
  background: var(--green-soft);
  border-color: #a7f3d0;
}
.hero-p-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: .88rem;
}
.hero-p-row-head strong {
  color: var(--ink);
}
.hero-p-row-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 3px;
  font-size: .78rem;
  color: var(--muted);
}
.hero-p-net {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero-p-row.is-best .hero-p-net {
  color: var(--green);
}
.hero-preview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: .83rem;
}
.hero-preview-foot a {
  font-weight: 600;
}

/* Full-width 4-Card Stat Bento Row */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.hero-stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  box-shadow: var(--shadow);
}
.hero-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-stat-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-stat-body strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.hero-stat-body .stat-title {
  display: block;
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 3px;
}
.hero-stat-body .stat-desc {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Highlighted Flash Card when clicked from Top Bar or Regional Guide */
.update-card {
  scroll-margin-top: 84px;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.update-card.flash-highlighted {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand-soft) 0%, #ffffff 48%);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .18), var(--shadow);
}
.flash-selected-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Monthly & Setup Fee Comparison Bar & Panel under Who Serves This Currency (Regular Background, No White Card) */
.monthly-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
  padding: 12px 0;
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.monthly-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .88rem;
  color: var(--muted);
}
.monthly-bar-info strong {
  color: var(--ink);
}
.monthly-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.monthly-toggle-btn:hover,
.monthly-toggle-btn[aria-expanded="true"] {
  background: var(--brand);
  color: #fff;
}
.monthly-toggle-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.monthly-panel {
  margin: 0 0 24px;
  padding: 4px 0 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
}
.monthly-disclaimer {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #eef5f4;
  border-left: 3px solid var(--brand);
  font-size: .85rem;
  color: #334155;
  line-height: 1.5;
}
.monthly-disclaimer strong {
  color: var(--ink);
}
.avail-table td .cell-note,
.monthly-table td .cell-note {
  max-width: 680px;
  line-height: 1.42;
}
.avail-table td:nth-child(1) {
  width: 75%;
}
.monthly-table td:nth-child(1) {
  width: 52%;
}

/* Structured Calculator Row Meta & Rate Breakdown */
.calc-main .cell-note,
.calc-note-line {
  display: block;
  font-size: .79rem;
  color: var(--muted);
  line-height: 1.42;
  margin-top: 5px;
  font-weight: 400;
}
.calc-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.calc-title-line strong {
  font-size: 1.02rem;
  display: inline;
}
.calc-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: #475569;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.calc-meta-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.calc-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .74rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.calc-pill-rate {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid rgba(13, 148, 136, .22);
}
.calc-pill-cap {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #a7f3d0;
}
.calc-pill-intl {
  background: #f8fafc;
  color: var(--muted);
  border: 1px solid var(--border);
}
.calc-pill-monthly-free {
  background: #f8fafc;
  color: #475569;
  border: 1px solid var(--border);
}
.calc-pill-monthly-paid {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fde68a;
}

/* Unified Searchable Currency Combobox in Calculator */
.curr-combobox {
  position: relative;
}
.curr-combo-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.curr-combo-btn:hover,
.curr-combo-btn[aria-expanded="true"] {
  border-color: var(--brand);
}
.curr-combo-btn[aria-expanded="true"] {
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .15);
}
.curr-combo-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.curr-combo-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
  stroke: var(--brand);
}
.curr-combo-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .14);
  overflow: hidden;
}
.curr-combo-search-wrap {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.curr-combo-search {
  width: 100%;
  padding: 9px 12px !important;
  font-size: .92rem !important;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.curr-combo-list {
  max-height: 290px;
  overflow-y: auto;
  padding: 6px;
}
.curr-combo-group {
  padding: 6px 10px 3px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.curr-combo-opt {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  font: inherit;
  font-size: .91rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.curr-combo-opt:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.curr-combo-opt.active {
  background: var(--brand);
  color: #fff;
}
.curr-combo-opt small {
  font-size: .76rem;
  color: var(--muted);
}
.curr-combo-opt.active small {
  color: rgba(255, 255, 255, .85);
}
.curr-combo-empty {
  padding: 14px 10px;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}

/* Cookie consent bar */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 12px 40px -12px rgba(15, 23, 42, .35);
  padding: 18px 20px; display: flex; gap: 16px; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  max-width: 880px; margin: 0 auto;
}
.cookie-bar p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1; min-width: 260px; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
/* Provider callout (consistent dark green border-left on clean background) */
.provider-callout {
  margin: 0 0 24px;
  padding: 4px 0 4px 16px;
  border-left: 4px solid var(--brand-dark, #0b5d57);
}

/* Comprehensive Mobile Responsiveness Overhaul */
@media (max-width: 640px) {
  /* Container & Spacing */
  .container {
    padding: 0 14px;
  }
  .section {
    padding: 32px 0;
  }
  .section-head {
    margin-bottom: 18px;
  }
  .section-head h2 {
    font-size: 1.35rem;
  }

  /* Header & Navigation */
  .header-inner {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 0;
    min-height: 52px;
  }
  .brand {
    font-size: 1.05rem;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: .88rem;
  }
  .site-nav {
    gap: 12px 14px;
    font-size: .88rem;
  }
  .site-nav a {
    padding: 4px 0;
  }

  /* Dismissible Top Flash Bar */
  .flash-bar {
    padding: 6px 10px;
    font-size: .8rem;
    gap: 8px;
  }
  .flash-bar a {
    gap: 6px;
  }
  .flash-label {
    font-size: .65rem;
    padding: 2px 7px;
  }
  .flash-bar button {
    font-size: 1.05rem;
    padding: 0 2px;
  }

  /* Page Meta Bar (Clock + Shield Badges) */
  .page-meta-bar {
    gap: 6px 8px;
    margin-bottom: 16px;
  }
  .updated-badge,
  .verified-badge {
    font-size: .76rem;
    padding: 4px 10px;
    gap: 5px;
  }
  .updated-badge svg,
  .verified-badge svg {
    width: 13px;
    height: 13px;
  }

  /* Prevent iOS Safari auto-zooming on focus */
  input[type="text"],
  input[type="search"],
  select {
    font-size: 16px !important;
  }

  /* Headings & Lead Clamp */
  .hero {
    padding: 28px 0 24px;
  }
  h1,
  .hero-copy h1 {
    font-size: 1.65rem !important;
    line-height: 1.18;
    letter-spacing: -.02em;
  }
  .lead,
  .hero-copy .lead {
    font-size: .96rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: .92rem;
  }

  /* Hero Live Preview Card & Bento Stats */
  .hero-quick-jump {
    margin-top: 14px;
    padding-top: 12px;
  }
  .hero-quick-pills {
    gap: 5px;
  }
  .hero-quick-pills a {
    font-size: .78rem;
    padding: 5px 10px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }
  .hero-preview-card {
    padding: 14px;
    border-radius: 12px;
  }
  .hero-preview-top {
    margin-bottom: 8px;
  }
  .hero-preview-tabs {
    gap: 4px;
    margin-bottom: 10px;
  }
  .hero-tab-btn {
    padding: 6px 10px;
    font-size: .78rem;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
  }
  .hero-p-row {
    padding: 8px 10px;
  }
  .hero-p-row-head {
    font-size: .84rem;
  }
  .hero-p-row-sub {
    font-size: .74rem;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    margin-top: 18px;
  }
  .hero-stat-card {
    padding: 10px 12px;
    gap: 8px;
    flex-direction: column;
    border-radius: 10px;
  }
  .hero-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .hero-stat-icon svg {
    width: 16px;
    height: 16px;
  }
  .hero-stat-body strong {
    font-size: 1.25rem;
  }
  .hero-stat-body .stat-title {
    font-size: .78rem;
    margin-top: 1px;
  }
  .hero-stat-body .stat-desc {
    display: none;
  }

  /* Calculator Controls & Results Cards */
  .calc-controls-card {
    padding: 16px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .calc-controls-card .field {
    margin-bottom: 14px;
  }
  .calc-results-card {
    padding: 16px 14px;
    border-radius: 12px;
  }
  .calc-results-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 10px;
  }
  .calc-summary-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }
  .calc-stat-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
  }
  .calc-stat-box .stat-label {
    margin-bottom: 0;
    font-size: .75rem;
  }
  .calc-stat-box .stat-val {
    font-size: 1.02rem;
  }
  .calc-stat-box .stat-sub {
    display: none;
  }
  .quick-row {
    margin: 10px 0 12px;
    gap: 6px;
  }
  .chip-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: .82rem;
  }

  /* Searchable Currency Combobox on Mobile */
  .field input,
  .field select,
  .curr-combo-btn {
    min-height: 48px;
  }
  .curr-combo-btn {
    padding: 10px 12px;
    font-size: .95rem;
  }
  .curr-combo-panel {
    max-height: 260px;
  }
  .curr-combo-opt {
    padding: 10px 12px;
    min-height: 40px;
    font-size: .88rem;
  }

  /* Tables & Avail / Monthly Comparison */
  table {
    font-size: .86rem;
  }
  th, td {
    padding: 8px 8px;
  }
  thead th {
    font-size: .72rem;
    padding: 6px 8px;
  }
  td .cell-note {
    font-size: .76rem;
    margin-top: 2px;
    max-width: 100%;
  }
  .avail-table td:nth-child(1),
  .monthly-table td:nth-child(1) {
    width: auto;
  }
  .avail-table td:nth-child(2) {
    width: auto;
    text-align: right;
    white-space: nowrap;
  }
  .monthly-toggle-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
  }
  .monthly-bar-info {
    font-size: .82rem;
  }
  .monthly-toggle-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
  }
  .monthly-panel {
    padding: 2px 0 16px;
  }
  .monthly-disclaimer {
    padding: 8px 10px;
    font-size: .8rem;
  }

  /* Callout & Provider Card Grid */
  .provider-callout {
    margin: 0 0 18px;
    padding: 4px 0 4px 12px;
  }

  /* CTA Banners */
  .cta-banner {
    padding: 18px 16px;
    border-radius: 12px;
    gap: 14px;
  }
  .cta-banner h2 {
    font-size: 1.15rem;
  }
  .cta-banner .btn {
    width: 100%;
    text-align: center;
  }

  /* Breadcrumbs */
  .crumbs {
    padding-top: 14px;
    font-size: .8rem;
    line-height: 1.4;
    word-break: break-word;
  }

  /* Cookie Consent Bar */
  .cookie-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px 14px;
    border-radius: 12px;
    gap: 12px;
  }
  .cookie-bar p {
    font-size: .84rem;
    min-width: 0;
    width: 100%;
  }
  .cookie-actions {
    width: 100%;
    display: flex;
    gap: 8px;
  }
  .cookie-actions .btn {
    flex: 1;
    text-align: center;
    padding: 9px 12px;
    font-size: .85rem;
  }
}

/* Small Screen Adjustments (≤480px) */
@media (max-width: 480px) {
  h1,
  .hero-copy h1 {
    font-size: 1.5rem !important;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .avail-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .card {
    padding: 16px;
    border-radius: 12px;
  }
  .chip-row {
    gap: 6px;
  }
  .chip {
    padding: 5px 10px;
    font-size: .82rem;
  }
  .site-footer {
    padding: 22px 0 32px;
    margin-top: 36px;
  }
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .f-col h4 {
    margin-bottom: 8px;
    font-size: .7rem;
  }
  .f-col a {
    padding: 4px 0;
    font-size: .85rem;
  }
  .f-tagline {
    font-size: .86rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
  }
}

/* Ultra-Narrow Screen Adjustments (≤380px) */
@media (max-width: 380px) {
  .site-nav {
    gap: 8px 10px;
    font-size: .82rem;
  }
  .brand {
    font-size: .98rem;
  }
  .brand-mark {
    width: 26px;
    height: 26px;
    font-size: .82rem;
  }
}

/* Provider versus tool */
/* Provider comparison: Card Gateways vs Digital Wallets mode switch (/tools/provider-compare/) */
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.mode-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 14px;
  background: var(--card); color: var(--ink);
  transition: border-color .15s, background .15s;
}
.mode-tab:hover { border-color: var(--brand); text-decoration: none; }
.mode-tab.active { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); }
.mode-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand);
}
.mode-tab.active .mode-icon { background: var(--brand); color: #fff; }
.mode-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mode-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mode-text strong { font-size: 1rem; }
.mode-text span { font-size: .82rem; color: var(--muted); }
@media (max-width: 640px) {
  .mode-switch { gap: 8px; }
  .mode-tab { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .mode-icon { width: 34px; height: 34px; }
  .mode-text strong { font-size: .9rem; }
  .mode-text span { display: none; }
}

/* Currency pages: link from each fee table to the side-by-side comparison tool */
.compare-link { margin: 10px 0 0; font-size: .92rem; font-weight: 600; }
.compare-link a { display: inline-flex; align-items: center; gap: 6px; }
.compare-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Provider comparison: multi-provider table, 2-5 columns (/tools/provider-compare/) */
.vs-breakeven {
  margin: -6px 0 16px; padding: 10px 14px; border-left: 3px solid var(--brand);
  background: var(--brand-soft); border-radius: 0 10px 10px 0; font-size: .92rem; color: var(--ink); line-height: 1.6;
}
.vs-size-label { color: var(--muted); }
.vs-sep { color: var(--muted); margin: 0 4px; }
.vs-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .93rem; }
.vs-col-metric { width: 24%; }
.vs-cols-4 .vs-col-metric { width: 20%; }
.vs-cols-5 .vs-col-metric { width: 17%; }
.vs-table th, .vs-table td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.vs-table thead th {
  border-bottom: 2px solid var(--border); vertical-align: top; background: transparent;
  text-transform: none; letter-spacing: 0; font-size: .93rem; color: var(--ink); white-space: normal;
}
.vs-table thead th.vs-corner { vertical-align: bottom; }
.vs-table tbody tr:hover { background: transparent; }
.vs-table tbody th[scope="row"] { font-weight: 600; color: var(--ink); }
.vs-table tbody th[scope="row"] .cell-note { display: block; font-weight: 400; }
.vs-best { background: var(--green-soft); border-radius: 10px 10px 0 0; }
.vs-best-tag { display: block; margin-top: 6px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green); }
.vs-legend { display: inline-flex; align-items: center; gap: 2px; font-size: .74rem; font-weight: 500; color: var(--muted); }
.vs-table .vs-group th {
  padding: 16px 10px 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted);
}
.vs-val { font-variant-numeric: tabular-nums; }
.vs-val > span { overflow-wrap: break-word; }
.vs-win { color: var(--green); font-weight: 700; background: var(--green-soft); }
.vs-check { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vs-legend .vs-check { color: var(--green); }
.vs-delta { display: block; margin-top: 2px; font-size: .76rem; font-weight: 500; color: var(--muted); }
.vs-pending { color: var(--muted); font-style: italic; font-size: .85rem; }
.vs-total-row td, .vs-total-row th { border-top: 2px solid var(--border); }
.vs-notes .cell-note { display: block; line-height: 1.45; }
.vs-quote-note { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); }

/* Column header: provider picker, tags, "Use my rate" */
.vs-prov-top { display: flex; align-items: flex-start; gap: 4px; }
.vs-pick {
  width: 100%; min-width: 0; padding: 7px 20px 7px 8px; font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink);
  border: 1px solid var(--border); border-radius: 8px; background: var(--card); cursor: pointer;
  text-overflow: ellipsis;
}
.vs-pick:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.vs-remove {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 32px;
  border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 6px;
}
.vs-remove:hover { color: #b91c1c; background: #fef2f2; }
.vs-remove svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.vs-prov-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.vs-quote-tag {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; font-size: .7rem; font-weight: 700;
}
.vs-own-btn {
  display: inline-block; margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 2px;
}
.vs-wide-tip { margin: -6px 0 14px; font-size: .85rem; color: var(--muted); }
.vs-wide-tip .vs-own-btn { margin: 0; font-size: .85rem; }
.vs-custom-note { display: block; margin-top: 6px; font-size: .75rem; font-weight: 500; color: #9a3412; }

/* Editable quote cells */
.vs-edit { background: #fffbf5; }
.vs-input {
  width: 100%; min-width: 0; padding: 6px 8px; font: inherit; font-size: .9rem; color: var(--ink);
  border: 1px dashed #fdba74; border-radius: 7px; background: #fff;
}
.vs-input:focus { outline: 2px solid var(--brand); border: 1px solid var(--brand); }
.vs-input::placeholder { color: #c2410c; opacity: .55; font-style: italic; }
.vs-input-wrap { display: flex; align-items: center; gap: 4px; }
.vs-unit { color: var(--muted); font-size: .85rem; }

/* Controls */
.pc-workspace { grid-template-columns: 290px minmax(0, 1fr); }
.pc-controls .field { margin-bottom: 14px; }
.field-label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.pc-count { display: flex; gap: 6px; }
.pc-count .chip-btn { min-width: 44px; justify-content: center; }
.pc-count .chip-btn:disabled { opacity: .4; cursor: not-allowed; }
.pc-count-hint { margin: 6px 0 0; }

/* Results header with the Pop out button */
.pc-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.pc-results-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pc-popout-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: .85rem; }
.pc-popout-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Pop-out window (?view=popout): no site chrome, controls in a full-width bar, table full width */
.pc-popout .site-header,
.pc-popout .site-footer,
.pc-popout .flash-bar,
.pc-popout .cookie-bar,
.pc-popout .pc-hide-popout { display: none !important; }
.pc-popout main.container { max-width: none; padding: 12px 20px 24px; }
.pc-popout .section { padding: 0 0 8px !important; }
.pc-popout #pc-title { font-size: 1.35rem !important; margin: 0 0 8px !important; }
.pc-popout .mode-switch { margin-bottom: 12px; }
.pc-popout .mode-tab { padding: 8px 12px; }
.pc-popout .mode-icon { width: 30px; height: 30px; }
.pc-popout .mode-text span { display: none; }
.pc-popout .pc-workspace { display: block; }
.pc-popout .pc-controls { position: static; padding: 14px 18px; margin-bottom: 14px; }
.pc-popout #pc-form {
  display: grid; grid-template-columns: minmax(200px, 1.4fr) minmax(260px, 1.6fr) auto auto; gap: 14px 20px; align-items: end;
}
.pc-popout #pc-form .field { margin: 0; }
.pc-popout .pc-f-numbers { gap: 12px; }
.pc-popout .pc-count-hint { display: none; }
.pc-popout .pc-f-intl { margin: 0 0 12px; white-space: nowrap; }
.pc-popout .field input, .pc-popout .field select { padding: 9px 12px; font-size: .98rem; }
.pc-popout .vs-table { font-size: .98rem; }
.pc-popout .vs-col-metric { width: 200px; }

@media (max-width: 900px) {
  .pc-workspace { grid-template-columns: 1fr; }
  .pc-popout #pc-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pc-count-wide { display: none; }
  .vs-table { font-size: .82rem; }
  .vs-col-metric, .vs-cols-4 .vs-col-metric, .vs-cols-5 .vs-col-metric { width: 26%; }
  .vs-table th, .vs-table td { padding: 8px 4px; }
  .vs-table tbody th[scope="row"] .cell-note { display: none; }
  .vs-unit { display: none; }
  .vs-input { padding: 5px 6px; font-size: .82rem; }
  .vs-pick { font-size: .76rem; padding: 6px 2px 6px 4px; }
  .vs-remove, .vs-prov .calc-type-badge { display: none; }
  .vs-own-btn, .vs-custom-note { font-size: .7rem; }
  .pc-workspace .calc-results-card { padding: 16px 12px; }
  .vs-val > span { overflow-wrap: normal; }
  .vs-delta { font-size: .7rem; }
  .vs-legend { display: none; }
  .pc-popout #pc-form { grid-template-columns: 1fr; }
}
