/* Solar News 24 — Memodo-shop visual system
   Colour: Memodo shop blue #0b539b · yellow CTA #ffe50b · cyan accent #0fd5ff
   Font: Quicksand (display/UI) + Open Sans Light (body)
   Radius: cards ~10px, buttons ~5px · flat 1px #eaeaea borders, no heavy shadows
   Layout rhythm: Victron-like 810/1260 breakpoints, sticky header, full-screen mobile nav
   Brand name remains Solar News 24 — not affiliated with Memodo.
*/

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Quicksand:wght@500;600;700&display=swap");

:root {
  /* Memodo shop blue + yellow punch + electric cyan */
  --blue: #0b539b;
  --blue-deep: #094784;
  --blue-mid: #0d63b8;
  --blue-bright: #1a7fd4;
  --blue-cyan: #0fd5ff;
  --blue-teal: #094784;
  --blue-soft: #e8f4fc;
  --blue-link: #0b539b;

  --yellow: #ffe50b;
  --yellow-light: #ffea3c;
  --yellow-soft: #ffef6d;
  --mustard: #f5c400;

  --signal: #ffe50b;
  --signal-hot: #ffea3c;
  --signal-deep: #f5c400;
  --signal-soft: #fff8c2;
  --signal-ink: #2b3136;

  --ink: #2b3136;
  --ink-soft: #333333;
  --muted: #666666;
  --muted-2: #999999;
  --paper: #ffffff;
  --surface: #f9f9f9;
  --surface-2: #f2f2f2;
  --line: #eaeaea;
  --line-strong: #e6e6e6;
  --charcoal: #2b3136;
  --charcoal-deep: #111111;

  --success: #2f6b4f;
  --danger: #b42318;

  --shadow-sm: none;
  --shadow: none;
  --radius: 10px;
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-btn: 5px;
  --max: 1260px;
  --prose-max: 810px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Quicksand", "Open Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 0.25s;
  --header-h: 5rem;
  --bp-md: 810px;
  --bp-lg: 1260px;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-display: 2.35rem;
  --lh-tight: 1.15;
  --lh-snug: 1.25;
  --lh-body: 1.65;
  --space-section: 3.25rem;
  --space-section-tight: 2.25rem;
  --card-pad: 1.35rem 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: var(--lh-body);
  font-size: var(--text-base);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--blue-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--duration) var(--ease), text-decoration-color var(--duration) var(--ease);
}
a:hover { color: var(--blue-deep); }
:focus-visible {
  outline: 2px solid var(--blue-cyan);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--charcoal-deep);
  color: #fff;
  padding: .55rem .9rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--text-sm);
  font-family: var(--font-display);
}
.skip-link:focus { left: .75rem; top: .75rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; min-width: 0; }
.section { padding: var(--space-section) 0; }
.section-tight { padding: var(--space-section-tight) 0; }
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-dark {
  background: var(--blue);
  color: #e8ecef;
}
.section-dark a { color: var(--blue-cyan); }
.section-dark .muted { color: rgba(255,255,255,.72); }

h1, h2, h3, h4 {
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: inherit;
  font-family: var(--font-display);
}
h1 {
  font-size: var(--text-display);
  margin: 0 0 1.1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: var(--lh-tight);
}
h2 {
  font-size: var(--text-2xl);
  margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
}
h3 {
  font-size: var(--text-lg);
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: var(--lh-snug);
}
p { margin: 0 0 1rem; }
.lead {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.7;
  font-weight: 300;
}
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--yellow);
  color: var(--signal-ink);
  padding: .28rem .65rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}
.section-dark .eyebrow {
  background: var(--yellow);
  color: var(--signal-ink);
}

/* Header — sticky frosted bar, Memodo blue wordmark */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.15) blur(8px);
  backdrop-filter: saturate(1.15) blur(8px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--line);
}
body.nav-open .site-header {
  z-index: 70;
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  position: relative;
  z-index: 2;
}
.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.0625rem;
  font-family: var(--font-display);
  min-width: 0;
  transition: color var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.logo:hover { color: var(--blue-deep); opacity: 0.92; }
