/* SquareCosts — design system */
:root {
  --bg: #f5f7fb; --card: #fff; --ink: #0b1020; --ink2: #334155; --muted: #64748b; --line: #e7eaf3; --line2: #f0f2f8;
  --brand: #4f46e5; --brand-d: #4338ca; --brand-50: #eef2ff; --brand-100: #e0e7ff; --cyan: #06b6d4; --violet: #7c3aed;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  --mat: #6366f1; --lab: #10b981; --oth: #f59e0b;
  --r: 20px; --r-sm: 14px;
  --sh-sm: 0 1px 2px rgba(16,24,40,.05);
  --sh: 0 1px 2px rgba(16,24,40,.04), 0 8px 28px -6px rgba(16,24,40,.08);
  --sh-lg: 0 24px 60px -18px rgba(30,27,75,.35);
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h1 span { color: var(--muted); font-weight: 700; }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
.bc-svg { display: block; flex: 0 0 auto; }
.bc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bc-narrow { max-width: 880px; }
.bc-main { min-height: 60vh; padding-bottom: 72px; }
.bc-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- header */
.bc-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(231,234,243,.8); }
.bc-is-home .bc-header { background: rgba(11,16,32,.72); border-bottom-color: rgba(255,255,255,.08); }
.bc-is-home .bc-header .bc-logo, .bc-is-home .bc-nav a { color: #fff; }
.bc-is-home .bc-nav a:hover { color: #c7d2fe; }
.bc-is-home .bc-header .bc-region-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.bc-header .bc-wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.bc-logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.2rem var(--f-head); color: var(--ink); letter-spacing: -.03em; }
.bc-logo:hover { color: var(--ink); }
.bc-logo i { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px -4px rgba(79,70,229,.55); }
.bc-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.bc-nav a { color: var(--ink2); font-weight: 600; font-size: .94rem; }
.bc-region-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 14px 9px 12px; font: 600 .93rem var(--f-body); cursor: pointer; transition: .2s; white-space: nowrap; box-shadow: var(--sh-sm); }
.bc-region-btn .bc-svg:first-child { color: var(--brand); }
.bc-region-btn .bc-chev { opacity: .55; }
.bc-region-btn:hover { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.bc-region-btn span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .bc-nav a { display: none; } .bc-region-btn { max-width: 58vw; font-size: .88rem; } .bc-header .bc-wrap { height: 62px; } }

