/* Battery storage page only. ui-ux-pro-max design system:
   pattern Trust & Authority + Conversion, style Flat Design.
   Brand colours (blue #0560c1) and fonts (Outfit / DM Sans) kept. */

:root {
  --bx-primary: #0560c1;
  --bx-primary-hover: #032a8f;
  --bx-on-primary: #ffffff;
  --bx-fg: #10233f;
  --bx-muted-fg: #475569;
  --bx-bg: #ffffff;
  --bx-tint: #f4f7fe;
  --bx-tint-2: #eaf0fd;
  --bx-border: #d5e0f2;
  --bx-warm: #a15c00;
  --bx-warm-bg: #fff4e5;
  --bx-radius: 12px;
  --bx-radius-sm: 10px;
  --bx-wrap: 1200px;
  --bx-gutter: clamp(16px, 4vw, 32px);
  --bx-section: clamp(64px, 8vw, 104px);
  --bx-ease: cubic-bezier(0.2, 0, 0, 1);
}

/* Flat style: nothing at rest carries a shadow on this page. */
.btn-primary, .btn-primary:hover { box-shadow: none; }

#main { color: var(--bx-fg); }
#main h1, #main h2, #main h3 { color: var(--bx-fg); }
#main p, #main li { color: var(--bx-fg); }

.bx-wrap { max-width: var(--bx-wrap); margin-inline: auto; padding-inline: var(--bx-gutter); }
.bx-narrow { max-width: 860px; }
.bx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bx-i { width: 20px; height: 20px; flex: none; fill: currentColor; }

.bx-section { padding-block: var(--bx-section); }
.bx-section--tint { background: var(--bx-tint); }
.bx-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.bx-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin: 0 0 14px; }
.bx-head p { color: var(--bx-muted-fg) !important; font-size: 1.0625rem; line-height: 1.6; margin: 0; }
.bx-head--left { text-align: left; margin: 0 0 36px; }

/* ---------- Buttons and links ---------- */
.bx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--bx-radius-sm);
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color 180ms var(--bx-ease), color 180ms var(--bx-ease), border-color 180ms var(--bx-ease), transform 120ms var(--bx-ease);
}
.bx-btn:active { transform: translateY(1px); }
.bx-btn--primary { background: var(--bx-primary); color: var(--bx-on-primary); }
.bx-btn--primary:hover { background: var(--bx-primary-hover); }
.bx-btn--outline { background: transparent; color: var(--bx-primary); border-color: var(--bx-primary); }
.bx-btn--outline:hover { background: var(--bx-tint-2); }
.bx-btn--light { background: #fff; color: var(--bx-primary); }
.bx-btn--light:hover { background: var(--bx-tint-2); }
.bx-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.bx-btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.bx-cta .bx-btn:focus-visible { outline-color: #fff; }
.bx-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-heading); font-weight: 600; color: var(--bx-primary); text-decoration: none;
  transition: color 160ms var(--bx-ease);
}
.bx-link .bx-i { transition: transform 160ms var(--bx-ease); }
.bx-link:hover { color: var(--bx-primary-hover); text-decoration: underline; text-underline-offset: 0.2em; }
.bx-link:hover .bx-i { transform: translateX(3px); }

/* ---------- Hero ---------- */
.bx-hero { background: var(--bx-tint); padding-block: clamp(40px, 6vw, 80px); }
.bx-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.bx-crumbs { display: flex; gap: 8px; font-size: 0.875rem; color: var(--bx-muted-fg); margin: -12px 0 8px; }
.bx-crumbs { align-items: center; }
.bx-crumbs a { color: var(--bx-muted-fg); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.bx-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 16ch; }
.bx-lede { font-size: 1.15rem; line-height: 1.6; max-width: 56ch; margin: 0 0 28px; }
.bx-helper { font-size: 0.9375rem; color: var(--bx-muted-fg) !important; margin: 12px 0 0; }
.bx-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.bx-checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.bx-checks .bx-i { color: var(--bx-primary); width: 22px; height: 22px; }
.bx-hero-media { position: relative; margin: 0; border-radius: var(--bx-radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bx-tint-2); }
.bx-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 55%; }
.bx-hero-chip {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px;
  background: #fff; color: var(--bx-fg); border-radius: var(--bx-radius-sm); text-decoration: none;
  font-size: 0.9375rem; line-height: 1.4; border: 1px solid var(--bx-border);
  transition: background-color 160ms var(--bx-ease);
}
.bx-hero-chip:hover { background: var(--bx-tint); }
.bx-hero-chip .bx-i { color: var(--bx-primary); width: 24px; height: 24px; }
.bx-hero-chip strong { color: var(--bx-primary); }

