/* =============================================================================
   transferfeescalculator — styles
   Dark navy + green, clean cards, mobile-first, accessible.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --navy-950: #05080f;
  --navy-900: #070d1c;
  --navy-850: #0a1226;
  --navy-800: #0d1730;
  --navy-700: #142145;
  --navy-600: #1c2c57;

  --green-500: #16d18e;
  --green-400: #45f0b8;
  --green-300: #97ffdc;
  --green-700: #0e9e6a;
  --glow: rgba(22, 209, 142, 0.34);

  --text: #eaf1ff;
  --text-muted: #9cadcf;
  --text-dim: #7485a8;
  --line: rgba(147, 163, 196, 0.16);
  --line-strong: rgba(147, 163, 196, 0.3);
  --card: rgba(13, 23, 48, 0.82);
  --card-solid: #0d1730;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow: 0 18px 46px rgba(2, 6, 18, 0.55);
  --shadow-green: 0 14px 38px rgba(22, 209, 142, 0.26);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;

  --container: 1160px;
  --header-h: 66px;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1100px 640px at 84% -12%, rgba(22, 209, 142, 0.17), transparent 60%),
    radial-gradient(900px 560px at 6% 6%, rgba(56, 132, 255, 0.16), transparent 62%),
    radial-gradient(1100px 760px at 50% 116%, rgba(126, 92, 255, 0.15), transparent 62%),
    linear-gradient(180deg, #060c1b 0%, #05080f 55%, #04070d 100%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: var(--green-400); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 4vw, 2.2rem); font-weight: 750; }
h3 { font-size: clamp(1.05rem, 2.6vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-500); color: #04120c; padding: 0.7rem 1rem;
  border-radius: 0 0 10px 0; font-weight: 700; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 8, 15, 0.74);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(2, 6, 18, 0.42);
}
/* neon hairline that fades out towards the right edge */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg,
    rgba(22, 209, 142, 0) 0%, rgba(22, 209, 142, 0.65) 28%,
    rgba(99, 184, 255, 0.5) 58%, rgba(126, 92, 255, 0) 92%);
  pointer-events: none;
}
.header-inner {
  display: flex; align-items: center; gap: 0.75rem;
  min-height: var(--header-h);
}
.header-inner nav { margin-left: auto; }
.logo {
  font-weight: 800; font-size: 1.02rem; letter-spacing: -0.03em;
  color: var(--text); display: inline-flex; align-items: center; gap: 0.55rem;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; display: block; flex: 0 0 auto;
  filter: drop-shadow(0 6px 14px rgba(22, 209, 142, 0.35));
  transition: transform 0.16s ease;
}
.logo:hover .logo-mark { transform: translateY(-1px) rotate(-4deg); }
.logo-text { line-height: 1; white-space: nowrap; }
.logo-text .accent { color: var(--green-400); }
.logo-text .dim { color: var(--text-muted); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  color: var(--text-muted); font-size: 0.94rem; font-weight: 600;
  padding: 0.5rem 0.7rem; border-radius: 9px; display: inline-block;
}
.nav-menu a:hover { color: var(--text); background: rgba(147, 163, 196, 0.1); text-decoration: none; }
.nav-menu a[aria-current="page"] { color: var(--green-400); }
.nav-cta {
  background: linear-gradient(135deg, var(--green-400), var(--green-500) 60%, var(--green-700));
  color: #04120c !important;
  padding: 0.55rem 0.95rem !important; font-weight: 700 !important;
  box-shadow: 0 8px 22px rgba(22, 209, 142, 0.38);
}
.nav-cta:hover { background: linear-gradient(135deg, #6df8c6, var(--green-400) 60%, var(--green-500)); text-decoration: none; box-shadow: 0 12px 28px rgba(22, 209, 142, 0.5); }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-strong);
  border-radius: 10px; color: var(--text); padding: 0.45rem 0.7rem;
  font-size: 1.1rem; cursor: pointer; line-height: 1;
}

/* dark / light ("night mode") toggle */
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
  background: rgba(147, 163, 196, 0.08);
  border: 1px solid var(--line-strong); color: var(--text);
  font-size: 1.05rem; line-height: 1;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}
.theme-toggle:hover { background: rgba(22, 209, 142, 0.14); border-color: rgba(22, 209, 142, 0.45); }
.theme-toggle:active { transform: translateY(1px); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: var(--navy-900); border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem; gap: 0.2rem; display: none;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 0.75rem 0.8rem; font-size: 1rem; }
  .nav-cta { text-align: center; }
}