.logo-mark {
  width: 42px;
  height: 34px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: transparent;
  flex-shrink: 0;
  overflow: visible;
}
.logo-mark svg {
  width: 40px;
  height: 32px;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--blue);
}
.logo-text span {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: none;
  margin-top: .12rem;
  font-family: var(--font);
}
.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--radius-btn);
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    background var(--duration) var(--ease);
}
.nav-toggle:hover { border-color: var(--blue); color: var(--blue); }
.nav-toggle-box {
  position: relative;
  width: 18px;
  height: 14px;
  display: block;
}
.nav-toggle-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform var(--duration) var(--ease),
    opacity var(--duration) var(--ease),
    top var(--duration) var(--ease);
}
.nav-toggle-bar:nth-child(1) { top: 0; }
.nav-toggle-bar:nth-child(2) { top: 6px; }
.nav-toggle-bar:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}
.nav {
  display: flex;
  align-items: center;
  gap: .15rem 1.25rem;
  flex-wrap: nowrap;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: .45rem 0;
  letter-spacing: 0;
  font-family: var(--font-display);
  white-space: nowrap;
  position: relative;
  transition: color var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration) var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn)[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { margin-left: .35rem; flex-shrink: 0; }
.nav .btn::after { display: none !important; }

/* Buttons — Memodo yellow primary + cyan secondary, 5px radius */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  padding: .8rem 1.4rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0;
  cursor: pointer;
  text-decoration: none !important;
  font-family: var(--font-display);
  min-height: 2.75rem;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    opacity var(--duration) var(--ease);
}
.btn:hover { transform: none; }
.btn:active { transform: none; opacity: 0.92; }
.btn-primary {
  background: var(--yellow);
  color: var(--signal-ink) !important;
  border-color: var(--yellow);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--yellow-light);
  border-color: var(--yellow-light);
  color: var(--signal-ink) !important;
  box-shadow: none;
}
.btn-secondary {
  background: var(--blue-cyan);
  color: var(--signal-ink) !important;
  border-color: var(--blue-cyan);
}
.btn-secondary:hover {
  background: #3de0ff;
  border-color: #3de0ff;
  color: var(--signal-ink) !important;
}
.btn-amber {
  background: var(--yellow);
  color: var(--signal-ink) !important;
  border-color: var(--yellow);
  box-shadow: none;
}
.btn-amber:hover {
  background: var(--yellow-light);
  border-color: var(--yellow-light);
  color: var(--signal-ink) !important;
}
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.65);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm {
  padding: .5rem 1rem;
  font-size: .8125rem;
  min-height: 2.25rem;
}
.btn-block { width: 100%; }
.btn-blue {
  background: var(--blue);
  color: #fff !important;
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

/* Hero — energetic Memodo blue + yellow energy, white wave cut */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #0b539b 0%, #0d63b8 42%, #094784 78%, #0a3d6e 100%);
  color: #f0f3f6;
  border-bottom: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  background:
    radial-gradient(120% 56px at 50% 0, transparent 59%, #fff 60%);
  pointer-events: none;
  z-index: 2;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
  padding: 3.5rem 0 4.25rem;
}
.hero .eyebrow {
  background: var(--yellow);
  color: var(--signal-ink);
  letter-spacing: 0.08em;
}
.hero .lead {
  color: rgba(255,255,255,.9);
  max-width: 40rem;
  font-size: var(--text-lg);
  line-height: 1.7;
}
.hero h1 {
  color: #fff;
  max-width: 16ch;
  font-size: var(--text-display);
  line-height: var(--lh-tight);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: .5rem;
}
.hero-actions .btn {
  min-height: 3rem;
  padding-inline: 1.45rem;
}
.hero-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: none;
  border: 1px solid var(--line);
  color: var(--ink);
}
.hero-visual {
  min-height: 340px;
  border-radius: var(--radius);
  background: rgba(15, 213, 255, 0.12);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: none;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 1.35rem 1.35rem 5.75rem 1.35rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px;
  background:
    linear-gradient(#0fd5ff, #0fd5ff) 12% 70% / 8% 18% no-repeat,
    linear-gradient(#ffe50b, #ffe50b) 28% 55% / 8% 33% no-repeat,
    linear-gradient(#ffffff, #ffffff) 44% 40% / 8% 48% no-repeat,
    linear-gradient(#0b539b, #0b539b) 60% 48% / 8% 40% no-repeat,
    linear-gradient(#094784, #094784) 76% 30% / 8% 58% no-repeat,
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.05) 23px 24px),
    rgba(9, 71, 132, 0.45);
  pointer-events: none;
}
.hero-visual::after {
  content: "Daytime yield · illustrative";
  position: absolute;
  left: 1.35rem;
  top: 1.45rem;
  z-index: 1;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-family: var(--font-display);
  pointer-events: none;
}
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.35rem 0 1.6rem; }
.pill {
  background: var(--yellow);
  color: var(--signal-ink);
  border: none;
  border-radius: 4px;
  padding: .35rem .75rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}
.stat {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-sm);
  padding: .85rem .65rem;
  text-align: left;
  backdrop-filter: none;
}
.stat strong {
  display: block;
  font-size: .9375rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.stat span { font-size: .6875rem; color: rgba(255,255,255,.78); line-height: 1.4; }

/* Cards / grids — flat Memodo shop cards */
.grid-3, .grid-2, .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  box-shadow: none;
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease);
}
.card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--blue-cyan);
}
.card.card-highlight,
.card-highlight {
  background: var(--blue-cyan);
  border-color: var(--blue-cyan);
  color: var(--signal-ink);
}
.card-highlight a { color: var(--blue); }
.card-highlight .muted { color: #333; }
.section-alt .card { background: var(--paper); }
.section-alt .card.card-highlight { background: var(--blue-cyan); }
.card h3 { margin-top: 0; }
.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  letter-spacing: 0;
  border: 1px solid var(--line);
}
.card-highlight .card-icon {
  background: rgba(255,255,255,.55);
  border-color: transparent;
  color: var(--blue);
}
.card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.card-link:hover { color: inherit; }
.card-link:hover h3 { color: var(--blue); }
.card-link h3 {
  transition: color var(--duration) var(--ease);
}

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: .6rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .5rem;
  height: .5rem;
  border-radius: 1px;
  background: var(--yellow);
  transform: rotate(45deg);
  box-shadow: none;
}

