/* ============================================================
   MyEnergyToolkit — shared stylesheet
   Design tokens per site spec. Mobile-first.
   ============================================================ */

:root {
  --bg-deep:   #0E1726;
  --surface:   #F7F9FB;
  --card:      #FFFFFF;
  --accent:    #12B5A5;
  --accent-2:  #F5A623;
  --text:      #0E1726;
  --muted:     #64748B;
  --line:      #E2E8F0;
  --good:      #16A34A;

  --radius: 12px;
  --shadow: 0 4px 20px rgba(14, 23, 38, .06);
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --maxw: 1200px;

  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 16px;
  --sp-4: 24px; --sp-5: 40px; --sp-6: 64px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 var(--sp-3); }
h1 { font-size: 32px; font-weight: 700; }
h2 { font-size: 24px; font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; }
@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
}

p { margin: 0 0 var(--sp-3); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-3); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-deep);
  color: #fff;
  box-shadow: 0 2px 12px rgba(14, 23, 38, .25);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; gap: var(--sp-3);
}
.logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 19px;
  color: #fff; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center;
}
.logo:hover { text-decoration: none; color: var(--accent); }
.logo img {
  display: block;
  height: 36px; width: auto;
  /* lift the brand colors slightly against the dark header */
  filter: brightness(1.18) drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
}
@media (min-width: 768px) { .logo img { height: 42px; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px; color: #fff; font-size: 20px; cursor: pointer;
}
.main-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-deep);
  padding: var(--sp-2) var(--sp-3) var(--sp-3);
  border-top: 1px solid rgba(255,255,255,.1);
}
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a, .main-nav summary {
  display: block; padding: 12px 8px;
  color: #E9EEF5; font-weight: 500; text-decoration: none; cursor: pointer;
  border-radius: 8px;
}
.main-nav a:hover, .main-nav summary:hover { background: rgba(255,255,255,.08); color: #fff; }
.main-nav summary { list-style: none; }
.main-nav summary::-webkit-details-marker { display: none; }
.main-nav summary::after { content: " ▾"; font-size: 12px; color: var(--muted); }
.dropdown-menu { padding-left: var(--sp-3); }
.dropdown-menu a { font-weight: 400; font-size: 15px; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: block; position: static;
    background: none; padding: 0; border: 0;
  }
  .main-nav ul { display: flex; align-items: center; gap: var(--sp-2); }
  .main-nav .dropdown { position: relative; }
  .dropdown-menu {
    display: none;
    position: absolute; top: 100%; right: 0;
    min-width: 250px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(14,23,38,.18);
    padding: var(--sp-2);
  }
  .main-nav details[open] .dropdown-menu { display: block; }
  .dropdown-menu a { color: var(--text); padding: 10px 12px; font-size: 14.5px; border-radius: 8px; }
  .dropdown-menu a:hover { background: var(--surface); color: var(--accent); }
}

/* ---------------- Hero (homepage) ---------------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(18, 181, 165, .28), transparent 60%),
    radial-gradient(700px 360px at 5% 115%, rgba(245, 166, 35, .12), transparent 60%),
    linear-gradient(160deg, var(--bg-deep) 0%, #16233B 100%);
  color: #fff;
  padding: var(--sp-6) 0;
  overflow: hidden;
}
.hero-grid { display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }

.eyebrow {
  display: inline-flex; flex-wrap: wrap; gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.eyebrow span {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: #7DE8DD;
  background: rgba(18, 181, 165, .14);
  border: 1px solid rgba(18, 181, 165, .35);
  border-radius: 999px;
  padding: 5px 12px;
}
.hero h1 {
  color: #fff;
  font-size: 36px;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .hero h1 { font-size: 50px; } }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .subhead { color: #B9C4D4; font-size: 18px; max-width: 560px; margin: 0 0 var(--sp-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Faux mini-calculator preview card */