/* ------------------------------------------------------------------- hero */
.hero { padding: clamp(2.4rem, 7vw, 4.6rem) 0 clamp(2rem, 5vw, 3.4rem); position: relative; overflow: hidden; }
/* soft drifting light orbs behind the hero (animation is disabled for reduced motion) */
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(66px); opacity: 0.55;
}
.hero::before {
  width: 420px; height: 420px; top: -130px; right: -90px;
  background: radial-gradient(circle, rgba(22, 209, 142, 0.55), transparent 68%);
  animation: orb-drift 17s ease-in-out infinite alternate;
}
.hero::after {
  width: 380px; height: 380px; bottom: -150px; left: -110px;
  background: radial-gradient(circle, rgba(99, 184, 255, 0.45), transparent 68%);
  animation: orb-drift 21s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-46px, 34px, 0) scale(1.12); }
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 3rem; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-400);
  background: rgba(22, 209, 142, 0.1);
  border: 1px solid rgba(22, 209, 142, 0.28);
  padding: 0.36rem 0.75rem; border-radius: 999px; margin-bottom: 1rem;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--green-300), var(--green-500) 55%, #63b8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1rem, 2.4vw, 1.14rem); color: var(--text-muted); max-width: 54ch; }
.hero-points { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.55rem; }
.hero-points li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-muted); font-size: 0.95rem; }
.hero-points li::before {
  content: "✓"; color: #04120c; background: var(--green-500);
  border-radius: 50%; width: 19px; height: 19px; flex: 0 0 19px;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 900; margin-top: 3px;
}
.hero-details { margin-top: 1.4rem; }
.hero-details-title { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 0.55rem; }
.metric-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.metric-tags li {
  font-size: 0.78rem; font-weight: 700; color: var(--text-muted);
  background: rgba(147, 163, 196, 0.09);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.32rem 0.7rem;
}
.metric-tags li::before { content: "▸ "; color: var(--green-400); }

