/* LC_ASSET_BUILD=lc3 — bump in HTML ?v= when CSS changes (cache bust) */
:root {
  --bg: #f4f8f6;
  --card: #ffffff;
  --text: #1f2a2e;
  --muted: #5d6d66;
  --brand: #2f6f63;
  --brand-dark: #24584f;
  --border: #dbe4df;
  --accent-soft: #eef6f2;
  --brand-glow: #d7ede6;
  --highlight: #f2faf7;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: linear-gradient(180deg, #f8fcfa 0%, var(--bg) 50%, #eef5f1 100%);
  color: var(--text);
  line-height: 1.6;
}

.container { width: min(1080px, 92%); margin: 0 auto; }

.hero {
  background: radial-gradient(circle at top right, rgba(197, 235, 223, 0.24), transparent 45%),
    linear-gradient(135deg, #2c665b 0%, #397c70 52%, #5ba187 100%);
  color: #fff;
  padding: 56px 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero h1 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.4rem); }
.hero p { margin: 10px 0 0; max-width: 740px; color: #e5edff; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #f6fffb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero-badges a.hero-badge {
  text-decoration: none;
  color: #f6fffb;
  cursor: pointer;
}

.hero-badges a.hero-badge:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-badges a.hero-badge[aria-current="page"] {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-badge-static {
  cursor: default;
  opacity: 0.92;
}

.hero-timeframe-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.timeframe-live-banner {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 42, 36, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  max-width: 760px;
}
.tf-live-kicker {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9f0e4;
}
.tf-live-line1 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}
.tf-live-line2,
.tf-live-bookends {
  margin: 0;
  font-size: 0.84rem;
  color: #d8eee6;
  line-height: 1.45;
}
.tf-live-bookends { margin-top: 8px; font-weight: 500; }