.hero-demo {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: var(--sp-4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.hero-demo .demo-label {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: #93A3B8;
  margin: 0 0 var(--sp-1);
}
.hero-demo .demo-number {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 52px; font-weight: 700; line-height: 1.1;
  color: var(--accent-2);
  margin: 0 0 var(--sp-3);
}
.hero-demo .demo-row {
  display: flex; justify-content: space-between; gap: var(--sp-3);
  padding: 10px 0;
  border-top: 1px dashed rgba(255, 255, 255, .14);
  font-size: 14.5px; color: #B9C4D4;
}
.hero-demo .demo-row strong { color: #fff; font-variant-numeric: tabular-nums; font-weight: 600; }
.hero-demo .demo-cta {
  display: block; text-align: center;
  margin-top: var(--sp-3);
  font-size: 14px; font-weight: 600; color: var(--accent);
}

/* Stat strip under the hero copy */
.stat-bar {
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
@media (min-width: 720px) { .stat-bar { grid-template-columns: repeat(4, 1fr); } }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 13.5px; color: #93A3B8; }

/* ---------------- Homepage sections ---------------- */

.section-eyebrow {
  font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--sp-1);
}

.icon-circle {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  font-size: 26px;
  background: rgba(18, 181, 165, .12);
  margin-bottom: var(--sp-3);
}
.icon-circle.amber { background: rgba(245, 166, 35, .14); }
.icon-circle.slate { background: rgba(14, 23, 38, .08); }

.tool-card { position: relative; display: flex; flex-direction: column; }
.tool-card .badge {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: #7A4D00;
  background: rgba(245, 166, 35, .18);
  border: 1px solid rgba(245, 166, 35, .45);
  border-radius: 999px;
  padding: 4px 10px;
}
.tool-card .go {
  margin-top: auto; padding-top: var(--sp-3);
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.tool-card p { margin-bottom: 0; }

/* "Path to a lower bill" funnel steps */
.step-flow {
  display: grid; gap: var(--sp-3);
  grid-template-columns: 1fr;
  margin-top: var(--sp-4);
  counter-reset: step;
}
@media (min-width: 920px) { .step-flow { grid-template-columns: repeat(4, 1fr); } }
.step-card {
  position: relative;
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--sp-4);
  color: var(--text); text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.step-card:hover { transform: translateY(-3px); border-color: var(--accent); text-decoration: none; }
.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-deep); color: var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  margin-bottom: var(--sp-2);
}
.step-card strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.step-card span { font-size: 14px; color: var(--muted); }
@media (min-width: 920px) {
  .step-card:not(:last-child)::after {
    content: "→";
    position: absolute; right: -17px; top: 50%;
    transform: translateY(-50%);
    font-size: 20px; color: var(--accent);
    z-index: 1;
  }
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 28px;
  border-radius: var(--radius); border: none;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent-2); color: var(--bg-deep); box-shadow: 0 4px 14px rgba(245,166,35,.35); }
.btn-primary:hover { background: #FFB13B; }
.btn-secondary { background: transparent; color: #fff; border: 2px solid var(--accent); }
.btn-secondary:hover { background: rgba(18,181,165,.12); }
.btn-teal { background: var(--accent); color: #fff; }
.btn-teal:hover { background: #0FA093; }
.btn-block { width: 100%; }

/* ---------------- Sections & tool cards ---------------- */

.section { padding: var(--sp-5) 0; }
.section-title { display: flex; align-items: center; gap: var(--sp-2); }
.section-intro { color: var(--muted); max-width: 720px; }

.tool-grid {
  display: grid; gap: var(--sp-3);
  grid-template-columns: 1fr;
  margin-top: var(--sp-4);
}
@media (min-width: 600px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }

.tool-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--sp-4);
  color: var(--text); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(14,23,38,.12);
  border-color: var(--accent);
  text-decoration: none;
}
.tool-card .tool-icon { font-size: 28px; display: block; margin-bottom: var(--sp-2); }
.tool-card h3 { margin-bottom: var(--sp-1); }
.tool-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------------- Calculator card ---------------- */

.calc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--sp-4);
  display: grid; gap: var(--sp-4);
  margin: var(--sp-4) 0;
}
@media (min-width: 860px) {
  .calc-card.two-col { grid-template-columns: 1fr 1fr; align-items: start; }
}

.input-row { margin-bottom: var(--sp-3); }
.input-row label {
  display: block;
  font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.input-wrap { position: relative; display: flex; }
.input-row input[type="number"],
.input-row input[type="text"],
.input-row input[type="email"],
.input-row input[type="tel"],
.input-row select {
  width: 100%; min-height: 44px;
  padding: 10px 14px;
  font-family: var(--font-body); font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.input-row input:focus, .input-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18,181,165,.2);
}
.unit-suffix {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 14px; color: var(--muted); pointer-events: none;
}
.input-wrap.has-unit input { padding-right: 64px; }
.input-hint { font-size: 13px; color: var(--muted); margin-top: 4px; }

.input-grid { display: grid; gap: 0 var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 520px) { .input-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

/* ---------------- Result box ---------------- */

.result-box {
  background: linear-gradient(160deg, var(--bg-deep) 0%, #14213A 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: var(--sp-4);
  text-align: center;
}
.result-label {
  font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: #93A3B8; margin-bottom: var(--sp-2);
}
.result-number {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 48px; font-weight: 700; line-height: 1.1;
  color: var(--accent-2);
  word-break: break-word;
}
@media (min-width: 768px) { .result-number { font-size: 60px; } }
.result-sub { color: #B9C4D4; font-size: 15px; margin-top: var(--sp-1); }

.result-chips {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  justify-content: center;
  margin-top: var(--sp-3);
}
.chip {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px; color: #E9EEF5;
  font-variant-numeric: tabular-nums;
}
.chip strong { color: #fff; font-variant-numeric: tabular-nums; }
.chip.good strong { color: #4ADE80; }

/* ---------------- Appliance rows / dynamic tables ---------------- */

.dyn-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dyn-table th {
  text-align: left; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line);
}
.dyn-table td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dyn-table input[type="number"], .dyn-table input[type="text"], .dyn-table select {
  width: 100%; min-height: 40px; padding: 8px 10px;
  font-size: 15px; border: 1.5px solid var(--line); border-radius: 8px;
}
.dyn-table input:focus, .dyn-table select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18,181,165,.2);
}
.row-remove {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 18px; padding: 8px; border-radius: 6px;
  min-width: 40px; min-height: 40px;
}
.row-remove:hover { color: #DC2626; background: #FEF2F2; }
.add-row-btn {
  background: none; border: 1.5px dashed var(--accent);
  color: var(--accent); font-weight: 600; font-size: 15px;
  border-radius: 10px; padding: 10px 18px; cursor: pointer;
  min-height: 44px; margin-top: var(--sp-2);
}
.add-row-btn:hover { background: rgba(18,181,165,.08); }

/* Mode toggle (segmented control) */
.mode-toggle {
  display: inline-flex; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 4px; margin-bottom: var(--sp-3);
}
.mode-toggle button {
  border: none; background: none; cursor: pointer;
  padding: 9px 16px; min-height: 40px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--muted); border-radius: 8px;
}
.mode-toggle button[aria-pressed="true"] { background: var(--bg-deep); color: #fff; }

/* ---------------- Ad slots ---------------- */

.ad-slot {
  min-height: 100px;
  margin: var(--sp-4) 0;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #B0BAC9; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
}
.ad-slot::after { content: "Advertisement"; }

/* ---------------- Lead CTA ---------------- */

.lead-cta {
  background: linear-gradient(160deg, #0F4E48 0%, var(--bg-deep) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: var(--sp-4) 0;
}
.lead-cta h2, .lead-cta h3 { color: #fff; }
.lead-cta p { color: #C4D2CF; }
.lead-form { display: grid; gap: var(--sp-2); margin-top: var(--sp-3); }
@media (min-width: 640px) { .lead-form { grid-template-columns: 1fr 1fr; } .lead-form .full { grid-column: 1 / -1; } }
.lead-form input {
  min-height: 48px; padding: 10px 14px;
  font-size: 16px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06); color: #fff; width: 100%;
}
.lead-form input::placeholder { color: #9FB2AE; }
.lead-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,181,165,.3); }
.lead-disclaimer { font-size: 12px; color: #8FA3A0; margin-top: var(--sp-2); }

/* ---------------- Affiliate block ---------------- */

.affiliate-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: var(--sp-4) 0;
}
.affiliate-note { font-size: 12px; color: var(--muted); }
.product-grid { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; margin-top: var(--sp-3); }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-3); text-align: center;
  color: var(--text); text-decoration: none; display: block;
}
.product-card:hover { border-color: var(--accent-2); text-decoration: none; }
.product-card .p-icon { font-size: 32px; }
.product-card .p-name { font-weight: 600; margin: var(--sp-2) 0 4px; }
.product-card .p-desc { font-size: 13px; color: var(--muted); }

/* ---------------- FAQ ---------------- */

.faq { max-width: 800px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: var(--sp-2);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: var(--sp-3) var(--sp-4);
  font-weight: 600; font-family: var(--font-display);
  list-style: none; position: relative; padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: var(--sp-4); top: 50%;
  transform: translateY(-50%);
  font-size: 22px; color: var(--accent); font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 var(--sp-4) var(--sp-3); color: #3B4A61; }

/* ---------------- Related tools strip ---------------- */

.related-strip { margin: var(--sp-5) 0; }
.related-strip h2 { font-size: 20px; }
.related-cards { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .related-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.related-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  color: var(--text); text-decoration: none;
  box-shadow: var(--shadow);
}
.related-card:hover { border-left-color: var(--accent-2); text-decoration: none; transform: translateY(-2px); }
.related-card strong { display: block; font-family: var(--font-display); }
.related-card span { font-size: 14px; color: var(--muted); }

/* ---------------- Content / prose ---------------- */

.prose { max-width: 760px; }
.prose h2 { margin-top: var(--sp-5); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: var(--sp-1); }

.disclaimer-note {
  font-size: 13px; color: var(--muted);
  background: #FFF8EC;
  border: 1px solid #F3E3C2;
  border-radius: 10px;
  padding: var(--sp-2) var(--sp-3);
  margin: var(--sp-3) 0;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--bg-deep);
  color: #93A3B8;
  padding: var(--sp-5) 0 var(--sp-4);
  margin-top: var(--sp-6);
  font-size: 14px;
}
.footer-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: var(--sp-2); }
.footer-logo { display: inline-block; margin-bottom: var(--sp-3); }
.footer-logo img {
  display: block;
  height: 34px; width: auto;
  filter: brightness(1.18) drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #B9C4D4; }
.site-footer a:hover { color: var(--accent); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  font-size: 12.5px; color: #6E7F95;
}

/* ---------------- Additions: share button, 5-col footer, data tables, breadcrumbs ---------------- */

.share-link-btn {
  display: block;
  width: 100%;
  margin-top: var(--sp-2);
  padding: 10px 14px;
  font: 500 14px var(--font-body);
  color: var(--accent);
  background: rgba(18, 181, 165, .08);
  border: 1px dashed var(--accent);
  border-radius: 10px;
  cursor: pointer;
}
.share-link-btn:hover { background: rgba(18, 181, 165, .15); }

@media (min-width: 720px) {
  .footer-grid.cols-5 { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
}

.data-table-wrap { overflow-x: auto; margin: var(--sp-3) 0 var(--sp-4); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table th {
  background: var(--bg-deep);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.data-table tbody tr:nth-child(even) { background: var(--surface); }
.data-table tbody tr:last-child td { border-bottom: none; }

.breadcrumbs {
  font-size: 13.5px;
  color: var(--muted);
  margin: var(--sp-3) 0 0;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

.guide-meta { font-size: 13.5px; color: var(--muted); margin-bottom: var(--sp-3); }
.prose ul, .prose ol { margin: 0 0 var(--sp-3); padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* ---------------- Guides hub: featured card, card dates, group headings ---------------- */

.featured-guide {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
  text-decoration: none;
  color: var(--text);
}
.featured-guide:hover { text-decoration: none; box-shadow: 0 8px 28px rgba(14,23,38,.10); }
@media (min-width: 720px) { .featured-guide { grid-template-columns: 120px 1fr; align-items: center; } }
.featured-guide .fg-icon { font-size: 56px; line-height: 1; text-align: center; }
.featured-guide h2 { margin: 0 0 6px; }
.featured-guide p { margin: 0 0 8px; color: var(--muted); }
.featured-guide .go { color: var(--accent); font-weight: 600; }
.featured-badge {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent);
  background: rgba(18,181,165,.10); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}

.guide-group-title { margin: var(--sp-5) 0 var(--sp-1); }
.guide-group-intro { color: var(--muted); margin-bottom: var(--sp-3); }
.card-date { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