/* ---------- Proof ---------- */
.bx-proof { padding-block: 40px; border-bottom: 1px solid var(--bx-border); }
.bx-proof-h { font-size: 1rem; font-weight: 600; letter-spacing: 0; text-align: center; color: var(--bx-muted-fg) !important; margin: 0 0 24px; }
.bx-badges { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bx-badges li, .bx-badges li > a {
  display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 14px 16px;
  border: 1px solid var(--bx-border); border-radius: var(--bx-radius);
  font-size: 0.875rem; line-height: 1.35; color: var(--bx-muted-fg); text-decoration: none;
}
.bx-badges li:has(> a) { padding: 0; border: 0; align-items: stretch; }
.bx-badges li > a { width: 100%; transition: background-color 160ms var(--bx-ease), border-color 160ms var(--bx-ease); }
.bx-badges li > a:hover { background: var(--bx-tint); border-color: var(--bx-primary); }
.bx-badges strong { display: block; font-family: var(--font-heading); font-size: 0.9375rem; color: var(--bx-fg); }
.bx-badge-mark { flex: none; width: 64px; height: 48px; display: flex; align-items: center; justify-content: center; }
.bx-badge-mark img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.bx-badge-mark--tesla { width: 150px; height: 56px; justify-content: flex-start; overflow: hidden; }
.bx-badge-mark--tesla img { max-width: none; max-height: none; height: 84px; margin: 0 0 0 -28px; }

/* ---------- Icon tiles ---------- */
.bx-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--bx-radius-sm); background: var(--bx-tint-2); color: var(--bx-primary);
}
.bx-icon svg { width: 26px; height: 26px; fill: currentColor; }
.bx-icon--warm { background: var(--bx-warm-bg); color: var(--bx-warm); }

/* ---------- How it saves ---------- */
.bx-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.bx-flow li { padding: 28px; border: 1px solid var(--bx-border); border-radius: var(--bx-radius); position: relative; }
.bx-flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -19px; top: 50px; width: 14px; height: 14px;
  border-top: 2px solid var(--bx-primary); border-right: 2px solid var(--bx-primary); transform: rotate(45deg);
}
.bx-flow h3 { font-size: 1.25rem; margin: 18px 0 8px; }
.bx-flow p { margin: 0; color: var(--bx-muted-fg) !important; line-height: 1.6; }
.bx-callout {
  display: flex; gap: 20px; align-items: flex-start; margin-top: 24px; padding: 28px;
  background: var(--bx-warm-bg); border-radius: var(--bx-radius);
}
.bx-callout h3 { font-size: 1.2rem; margin: 0 0 8px; }
.bx-callout p { margin: 0; line-height: 1.6; max-width: 43rem; }