.top-menu { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.top-menu a { color: #eaf5f1; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.top-menu a:hover { text-decoration: underline; color: #ffffff; }
.variants-dropdown { position: relative; }
.dropdown-toggle {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #f4fffb;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  max-width: 420px;
  z-index: 30;
  background: #ffffff;
  border: 1px solid #d3e3dc;
  border-radius: 12px;
  box-shadow: 0 14px 24px rgba(26, 67, 55, 0.15);
  padding: 10px;
}
.variants-dropdown.open .dropdown-menu { display: block; }
.dropdown-title {
  margin: 6px 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #3f665b;
}
.dropdown-links { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; }
.dropdown-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #c8ddd5;
  background: #f3faf7;
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}
.dropdown-link:hover { background: #e9f6f1; border-color: #b4d3c8; text-decoration: none; }
.dropdown-link[aria-current="page"] { background: #dff1ea; border-color: #9cc4b6; }

.main-content { padding: 22px 0 42px; }

.discovery-hub {
  margin-top: 16px;
  border: 1px solid #c5ddd3;
  background: linear-gradient(180deg, #fbfffd 0%, #f4faf7 100%);
}
.discovery-hub h2 {
  margin-top: 0;
  font-size: 1.12rem;
  color: var(--brand-dark);
}
.discovery-hub-lead {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 58rem;
}
.discovery-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 18px;
}
.discovery-hub-col h3 {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2d4a42;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.discovery-hub-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
}
.discovery-hub-list li {
  margin-bottom: 6px;
}
.discovery-hub-list a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.discovery-hub-list a:hover {
  text-decoration: underline;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(25, 58, 49, 0.08);
  padding: 20px;
}

.converter { margin-bottom: 18px; }
h2 { margin-top: 0; font-size: 1.18rem; }

.form-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.form-grid label { font-size: 0.92rem; color: var(--muted); font-weight: 600; }

input, select, button { font: inherit; }
input, select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus {
  outline: none;
  border-color: #76aa9d;
  box-shadow: 0 0 0 3px rgba(88, 154, 136, 0.18);
}

.actions { margin-top: 14px; }

.planning-spotlight {
  margin: 18px 0 4px;
  padding: 18px 18px 16px;
  border-radius: 12px;
  border: 1px solid #c5ddd3;
  border-left: 5px solid var(--brand);
  background: linear-gradient(145deg, #f6fdfb 0%, #eef8f4 48%, #e8f4ef 100%);
  box-shadow: 0 8px 22px rgba(47, 111, 99, 0.07);
  position: relative;
  overflow: hidden;
}
.planning-spotlight::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 161, 135, 0.12), transparent 70%);
  pointer-events: none;
}
.spotlight-head { position: relative; z-index: 1; }
.spotlight-kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: rgba(47, 111, 99, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.planning-spotlight h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #1a3d35;
}
.spotlight-blurb {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 52rem;
}
.spotlight-body {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.spotlight-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spotlight-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #3d524c;
}
.spotlight-field span:first-child { color: var(--muted); font-weight: 600; }
.spotlight-field-full { grid-column: 1 / -1; }
.spotlight-field output {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-dark);
}
.spotlight-hint {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.spotlight-out {
  position: relative;
  z-index: 1;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
.spotlight-out p { margin: 0 0 8px; }
.spotlight-out p:last-child { margin-bottom: 0; }
.spotlight-list {
  margin: 0;
  padding-left: 18px;
}
.spotlight-list li { margin-bottom: 6px; }
.spotlight-foot {
  font-size: 0.82rem !important;
  color: var(--muted) !important;
  margin-top: 4px !important;
}
button {
  border: none;
  background: linear-gradient(135deg, #2f6f63 0%, #3b867a 100%);
  color: #fff;
  border-radius: 10px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(47, 111, 99, 0.24);
  filter: saturate(1.02);
}

.result { margin: 14px 0 2px; font-size: 1.03rem; font-weight: 600; }
.current-rate { margin: 14px 0 0; color: var(--muted); font-size: 0.96rem; }
.last-updated { margin: 4px 0 0; color: var(--muted); font-size: 0.86rem; }
.timestamp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.time-toggle { border: 1px solid var(--border); background: #f4faf7; color: var(--brand); border-radius: 8px; padding: 6px 10px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }

.status-message { margin: 8px 0 2px; color: #b45309; font-size: 0.92rem; }
.status-message:empty { display: none; }

.trust-note { margin: 12px 0 0; padding: 10px 12px; background: #f4f8f6; border: 1px solid var(--border); border-radius: 10px; font-size: 0.86rem; color: #4e5f58; }

.feature-figure { margin: 14px 0 0; }
.feature-figure img { width: 100%; max-height: 280px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.feature-figure figcaption { margin-top: 6px; color: var(--muted); font-size: 0.84rem; }

.pair-guide-figure {
  margin: 12px 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.pair-guide-figure img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
}
.pair-guide-figure figcaption {
  margin: 0;
  padding: 8px 12px;
  color: var(--muted);
  background: var(--highlight);
  font-size: 0.85rem;
}

.quick-conversions, .buying-power-dynamic, .mini-tools {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.quick-conversions { background: var(--accent-soft); }
.buying-power-dynamic, .mini-tools { background: #f8fbf9; }

.quick-conversions-list, .buying-power-list, .clean-list { margin: 0; padding-left: 18px; }
.quick-conversions-list li, .buying-power-list li, .clean-list li { margin-bottom: 6px; }
.clean-list li strong { color: var(--brand-dark); }

.mini-tools-grid, .stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-tool-card, .stat-card { border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 10px 12px; }
.mini-tool-card:hover, .stat-card:hover {
  border-color: #c5ddd3;
  box-shadow: 0 6px 14px rgba(43, 87, 74, 0.08);
}
.mini-tool-card h4 { margin: 0 0 6px; }
.mini-tool-card p { margin: 8px 0 0; font-size: 0.88rem; }
.stat-card small { color: var(--muted); display: block; font-size: 0.8rem; }
.stat-card strong { display: block; margin-top: 4px; font-size: 1rem; }

.grid-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.full-width { grid-column: 1 / -1; }

.example-links { margin-top: 12px; display: grid; gap: 8px; }
.example-links a { color: var(--brand); text-decoration: none; font-weight: 600; }
.example-links a:hover { text-decoration: underline; }
.time-links-inline {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.trend-insight { font-weight: 600; color: #2f6f63; }
details { border-top: 1px solid var(--border); padding: 10px 0; }
details:first-of-type { border-top: 0; padding-top: 0; }
summary { cursor: pointer; font-weight: 600; }
details[open] summary { color: var(--brand-dark); }

.footer {
  margin-top: 0;
  border-top: 2px solid var(--brand);
  padding: 44px 0 48px;
  background: linear-gradient(180deg, #f9fcfb 0%, #f2f9f6 55%, #eaf4f0 100%);
  color: var(--muted);
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  width: 100%;
}

.footer-col {
  min-width: 0;
  padding-right: 28px;
}

.footer-col:not(:first-child) {
  padding-left: 36px;
  border-left: 1px solid rgba(47, 111, 99, 0.22);
}

.footer-col-title {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.footer-about-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch;
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-link-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list a {
  display: inline-block;
  color: var(--brand-dark);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.footer-link-list a:hover {
  color: var(--brand);
  border-bottom-color: rgba(47, 111, 99, 0.35);
}

@media (max-width: 800px) {
  .timestamp-row { flex-direction: column; align-items: flex-start; }
  .form-grid, .grid-sections, .stats-grid, .mini-tools-grid, .spotlight-grid, .spotlight-grid-3 { grid-template-columns: 1fr; }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-col {
    padding-right: 0;
  }
  .footer-col:not(:first-child) {
    padding-left: 0;
    border-left: none;
    padding-top: 28px;
    border-top: 1px solid rgba(47, 111, 99, 0.18);
  }
  .footer-about-text { max-width: none; }
}

/*
  SITE HEADER + HERO SPLIT — safe revert:
  • Restore styles from styles.backup-before-site-header-hero-split.css (overwrite this file), OR
  • Delete this whole block through “end SITE HEADER + HERO SPLIT”.
  Uses only existing palette vars / hero gradient; nav in header uses --text / --brand.
*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(43, 87, 74, 0.06);
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 12px 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.site-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(220px, 52vw);
}

.site-header .top-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 10px;
  padding: 10px 14px;
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(47, 111, 99, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
  box-shadow: 0 2px 10px rgba(43, 87, 74, 0.07);
}

.site-header .top-menu a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 11px;
  border-radius: 10px;
}

.site-header .top-menu a:hover {
  color: #1a433d;
  background: rgba(47, 111, 99, 0.1);
}

.site-header .top-menu a[aria-current="page"] {
  color: var(--brand-dark);
  background: rgba(47, 111, 99, 0.14);
  box-shadow: inset 0 0 0 1px rgba(47, 111, 99, 0.25);
}

.hero {
  padding: 48px 0 44px;
}

@media (max-width: 640px) {
  .site-header-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .site-header .top-menu {
    justify-content: center;
  }
}
/* end SITE HEADER + HERO SPLIT */
