/* Hydro-Fuel Pro — shared styles */
:root {
  --orange: #ff5500;
  --orange-hover: #e04b00;
  --cyan: #0284c7;
  --emerald: #059669;
  --amber: #d97706;
  --purple: #7c3aed;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #fff;
  --font-sans: Inter, system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", Inter, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --radius: 1rem;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate-900);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange);
}

a:hover {
  color: var(--orange-hover);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}

.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  padding: 2px;
  flex-shrink: 0;
}

.brand-mark-inner {
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

.brand-title span {
  color: var(--orange);
}

.brand-sub {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  background: var(--slate-100);
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: var(--slate-200);
  color: var(--slate-700);
}

/* Nav */
.primary-nav {
  display: none;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-bottom: 0.75rem;
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .primary-nav {
    display: flex;
  }
  #mobileNavToggle {
    display: none;
  }
  #mobileNavPanel {
    display: none !important;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.nav-link:hover {
  background: var(--slate-50);
  color: var(--slate-900);
  border-color: var(--slate-300);
}

.nav-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.nav-link.is-active,
.nav-link[aria-current="page"] {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.nav-link .nav-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.12rem 0.35rem;
  border-radius: 0.3rem;
}

.nav-badge-emerald {
  background: #d1fae5;
  color: #065f46;
}
.nav-badge-orange {
  background: #ffedd5;
  color: #9a3412;
}
.nav-badge-purple {
  background: #ede9fe;
  color: #5b21b6;
}
.nav-badge-rose {
  background: #ffe4e6;
  color: #9f1239;
}
.nav-link.is-active .nav-badge,
.nav-link[aria-current="page"] .nav-badge {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

#mobileNavPanel {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.75rem;
}

#mobileNavPanel.is-open {
  display: flex;
}

#mobileNavPanel .nav-link {
  width: 100%;
  justify-content: space-between;
}

/* Hero / page intro */
.page-hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-100) 100%);
  border-bottom: 1px solid var(--slate-200);
  padding: 2rem 0 2.25rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

.page-hero h1 .accent {
  color: var(--orange);
}

.lead {
  margin: 0;
  max-width: 42rem;
  color: var(--slate-600);
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 0.3rem 0.65rem;
  border-radius: 0.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--slate-600);
}

/* Main */
main {
  flex: 1;
  padding: 2rem 0 3rem;
}

.section {
  margin-bottom: 2.5rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.9rem;
  max-width: 40rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-card);
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.875rem;
}

.card-meta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.meta-orange {
  color: var(--orange);
}
.meta-cyan {
  color: var(--cyan);
}
.meta-emerald {
  color: var(--emerald);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.card-link:hover {
  border-color: #fdba74;
  box-shadow: 0 8px 24px -8px rgba(255, 85, 0, 0.15);
}

.card-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Recipe catalog article */
.recipe-article,
.strategy-article {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1.1rem;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-card);
}

.recipe-article h3,
.strategy-article h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.015em;
}

.recipe-article h4,
.strategy-article h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 1rem 0 0.35rem;
  color: var(--slate-800);
}

.recipe-article ul,
.strategy-article ul,
.strategy-article ol {
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
  color: var(--slate-700);
  font-size: 0.875rem;
}

.recipe-article li,
.strategy-article li {
  margin-bottom: 0.25rem;
}

.muted {
  color: var(--slate-500);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

/* Calculator shell */
.calc-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .calc-panel {
    padding: 1.75rem 2rem;
  }
}

.calc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.mult-btn {
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  background: var(--slate-100);
  color: var(--slate-700);
}

.mult-btn.is-active {
  background: var(--slate-900);
  color: var(--white);
}

.mult-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.recipe-pick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .recipe-pick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .recipe-pick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pick-card {
  text-align: left;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  cursor: pointer;
  min-height: 44px;
  font-family: var(--font-sans);
  transition: border-color 0.15s, background 0.15s;
}

.pick-card:hover {
  border-color: var(--slate-300);
}

.pick-card.is-active {
  border-color: var(--orange);
  background: #fff7ed;
  box-shadow: 0 8px 20px -8px rgba(255, 85, 0, 0.2);
}

.pick-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.pick-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.pick-card span {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.metric {
  flex: 1 1 8rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.metric label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  font-weight: 600;
}

.metric strong {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--orange);
}

.metric.sodium strong {
  color: var(--cyan);
}

.analysis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1rem 0;
}