/* Quote steps */
.quote-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: none;
  max-width: 680px;
  margin: 0 auto;
}
.progress {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.65rem;
}
.progress span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  transition: background var(--duration) var(--ease);
}
.progress span.active, .progress span.done { background: var(--yellow); }
.step { display: none; animation: fadeIn var(--duration) var(--ease); }
.step.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: .4rem;
  font-size: var(--text-sm);
  font-family: var(--font-display);
}
.form-group .hint { font-size: .775rem; color: var(--muted); font-weight: 400; margin-top: .3rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  padding: .8rem .95rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
  min-height: 2.75rem;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 83, 155, .18);
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
}
.choice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  background: #fff;
  text-align: left;
  font: inherit;
  min-height: 3.25rem;
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease);
}
.choice:hover {
  border-color: var(--blue-cyan);
  transform: none;
}
.choice.selected {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 1px var(--blue);
}
.choice strong { display: block; margin-bottom: .15rem; font-family: var(--font-display); }
.choice span { font-size: .8125rem; color: var(--muted); }
.step-actions {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.success-panel { text-align: center; padding: 1rem 0; }
.success-panel .big-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--signal-ink);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
}

/* FAQ */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: .6rem;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.open {
  border-color: var(--blue);
  box-shadow: none;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.15rem 1.25rem;
  font: inherit;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  min-height: 3.25rem;
}
.faq-item button span.chevron {
  color: var(--muted-2);
  transition: transform var(--duration) var(--ease), color var(--duration) var(--ease);
  flex-shrink: 0;
}
.faq-item.open button span.chevron { transform: rotate(180deg); color: var(--blue); }
.faq-panel {
  display: none;
  padding: 0 1.25rem 1.2rem;
  color: var(--ink-soft);
}
.faq-item.open .faq-panel { display: block; }

/* Tables */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  min-width: 0;
  max-width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: var(--text-sm);
}
th, td {
  padding: .95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  white-space: nowrap;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(15, 213, 255, 0.08); }
.note {
  background: var(--signal-soft);
  border-left: 4px solid var(--yellow);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9375rem;
  margin: 1.25rem 0;
}
.note-info {
  background: var(--blue-soft);
  border-left-color: var(--blue);
}