/* ---------- What's included ---------- */
.bx-split { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.bx-split-media { border-radius: var(--bx-radius); overflow: hidden; position: sticky; top: calc(var(--header-h, 76px) + 24px); aspect-ratio: 3 / 4; background: var(--bx-tint-2); }
.bx-split-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.bx-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.bx-features li { display: flex; gap: 16px; }
.bx-features h3 { font-size: 1.0625rem; letter-spacing: 0; margin: 2px 0 6px; }
.bx-features p { margin: 0; font-size: 0.975rem; line-height: 1.55; color: var(--bx-muted-fg) !important; }

/* ---------- Calculator ---------- */
.bx-calc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: stretch; }
.bx-calc-controls { display: grid; gap: 28px; align-content: start; }
.bx-sizes { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.bx-sizes legend { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; margin-bottom: 14px; padding: 0; }
.bx-size {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; text-align: left; width: 100%;
  min-height: 64px; padding: 16px 18px; border: 2px solid var(--bx-border); border-radius: var(--bx-radius);
  background: #fff; color: var(--bx-fg); font: inherit; cursor: pointer;
  transition: border-color 160ms var(--bx-ease), background-color 160ms var(--bx-ease);
}
.bx-size strong { font-family: var(--font-heading); font-size: 1.05rem; }
.bx-size .bx-size-kwh { font-family: var(--font-heading); font-weight: 600; color: var(--bx-primary); text-align: right; }
.bx-size span:last-child { grid-column: 1 / -1; color: var(--bx-muted-fg); font-size: 0.9375rem; }
.bx-size:hover { border-color: var(--bx-primary); }
.bx-size[aria-pressed="true"] { border-color: var(--bx-primary); background: var(--bx-tint-2); }
.bx-range label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; margin-bottom: 10px; }
.bx-range-row { display: flex; align-items: center; gap: 16px; }
.bx-range-row output { flex: none; min-width: 72px; text-align: right; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--bx-primary); font-variant-numeric: tabular-nums; }
.bx-range input[type="range"] { flex: 1; height: 44px; margin: 0; accent-color: var(--bx-primary); cursor: pointer; }
.bx-hint { font-size: 0.875rem; color: var(--bx-muted-fg) !important; margin: 8px 0 0; line-height: 1.5; }
.bx-calc-result { background: var(--bx-primary); color: #fff; border-radius: var(--bx-radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.bx-calc-result p, .bx-calc-result .bx-hint { color: #fff !important; }
.bx-calc-result .bx-hint { opacity: 0.9; margin-top: auto; padding-top: 20px; }
.bx-result-label { margin: 0; font-size: 0.9375rem; }
.bx-result { margin: 6px 0 20px; font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.75rem, 2rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bx-blocks { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin: 0 0 14px; }
.bx-blocks span, .bx-legend i { display: block; height: 12px; border-radius: 3px; background: #044f9f; transition: background-color 180ms var(--bx-ease); }
.bx-blocks .b1, .bx-legend .b1 { background: #ffffff; }
.bx-blocks .b2, .bx-legend .b2 { background: #9bbfe6; }
.bx-blocks .b3, .bx-legend .b3 { background: #2f7fd3; }
.bx-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8125rem; }
.bx-legend li { display: flex; align-items: center; gap: 6px; color: #fff !important; }
.bx-legend i { width: 18px; height: 10px; }
.bx-calc-result .bx-hint--blocks { margin: 6px 0 20px; padding-top: 0; }
.bx-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.bx-table th, .bx-table td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid rgba(255,255,255,0.28); color: #fff; }
.bx-table thead th { font-weight: 600; font-size: 0.8125rem; opacity: 0.9; }
.bx-table tbody th { font-weight: 500; }
.bx-table td:last-child, .bx-table th:last-child { text-align: right; padding-right: 0; }
.bx-note { font-size: 0.875rem; line-height: 1.55; color: var(--bx-muted-fg) !important; max-width: 40rem; margin: 24px 0 0; }

/* ---------- Brands ---------- */
.bx-brands { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: stretch; }
.bx-tesla { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--bx-border); border-radius: var(--bx-radius); overflow: hidden; }
.bx-tesla-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bx-tesla-body { padding: 24px 28px 20px; }
.bx-tesla-badge { height: 104px; width: auto; margin: -26px 0 -16px -34px; }
.bx-tesla-body h3 { font-size: 1.35rem; margin: 0 0 8px; }
.bx-tesla-body p { margin: 0 0 6px; line-height: 1.6; }
.bx-brand-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bx-brand-list li { background: #fff; border: 1px solid var(--bx-border); border-radius: var(--bx-radius); padding: 20px 24px; }
.bx-brand-list h3 { font-size: 1.15rem; margin: 0 0 6px; }
.bx-brand-list p { margin: 0; color: var(--bx-muted-fg) !important; line-height: 1.55; font-size: 0.975rem; }

/* ---------- Gallery ---------- */
.bx-gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bx-gallery figure { margin: 0; }
.bx-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--bx-radius); background: var(--bx-tint-2); }
.bx-gallery img.bx-pos-low { object-position: 50% 75%; }
.bx-gallery figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--bx-muted-fg); }

/* ---------- Founder ---------- */
.bx-founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.bx-founder picture img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--bx-radius); }
.bx-founder h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); margin: 0 0 20px; }
.bx-quote { margin: 0; padding-left: 20px; border-left: 4px solid var(--bx-primary); }
.bx-quote p { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); line-height: 1.5; margin: 0; }
.bx-attr { margin: 14px 0 12px; color: var(--bx-muted-fg) !important; font-size: 0.9375rem; }