@media (min-width: 900px) {
  .analysis-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.analysis-box {
  padding: 1rem;
  border-radius: 0.9rem;
  font-size: 0.8rem;
}

.analysis-box h4 {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-family: var(--font-display);
}

.analysis-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.pros-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #064e3b;
}
.cons-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
}
.rationale-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
}

.ingredients {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .ingredients {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ingredient-box {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.ingredient-box h5 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.ingredient-box p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.ingredient-qty {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--orange);
  white-space: nowrap;
}

.scale-mode-active .ingredient-qty {
  font-size: 3.75rem !important;
  line-height: 1 !important;
}

.scale-mode-active .ingredient-box {
  padding: 1.5rem !important;
  border-width: 2px !important;
  border-color: var(--orange) !important;
  background: var(--white) !important;
}

.steps {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.step {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 0.875rem;
}

.step-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--slate-900);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
  font-size: 0.875rem;
}

.warning-box strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* Knowledge */
.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px) {
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--slate-200);
  background: var(--white);
  padding: 2rem 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.1rem;
  margin-bottom: 0.85rem;
}

.footer-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-600);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--orange);
}

.footer-copy {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.5;
}

.footer-legal {
  margin: 0.75rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--slate-400);
}

/* Print */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: white;
  }
  .calc-panel,
  .recipe-article {
    box-shadow: none;
    border-color: #ccc;
  }
}

/* Utility */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}

.prose {
  max-width: 42rem;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.prose p {
  margin: 0 0 0.85rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
}

.prose ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  min-height: 10rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.cta-card:hover {
  border-color: #fdba74;
  box-shadow: 0 10px 28px -10px rgba(255, 85, 0, 0.18);
}

.cta-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}

.cta-card p {
  margin: 0;
  flex: 1;
  font-size: 0.85rem;
  color: var(--slate-600);
}

.cta-card .go {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin: 1.25rem 0;
}

.timeline-visual-step {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.timeline-node-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 2.75rem;
}

.timeline-node-circle {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5500 0%, #ea580c 100%);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.25);
  border: 3px solid var(--white);
  z-index: 2;
  flex-shrink: 0;
}

.timeline-line-connector {
  width: 3px;
  flex: 1;
  background: linear-gradient(180deg, #fdba74 0%, #cbd5e1 100%);
  margin: 0.25rem 0;
  min-height: 2rem;
}

.timeline-content-card {
  flex: 1;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.timeline-content-card:hover {
  transform: translateX(4px);
  border-color: #fed7aa;
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.08);
  background: var(--white);
}

.timeline-phase-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.timeline-content-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 0.4rem;
}

.timeline-body-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--slate-700);
}

.strat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.strat-tab {
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--slate-700);
}

.strat-tab.is-active {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: var(--white);
}

.strat-panel,
.recipe-article,
#kalkulator {
  scroll-margin-top: 5.5rem;
}

.strategy-article + .strategy-article {
  margin-top: 1.25rem;
}

/* System Group Cards & Volume Switcher UI */
.system-pick-card {
  padding: 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

.system-pick-card:hover {
  border-color: var(--slate-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.system-pick-card.is-active {
  border-color: var(--orange);
  background: #fff7ed;
  box-shadow: 0 10px 25px -5px rgba(255, 85, 0, 0.15);
}

.sys-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  background: var(--slate-100);
  color: var(--slate-700);
  margin-bottom: 0.35rem;
}

.sys-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.sys-desc {
  font-size: 0.8rem;
  color: var(--slate-600);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sys-vol-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-100);
  margin-top: auto;
}

.sys-vol-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
}

.vol-chip-row {
  display: flex;
  gap: 0.4rem;
}

.vol-chip {
  min-height: 36px;
  padding: 0.3rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.15s ease;
}

.vol-chip:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
}

.vol-chip.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(255, 85, 0, 0.25);
}

/* Volume Switcher Bar inside active display card */
.volume-switcher-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.85rem;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  margin: 0.85rem 0 1.25rem;
}

.volume-switcher-bar .vol-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-700);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.volume-switcher-bar .vol-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.volume-switcher-bar .vol-btn {
  min-height: 40px;
  padding: 0.4rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--slate-300);
  background: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--slate-800);
  cursor: pointer;
  transition: all 0.15s ease;
}

.volume-switcher-bar .vol-btn:hover {
  background: var(--slate-50);
  border-color: var(--orange);
}

.volume-switcher-bar .vol-btn.is-active {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