/* --------------------------------------------------------------- calculator */
.calc-card {
  background: linear-gradient(180deg, rgba(23, 38, 78, 0.94), rgba(9, 16, 36, 0.97));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3.4vw, 1.7rem);
  box-shadow: var(--shadow), 0 0 46px rgba(22, 209, 142, 0.12);
  position: relative;
  backdrop-filter: blur(8px);
}
.calc-card::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, rgba(56, 232, 166, 0.8), rgba(99, 184, 255, 0.4) 45%, rgba(22, 209, 142, 0.18) 72%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.calc-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.calc-title h2, .calc-title h3 { margin: 0; font-size: 1.06rem; }
@media (max-width: 600px) {
  .calc-title { flex-direction: column; align-items: flex-start; gap: 0.45rem; }
  .calc-title .live-dot { white-space: nowrap; }
}
.calc-title .live-dot {
  font-size: 0.74rem; color: var(--green-400); font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.calc-title .live-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500); box-shadow: 0 0 0 4px rgba(22, 209, 142, 0.18);
}
[data-rates="static"] .live-dot { color: #ffd98a; }
[data-rates="static"] .live-dot::before {
  background: #f5b942; box-shadow: 0 0 0 4px rgba(245, 185, 66, 0.18);
}

.calc-grid { display: grid; gap: 0.9rem; }
@media (min-width: 620px) { .calc-grid { grid-template-columns: repeat(2, 1fr); } }

.field { display: flex; flex-direction: column; gap: 0.36rem; margin: 0; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend {
  font-size: 0.79rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-dim); padding: 0;
}
.field--full { grid-column: 1 / -1; }

.input, .select {
  width: 100%; font: inherit; color: var(--text);
  background: rgba(5, 8, 15, 0.72);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.85rem;
  min-height: 48px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:hover, .select:hover { border-color: rgba(147, 163, 196, 0.45); }
.input:focus, .select:focus {
  outline: none; border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(22, 209, 142, 0.22);
}
.input::placeholder { color: var(--text-dim); }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green-400) 50%),
                    linear-gradient(135deg, var(--green-400) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.select option { background: var(--navy-850); color: var(--text); }

/* payment-method segmented control */
.segmented { display: grid; gap: 0.5rem; }
@media (min-width: 560px) { .segmented { grid-template-columns: repeat(3, 1fr); } }
.segmented label { position: relative; display: block; cursor: pointer; }
.segmented input {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.segmented span {
  display: block; text-align: center; font-size: 0.9rem; font-weight: 650;
  color: var(--text-muted); padding: 0.7rem 0.5rem; min-height: 46px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: rgba(5, 8, 15, 0.5);
  transition: all 0.15s ease;
}
.segmented label:hover span { border-color: rgba(22, 209, 142, 0.4); color: var(--text); }
.segmented input:checked + span {
  background: linear-gradient(180deg, rgba(22, 209, 142, 0.26), rgba(22, 209, 142, 0.1));
  border-color: var(--green-400); color: var(--green-300);
  box-shadow: 0 8px 22px rgba(22, 209, 142, 0.2), inset 0 1px 0 rgba(151, 255, 220, 0.28);
}
.segmented input:focus-visible + span { outline: 3px solid var(--green-400); outline-offset: 2px; }

.calc-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 700; font-size: 0.96rem;
  border-radius: var(--radius-sm); padding: 0.78rem 1.3rem;
  min-height: 48px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s, box-shadow 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, #2fe6a6, var(--green-500) 48%, var(--green-700));
  color: #04120c;
  box-shadow: var(--shadow-green), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #5cf3c0, var(--green-400) 48%, var(--green-500));
  box-shadow: 0 18px 42px rgba(22, 209, 142, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-ghost {
  background: rgba(147, 163, 196, 0.07); color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(147, 163, 196, 0.14); }
.btn-sm { min-height: 38px; padding: 0.42rem 0.8rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------- calc output */
.calc-summary {
  margin-top: 1.05rem; font-size: 0.92rem; color: var(--text-muted);
  min-height: 1.4em;
}
.rate-notice {
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.35);
  color: #ffd98a; border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem; font-size: 0.87rem; margin: 0.4rem 0 0;
}

.results { margin-top: 1.4rem; }
.results-head h3 { margin-bottom: 0.2rem; }
.results-head p { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 0.6rem; }
.results-save {
  background: linear-gradient(135deg, rgba(22, 209, 142, 0.16), rgba(22, 209, 142, 0.05));
  border: 1px solid rgba(22, 209, 142, 0.42);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem; color: var(--green-300); font-size: 0.95rem;
}
.results-list { display: grid; gap: 0.9rem; }

.result {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.result:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.result.is-best {
  border-color: rgba(56, 232, 166, 0.85);
  background: linear-gradient(180deg, rgba(22, 209, 142, 0.16), rgba(13, 23, 48, 0.9) 45%);
  box-shadow: 0 18px 44px rgba(22, 209, 142, 0.24), 0 0 0 1px rgba(56, 232, 166, 0.28) inset;
}
.result.is-highlight { outline: 2px dashed rgba(255, 255, 255, 0.28); outline-offset: 3px; }

.result-head { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.8rem; align-items: center; }
.service-badge {
  grid-row: span 2;
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.86rem; color: var(--badge-fg, #04120c);
  background: var(--accent, var(--green-500));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.result-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.result-title h3 { margin: 0; }
.result-tagline { grid-column: 2; margin: 0; color: var(--text-dim); font-size: 0.87rem; }

.badge {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 0.24rem 0.55rem; border-radius: 999px;
}
.badge-best {
  background: var(--green-500); color: #04120c;
  box-shadow: 0 6px 16px rgba(22, 209, 142, 0.4);
}
.badge-rank { background: rgba(147, 163, 196, 0.14); color: var(--text-muted); }
.badge-you { background: rgba(99, 184, 255, 0.16); color: #9cc9ff; border: 1px solid rgba(99, 184, 255, 0.4); }

.result-metrics {
  display: grid; gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.95rem;
}
@media (min-width: 720px) { .result-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.metric {
  background: rgba(5, 8, 15, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  display: flex; flex-direction: column; gap: 0.14rem;
  min-width: 0;
}
.metric-label {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim);
}
.metric-value {
  font-size: 0.98rem; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums; word-break: break-word;
}
.metric-sub { font-size: 0.75rem; color: var(--text-dim); }
.metric .value-strong { color: var(--green-300); font-size: 1.06rem; }
.metric .ok { color: var(--green-400); }

.result-warning {
  margin: 0.8rem 0 0; font-size: 0.85rem; color: #ffd98a;
  background: rgba(255, 200, 87, 0.1); border: 1px solid rgba(255, 200, 87, 0.3);
  padding: 0.5rem 0.7rem; border-radius: 9px;
}
.result-links {
  margin: 0.9rem 0 0; font-size: 0.88rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1.1rem;
}
.result-links-ext { color: var(--text-dim); font-size: 0.85rem; }
.result-links-ext:hover { color: var(--green-400); text-decoration: none; }

/* small ↗ button that opens a provider's own website from the comparison table */
.svc-ext {
  font-size: 0.72rem; line-height: 1; color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 6px; padding: 0.2rem 0.32rem;
  transition: color 0.15s, border-color 0.15s;
}
.svc-ext:hover { color: var(--green-400); border-color: rgba(22, 209, 142, 0.55); text-decoration: none; }

/* ------------------------------------------------------------------- stats */
.stats {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(22, 209, 142, 0.1), rgba(99, 184, 255, 0.08) 55%, rgba(126, 92, 255, 0.1)),
    rgba(7, 13, 28, 0.72);
  padding: 1.6rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; text-align: center; }
@media (min-width: 780px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value {
  font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800;
  background: linear-gradient(120deg, var(--green-300), var(--green-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.1;
}
.stat-label { font-size: 0.84rem; color: var(--text-muted); }

/* ----------------------------------------------------------------- section */
.section { padding: clamp(2.6rem, 7vw, 4.4rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head p { color: var(--text-muted); }
.section-head .kicker {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green-400); display: block; margin-bottom: 0.5rem;
}

/* ------------------------------------------------------------------- steps */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.15rem;
  position: relative; counter-increment: step;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.step:hover {
  transform: translateY(-3px); border-color: rgba(22, 209, 142, 0.45);
  box-shadow: var(--shadow), 0 0 26px rgba(22, 209, 142, 0.14);
}
.step::before {
  content: counter(step);
  position: absolute; top: -14px; left: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #04120c; font-weight: 900; font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(22, 209, 142, 0.35);
}
.step h3 { margin-top: 0.5rem; font-size: 1.03rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* -------------------------------------------------------------- card grids */
.card-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem;
  display: flex; flex-direction: column; gap: 0.65rem;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 209, 142, 0.55);
  box-shadow: var(--shadow), 0 0 30px rgba(22, 209, 142, 0.16);
}
.card h3 { margin: 0; }
.card p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }
.card .card-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; padding-top: 0.4rem; }
.card-link { font-weight: 700; font-size: 0.92rem; }
.card-link--ext {
  align-self: flex-start;
  font-weight: 600; font-size: 0.85rem; color: var(--text-dim);
  border-bottom: 1px dashed var(--line-strong);
}
.card-link--ext:hover { color: var(--green-400); border-bottom-color: var(--green-400); text-decoration: none; }

/* row of buttons under a service page headline */
.section-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.2rem; }

.chip {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  background: rgba(147, 163, 196, 0.12); color: var(--text-muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.22rem 0.6rem;
}
.chip-green { background: rgba(22, 209, 142, 0.14); color: var(--green-300); border-color: rgba(22, 209, 142, 0.35); }

.service-card-head { display: flex; align-items: center; gap: 0.8rem; }

/* -------------------------------------------------------------------- FAQ */
.faq-list { display: grid; gap: 0.7rem; max-width: 820px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item[open] { border-color: rgba(22, 209, 142, 0.45); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.15rem;
  font-weight: 700; position: relative; min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: var(--green-400);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { background: rgba(147, 163, 196, 0.06); }
.faq-body { padding: 0 1.15rem 1.15rem; color: var(--text-muted); font-size: 0.95rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- breakdown */
.breakdown-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .breakdown-grid { grid-template-columns: repeat(2, 1fr); } }
.breakdown-item {
  background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--green-500);
  border-radius: var(--radius-sm); padding: 1.05rem 1.15rem;
}
.breakdown-item h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.breakdown-item p { margin: 0; color: var(--text-muted); font-size: 0.93rem; }

.pros-cons { display: grid; gap: 1rem; }
@media (min-width: 700px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.list-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem; }
.list-card h3 { font-size: 1rem; }
.list-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.list-card li { font-size: 0.93rem; color: var(--text-muted); display: flex; gap: 0.55rem; }
.list-card li::before { flex: 0 0 auto; font-weight: 900; }
.list-pro li::before { content: "＋"; color: var(--green-400); }
.list-con li::before { content: "－"; color: #ff8f8f; }

/* -------------------------------------------------------------------- hub */
.toolbar { display: grid; gap: 1.4rem; margin-bottom: 1.8rem; }
@media (min-width: 900px) {
  .toolbar { grid-template-columns: 1.45fr 1fr; gap: 2.2rem; align-items: start; }
}
.toolbar-copy h2 { font-size: 1.14rem; margin-bottom: 0.4rem; }
.toolbar-copy p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 0.6rem; }
.toolbar-copy strong { color: var(--text); }
.toolbar-note { font-size: 0.85rem !important; color: var(--text-dim) !important; margin-top: 0.7rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.checklist li {
  position: relative; padding-left: 1.7rem;
  font-size: 0.9rem; color: var(--text-muted);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(22, 209, 142, 0.16); color: var(--green-400);
  display: grid; place-items: center; font-size: 0.68rem; font-weight: 900;
}
.toolbar-controls { display: grid; gap: 0.85rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-btn {
  font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer;
  background: rgba(147, 163, 196, 0.09); color: var(--text-muted);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.5rem 0.95rem;
  min-height: 40px;
}
.chip-btn:hover { color: var(--text); border-color: rgba(22, 209, 142, 0.4); }
.chip-btn.is-active {
  background: rgba(22, 209, 142, 0.16); color: var(--green-300);
  border-color: var(--green-500);
}
.hub-empty {
  background: var(--card); border: 1px dashed var(--line-strong);
  border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--text-muted);
}

/* ------------------------------------------------------------ rates alert */
.alert-form-card {
  background: linear-gradient(180deg, rgba(20, 33, 69, 0.9), rgba(10, 18, 38, 0.95));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3.5vw, 1.9rem); box-shadow: var(--shadow);
}
.alert-confirm {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: linear-gradient(135deg, rgba(22, 209, 142, 0.2), rgba(22, 209, 142, 0.06));
  border: 1px solid rgba(22, 209, 142, 0.55); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; margin-top: 1.4rem;
}
.alert-confirm p { margin: 0.2rem 0 0; color: var(--green-300); font-size: 0.94rem; }
.alert-icon {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px;
  background: var(--green-500); color: #04120c;
  display: grid; place-items: center; font-weight: 900;
}
.alert-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.8rem; }
.alert-item {
  display: grid; gap: 0.7rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem;
}
@media (min-width: 780px) {
  .alert-item { grid-template-columns: 1.5fr auto auto; align-items: center; }
}
.alert-main { display: flex; flex-direction: column; gap: 0.15rem; }
.alert-main span { color: var(--text-dim); font-size: 0.87rem; }
.alert-main b, .alert-main strong { font-variant-numeric: tabular-nums; }
.alert-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.alert-empty { color: var(--text-dim); font-size: 0.93rem; }
.pill {
  font-size: 0.76rem; font-weight: 800; border-radius: 999px;
  padding: 0.28rem 0.7rem; border: 1px solid var(--line-strong);
  background: rgba(147, 163, 196, 0.1); color: var(--text-muted);
  white-space: nowrap;
}
.pill-good { background: rgba(22, 209, 142, 0.16); color: var(--green-300); border-color: rgba(22, 209, 142, 0.5); }
.pill-muted { color: var(--text-dim); }

/* ------------------------------------------------------------------- blog */
.article-card { text-decoration: none; color: inherit; }
.article-card:hover { text-decoration: none; }
.article-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-400);
}
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }
.prose blockquote {
  margin: 1.5rem 0; padding: 0.9rem 1.2rem;
  border-left: 3px solid var(--green-500);
  background: rgba(22, 209, 142, 0.07); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text); font-style: italic;
}
.prose table {
  width: 100%; border-collapse: collapse; margin: 1.4rem 0;
  font-size: 0.92rem; display: block; overflow-x: auto;
}
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6rem 0.75rem; text-align: left; }
.prose th { background: rgba(147, 163, 196, 0.1); color: var(--text); }

.breadcrumb { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  background: linear-gradient(120deg, rgba(22, 209, 142, 0.2), rgba(99, 184, 255, 0.14) 55%, rgba(126, 92, 255, 0.13));
  border: 1px solid rgba(22, 209, 142, 0.45);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  display: grid; gap: 1rem; align-items: center;
  box-shadow: 0 20px 48px rgba(2, 6, 18, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
@media (min-width: 820px) { .cta-band { grid-template-columns: 1.6fr auto; } }
.cta-band h2 { margin-bottom: 0.3rem; }
.cta-band p { margin: 0; color: var(--text-muted); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.85);
  padding: 2.6rem 0 2rem; margin-top: clamp(2.5rem, 6vw, 4rem);
}
.footer-grid { display: grid; gap: 1.8rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.45fr 1fr 1fr 1fr; } }
.site-footer h4 {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 0.8rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-links a { color: var(--text-muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--green-400); }
.footer-note { color: var(--text-dim); font-size: 0.85rem; }

/* social share icons (original brand logo forms) */
.social-heading { margin-top: 1.2rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.social-link {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(147, 163, 196, 0.08);
  border: 1px solid var(--line-strong); color: var(--text-muted);
  transition: transform 0.15s ease, background 0.15s, border-color 0.15s, color 0.15s;
}
.social-link:hover {
  background: rgba(22, 209, 142, 0.14);
  border-color: rgba(22, 209, 142, 0.5);
  color: var(--green-400);
  transform: translateY(-2px);
  text-decoration: none;
}
.social-link svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between;
  color: var(--text-dim); font-size: 0.83rem;
}

/* -------------------------------------------------------------- utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mono { font-family: var(--mono); font-size: 0.9em; }

/* ------------------------------------------ popular routes + hero split band */
.route-block { margin-top: 1.4rem; }
.route-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.route-chip {
  font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  color: var(--text-muted);
  background: rgba(147, 163, 196, 0.09);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.4rem 0.8rem; min-height: 38px;
  transition: transform 0.15s ease, background 0.15s, border-color 0.15s, color 0.15s;
}
.route-chip:hover { color: var(--text); border-color: rgba(22, 209, 142, 0.5); transform: translateY(-1px); }
.route-chip.is-active, .route-chip[aria-pressed="true"] {
  background: rgba(22, 209, 142, 0.16); color: var(--green-300);
  border-color: var(--green-500);
}

.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1.15fr 1fr; gap: 2.6rem; } }
.split-copy .kicker {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green-400); display: block; margin-bottom: 0.5rem;
}
.split-copy p { color: var(--text-muted); }
.split-copy strong { color: var(--text); }

.example-card {
  background: var(--card); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 1.3rem 1.35rem; box-shadow: var(--shadow);
}
.example-card h3 { font-size: 1.02rem; }
.example-card table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.example-card th, .example-card td {
  border: 1px solid var(--line); padding: 0.52rem 0.6rem; text-align: left;
}
.example-card th {
  background: rgba(147, 163, 196, 0.12); color: var(--text);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.example-card td { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.example-card td strong { color: var(--green-300); }
.example-footnote { font-size: 0.8rem; color: var(--text-dim); margin: 0.8rem 0 0; }

/* --------------------------------- comparison console (unique hero layout) */
.hero--center { text-align: center; }
.hero--center .eyebrow { margin-inline: auto; }
.hero--center .hero-lead { margin-inline: auto; }
.hero--center .hero-details { max-width: 860px; margin-inline: auto; }
.hero--center .hero-details-title { text-align: center; }
.hero--center .metric-tags { justify-content: center; }
.hero-points--grid { max-width: 920px; margin-inline: auto; text-align: left; }
@media (min-width: 780px) { .hero-points--grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem 1.8rem; } }
.hero--center .calc-console { text-align: left; margin-top: 2.2rem; }

.calc-console { padding: clamp(1.1rem, 3vw, 1.9rem); }
.console-grid { display: grid; gap: 0.85rem; }
@media (min-width: 640px) { .console-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) {
  .console-grid { grid-template-columns: 1fr 1fr auto 1fr 1.5fr auto; align-items: end; }
}
.field--swap, .field--submit { align-self: end; }
.btn-icon { min-width: 50px; padding-inline: 0.7rem; font-size: 1.2rem; line-height: 1; }
@media (min-width: 1020px) {
  /* reserve two hint lines so every label, input and button sits on the same rows */
  .console-grid { align-items: start; }
  .field-hint { min-height: 2.7em; }
  .field--swap, .field--submit { align-self: start; margin-top: 1.62rem; }
}
.console-routes {
  border-top: 1px solid var(--line);
  margin-top: 1.2rem; padding-top: 1rem;
}

/* ------------------------- plain-language helpers (keep the console simple) */
.calc-intro {
  margin: 0 0 0.9rem; color: var(--text-muted);
  font-size: 0.95rem; max-width: 70ch;
}
.calc-steps {
  list-style: none; margin: 0 0 1.15rem; padding: 0;
  display: grid; gap: 0.55rem;
}
@media (min-width: 720px) { .calc-steps { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; } }
.calc-steps li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  background: rgba(147, 163, 196, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  font-size: 0.87rem; line-height: 1.45; color: var(--text-muted);
}
.calc-steps li strong { color: var(--text); }
.step-num {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #04120c; font-size: 0.75rem; font-weight: 800; line-height: 1;
}
.field-hint { font-size: 0.76rem; line-height: 1.35; color: var(--text-dim); }

/* "how to read the table" legend — sits directly above the results */
.read-guide {
  margin-top: 1.1rem; padding: 0.8rem 0.95rem;
  background: rgba(22, 209, 142, 0.07);
  border: 1px solid rgba(22, 209, 142, 0.28);
  border-radius: var(--radius-sm);
}
.read-guide-title {
  margin: 0 0 0.5rem; font-size: 0.86rem; font-weight: 700; color: var(--green-300);
}
.read-guide-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.35rem;
}
@media (min-width: 780px) { .read-guide-list { grid-template-columns: repeat(2, 1fr); gap: 0.38rem 1.5rem; } }
.read-guide-list li {
  position: relative; padding-left: 1.05rem;
  font-size: 0.86rem; line-height: 1.45; color: var(--text-muted);
}
.read-guide-list li::before {
  content: "▸"; position: absolute; left: 0; top: 0; color: var(--green-400);
}
.read-guide-list strong { color: var(--text); font-weight: 700; }

/* --------------------------------------- ranked comparison table (console) */
.table-wrap { overflow-x: auto; margin-top: 0.6rem; }
.compare-table {
  width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0;
  font-size: 0.88rem;
}
.compare-table caption { text-align: left; }
.compare-table thead th {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); text-align: left; padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
.compare-table tbody td {
  padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line);
  color: var(--text-muted); font-variant-numeric: tabular-nums; vertical-align: middle;
}
.compare-table tbody tr:nth-child(even) { background: rgba(147, 163, 196, 0.045); }
.compare-table tbody tr:hover { background: rgba(147, 163, 196, 0.09); }
.compare-table tbody tr.is-best {
  background: linear-gradient(90deg, rgba(22, 209, 142, 0.17), rgba(22, 209, 142, 0.05) 70%, transparent);
  box-shadow: inset 3px 0 0 var(--green-400), 0 8px 24px rgba(22, 209, 142, 0.12);
}
.compare-table tbody tr.is-highlight { outline: 2px dashed rgba(147, 163, 196, 0.4); outline-offset: -2px; }
.compare-table td small {
  display: block; font-size: 0.72rem; color: var(--text-dim); margin-top: 0.1rem;
}
.compare-table .cell-recv { color: var(--green-300); font-weight: 800; font-size: 0.96rem; }
.compare-table .ok { color: var(--green-400); font-weight: 700; }