/* ---------- FAQ ---------- */
.bx-faq { display: grid; gap: 12px; }
.bx-faq details { border: 1px solid var(--bx-border); border-radius: var(--bx-radius); background: #fff; transition: border-color 160ms var(--bx-ease); }
.bx-faq details[open] { border-color: var(--bx-primary); }
.bx-faq summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; border-radius: var(--bx-radius);
}
.bx-faq summary::-webkit-details-marker { display: none; }
.bx-faq summary:hover { color: var(--bx-primary); }
.bx-chev { color: var(--bx-primary); transition: transform 200ms var(--bx-ease); }
.bx-faq details[open] .bx-chev { transform: rotate(180deg); }
.bx-faq details p { margin: 0; padding: 0 20px 20px; line-height: 1.65; max-width: 70ch; }

/* ---------- Final CTA ---------- */
.bx-cta { background: var(--bx-primary); padding-block: var(--bx-section); }
.bx-cta h2, .bx-cta h3, .bx-cta p { color: #fff !important; }
.bx-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.bx-cta h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin: 0 0 28px; max-width: 18ch; }
.bx-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: bx-step; }
.bx-steps li {
  counter-increment: bx-step; position: relative; padding: 20px 20px 20px 72px;
  background: rgba(255,255,255,0.1); border-radius: var(--bx-radius);
}
.bx-steps li::before {
  content: counter(bx-step); position: absolute; left: 20px; top: 20px;
  width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--bx-primary);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700;
}
.bx-steps h3 { font-size: 1.1rem; margin: 0 0 4px; }
.bx-steps p { margin: 0; line-height: 1.55; opacity: 0.95; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .bx-badges { grid-template-columns: repeat(2, 1fr); }
  .bx-features { grid-template-columns: 1fr; }
  .bx-calc, .bx-brands { grid-template-columns: 1fr; }
}
@media (max-width: 959px) {
  .bx-hero-grid, .bx-split, .bx-founder, .bx-cta-grid { grid-template-columns: 1fr; }
  .bx-hero-media { aspect-ratio: 4 / 3; }
  .bx-split-media { position: static; aspect-ratio: 16 / 10; }
  .bx-founder picture img { aspect-ratio: 4 / 3; }
  .bx-flow { grid-template-columns: 1fr; }
  .bx-flow li:not(:last-child)::after { right: auto; left: 50px; top: auto; bottom: -19px; transform: rotate(135deg); }
  .bx-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .bx-head { text-align: left; margin-bottom: 32px; }
  .bx-badges { grid-template-columns: 1fr; }
  .bx-actions .bx-btn { width: 100%; }
  .bx-gallery { grid-template-columns: 1fr; gap: 24px; }
  .bx-callout { flex-direction: column; padding: 22px; }
  .bx-flow li { padding: 22px; }
  .bx-table { font-size: 0.875rem; }
  .bx-tesla-body { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .bx-btn, .bx-link, .bx-link .bx-i, .bx-size, .bx-blocks span, .bx-chev, .bx-faq details, .bx-hero-chip, .bx-badges li > a { transition: none; }
}

/* ── Battery day (6 Nov 2026) ─────────────────────────────────────────────
   Interactive "day on your home". Light 2D SVG driven by site/js/battery-day.js.
   Motion: flow dashes are the only looping animation (explanatory, paused
   off-screen and under reduced motion); everything else is direct
   manipulation, so it never lags the slider. */
.bxd { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .bxd { grid-template-columns: 1fr; } }
.bxd-scene { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--bx-border); background: #dbe9fb; aspect-ratio: 16 / 9; max-width: 100%; box-shadow: 0 1px 2px rgba(16,35,63,0.04), 0 18px 40px -18px rgba(16,35,63,0.25); }
.bxd-scene svg { display: block; width: 100%; height: 100%; }
.bxd-tracks path { fill: none; stroke: #c3d1e6; stroke-width: 2; stroke-dasharray: 3 6; opacity: 0.75; }
.bxd-flow { fill: none; stroke-linecap: round; stroke-dasharray: 1 11; opacity: 0; animation: bxd-flow 0.9s linear infinite; transition: opacity 200ms ease, stroke-width 200ms ease; }
.bxd-flow--solar { stroke: #f2a516; }
.bxd-flow--batt { stroke: #1f9d55; }
.bxd-flow--grid { stroke: #5f6f88; }
@keyframes bxd-flow { to { stroke-dashoffset: -12; } }
.bxd-offscreen .bxd-flow { animation-play-state: paused; }
.bxd-chip { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.94); color: var(--bx-fg); font: 600 0.75rem/1 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 2px 10px rgba(16,35,63,0.14); pointer-events: none; }
@media (max-width: 560px) { .bxd-chip { display: none; } }
/* Phones: a taller frame, cropped in on the house (viewBox set in battery-day.js). */
@media (max-width: 560px) { .bxd-scene { aspect-ratio: 4 / 3; } }
.bxd-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.bxd-dot--solar { background: #f2a516; }
.bxd-dot--home { background: var(--bx-primary); }
.bxd-dot--batt { background: #1f9d55; }
.bxd-dot--grid { background: #5f6f88; }

.bxd-panel { background: var(--bx-bg); border: 1px solid var(--bx-border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bxd-clock { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bxd-time { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1; color: var(--bx-fg); font-variant-numeric: tabular-nums; }
.bxd-phase { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bx-primary); background: var(--bx-tint-2); border-radius: 999px; padding: 4px 10px; }
.bxd-stats { margin: 0; display: grid; gap: 2px; }
.bxd-stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--bx-tint-2); }
.bxd-stats > div:last-child { border-bottom: 0; }
.bxd-stats dt { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--bx-muted-fg); }
.bxd-stats dd { margin: 0; text-align: right; font-weight: 700; color: var(--bx-fg); font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.bxd-sub { font-size: 0.8rem; font-weight: 500; color: var(--bx-muted-fg); }
.bxd-soc { height: 8px; border-radius: 999px; background: var(--bx-tint-2); overflow: hidden; }
.bxd-soc span { display: block; height: 100%; border-radius: 999px; background: #1f9d55; }
.bxd-controls { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.bxd-play { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bx-primary); color: var(--bx-on-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 160ms var(--bx-ease), background-color 160ms ease; }
.bxd-play svg { width: 20px; height: 20px; }
.bxd-play .bxd-ico-pause, .bxd-play[aria-pressed="true"] .bxd-ico-play { display: none; }
.bxd-play[aria-pressed="true"] .bxd-ico-pause { display: block; }
.bxd-play:active { transform: scale(0.95); }
.bxd-play:focus-visible, .bxd-card:focus-visible { outline: 3px solid var(--bx-primary); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .bxd-play:hover { background: var(--bx-primary-hover); } }
.bxd-range { flex: 1; min-width: 0; }
/* 44px tall (was 28px): the slider is the main control of this block and was hard to grab on a phone. */
.bxd-range input { width: 100%; margin: 0; accent-color: var(--bx-primary); height: 44px; cursor: pointer; }
.bxd-ticks { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--bx-muted-fg); margin-top: 2px; }

.bxd-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
@media (max-width: 860px) { .bxd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .bxd-cards { grid-template-columns: 1fr; } }
.bxd-card { text-align: left; font: inherit; color: var(--bx-fg); background: var(--bx-bg); border: 1.5px solid var(--bx-border); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; transition: transform 160ms var(--bx-ease), border-color 160ms ease, background-color 160ms ease; }
.bxd-card:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .bxd-card:hover { border-color: var(--bx-primary); } }
.bxd-card[aria-pressed="true"] { border-color: var(--bx-primary); background: var(--bx-tint); }
.bxd-card-time { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bx-primary); }
.bxd-card-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }
.bxd-card-text { font-size: 0.875rem; line-height: 1.5; color: var(--bx-muted-fg); }
#main .bxd-caption { margin: 14px 0 0; font-size: 0.8125rem; line-height: 1.55; color: var(--bx-muted-fg); max-width: 34rem; }
@media (prefers-reduced-motion: reduce) {
  .bxd-flow { animation: none; stroke-dasharray: none; }
  .bxd-play, .bxd-card { transition: none; }
}

/* 14 Nov 2026 (sitewide UX/UI pass). On phones the sticky bottom bar already
   carries the phone number, so the hero keeps one button, the same as the
   home page and every other page banner. Breadcrumb link gets a tap-sized
   height. */
@media (max-width: 760px) { .bx-hero-copy .bx-actions a[href^="tel:"] { display: none; } }
.bx-crumbs a { display: inline-block; padding: 13px 6px; margin: -13px -6px; }