/* Article / page hero */
.prose { max-width: var(--prose-max); }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.65rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.breadcrumb {
  font-size: .8125rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-family: var(--font);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.page-hero {
  padding: 3.5rem 0 2.75rem;
  background:
    linear-gradient(180deg, #e8f4fc 0%, var(--surface) 72%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

/* CTA bands */
.cta-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.85rem;
  align-items: center;
  background:
    linear-gradient(135deg, #0b539b 0%, #094784 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: none;
  box-shadow: none;
}
.cta-band .lead { color: rgba(255,255,255,.85); }
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem 1.75rem;
  box-shadow: none;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.75rem;
  align-items: baseline;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--muted);
}
.trust-bar strong {
  display: block;
  color: var(--blue);
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: .15rem;
}

/* Footer */
.site-footer {
  background: var(--charcoal-deep);
  color: #9aa3ad;
  padding: 3.75rem 0 1.6rem;
  margin-top: 0;
  border-top: 4px solid var(--yellow);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer a {
  color: #d8dee4;
  text-decoration: none;
  transition: color var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.site-footer a:hover { color: var(--yellow); opacity: 1; }
.site-footer h4 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-display);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; font-size: var(--text-sm); }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1.25rem;
  font-size: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: space-between;
  color: #798490;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--yellow);
  color: var(--signal-ink);
  border: none;
  padding: .25rem .55rem;
  border-radius: 4px;
  font-family: var(--font-display);
}