.rank-medal {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.8rem;
  background: rgba(147, 163, 196, 0.16); color: var(--text-muted);
}
tr.is-best .rank-medal { background: var(--green-500); color: #04120c; }

.table-service { display: flex; align-items: center; gap: 0.6rem; }
.service-badge.sm { width: 30px; height: 30px; border-radius: 9px; font-size: 0.7rem; }
.table-service-name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.table-service-name strong { color: var(--text); font-size: 0.92rem; }

/* stacked "cards" form of the table on phones */
@media (max-width: 880px) {
  .compare-table { min-width: 0; }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody { display: block; width: 100%; }
  .compare-table tbody tr {
    display: block; margin-bottom: 0.8rem; padding: 0.6rem 0.75rem;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  }
  .compare-table tbody td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    border: 0; border-bottom: 1px solid var(--line); padding: 0.42rem 0; text-align: right;
  }
  .compare-table tbody td:last-child { border-bottom: 0; }
  .compare-table tbody td::before {
    content: attr(data-label); font-size: 0.64rem; font-weight: 800;
    letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-dim);
    text-align: left; flex: 0 0 auto;
  }
  .compare-table td small { display: inline; margin-left: 0.35rem; }
}

/* --------------------------------------------------------- light theme
   Toggled with the header button (stored in localStorage as tfc_theme).
   Light navy-blue palette: soft navy page, white-navy panels, deep navy text,
   same green accents. */