/* ---------- home hero */
.bc-hero { position: relative; overflow: hidden; background: #0b1020; color: #e2e8f0; margin-top: -68px; padding: 140px 0 40px; }
.bc-hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 380px at 12% 10%, rgba(99,102,241,.45), transparent 70%), radial-gradient(520px 360px at 92% 30%, rgba(6,182,212,.32), transparent 70%), radial-gradient(500px 300px at 60% 110%, rgba(124,58,237,.35), transparent 70%); }
.bc-hero-glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.bc-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .bc-hero-grid { grid-template-columns: 1fr; gap: 36px; } .bc-hero { padding-top: 112px; } }
.bc-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -.035em; }
.bc-hero .bc-grad { background: linear-gradient(90deg, #a5b4fc, #c4b5fd 45%, #67e8f9); -webkit-background-clip: text; background-clip: text; }
.bc-hero .bc-lead { color: #b6c0d4; font-size: 1.12rem; max-width: 580px; margin: 0 0 28px; }
.bc-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #d7def0; font-weight: 600; font-size: .84rem; padding: 6px 14px 6px 10px; border-radius: 999px; margin-bottom: 22px; }
.bc-pill i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.bc-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bc-hero-cta .bc-region-btn { font-size: 1.02rem; padding: 15px 22px 15px 18px; background: #fff; color: var(--ink); border: 0; box-shadow: 0 10px 30px -8px rgba(99,102,241,.6); }
.bc-is-home .bc-hero-cta .bc-region-btn { background: #fff; color: var(--ink); }
.bc-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px; color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.22); transition: .2s; }
.bc-btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.bc-geo-note { display: block; color: #fbbf24; font-size: .9rem; margin-top: 12px; }
.bc-geo-note[hidden] { display: none; }
.bc-stats { list-style: none; display: flex; gap: 34px; padding: 0; margin: 36px 0 0; flex-wrap: wrap; }
.bc-stats b { display: block; font: 800 1.9rem var(--f-head); color: #fff; letter-spacing: -.03em; }
.bc-stats span { color: #94a3b8; font-size: .88rem; }
.bc-hero-card { background: rgba(255,255,255,.96); color: var(--ink); border-radius: 24px; padding: 24px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.4); transform: rotate(1.2deg); animation: bcFloat 7s ease-in-out infinite; }
@keyframes bcFloat { 50% { transform: rotate(1.2deg) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .bc-hero-card { animation: none; } }
.bc-hc-top { display: flex; gap: 12px; align-items: center; }
.bc-hc-top b { display: block; font-family: var(--f-head); }
.bc-hc-top small { color: var(--muted); }
.bc-hc-total { font: 800 2.6rem var(--f-head); letter-spacing: -.04em; margin: 16px 0 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bc-hc-range { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.bc-hc-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bc-hc-rows li { display: grid; grid-template-columns: 1fr 90px auto; gap: 10px; align-items: center; font-size: .86rem; }
.bc-hc-rows span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink2); }
.bc-hc-rows i { height: 7px; border-radius: 9px; background: linear-gradient(90deg, var(--brand) var(--w), var(--line2) var(--w)); }
.bc-hc-rows b { font-size: .86rem; text-align: right; }
.bc-hc-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .85rem; font-weight: 600; color: #059669; }
.bc-hc-foot span { margin-left: auto; color: var(--muted); font-weight: 500; }
.bc-countries { position: relative; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 48px; }
.bc-countries a { flex: 1 1 200px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 700; font-family: var(--f-head); transition: .2s; }
.bc-countries a:hover { background: rgba(255,255,255,.12); color: #fff; }
.bc-countries small { color: #94a3b8; font: 500 .85rem var(--f-body); }

.bc-section-head { margin: 64px 0 18px; }
.bc-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.bc-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- icon tiles */
.bc-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.tone-indigo { background: #eef2ff; color: #4f46e5; } .tone-violet { background: #f5f3ff; color: #7c3aed; } .tone-sky { background: #e0f2fe; color: #0284c7; }
.tone-emerald { background: #d1fae5; color: #059669; } .tone-amber { background: #fef3c7; color: #d97706; }
.bc-ico-lg { width: 64px; height: 64px; border-radius: 18px; }

/* ---------- calculator cards */
.bc-group-title { margin: 34px 0 14px; font-size: 1.05rem; color: var(--ink2); display: flex; align-items: center; gap: 12px; }
.bc-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.bc-calc-card { position: relative; display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; box-shadow: var(--sh-sm); }
.bc-calc-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--brand-100); }
.bc-calc-card b { display: block; font: 700 1.02rem var(--f-head); letter-spacing: -.015em; }
.bc-calc-card small { display: block; color: var(--muted); font-size: .87rem; line-height: 1.45; margin-top: 4px; }
.bc-calc-card em { display: inline-block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: .8rem; color: var(--brand); background: var(--brand-50); padding: 3px 10px; border-radius: 999px; }
.bc-cc-body { flex: 1; min-width: 0; }
.bc-go { color: var(--muted); opacity: 0; transform: translateX(-4px); transition: .2s; margin-top: 2px; }
.bc-calc-card:hover .bc-go { opacity: 1; transform: none; color: var(--brand); }
.bc-cards-sm { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bc-cards-sm .bc-calc-card { padding: 12px 14px; align-items: center; border-radius: var(--r-sm); }
.bc-cards-sm .bc-ico { width: 38px; height: 38px; border-radius: 11px; }
.bc-cards-sm .bc-calc-card b { font-size: .94rem; }

/* ---------- steps & trust */
.bc-steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.bc-steps3 > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--sh-sm); }
.bc-steps3 b { display: block; font: 700 1.1rem var(--f-head); margin: 16px 0 6px; }
.bc-steps3 p { margin: 0; color: var(--muted); }
.bc-trust { margin-top: 56px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 32px; border-radius: 24px; background: #0b1020; color: #cbd5e1; position: relative; overflow: hidden; }
.bc-trust::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 0% 0%, rgba(99,102,241,.35), transparent 70%), radial-gradient(400px 200px at 100% 100%, rgba(6,182,212,.25), transparent 70%); }
.bc-trust > * { position: relative; }
.bc-trust > div { display: flex; gap: 18px; align-items: flex-start; max-width: 760px; }
.bc-trust h2 { color: #fff; font-size: 1.4rem; }
.bc-trust p { margin: 0; }
.bc-btn-dark { border-color: rgba(255,255,255,.25); }

/* ---------- inner pages */
.bc-page { padding-top: 26px; }
.bc-crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.bc-crumbs a { color: var(--muted); font-weight: 500; }
.bc-crumbs a:hover { color: var(--brand); }
.bc-lead { color: var(--ink2); font-size: 1.08rem; max-width: 760px; }
.bc-title { position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 30px; border-radius: 24px; background: linear-gradient(135deg, #fff 0%, #f5f3ff 55%, #ecfeff 100%); border: 1px solid var(--line); overflow: hidden; margin-bottom: 8px; }
.bc-title::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,.18), transparent 70%); }
.bc-title > * { position: relative; }
.bc-title h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.bc-title .bc-lead { margin: 0; }
@media (max-width: 640px) { .bc-title { padding: 20px; } .bc-title .bc-ico-lg { display: none; } }
.bc-answer strong { color: var(--brand); font-size: 1.12em; }
.bc-upd { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: #047857; background: #d1fae5; border-radius: 999px; padding: 3px 10px; margin-left: 4px; vertical-align: 2px; }
.bc-region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.bc-region-grid a { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; color: var(--ink); font-weight: 600; font-size: .93rem; transition: .15s; }
.bc-region-grid a:hover { border-color: var(--brand); color: var(--brand); }
.bc-region-grid a b { color: var(--brand); font-size: .78rem; min-width: 30px; }
.bc-region-grid a em { margin-left: auto; font-style: normal; font-size: .8rem; color: var(--muted); font-weight: 600; }
.bc-region-grid-sm a { padding: 8px 12px; font-size: .88rem; }
.bc-geo-banner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: linear-gradient(90deg, #eef2ff, #ecfeff); border: 1px solid var(--brand-100); color: var(--ink2); border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; font-size: .95rem; }
.bc-geo-banner[hidden] { display: none; }
.bc-geo-banner a { font-weight: 700; }
.bc-geo-banner button { margin-left: auto; background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: var(--muted); }
.bc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--sh-sm); margin-bottom: 18px; }
.bc-note { color: var(--muted); font-size: .88rem; }

/* ---------- calculator */
.bc-loading { color: var(--muted); padding: 48px 0; }
.bc-calc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 18px; }
@media (max-width: 960px) { .bc-calc { grid-template-columns: 1fr; } }
.bc-form { margin: 0; box-shadow: var(--sh); }
.bc-form-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.bc-form-head h2 { margin: 0; font-size: 1.3rem; display: flex; align-items: center; }
.bc-step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--grad); color: #fff; font: 800 .9rem var(--f-head); margin-right: 10px; flex: 0 0 auto; }
.bc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-top: 18px; }
@media (max-width: 560px) { .bc-fields { grid-template-columns: 1fr; } }
.bc-field { display: flex; flex-direction: column; gap: 7px; }
.bc-field small { color: var(--muted); font-size: .8rem; }
.bc-label { font-weight: 600; font-size: .88rem; color: var(--ink2); }
.bc-field select, .bc-input input { width: 100%; height: 50px; border: 1.5px solid transparent; border-radius: 13px; padding: 0 15px; font: 600 1rem var(--f-body); color: var(--ink); background: #f3f5fa; transition: .15s; }
.bc-field select:hover, .bc-input input:hover { background: #eef1f8; }
.bc-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.bc-field select:focus, .bc-input input:focus { outline: none; background-color: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.bc-input { position: relative; display: flex; align-items: center; }
.bc-input.has-unit input { padding-right: 58px; }
.bc-input em { position: absolute; right: 15px; color: var(--muted); font-style: normal; font-weight: 600; font-size: .86rem; pointer-events: none; }
.bc-input .bc-dec, .bc-input .bc-inc { flex: 0 0 50px; height: 50px; border: 0; background: #e9ecf5; font-size: 1.3rem; font-weight: 600; cursor: pointer; color: var(--ink2); transition: .15s; }
.bc-input .bc-dec:hover, .bc-input .bc-inc:hover { background: var(--brand-100); color: var(--brand); }
.bc-input .bc-dec { border-radius: 13px 0 0 13px; }
.bc-input .bc-inc { border-radius: 0 13px 13px 0; }
.bc-input .bc-dec ~ input { border-radius: 0; text-align: center; }
.bc-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.bc-input input[type=number] { -moz-appearance: textfield; }
.bc-seg { display: inline-flex; background: #eef1f8; border-radius: 13px; padding: 4px; gap: 4px; }
.bc-seg button { border: 0; background: transparent; padding: 8px 15px; border-radius: 10px; font: 600 .9rem var(--f-body); color: var(--muted); cursor: pointer; transition: .15s; }
.bc-seg button:hover { color: var(--ink); }
.bc-seg button.is-on { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.bc-seg-wide { display: flex; height: 50px; }
.bc-seg-wide button { flex: 1; }
.bc-adv { margin-top: 22px; border-top: 1px dashed var(--line); padding-top: 14px; }
.bc-adv summary { cursor: pointer; font-weight: 700; color: var(--brand); font-size: .93rem; }

.bc-total { position: sticky; top: 88px; margin: 0; color: #e2e8f0; background: #0b1020; border: 0; box-shadow: var(--sh-lg); overflow: hidden; }
.bc-total::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 220px at 100% 0%, rgba(99,102,241,.5), transparent 70%), radial-gradient(300px 200px at 0% 100%, rgba(6,182,212,.25), transparent 70%); pointer-events: none; }
.bc-total > * { position: relative; }
.bc-total-label { color: #a5b4fc; font-weight: 600; font-size: .86rem; letter-spacing: .01em; }
.bc-total-num { font: 800 clamp(2.4rem, 5vw, 3.2rem) var(--f-head); letter-spacing: -.04em; color: #fff; line-height: 1.05; margin: 8px 0 6px; }
.bc-total-range { color: #cbd5e1; font-size: .93rem; }
.bc-total-range b { color: #fff; }
.bc-total-per { color: #94a3b8; font-size: .87rem; margin-top: 2px; }
.bc-split2 { display: flex; gap: 20px; align-items: center; margin: 22px 0; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.bc-donut { position: relative; flex: 0 0 96px; height: 96px; border-radius: 50%; }
.bc-donut span { position: absolute; inset: 14px; border-radius: 50%; background: #141b31; display: grid; place-content: center; text-align: center; font: 800 1.1rem var(--f-head); color: #fff; line-height: 1; }
.bc-donut small { display: block; font: 500 .7rem var(--f-body); color: #94a3b8; margin-top: 3px; }
.bc-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .9rem; flex: 1; min-width: 0; }
.bc-legend li { display: flex; align-items: center; gap: 8px; color: #cbd5e1; }
.bc-legend li b { margin-left: auto; color: #fff; }
.bc-legend i { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; }
.bc-legend .is-m { background: var(--mat); } .bc-legend .is-l { background: var(--lab); } .bc-legend .is-o { background: var(--oth); }
.bc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bc-actions .bc-btn-primary { grid-column: 1 / -1; }
.bc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); font: 600 .95rem var(--f-body); color: #fff; cursor: pointer; transition: .2s; }
.bc-btn:hover { background: rgba(255,255,255,.12); }
.bc-btn-primary { background: var(--grad); border: 0; font-size: 1.02rem; font-weight: 700; box-shadow: 0 10px 24px -8px rgba(99,102,241,.8); }
.bc-btn-primary:hover { filter: brightness(1.08); background: var(--grad); }
.bc-updated { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; font-size: .82rem; color: #94a3b8; margin: 16px 0 0; }
.bc-updated i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.25); }
.bc-updated b { color: #e2e8f0; }
.bc-updated a { color: #a5b4fc; }

.bc-breakdown { margin-top: 40px; }
.bc-breakdown > h2, .bc-rates > h2 { display: flex; align-items: center; }
.bc-group { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; box-shadow: var(--sh-sm); }
.bc-group h3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; padding: 16px 20px; font-size: 1rem; border-bottom: 1px solid var(--line2); }
.bc-group h3::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--grad); margin-right: 2px; }
.bc-group h3 span { margin-left: auto; font-family: var(--f-head); color: var(--brand); }
.bc-table-wrap { overflow-x: auto; }
.bc-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.bc-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; padding: 11px 20px; background: #fafbfe; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.bc-table td { padding: 11px 20px; border-bottom: 1px solid var(--line2); vertical-align: top; }
.bc-table tbody tr:hover td { background: #fafbff; }
.bc-table tr:last-child td { border-bottom: 0; }
.bc-table .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bc-tag { display: inline-block; margin-left: 8px; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: 1px; white-space: nowrap; }
.bc-tag.is-l { background: #d1fae5; color: #047857; }
.bc-tag.is-o { background: #fef3c7; color: #92400e; }
@media (max-width: 640px) {
  .bc-table th, .bc-table td { padding: 9px 12px; }
  .bc-group .bc-table thead { display: none; }
  .bc-group .bc-table tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 14px; border-bottom: 1px solid var(--line2); }
  .bc-group .bc-table td { border: 0; padding: 2px 0; }
  .bc-group .bc-table td:nth-child(1) { grid-column: 1 / -1; font-weight: 600; }
  .bc-group .bc-table td:nth-child(2) { grid-column: 1; color: var(--muted); font-size: .86rem; text-align: left; }
  .bc-group .bc-table td:nth-child(3), .bc-group .bc-table td:nth-child(4) { display: none; }
  .bc-group .bc-table td:nth-child(5) { grid-column: 2; grid-row: 2; }
}
.bc-totals { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .98rem; box-shadow: var(--sh-sm); }
.bc-totals td { padding: 13px 20px; }
.bc-totals .is-sub td { font-weight: 700; background: #fafbfe; }
.bc-totals .is-total td { background: #0b1020; color: #fff; font: 800 1.2rem var(--f-head); padding: 18px 20px; }
.bc-sources { padding-left: 18px; color: var(--ink2); font-size: .92rem; }
.bc-sources li { margin-bottom: 6px; }
.bc-rates { margin-top: 24px; }
.bc-rates h2 { margin-bottom: 16px; }

/* ---------- SEO content blocks */
.bc-seo { margin-top: 20px; }
.bc-seo h3 { margin: 26px 0 12px; }
.bc-seo p { color: var(--ink2); }
.bc-seo .bc-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bc-split { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bc-split li { display: grid; grid-template-columns: minmax(150px, 1.1fr) 2fr auto; gap: 14px; align-items: center; font-size: .92rem; }
.bc-split i { display: block; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) 0, var(--violet) var(--w), #eef1f8 var(--w)); }
.bc-split b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bc-split small { color: var(--muted); font-weight: 500; }
@media (max-width: 560px) { .bc-split li { grid-template-columns: 1fr auto; } .bc-split i { grid-column: 1 / -1; grid-row: 2; } }
.bc-info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.bc-info .bc-card { margin: 0; }
@media (max-width: 860px) { .bc-info { grid-template-columns: 1fr; } }
.bc-check { list-style: none; padding: 0; margin: 0; }
.bc-check li { padding: 7px 0 7px 32px; position: relative; color: var(--ink2); }
.bc-check li::before { content: ""; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 8px; background: #d1fae5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center no-repeat; }
.bc-faq details { border-top: 1px solid var(--line2); padding: 16px 0; }
.bc-faq details:first-of-type { border-top: 0; }
.bc-faq summary { cursor: pointer; font: 700 1rem var(--f-head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.bc-faq summary::-webkit-details-marker { display: none; }
.bc-faq summary::after { content: "+"; flex: 0 0 28px; height: 28px; border-radius: 9px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; transition: .2s; }
.bc-faq details[open] summary::after { transform: rotate(45deg); }
.bc-faq p { margin: 10px 0 0; color: var(--ink2); }

.bc-mobile-total { display: none; }
@media (max-width: 960px) {
  .bc-total { position: relative; top: 0; }
  .bc-is-calc .bc-mobile-total:not(:empty) { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: #0b1020; color: #fff; border-radius: 16px; padding: 13px 18px; justify-content: space-between; align-items: center; box-shadow: 0 16px 40px -8px rgba(11,16,32,.55); cursor: pointer; border: 1px solid rgba(255,255,255,.1); }
  .bc-mobile-total span { color: #a5b4fc; font-size: .88rem; font-weight: 600; }
  .bc-mobile-total b { font: 800 1.25rem var(--f-head); }
}

/* ---------- region dialog */
.bc-dialog { width: min(760px, calc(100vw - 24px)); max-height: min(82vh, 760px); border: 0; border-radius: 24px; padding: 0; box-shadow: 0 40px 100px -20px rgba(11,16,32,.5); }
.bc-dialog::backdrop { background: rgba(11,16,32,.55); backdrop-filter: blur(4px); }
.bc-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 8px; }
.bc-dialog-head h2 { margin: 0; font-size: 1.4rem; }
.bc-x { border: 0; background: #f1f4f9; width: 38px; height: 38px; border-radius: 12px; font-size: 1.3rem; cursor: pointer; color: var(--ink2); }
.bc-tabs { display: flex; gap: 6px; margin: 8px 24px; padding: 5px; background: #f1f4f9; border-radius: 14px; }
.bc-tab { flex: 1; border: 0; background: transparent; border-radius: 10px; padding: 10px; font: 600 .95rem var(--f-body); color: var(--muted); cursor: pointer; }
.bc-tab.is-active { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.bc-search { display: block; width: calc(100% - 48px); margin: 10px 24px 12px; height: 48px; border: 1.5px solid var(--line); border-radius: 13px; padding: 0 16px; font: 500 1rem var(--f-body); }
.bc-search:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.bc-region-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px; padding: 0 24px 24px; overflow: auto; max-height: calc(min(82vh, 760px) - 220px); }
.bc-region-list[hidden] { display: none; }
.bc-region-list a { display: flex; gap: 10px; padding: 10px 12px; border-radius: 11px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.bc-region-list a:hover { background: var(--brand-50); color: var(--brand); }
.bc-region-list a b { color: var(--brand); min-width: 36px; font-size: .76rem; padding-top: 2px; }
.bc-region-list a.is-current { background: var(--grad); color: #fff; }
.bc-region-list a.is-current b { color: #e0e7ff; }
.bc-region-list a[hidden] { display: none; }

/* ---------- footer */
.bc-footer { background: #0b1020; color: #94a3b8; padding: 56px 0 100px; font-size: .92rem; }
.bc-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .bc-foot-grid { grid-template-columns: 1fr 1fr; } .bc-foot-brand { grid-column: 1 / -1; } }
.bc-footer .bc-logo { color: #fff; }
.bc-foot-brand p { max-width: 360px; margin: 14px 0 0; }
.bc-footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.bc-footer a:not(.bc-logo) { display: block; color: #94a3b8; padding: 4px 0; }
.bc-footer a:not(.bc-logo):hover { color: #fff; }
.bc-foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* WP pages (about etc.) */
.bc-main article.bc-card { padding: 36px; }
.bc-main article h2 { margin-top: 1.4em; }

@media print {
  .bc-header, .bc-footer, .bc-form, .bc-actions, .bc-info, .bc-faq, .bc-cards, .bc-group-title, .bc-region-grid, .bc-mobile-total, .bc-geo-banner, .bc-crumbs, .bc-seo { display: none !important; }
  body { background: #fff; }
  .bc-calc { display: block; }
  .bc-total { color: #000; background: #fff; box-shadow: none; }
  .bc-card, .bc-group { box-shadow: none; break-inside: avoid; }
}

/* ---------- home: choice hub */
.bc-hub { padding-bottom: 72px; }
.bc-hub-inner { position: relative; text-align: center; max-width: 1080px; }
.bc-hub h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 16px; }
.bc-hub .bc-lead { margin: 0 auto 30px; max-width: 680px; }
.bc-hero-search { position: relative; display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto; padding: 8px 8px 8px 20px; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -16px rgba(79,70,229,.55), 0 0 0 6px rgba(255,255,255,.08); color: var(--brand); text-align: left; }
.bc-hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 1.08rem var(--f-body); color: var(--ink); height: 52px; background: transparent; }
.bc-hs-btn { border: 0; border-radius: 14px; padding: 0 24px; height: 52px; background: var(--grad); color: #fff; font: 700 1rem var(--f-body); cursor: pointer; white-space: nowrap; }
@media (max-width: 560px) { .bc-hs-btn { display: none; } }
.bc-hub-or { margin: 34px 0 16px; color: #94a3b8; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.bc-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: left; }
@media (max-width: 1000px) { .bc-choices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bc-choices { grid-template-columns: 1fr; } }
.bc-choice { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .25s, background .25s; overflow: hidden; }
.bc-choice::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; pointer-events: none; }
.bc-choice:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); color: #fff; }
.bc-choice:hover::after { opacity: 1; }
.bc-choice .bc-ico { margin-bottom: 10px; }
.bc-choice b { font: 700 1.08rem var(--f-head); letter-spacing: -.015em; }
.bc-choice small { color: #a8b3c9; font-size: .88rem; line-height: 1.45; flex: 1; }
.bc-choice-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: .9rem; color: #c7d2fe; }
.bc-hub-loc { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; color: #94a3b8; font-size: .92rem; }
.bc-hub-loc .bc-region-btn, .bc-is-home .bc-hub-loc .bc-region-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.bc-hub-loc .bc-region-btn .bc-svg:first-child { color: #a5b4fc; }
.bc-hub-loc .bc-geo-note { margin: 0; }

/* ---------- autocomplete */
.bc-ac { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -12px rgba(11,16,32,.35); border: 1px solid var(--line); padding: 6px; text-align: left; }
.bc-ac[hidden] { display: none; }
.bc-ac button { display: flex; gap: 12px; align-items: flex-start; width: 100%; border: 0; background: none; padding: 10px 12px; border-radius: 11px; cursor: pointer; text-align: left; color: var(--brand); }
.bc-ac button:hover, .bc-ac button.is-on { background: var(--brand-50); }
.bc-ac span { display: flex; flex-direction: column; min-width: 0; }
.bc-ac b { color: var(--ink); font: 600 .96rem var(--f-body); }
.bc-ac small { color: var(--muted); font-size: .83rem; }

/* ---------- tool pages */
.bc-tool-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 18px; }
@media (max-width: 960px) { .bc-tool-grid { grid-template-columns: 1fr; } }
.bc-tool-left .bc-card { box-shadow: var(--sh); }
.bc-tool-search h2, .bc-tool-form h2 { display: flex; align-items: center; font-size: 1.3rem; }
.bc-search-xl { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 58px; border-radius: 16px; background: #f3f5fa; border: 1.5px solid transparent; color: var(--muted); transition: .15s; margin-top: 14px; }
.bc-search-xl:focus-within { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); color: var(--brand); }
.bc-search-xl input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 1.05rem var(--f-body); color: var(--ink); height: 100%; }
.bc-place { margin-top: 16px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #eef2ff, #ecfeff); border: 1px solid var(--brand-100); }
.bc-place[hidden] { display: none; }
.bc-place-row { display: flex; gap: 12px; align-items: center; color: var(--brand); }
.bc-place-row b { display: block; color: var(--ink); font-family: var(--f-head); }
.bc-place-row small { color: var(--muted); }
.bc-place-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.bc-place-stats > div { flex: 1 1 140px; background: #fff; border-radius: 12px; padding: 10px 14px; border: 1px solid var(--line); }
.bc-place-stats small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.bc-place-stats b { font: 800 1.15rem var(--f-head); display: inline-flex; align-items: center; gap: 4px; }
.is-up { color: #059669 !important; }
.is-down { color: #dc2626 !important; }
.bc-total .is-up { color: #34d399 !important; }
.bc-total .is-down { color: #f87171 !important; }
.bc-err { color: #dc2626; font-weight: 600; }
.bc-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--brand-100); border-top-color: var(--brand); border-radius: 50%; animation: bcSpin .8s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes bcSpin { to { transform: rotate(360deg); } }
.bc-map { height: 260px; border-radius: 16px; margin-top: 14px; overflow: hidden; border: 1px solid var(--line); z-index: 1; }
.bc-map[hidden] { display: none; }
.bc-map .leaflet-tile-pane { filter: saturate(.6) contrast(1.05); }
.bc-marker span { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); border: 4px solid #fff; box-shadow: 0 6px 16px rgba(79,70,229,.5), 0 0 0 8px rgba(99,102,241,.2); }
.bc-tool-form[hidden] { display: none; }
.bc-field-wide { grid-column: 1 / -1; }
.bc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bc-chip { position: relative; cursor: pointer; }
.bc-chip input { position: absolute; opacity: 0; }
.bc-chip span { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; background: #f3f5fa; border: 1.5px solid transparent; font-weight: 600; font-size: .9rem; color: var(--ink2); transition: .15s; }
.bc-chip input:checked + span { background: var(--brand-50); border-color: var(--brand); color: var(--brand); }
.bc-chip input:focus-visible + span { box-shadow: 0 0 0 4px var(--brand-100); }
.bc-tool-result { position: sticky; top: 88px; }
.bc-empty { text-align: center; padding: 40px 10px; color: #94a3b8; }
.bc-empty-ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #a5b4fc; }
.bc-empty b { display: block; color: #fff; font: 700 1.2rem var(--f-head); margin-bottom: 6px; }
.bc-range-viz { position: relative; height: 10px; border-radius: 999px; margin: 26px 0 34px; background: linear-gradient(90deg, #f87171, #fbbf24 35%, #34d399 65%, #22d3ee); }
.bc-range-viz i { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); transform: translate(-50%, -50%); box-shadow: 0 4px 12px rgba(0,0,0,.4); z-index: 1; }
.bc-range-viz span { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); font-size: .75rem; color: #94a3b8; white-space: nowrap; }
.bc-range-viz::after { content: ""; position: absolute; left: 50%; top: -4px; width: 2px; height: 18px; background: rgba(255,255,255,.5); }
.bc-factors { list-style: none; padding: 16px; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.bc-factors li { display: flex; justify-content: space-between; color: #cbd5e1; }
.bc-factors b { color: #fff; }
.bc-vbars { display: grid; gap: 14px; margin: 22px 0; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.bc-vbar { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: .88rem; color: #cbd5e1; }
.bc-vbar i { grid-column: 1 / -1; height: 12px; border-radius: 999px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.bc-vbar i::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: inherit; }
.bc-vbar .is-a::before { background: #64748b; }
.bc-vbar .is-b::before { background: linear-gradient(90deg, #64748b, #f59e0b); }
.bc-vbar .is-c::before { background: linear-gradient(90deg, #6366f1, #22d3ee); }
.bc-vbar b { color: #fff; grid-row: 1; grid-column: 2; }
.bc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.bc-kpis > div { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.bc-kpis small { display: block; color: #94a3b8; font-size: .74rem; font-weight: 600; margin-bottom: 4px; }
.bc-kpis b { color: #fff; font: 800 1.05rem var(--f-head); }
.bc-actions a.bc-btn { text-decoration: none; color: #fff; }
.bc-src { font-size: .76rem; color: #7c8aa5; margin: 14px 0 0; }
.bc-src a { color: #a5b4fc; }
.bc-tools-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 26px 0 8px; }
.leaflet-container { font: inherit; }
.bc-nav a[aria-current] { color: var(--brand); }


/* ---------- header v3: sections + mobile menu */
.bc-nav { gap: 4px; margin-left: 28px; margin-right: auto; }
.bc-nav a { padding: 8px 12px; border-radius: 10px; font-size: .92rem; transition: .15s; }
.bc-nav a:hover { background: rgba(99,102,241,.08); }
.bc-is-home .bc-nav a:hover { background: rgba(255,255,255,.08); }
.bc-nav a[aria-current] { color: var(--brand); background: var(--brand-50); }
.bc-is-home .bc-nav a[aria-current] { background: rgba(255,255,255,.12); color: #fff; }
.bc-head-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.bc-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 4px; }
.bc-burger i { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: .2s; }
.bc-is-home .bc-burger { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.bc-is-home .bc-burger i { background: #fff; }
.bc-header.is-open .bc-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bc-header.is-open .bc-burger i:nth-child(2) { opacity: 0; }
.bc-header.is-open .bc-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1100px) { .bc-nav { display: none; } .bc-burger { display: flex; } }
@media (min-width: 1101px) { .bc-nav a { display: inline-block !important; } }
.bc-menu { border-top: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px -20px rgba(11,16,32,.25); max-height: calc(100vh - 68px); overflow: auto; }
.bc-menu[hidden] { display: none; }
.bc-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 22px; padding-bottom: 26px; }
@media (max-width: 760px) { .bc-menu-grid { grid-template-columns: 1fr; gap: 14px; } }
.bc-menu h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 8px; }
.bc-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.bc-menu a:hover { background: var(--brand-50); color: var(--brand); }
.bc-menu .bc-ico { width: 34px; height: 34px; border-radius: 10px; }

/* ---------- section pages */
.bc-sec-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 18px 0 8px; scrollbar-width: none; }
.bc-sec-tabs::-webkit-scrollbar { display: none; }
.bc-sec-tabs a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink2); font-weight: 600; font-size: .92rem; transition: .15s; }
.bc-sec-tabs a:hover { border-color: var(--brand); color: var(--brand); }
.bc-sec-tabs a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bc-cards-lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 14px; }
.bc-cards-lg .bc-calc-card { padding: 22px; }
.bc-card-feature { background: linear-gradient(135deg, #0b1020, #1e1b4b); border-color: transparent; color: #fff; }
.bc-card-feature:hover { color: #fff; }
.bc-card-feature small { color: #a8b3c9; }
.bc-card-feature em { background: rgba(255,255,255,.12); color: #c7d2fe; }
.bc-group-title a { order: 3; font: 600 .85rem var(--f-body); white-space: nowrap; }

/* ---------- ad slots */
.bc-ad { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; margin: 22px 0; min-height: 110px; padding: 18px; border-radius: var(--r); border: 2px dashed #c7d2fe; background: repeating-linear-gradient(135deg, #f8f9ff 0 14px, #f3f5ff 14px 28px); color: var(--ink2); text-align: center; transition: .2s; }
a.bc-ad:hover { border-color: var(--brand); color: var(--ink); }
.bc-ad b { font: 700 1.05rem var(--f-head); }
.bc-ad small { color: var(--muted); }
.bc-ad-tag { position: absolute; top: 10px; left: 12px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6366f1; background: #fff; border: 1px solid #c7d2fe; border-radius: 6px; padding: 1px 6px; }
.bc-ad.has-code { border: 0; background: none; padding: 0; min-height: 0; }
.bc-ad-top { margin: 18px 0 0; min-height: 96px; }
.bc-ad-inline { margin: 14px 0; }

/* ---------- PDF ready notice */
.bc-pdf-ready { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35); color: #d1fae5; font-size: .88rem; text-align: center; }
.bc-pdf-ready a { color: #6ee7b7; font-weight: 700; text-decoration: underline; }

/* ---------- price history */
.bc-hist[hidden] { display: none; }
.bc-chg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
@media (max-width: 560px) { .bc-chg { grid-template-columns: repeat(2, 1fr); } }
.bc-chg > div { padding: 12px 14px; border-radius: 14px; background: #f6f7fc; border: 1px solid var(--line); }
.bc-chg small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; }
.bc-chg b { display: block; font: 800 1.25rem var(--f-head); }
.bc-chg span { color: var(--muted); font-size: .8rem; }
.bc-chart { position: relative; }
.bc-chart svg { display: block; width: 100%; height: 240px; cursor: crosshair; }
.bc-ticks text { font: 500 11px var(--f-body); fill: #94a3b8; }
.bc-tip { position: absolute; transform: translate(-50%, -130%); background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 10px; font-size: .82rem; pointer-events: none; white-space: nowrap; box-shadow: 0 8px 20px rgba(11,16,32,.3); }
.bc-tip small { display: block; color: #a5b4fc; font-size: .72rem; }
.bc-header .bc-menu .bc-wrap.bc-menu-grid { display: grid; height: auto; align-items: start; }
.bc-ad-wrap { padding-top: 18px; }
.bc-ad-wrap .bc-ad { margin: 0; min-height: 90px; }
.bc-ad-wrap + .bc-main .bc-page { padding-top: 16px; }
.bc-ad-calc { margin: 16px 0 0; min-height: 90px; }

/* ---------- location bar (national pages: "In Texas? See Texas prices →") */
.bc-geo-banner { font-size: .95rem; }
.bc-geo-pin { font-size: 1.05rem; }
.bc-geo-banner a.bc-geo-go { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; }
.bc-geo-banner a.bc-geo-go:hover { filter: brightness(1.08); color: #fff; }
.bc-geo-banner a[data-change]:not(.bc-geo-go) { color: var(--ink2); font-weight: 600; text-decoration: underline; }