/* Victron-modern responsive: ≤809 mobile / ≥810 md / ≥1260 lg */
@media (max-width: 809px) {
  :root {
    --header-h: 4rem;
    --space-section: 2.75rem;
    --space-section-tight: 2rem;
    --card-pad: 1.25rem 1.15rem;
    --text-display: 1.85rem;
    --text-2xl: 1.4rem;
    --text-xl: 1.25rem;
    --text-lg: 1.0625rem;
  }
  .container { width: min(100% - 1.5rem, var(--max)); }

  .logo-text span { display: none; }
  .logo { font-size: 1rem; gap: .55rem; }
  .logo-mark { width: 36px; height: 30px; }
  .logo-mark svg { width: 34px; height: 28px; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 72px;
  }

  .nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background: #fff;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2.75rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
  .nav.open {
    display: flex;
    animation: sn24NavIn var(--duration) var(--ease);
  }
  .nav a:not(.btn) {
    font-size: 1.35rem;
    font-weight: 600;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
    min-height: 52px;
    display: flex;
    align-items: center;
    white-space: normal;
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn {
    margin-left: 0;
    margin-top: 1.65rem;
    min-height: 52px;
    width: 100%;
    font-size: 1rem;
    padding: .95rem 1.25rem;
  }
  body.nav-open { overflow: hidden; touch-action: none; }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .cta-band,
  .cta-strip,
  .trust-bar {
    grid-template-columns: 1fr !important;
  }
  .hero-grid { padding: 2.75rem 0 3.5rem; gap: 1.75rem; display: grid; }
  .hero h1 { max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-visual { min-height: 220px; }
  .hero::after { height: 40px; }
  .stat-row { grid-template-columns: 1fr; gap: .7rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .prose { max-width: 100%; }
  .trust-bar {
    display: grid;
    gap: 1rem;
    align-items: stretch;
    padding: 1.35rem 0;
  }
  .cta-strip { flex-direction: column; align-items: stretch; padding: 1.4rem 1.25rem; }
  .page-hero { padding: 2.25rem 0 1.65rem; }
  .page-hero h1 { font-size: 1.75rem; }
  .cta-band { padding: 1.75rem 1.35rem; }
  .table-wrap {
    -webkit-overflow-scrolling: touch;
    margin-inline: 0;
    max-width: 100%;
  }
  table { font-size: .8125rem; }
  th, td { padding: .65rem .7rem; white-space: normal; overflow-wrap: break-word; word-break: normal; hyphens: manual; }
  td:last-child, th:last-child { white-space: normal; }
  .peer-table th:first-child,
  .peer-table td:first-child {
    position: sticky;
    left: 0;
    background: var(--paper);
    z-index: 1;
    box-shadow: 1px 0 0 var(--line);
    white-space: normal;
    padding: .55rem .5rem;
  }
  .peer-table th:first-child { background: var(--surface-2); }
  .site-footer { padding: 2.75rem 0 1.4rem; }
  .footer-grid { gap: 1.75rem; }
  .guide-hero h1 { max-width: 100%; font-size: 1.75rem; }
  .glance-grid { grid-template-columns: 1fr 1fr; }
  .guide-layout {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0 3rem;
    width: min(100% - 1.5rem, var(--max));
  }
  .guide-toc {
    order: -1;
    position: static;
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  .guide-toc[data-sticky] { position: static; }
  .guide-toc-panel {
    margin: 0;
  }
  .guide-toc-panel[open] {
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .guide-toc-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .95rem 1rem;
    font-size: .6875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--muted);
    user-select: none;
  }
  .guide-toc-summary::-webkit-details-marker { display: none; }
  .guide-toc-summary::marker { content: ""; }
  .guide-toc-summary::after {
    content: "";
    flex-shrink: 0;
    width: .45rem;
    height: .45rem;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform var(--duration) var(--ease);
  }
  .guide-toc-panel[open] > .guide-toc-summary::after {
    transform: rotate(-135deg);
  }
  .guide-toc-panel > ol,
  .guide-toc-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .guide-toc-panel > ol { padding-bottom: .35rem; }
  .guide-toc-cta { padding-bottom: 1rem; }
  .guide-summary {
    padding: 1rem;
    min-width: 0;
  }
  .guide-summary ol { display: none; }
  .guide-summary li { overflow-wrap: break-word; }
  .guide-body { min-width: 0; overflow-wrap: break-word; max-width: 100%; }
  .brand-card { padding: 1.15rem 1.05rem 1.25rem; }
  .guide-cta { padding: 1.15rem 1.1rem; }
  .note { padding: .85rem 1rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
  }
}

@keyframes sn24NavIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 810px) {
  :root {
    --header-h: 5rem;
    --space-section: 4.75rem;
    --space-section-tight: 3rem;
    --card-pad: 1.55rem 1.45rem;
    --text-display: 2.55rem;
    --text-2xl: 1.75rem;
    --text-xl: 1.375rem;
    --text-lg: 1.125rem;
  }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    padding: 5rem 0 5.25rem;
  }
  .cta-band { grid-template-columns: 1.45fr .7fr; padding: 2.75rem 2.35rem; }
  .nav-toggle { display: none !important; }
  .nav-backdrop { display: none !important; }
  .nav {
    display: flex !important;
    position: static;
    padding: 0;
    background: transparent;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    animation: none;
  }
}

@media (min-width: 810px) and (max-width: 1099px) {
  .nav { gap: .1rem .75rem; }
  .nav a:not(.btn) { font-size: .8125rem; }
  .logo-text span { display: none; }
  .btn-sm { padding: .45rem .85rem; font-size: .75rem; }
}

@media (min-width: 1260px) {
  :root {
    --space-section: 5.5rem;
    --text-display: 2.85rem;
    --text-2xl: 1.95rem;
  }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .hero-grid { gap: 3.5rem; padding: 5.5rem 0 5.75rem; }
  .card { padding: 1.65rem 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.hero .btn-secondary {
  background: var(--blue-cyan);
  color: var(--signal-ink) !important;
  border-color: var(--blue-cyan);
}
.hero .btn-secondary:hover {
  background: #3de0ff;
  border-color: #3de0ff;
  color: var(--signal-ink) !important;
}
.hero .btn-ghost {
  border-color: rgba(255,255,255,.7);
  color: #fff !important;
  background: transparent;
}
.hero .btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff !important;
}
.hero .btn-primary {
  background: var(--yellow);
  color: var(--signal-ink) !important;
  border-color: var(--yellow);
}

/* ===== Guide layout ===== */
.eb-guide { background: #fff; }
.guide-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.guide-hero h1 {
  font-size: var(--text-display);
  max-width: 22ch;
  margin-bottom: .95rem;
  font-family: var(--font-display);
}
.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  font-size: .8125rem;
  color: var(--muted);
  margin: 0 0 1.35rem;
}
.guide-meta strong { color: var(--ink); font-weight: 700; }
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  padding: 2.25rem 0 4.5rem;
  min-width: 0;
}
@media (min-width: 1100px) {
  .guide-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 2.75rem;
    align-items: start;
  }
  .guide-toc {
    padding: 1rem;
  }
  .guide-toc[data-sticky] {
    position: sticky;
    top: calc(var(--header-h) + 12px);
  }
  /* Sidebar: always show TOC list; hide <summary> chrome */
  .guide-toc-panel > .guide-toc-summary { display: none; }
  .guide-toc-panel > ol,
  .guide-toc-panel > .guide-toc-cta {
    display: block;
  }
}
.guide-toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
  box-shadow: none;
  min-width: 0;
  /* sticky ONLY inside @media (min-width: 1100px) — never on phone/tablet */
}
.guide-toc-panel {
  margin: 0;
  border: 0;
  background: transparent;
}
.guide-toc-summary {
  list-style: none;
  cursor: pointer;
}
.guide-toc-summary::-webkit-details-marker { display: none; }
.guide-toc-summary::marker { content: ""; }
.guide-toc h2 {
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
  padding: 0 .35rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
}
.guide-toc-summary {
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
}
.guide-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.guide-toc li { margin: 0; }
.guide-toc a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .8125rem;
  font-weight: 600;
  padding: .5rem .55rem;
  border-radius: var(--radius-sm);
  line-height: 1.35;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.guide-toc a:hover { background: #fff; color: var(--blue); }
.guide-toc a.is-active,
.guide-toc a[aria-current="location"] {
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(15, 213, 255, 0.35);
}
.guide-toc-cta {
  margin: .85rem .35rem 0;
}
.guide-toc-cta .btn { width: 100%; }
.guide-body { max-width: var(--prose-max); min-width: 0; overflow-wrap: break-word; }
.guide-body > h2 {
  margin-top: 3rem;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.guide-body > h2:first-child { margin-top: 0; }
.guide-lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.35rem;
}
.guide-summary {
  border: 1px solid var(--line);
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: 1.35rem 1.45rem;
  margin: 1.35rem 0 1.85rem;
  min-width: 0;
}
.guide-summary h3 {
  margin: 0 0 .7rem;
  font-size: 1rem;
}
.guide-summary ol { margin: 0; padding-left: 1.2rem; }
.guide-summary li { margin-bottom: .45rem; font-size: .95rem; }
.glance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin: 1.35rem 0 1.85rem;
}
@media (min-width: 810px) {
  .glance-grid { grid-template-columns: repeat(4, 1fr); }
}
.glance-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  background: var(--surface);
}
.glance-card strong {
  display: block;
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
  font-family: var(--font-display);
}
.glance-card span {
  font-size: .9375rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  display: block;
}
.guide-cta {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.55rem;
  margin: 2.25rem 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 810px) {
  .guide-cta {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}
.guide-cta h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.guide-cta p { margin: 0; color: var(--muted); font-size: .9375rem; }
.guide-cta-center {
  text-align: center;
  border: none;
  background: var(--surface);
  border-radius: 0;
  padding: 2.25rem 1.5rem;
  margin: 2.5rem 0;
}
.brand-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.45rem 1.65rem;
  margin: 1.45rem 0 1.85rem;
  background: #fff;
  box-shadow: none;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.brand-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .95rem;
}
.brand-card-head h3 { margin: 0; font-size: 1.2rem; }
.brand-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--signal-ink);
  border-radius: 4px;
  padding: .3rem .7rem;
  font-family: var(--font-display);
}
.brand-badge.soft { background: var(--blue-cyan); color: var(--signal-ink); }
.brand-badge.warn { background: #999; color: #fff; }
.brand-meta {
  font-size: .875rem;
  color: var(--muted);
  margin: 0 0 .95rem;
}
.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
  margin: 1.1rem 0;
}
@media (min-width: 810px) {
  .pros-cons { grid-template-columns: 1fr 1fr; }
}
.pros, .cons {
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: .9rem;
}
.pros { background: #eefaf2; border: 1px solid #c6ebd4; }
.cons { background: #fff6f0; border: 1px solid #f3d5c4; }
.pros h4, .cons h4 {
  margin: 0 0 .5rem;
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.pros ul, .cons ul { margin: 0; padding-left: 1.1rem; }
.pros li, .cons li { margin-bottom: .35rem; }
.decision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
  margin: 1.35rem 0;
}
@media (min-width: 810px) {
  .decision-grid { grid-template-columns: 1fr 1fr; }
}
.decision-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  background: var(--surface);
}
.decision-card h3 { margin: 0 0 .45rem; font-size: 1rem; }
.decision-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.not-worth {
  border-left: 4px solid var(--yellow);
  background: var(--signal-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.2rem;
  margin: .85rem 0;
}
.not-worth h3 { margin: 0 0 .4rem; font-size: 1rem; }
.not-worth p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.guide-related {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  margin-top: 1.15rem;
}
@media (min-width: 810px) {
  .guide-related { grid-template-columns: repeat(3, 1fr); }
}
.guide-related a.card {
  text-decoration: none;
  color: inherit;
}

/* ===== Memodo polish ===== */
.nav-backdrop {
  display: none;
}
.peer-table th:first-child, .peer-table td:first-child { white-space: nowrap; }
.soft-pick {
  border: 1px solid var(--line);
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin: 1.35rem 0;
}
.soft-pick h3 { margin-top: 0; }
.cost-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  margin: 1.25rem 0 1.65rem;
}
@media (min-width: 810px) {
  .cost-band { grid-template-columns: repeat(3, 1fr); }
}
.cost-band .glance-card span { font-size: 1.05rem; color: var(--blue); }
.guide-layout { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
@media (min-width: 1100px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr) 240px; }
}
.site-header .container { height: 100%; }