:root[data-theme="light"] {
  color-scheme: light;

  --navy-950: #e9eff9;   /* page background — light navy */
  --navy-900: #f4f7fd;   /* header / footer */
  --navy-850: #ffffff;
  --navy-800: #ffffff;   /* cards */
  --navy-700: #dde6f5;
  --navy-600: #c9d6ec;

  --green-300: #076b47;
  --green-400: #0a7d54;
  --green-500: #16c98b;
  --green-700: #0b6b49;

  --text: #0d1a33;       /* dark navy text */
  --text-muted: #3f5278;
  --text-dim: #5c7099;
  --line: rgba(13, 26, 51, 0.12);
  --line-strong: rgba(13, 26, 51, 0.22);
  --card: rgba(255, 255, 255, 0.9);
  --card-solid: #ffffff;

  --shadow: 0 18px 40px rgba(21, 40, 84, 0.12);
  --shadow-green: 0 10px 26px rgba(22, 201, 139, 0.22);
  --glow: rgba(22, 201, 139, 0.18);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(22, 201, 139, 0.14), transparent 60%),
    radial-gradient(900px 520px at 8% 6%, rgba(84, 132, 220, 0.16), transparent 62%),
    var(--navy-950);
  background-attachment: fixed;
}

:root[data-theme="light"] .site-header {
  background: rgba(244, 247, 253, 0.9);
  box-shadow: 0 10px 26px rgba(21, 40, 84, 0.1);
}
/* keep the neon dark-mode flourishes calm on the light palette */
:root[data-theme="light"] .hero::before,
:root[data-theme="light"] .hero::after { opacity: 0.3; }
:root[data-theme="light"] .calc-card { box-shadow: var(--shadow); }
:root[data-theme="light"] .cta-band { box-shadow: var(--shadow); }
:root[data-theme="light"] .nav-menu a:hover { background: rgba(13, 26, 51, 0.06); }
:root[data-theme="light"] .theme-toggle { background: rgba(13, 26, 51, 0.05); }
:root[data-theme="light"] .calc-card,
:root[data-theme="light"] .alert-form-card {
  background: linear-gradient(180deg, #ffffff, #f2f6fd);
  border-color: var(--line-strong);
}
:root[data-theme="light"] .input,
:root[data-theme="light"] .select { background: #ffffff; }
:root[data-theme="light"] .select option { background: #ffffff; color: var(--text); }
:root[data-theme="light"] .segmented span { background: #ffffff; }
:root[data-theme="light"] .btn-ghost { background: rgba(13, 26, 51, 0.05); }
:root[data-theme="light"] .btn-ghost:hover { background: rgba(13, 26, 51, 0.1); }
:root[data-theme="light"] .metric { background: rgba(13, 26, 51, 0.035); }
:root[data-theme="light"] .stats { background: rgba(255, 255, 255, 0.6); }
:root[data-theme="light"] .site-footer { background: rgba(244, 247, 253, 0.94); }
:root[data-theme="light"] .chip,
:root[data-theme="light"] .chip-btn,
:root[data-theme="light"] .pill,
:root[data-theme="light"] .badge-rank { background: rgba(13, 26, 51, 0.06); }
:root[data-theme="light"] .prose th { background: rgba(13, 26, 51, 0.06); }
:root[data-theme="light"] .faq-item summary:hover { background: rgba(13, 26, 51, 0.04); }
:root[data-theme="light"] .result.is-best {
  background: linear-gradient(180deg, rgba(22, 201, 139, 0.16), #ffffff 45%);
}
:root[data-theme="light"] .result.is-highlight { outline-color: rgba(13, 26, 51, 0.3); }
:root[data-theme="light"] .cta-band {
  background: linear-gradient(120deg, rgba(22, 201, 139, 0.14), rgba(84, 132, 220, 0.12));
}
:root[data-theme="light"] .rate-notice,
:root[data-theme="light"] .result-warning { background: rgba(163, 110, 0, 0.1); color: #7a5200; border-color: rgba(163, 110, 0, 0.32); }
:root[data-theme="light"] [data-rates="static"] .live-dot { color: #7a5200; }
:root[data-theme="light"] .badge-you { color: #1d4ed8; background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.35); }
:root[data-theme="light"] .alert-icon,
:root[data-theme="light"] .step::before,
:root[data-theme="light"] .hero-points li::before { color: #04120c; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * , *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------- service picker + spacing */
.svc-picker {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 0.95rem;
  margin: 1.35rem 0 0;
  min-width: 0;
}
.svc-picker legend {
  font-size: 0.79rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-dim);
  padding: 0 0.4rem;
}
.svc-picker-grid {
  display: grid; gap: 0.5rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.svc-check {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.42rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(5, 8, 15, 0.5);
  cursor: pointer; font-size: 0.85rem; font-weight: 600;
  color: var(--text);
  transition: border-color 0.15s, background-color 0.15s;
  min-width: 0;
}
.svc-check:hover { border-color: rgba(22, 209, 142, 0.45); }
.svc-check input { accent-color: var(--green-500); width: 15px; height: 15px; flex: none; margin: 0; }
.svc-check-tile {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  display: grid; place-items: center;
  background: var(--accent, var(--green-500));
  color: var(--badge-fg, #04120c);
  font-size: 0.62rem; font-weight: 800;
}
.svc-check:has(input:checked) {
  border-color: rgba(22, 209, 142, 0.65);
  background: rgba(22, 209, 142, 0.09);
}
.svc-check input:focus-visible { outline: 2px solid var(--green-400); outline-offset: 2px; }

.rate-note {
  margin: 1.2rem 0 0;
  font-size: 0.82rem; line-height: 1.6;
  color: var(--text-dim);
  border-left: 3px solid rgba(22, 209, 142, 0.5);
  padding: 0.15rem 0 0.15rem 0.85rem;
}
.rate-note strong { color: var(--text); }

/* a little more breathing room around the console */
.calc-grid { gap: 1.15rem; }
.calc-card { padding: clamp(1.3rem, 3.8vw, 2rem); }
.calc-actions { margin-top: 1.5rem; }

/* ------------------------------------------- real brand colors for share icons */
.social-link[data-share="facebook"] {
  color: #1877f2; background: rgba(24, 119, 242, 0.12); border-color: rgba(24, 119, 242, 0.4);
}
.social-link[data-share="facebook"]:hover { color: #fff; background: #1877f2; border-color: #1877f2; }
.social-link[data-share="x"] {
  color: #fff; background: #0f1419; border-color: rgba(255, 255, 255, 0.22);
}
.social-link[data-share="x"]:hover { color: #fff; background: #000; border-color: #000; }
.social-link[data-share="whatsapp"] {
  color: #25d366; background: rgba(37, 211, 102, 0.12); border-color: rgba(37, 211, 102, 0.4);
}
.social-link[data-share="whatsapp"]:hover { color: #fff; background: #25d366; border-color: #25d366; }
.social-link[data-share="linkedin"] {
  color: #0a66c2; background: rgba(10, 102, 194, 0.14); border-color: rgba(10, 102, 194, 0.45);
}
.social-link[data-share="linkedin"]:hover { color: #fff; background: #0a66c2; border-color: #0a66c2; }

/* monogram glyph inside service badges */
.service-badge svg { width: 22px; height: 22px; fill: currentColor; display: block; }

/* image icon (e.g. sadapay-icon.svg) inside service badges */
.service-badge img { width: 38px; height: 38px; display: block; border-radius: 10px; }
.service-badge:has(img) { background: none; box-shadow: none; }
