/* ============================================================
   RESETAGE Calculator Widget — shared styles
   Palette is scoped: only used inside .calc-widget blocks.
   ============================================================ */
.calc-section {
  background: #FAF7F0;
  padding: 96px 0;
}
@media (max-width: 1024px) { .calc-section { padding: 64px 0; } }
@media (max-width: 768px)  { .calc-section { padding: 48px 0; } }

.calc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .calc-container { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== LEFT COLUMN ===== */
.calc-badge {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B6660;
}
.calc-h2 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  color: #1A1A1A;
  margin-top: 16px;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) { .calc-h2 { font-size: 40px; } }
.calc-sub {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #6B6660;
  margin-top: 24px;
  max-width: 480px;
}

/* Unit toggle */
.calc-unit-toggle {
  margin-top: 32px;
  display: inline-flex;
  background: #EFEAE0;
  padding: 4px;
  border-radius: 999px;
}
.calc-unit-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #6B6660;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calc-unit-btn:hover { background: rgba(45,74,94,0.08); }
.calc-unit-btn.is-active {
  background: #2D4A5E;
  color: #FAF7F0;
}

/* Field labels and inputs */
.calc-field { margin-top: 24px; }
.calc-field + .calc-field { margin-top: 20px; }
.calc-label {
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1A1A1A;
  display: block;
  margin-bottom: 8px;
}
.calc-tooltip {
  color: #9A958E;
  font-weight: 400;
  font-size: 12px;
  margin-left: 6px;
  cursor: help;
}
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.calc-input,
.calc-select {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E0DDD5;
  border-radius: 12px;
  padding: 16px 18px;
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #1A1A1A;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.calc-input::placeholder { color: #9A958E; }
.calc-input:focus,
.calc-select:focus { outline: none; border-color: #2D4A5E; }
.calc-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B6660' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

/* Inline sex toggle (for TDEE) */
.calc-sex {
  display: inline-flex;
  background: #EFEAE0;
  padding: 4px;
  border-radius: 999px;
}
.calc-sex button {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #6B6660;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calc-sex button.is-active { background: #2D4A5E; color: #FAF7F0; }

.calc-cta {
  width: 100%;
  margin-top: 32px;
  background: #D9A86A;
  color: #3A2A12;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calc-cta:hover { background: #C99352; }
.calc-cta:active { transform: scale(0.98); }

/* ===== RIGHT COLUMN — NAVY CARD ===== */
.calc-card {
  background: #2D4A5E;
  border-radius: 24px;
  padding: 32px;
  min-height: 540px;
  position: relative;
  overflow: hidden;
  font-family: 'Mulish', sans-serif;
}
@media (max-width: 768px) {
  .calc-card { padding: 24px; min-height: 480px; }
}

.calc-gauge-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.calc-gauge {
  width: 100%;
  max-width: 380px;
  height: auto;
}
@media (max-width: 768px) { .calc-gauge { max-width: 280px; } }

.calc-empty-text {
  text-align: center;
  color: #A8B8C4;
  font-family: 'Mulish', sans-serif;
  margin-top: 12px;
}
.calc-empty-text .lbl {
  font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.calc-empty-text .hint {
  display: block;
  font-weight: 400;
  font-size: 15px;
  max-width: 220px;
  margin: 12px auto 0;
}

/* Range list */
.calc-ranges {
  margin-top: 24px;
  padding: 0 8px;
}
.calc-range-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 0.5px solid #3D5A6E;
  font-weight: 400;
  font-size: 14px;
  color: #A8B8C4;
}
.calc-range-row.is-active {
  color: #FAF7F0;
  font-weight: 600;
}
.calc-range-row.is-active .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D9A86A;
  margin-right: 8px;
  vertical-align: middle;
}

/* Result card */
.calc-result-card {
  margin-top: 16px;
  border-radius: 14px;
  padding: 16px 20px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-family: 'Mulish', sans-serif;
}
.calc-result-card.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.calc-result-card.mode-amber { background: #D9A86A; color: #3A2A12; }
.calc-result-card.mode-soft  { background: #A8D4BF; color: #1F3645; }

.calc-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-result-name {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
}
.calc-result-name .marker {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
}
.calc-result-range { font-weight: 400; font-size: 14px; }
.calc-result-text {
  margin-top: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
}
.calc-result-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-result-actions a {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  width: 100%;
}
.calc-result-card.mode-amber .cta-primary { background: #1F3645; color: #FAF7F0; }
.calc-result-card.mode-amber .cta-secondary {
  background: transparent;
  border: 1.5px solid #3A2A12;
  color: #3A2A12;
  font-weight: 500;
}
.calc-result-card.mode-soft .cta-primary { background: #2D4A5E; color: #FAF7F0; }
.calc-result-card.mode-soft .cta-secondary {
  background: transparent;
  border: 1.5px solid #1F3645;
  color: #1F3645;
  font-weight: 500;
}
.calc-result-actions a:hover { filter: brightness(1.08); }

/* Donut center text (TDEE/Calorie) */
.calc-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FAF7F0;
  pointer-events: none;
}
.calc-card .calc-center-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.calc-center .lbl {
  font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #A8B8C4;
}
.calc-center .val {
  display: block;
  font-weight: 700; font-size: 56px;
  color: #D9A86A;
  line-height: 1.05;
  margin-top: 4px;
}
.calc-center .unit {
  font-weight: 400; font-size: 14px;
  color: #A8B8C4;
}

/* Legend rows under donut */
.calc-legend {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #A8B8C4;
  border-bottom: 0.5px solid #3D5A6E;
  padding-bottom: 8px;
}
.calc-legend-row .name { display: flex; align-items: center; gap: 10px; }
.calc-legend-row .swatch {
  width: 12px; height: 12px; border-radius: 3px;
}
.calc-legend-row .num { color: #FAF7F0; font-weight: 600; }

/* Goal pills */
.calc-goals {
  margin-top: 20px;
  background: #D9A86A;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.calc-goals a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-radius: 999px;
  background: #1F3645;
  color: #FAF7F0;
  text-decoration: none;
  font-weight: 600; font-size: 14px;
}
.calc-goals a:hover { background: #163048; }
.calc-goals a .num { color: #D9A86A; }
.calc-goals-foot {
  font-size: 12px;
  color: #3A2A12;
  margin-top: 10px;
  text-align: center;
}
.calc-goals-foot a { color: #1F3645; text-decoration: underline; }

/* Rate pills (deficit) */
.calc-rate-pills {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}
.calc-rate-pills button {
  padding: 12px 8px;
  border-radius: 999px;
  border: none;
  background: #3D5A6E;
  color: #A8B8C4;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calc-rate-pills button.is-active {
  background: #D9A86A;
  color: #3A2A12;
}

/* Protein food pills */
.calc-food-stack {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-food-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(217,168,106,0.22);
  border: 1px solid #D9A86A;
  border-radius: 12px;
  padding: 12px 16px;
  color: #FAF7F0;
  font-size: 14px;
}
.calc-food-pill .g { color: #D9A86A; font-weight: 700; }

/* Water bottle */
.calc-bottle {
  display: block;
  margin: 16px auto 0;
  width: 100%;
  max-width: 180px;
  height: auto;
}

/* ============================================================
   TOOL PAGE SHELL (hub + per-calculator pages)
   ============================================================ */
.tool-shell {
  background: #FAF7F0;
  color: #1A1A1A;
  font-family: 'Mulish', sans-serif;
}
.tool-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px 0;
  font-size: 13px;
  color: #6B6660;
}
.tool-breadcrumb a { color: #6B6660; text-decoration: none; }
.tool-breadcrumb a:hover { color: #2A6B52; text-decoration: underline; }

.tool-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 32px 0;
  text-align: center;
}
.tool-hero h1 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #1A1A1A;
  margin-top: 24px;
}
@media (max-width: 768px) { .tool-hero h1 { font-size: 40px; } }
.tool-hero p {
  margin-top: 24px;
  font-size: 20px;
  color: #6B6660;
  line-height: 1.5;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.tool-seo {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 32px;
  font-size: 17px;
  line-height: 1.7;
  color: #2A2825;
}
.tool-seo h2 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: #1A1A1A;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.tool-seo h2:first-child { margin-top: 0; }
.tool-seo p { margin-bottom: 18px; }

.tool-related {
  background: #E8F2EC;
}
.tool-related-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px;
}
.tool-related h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #2A6B52;
  margin-bottom: 24px;
}
.tool-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.tool-related-card {
  background: #FAF7F0;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: #1A1A1A;
  transition: all 0.3s ease;
  display: block;
}
.tool-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(61,139,110,0.10);
}
.tool-related-card .name {
  font-weight: 700;
  color: #2A6B52;
  font-size: 17px;
  margin-bottom: 4px;
}
.tool-related-card .desc {
  font-size: 14px;
  color: #6B6660;
  line-height: 1.4;
}

.tool-faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 32px;
}
.tool-faq h2 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 32px;
  color: #1A1A1A;
  letter-spacing: -0.01em;
}
.tool-faq-item {
  border-top: 1px solid #E0DDD5;
  padding: 20px 0;
  cursor: pointer;
}
.tool-faq-item:last-child { border-bottom: 1px solid #E0DDD5; }
.tool-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 18px; color: #1A1A1A;
}
.tool-faq-q .tg { font-weight: 400; font-size: 22px; color: #6B6660; transition: transform 0.2s; }
.tool-faq-item.open .tg { transform: rotate(45deg); }
.tool-faq-a {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  color: #2A2825;
  font-size: 16px;
  line-height: 1.6;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}
.tool-faq-item.open .tool-faq-a { margin-top: 12px; max-height: 500px; }

.tool-disclaimer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px 80px;
  font-size: 13px;
  color: #6B6660;
  text-align: center;
  line-height: 1.6;
}

/* Hub-specific */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 64px auto 0;
  padding: 0 32px;
}
.hub-card {
  background: #E8F2EC;
  border-radius: 20px;
  padding: 32px;
  min-height: 200px;
  text-decoration: none;
  color: #1A1A1A;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61,139,110,0.12);
}
.hub-card .icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #FAF7F0;
  display: flex; align-items: center; justify-content: center;
  color: #3D8B6E;
}
.hub-card h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #2A6B52;
  margin-top: 24px;
}
.hub-card .desc {
  font-size: 15px;
  color: #6B6660;
  margin-top: 8px;
  flex-grow: 1;
}
.hub-card .arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  color: #3D8B6E;
}

.hub-cta-wrap { max-width: 1200px; margin: 96px auto 0; padding: 0 32px; }
.hub-cta {
  background: #3D8B6E;
  border-radius: 24px;
  padding: 80px 32px;
  text-align: center;
  color: #FAF7F0;
}
.hub-cta h2 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.01em;
}
.hub-cta p {
  margin: 16px auto 0;
  max-width: 480px;
  font-size: 17px;
  opacity: 0.85;
  line-height: 1.5;
}
.hub-cta a {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 36px;
  background: #FAF7F0;
  color: #2A6B52;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
}
.hub-cta a:hover { transform: scale(1.04); }

/* ============================================================
   MEN'S HEALTH THEME — mirrors the live Men's Health category
   ============================================================ */

html,
body.tool-shell {
  background: linear-gradient(180deg, #A8B8C2 0%, #C5CDD2 40%, #DDDEDD 75%, #E8E0D5 100%) fixed;
  min-height: 100vh;
  color: #1A1F2E;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.35);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo,
.logo.footer-logo { padding: 0 !important; line-height: 0 !important; display: inline-flex !important; align-items: center !important; background: none !important; box-shadow: none !important; text-shadow: none !important; text-decoration: none; }
.logo img,
.logo-img { height: 32px !important; width: auto !important; max-width: 160px !important; object-fit: contain !important; display: block !important; filter: none !important; background: transparent !important; box-shadow: none !important; mix-blend-mode: normal !important; padding: 0 !important; }
.nav-links { display: none; list-style: none; gap: 32px; padding: 0; margin: 0; }
.nav-links a,
header .nav a { color: #1A1F2E; text-decoration: none; font-size: 15px; font-weight: 600; transition: color 0.2s ease; }
.nav-links a:hover,
.nav-links a.active { color: #5D6B7A; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.mobile-menu-btn { display: flex; width: 42px; height: 42px; border: 1px solid rgba(26,31,46,0.25); background: transparent; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu-btn span,
.mobile-menu-btn span::before,
.mobile-menu-btn span::after { content: ''; display: block; width: 18px; height: 2px; background: #1A1F2E; position: relative; }
.mobile-menu-btn span::before { position: absolute; top: -6px; }
.mobile-menu-btn span::after { position: absolute; top: 6px; }
@media (min-width: 900px) { .mobile-menu-btn { display: none; } }
.mobile-menu { display: none; position: fixed; inset: 76px 0 auto 0; background: #F0EDE5; z-index: 99; padding: 32px; flex-direction: column; gap: 18px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 700; color: #1A1F2E; text-decoration: none; }

.tool-shell,
.calc-section { background: transparent; }
.tool-breadcrumb { color: #1A1F2E; font-weight: 600; letter-spacing: 0.04em; }
.tool-breadcrumb a,
.tool-breadcrumb a:hover { color: #1A1F2E; }
.tool-hero h1,
.calc-h2,
.tool-faq h2 { color: #1A1F2E; font-weight: 400; letter-spacing: -0.02em; }
.tool-hero p,
.calc-sub,
.tool-disclaimer { color: #1A1F2E; }
.calc-badge { color: #5D6B7A; letter-spacing: 0.12em; }
.calc-label { color: #1A1F2E; }

/* Inputs */
.calc-input,
.calc-select {
  background: rgba(255,255,255,0.58);
  border-color: rgba(255,255,255,0.55);
  color: #1A1F2E;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.calc-input:focus,
.calc-select:focus { border-color: rgba(26,31,46,0.45); }

/* CTA Calculate button — Men's Health black/glow */
.calc-cta {
  background: #0F0F0F;
  color: #FFFFFF;
  border: 1px solid #0F0F0F;
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(125,191,160,.55), 0 12px 32px -10px rgba(61,139,110,.55), 0 0 24px rgba(125,191,160,.35);
  animation: mh-calc-cta-pulse 2.2s ease-in-out infinite;
}
.calc-cta:hover { background: #000000; color: #FFFFFF; box-shadow: 0 0 0 8px rgba(125,191,160,.18), 0 16px 40px -10px rgba(61,139,110,.7), 0 0 36px rgba(125,191,160,.55); }
@keyframes mh-calc-cta-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(125,191,160,.55), 0 12px 32px -10px rgba(61,139,110,.55), 0 0 24px rgba(125,191,160,.35); }
  50% { box-shadow: 0 0 0 12px rgba(125,191,160,0), 0 14px 36px -10px rgba(61,139,110,.65), 0 0 32px rgba(125,191,160,.6); }
}

/* Unit toggle */
.calc-unit-toggle,
.calc-sex { background: rgba(255,255,255,0.58); border: 1px solid rgba(255,255,255,0.55); }
.calc-unit-btn,
.calc-sex button { color: #1A1F2E; }
.calc-unit-btn:hover { background: rgba(255,255,255,0.28); }
.calc-unit-btn.is-active,
.calc-sex button.is-active { background: #1A1F2E; color: #FFFFFF; }

/* Right visualization card — restored dark navy card, with Men's Health accents */
.calc-card { background: #2D4A5E; }
.calc-range-row { border-bottom-color: #3D5A6E; color: #A8B8C4; }
.calc-range-row.is-active { color: #FAF7F0; }
.calc-range-row.is-active .dot { background: #D9A86A; }
.calc-empty-text { color: #A8B8C4; }
.calc-center .lbl, .calc-center .unit { color: #A8B8C4; }
.calc-center .val { color: #D9A86A; }
.calc-legend-row { color: #A8B8C4; border-bottom-color: #3D5A6E; }
.calc-legend-row .num { color: #FAF7F0; }
.calc-result-card.mode-amber { background: #D9A86A; color: #3A2A12; }
.calc-result-card.mode-amber .cta-primary { background: #1F3645; color: #FAF7F0; }
.calc-result-card.mode-amber .cta-secondary { border-color: #3A2A12; color: #3A2A12; }
.calc-result-card.mode-soft { background: #A8D4BF; color: #1F3645; }
.calc-result-card.mode-soft .cta-primary { background: #2D4A5E; color: #FAF7F0; }
.calc-result-card.mode-soft .cta-secondary { border-color: #1F3645; color: #1F3645; }
.calc-rate-pills button { background: rgba(255,255,255,0.16); color: #A8B8C4; }
.calc-rate-pills button.is-active { background: #D9A86A; color: #3A2A12; }
.calc-goals { background: #D9A86A; }
.calc-goals a { background: #1F3645; color: #FAF7F0; }
.calc-goals a:hover { background: #163048; }
.calc-goals a .num { color: #D9A86A; }
.calc-goals-foot { color: #3A2A12; }
.calc-goals-foot a { color: #1F3645; }
.calc-food-pill { background: rgba(217,168,106,0.22); border-color: #D9A86A; color: #FAF7F0; }
.calc-food-pill .g { color: #D9A86A; }

/* SEO content */
.tool-seo {
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.50);
  box-shadow: 0 10px 30px -15px rgba(60,80,100,0.25);
  color: #1A1F2E;
}
.tool-seo h2, .tool-seo h3 { color: #1A1F2E; font-weight: 400; }
.tool-seo a { color: #1A1F2E; text-decoration: underline; }
.tool-seo a:hover { color: #5D6B7A; }

/* Related tools strip */
.tool-related { background: rgba(255,255,255,0.18); }
.tool-related h3 { color: #1A1F2E; font-weight: 400; }
.tool-related-card {
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.50);
  color: #1A1F2E;
}
.tool-related-card:hover { box-shadow: 0 16px 40px -15px rgba(60,80,100,0.35); }
.tool-related-card .name { color: #1A1F2E; }
.tool-related-card .desc { color: #1A1F2E; opacity: 0.78; }

/* FAQ */
.tool-faq { background: transparent; }
.tool-faq h2 { color: #1A1F2E; }
.tool-faq-item { border-top-color: rgba(255,255,255,0.50); }
.tool-faq-item:last-child { border-bottom-color: rgba(255,255,255,0.50); }
.tool-faq-q { color: #1A1F2E; }
.tool-faq-q .tg { color: #5D6B7A; }
.tool-faq-a { color: #1A1F2E; }

/* Disclaimer */
.tool-disclaimer { color: #1A1F2E; }

/* Hub page */
.hub-card { background: #E8F2EC; color: #14242a; }
.hub-card:hover { box-shadow: 0 12px 32px rgba(61,139,110,0.12); }
.hub-card .icon-circle { background: #FFFFFF; color: #3D8B6E; }
.hub-card h3 { color: #2A6B52; }
.hub-card .desc { color: #4a5a5e; }
.hub-card .arrow { color: #3D8B6E; }
.hub-cta { background: #3D8B6E; color: #FFFFFF; }
.hub-cta h2 { color: #FFFFFF; }
.hub-cta a { background: #FFFFFF; color: #2A6B52; }

/* Footer (themed to match site footer) */
.tool-footer {
  background: #000000;
  color: #FFFFFF;
  padding: 40px 32px;
  text-align: center;
  font-size: 13px;
  font-family: 'Mulish', sans-serif;
}
.tool-footer .logo img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.tool-footer a { color: rgba(232,242,236,0.7); text-decoration: none; margin: 0 12px; }
.tool-footer a:hover { color: #FFFFFF; }
.tool-footer .copy { margin-top: 16px; color: rgba(255,255,255,0.55); }

@media (max-width: 640px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .nav { height: 64px; }
  .logo img,
  .logo-img { height: 24px !important; max-width: 140px !important; }
  .mobile-menu { inset: 64px 0 auto 0; }
}