@media (max-width: 809px) {
  .page-hero { padding: 2.25rem 0 1.65rem; }
  .guide-hero { padding: 2.25rem 0 1.5rem; }
  .guide-hero h1 { max-width: 100%; }
  .glance-grid { grid-template-columns: 1fr 1fr; }
  .guide-layout { width: min(100% - 1.5rem, var(--max)); }
  .peer-table th:first-child,
  .peer-table td:first-child { white-space: normal; }
  th { white-space: normal; }

  /* TOC details — must win over base (file order) */
  .guide-toc {
    order: -1;
    position: static !important;
    max-height: none;
    overflow: visible;
    padding: 0;
    min-width: 0;
  }
  .guide-toc-panel[open] {
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .guide-toc-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: 0;
    padding: .95rem 1rem;
    user-select: none;
  }
  .guide-toc-summary::-webkit-details-marker { display: none; }
  .guide-toc-summary::marker { content: ""; }
  .guide-toc-summary::after {
    content: "";
    flex-shrink: 0;
    width: .45rem;
    height: .45rem;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform var(--duration) var(--ease);
  }
  .guide-toc-panel[open] > .guide-toc-summary::after {
    transform: rotate(-135deg);
  }
  .guide-toc-panel > ol,
  .guide-toc-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .guide-toc-panel > ol { padding-bottom: .35rem; }
  .guide-toc-cta { padding-bottom: 1rem; margin: .5rem 0 0; }
  .guide-summary ol { display: none; }
}

@media (max-width: 1099px) {
  .guide-layout {
    display: flex;
    flex-direction: column;
  }
  .guide-toc {
    order: -1;
    position: static;
  }
  .guide-toc[data-sticky] { position: static; }
}

@media (max-width: 480px) {
  .glance-grid { grid-template-columns: 1fr; }
  .cost-band { grid-template-columns: 1fr; }
}

/* ===== Mobile table cards (wide compare tables) ===== */
@media (max-width: 809px) {
  .table-wrap.is-cards {
    border: none;
    background: transparent;
    overflow: visible;
  }
  .table-wrap.is-cards table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .9375rem;
  }
  .table-wrap.is-cards thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .table-wrap.is-cards tbody,
  .table-wrap.is-cards tr,
  .table-wrap.is-cards td {
    display: block;
    width: 100%;
  }
  .table-wrap.is-cards tr {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    margin: 0 0 .85rem;
    padding: .85rem 1rem 1rem;
    box-shadow: none;
  }
  .table-wrap.is-cards td {
    display: grid;
    grid-template-columns: minmax(7.5rem, 34%) 1fr;
    gap: .35rem .75rem;
    padding: .55rem 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
  }
  .table-wrap.is-cards td:last-child { border-bottom: none; padding-bottom: 0; }
  .table-wrap.is-cards td:first-child {
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--line);
    padding-top: 0;
    padding-bottom: .7rem;
    margin-bottom: .15rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    position: static;
    box-shadow: none;
    background: transparent;
  }
  .table-wrap.is-cards td:first-child::before { display: none; }
  .table-wrap.is-cards td::before {
    content: attr(data-label);
    font-family: var(--font-display);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.3;
    padding-top: .15rem;
  }
  .table-wrap.is-cards .peer-table th:first-child,
  .table-wrap.is-cards .peer-table td:first-child {
    position: static;
    left: auto;
    box-shadow: none;
    background: transparent;
  }
}
