/* ═══════════════════════════════════════════════════════════════════
   FLEET STYLESHEET v2 — desktop-landscape-first, 5 skins
   html[data-skin="editorial"]  → AI ToolLab: dark aurora glass
   html[data-skin="ledger"]     → MoneyPilot: light financial broadsheet
   html[data-skin="terminal"]   → DevToolkit: dark monospace terminal
   html[data-skin="storefront"] → PromptForge: warm retail storefront
   html[data-skin="command"]    → FleetDeck: command-center console
   Skins only set variables + signature details; the layout engine is shared.
   ═══════════════════════════════════════════════════════════════════ */

/* ── tokens ─────────────────────────────────────────────────── */
:root {
  --bg: #f7f7fb;
  --fg: #14161f;
  --muted: #5d6470;
  --accent: #6d5cff;
  --accent2: #00c2a8;
  --accent3: #ff5c8a;
  --card: #ffffff;
  --card-tr: rgba(255, 255, 255, 0.72);
  --border: rgba(20, 22, 31, 0.09);
  --code-bg: rgba(20, 22, 31, 0.05);
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: var(--font-body);
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, Menlo, monospace;
  --radius: 20px;
  --wrap: 1140px;
  --shadow: 0 18px 50px -18px rgba(31, 27, 92, 0.28);
  --glow: 0 0 0 1px rgba(109, 92, 255, 0.25), 0 12px 40px -12px rgba(109, 92, 255, 0.45);
  --ratio: 16 / 7;
}

[data-theme="dark"] {
  --bg: #0a0c14;
  --fg: #eaecf5;
  --muted: #98a0b3;
  --card: rgba(22, 25, 38, 0.72);
  --border: rgba(234, 236, 245, 0.1);
  --code-bg: rgba(234, 236, 245, 0.07);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.6);
}

/* ══ SKIN: editorial — AI ToolLab (dark aurora glass) ═════════ */
html[data-skin="editorial"] {
  --radius: 20px;
  --ratio: 16 / 7;
}
html[data-skin="editorial"]:not([data-theme="dark"]) {
  --bg: #f6f5ff;
  --card: #ffffff;
}
html[data-skin="editorial"][data-theme="dark"] {
  --card: rgba(22, 25, 38, 0.72);
}
html[data-skin="editorial"] .brand,
html[data-skin="editorial"] .hero h1 {
  background: linear-gradient(100deg, var(--accent), var(--accent2), var(--accent3), var(--accent));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hueSlide 9s linear infinite;
}
html[data-skin="editorial"] .card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--card);
}

/* ══ SKIN: ledger — MoneyPilot (light financial broadsheet) ═══ */
html[data-skin="ledger"] {
  --bg: #f6f9f7;
  --fg: #0c1f18;
  --muted: #5a6b64;
  --accent: #00875a;
  --accent2: #1a73e8;
  --accent3: #b7791f;
  --card: #ffffff;
  --card-tr: rgba(255, 255, 255, 0.9);
  --border: #dde7e1;
  --code-bg: rgba(12, 31, 24, 0.055);
  --radius: 10px;
  --wrap: 1120px;
  --shadow: 0 1px 2px rgba(12, 31, 24, 0.05), 0 8px 26px -16px rgba(12, 31, 24, 0.18);
  --glow: 0 0 0 1px rgba(0, 135, 90, 0.22), 0 10px 30px -14px rgba(0, 135, 90, 0.28);
  --ratio: 2 / 1;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}
html[data-skin="ledger"] body { line-height: 1.72; }
html[data-skin="ledger"] article h1,
html[data-skin="ledger"] .hero h1,
html[data-skin="ledger"] .card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
html[data-skin="ledger"] .hero h1,
html[data-skin="ledger"] article h1 {
  color: var(--fg);
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
html[data-skin="ledger"] .eyebrow {
  background: color-mix(in srgb, var(--accent) 8%, #ffffff);
  color: var(--accent);
  border: 1px solid #c9ded4;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  animation: none;
}
html[data-skin="ledger"] .card { box-shadow: var(--shadow); }
html[data-skin="ledger"] .card:hover { transform: none; border-color: #b9d2c6; box-shadow: var(--glow); }
html[data-skin="ledger"] .card a:hover h2 { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
html[data-skin="ledger"] article h2::before { width: 3px; background: var(--accent); }
html[data-skin="ledger"] .takeaway {
  border-left: 4px solid var(--accent);
  background: #f2f8f5;
  border-radius: 0 10px 10px 0;
}
html[data-skin="ledger"] .brand { color: var(--fg); background: none; animation: none; font-family: var(--font-display); }
html[data-skin="ledger"] .brand::before { content: "§ "; color: var(--accent); }

/* ══ SKIN: terminal — DevToolkit (dark monospace console) ═════ */
html[data-skin="terminal"] {
  --bg: #0b0f0c;
  --fg: #d7e4d9;
  --muted: #7d9384;
  --accent: #33ff99;
  --accent2: #b18cff;
  --accent3: #ffb454;
  --card: #101712;
  --card-tr: rgba(16, 23, 18, 0.86);
  --border: rgba(120, 200, 150, 0.16);
  --code-bg: rgba(120, 200, 150, 0.09);
  --radius: 6px;
  --wrap: 1160px;
  --shadow: 0 16px 44px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(51, 255, 153, 0.35), 0 0 28px -6px rgba(51, 255, 153, 0.3);
  --ratio: 2 / 1;
  --font-body: var(--font-mono);
  --font-display: var(--font-mono);
}
html[data-skin="terminal"] body { line-height: 1.72; }
html[data-skin="terminal"] .hero h1,
html[data-skin="terminal"] article h1 { font-weight: 600; letter-spacing: -0.015em; }
html[data-skin="terminal"] .hero h1::before,
html[data-skin="terminal"] article h1::before { content: "> "; color: var(--accent); }
html[data-skin="terminal"] .eyebrow {
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  animation: none;
  background: rgba(51, 255, 153, 0.08);
}
html[data-skin="terminal"] .kicker::before { content: "$ cat "; color: var(--muted); }
html[data-skin="terminal"] .brand::before { content: "~/ "; color: var(--accent); }
html[data-skin="terminal"] .brand { text-shadow: 0 0 18px rgba(51, 255, 153, 0.45); animation: none; background: none; color: var(--accent); -webkit-text-fill-color: currentColor; }
html[data-skin="terminal"] .card:hover { box-shadow: var(--glow), var(--shadow); transform: translateY(-3px); }
html[data-skin="terminal"] .card a:hover h2 { background: none; color: var(--accent); -webkit-text-fill-color: currentColor; }
html[data-skin="terminal"] .hero h1 { color: var(--fg); background: none; -webkit-text-fill-color: currentColor; animation: none; }
html[data-skin="terminal"] .hero h1::after { content: "▊"; color: var(--accent); animation: blink 1.1s steps(1) infinite; margin-left: 0.12em; }
html[data-skin="terminal"] article h2::before { display: none; }
html[data-skin="terminal"] article h2 { padding-left: 0; }
html[data-skin="terminal"] article h2::after { content: " ::"; color: var(--accent); opacity: 0.55; }
html[data-skin="terminal"] .takeaway { background: rgba(51, 255, 153, 0.05); }
html[data-skin="terminal"] code { color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* ══ SKIN: storefront — PromptForge (warm retail) ═════════════ */
html[data-skin="storefront"] {
  --bg: #faf6f1;
  --fg: #241a12;
  --muted: #7a6a5c;
  --accent: #b4540a;
  --accent2: #7c3aed;
  --accent3: #d97706;
  --card: #ffffff;
  --card-tr: rgba(255, 255, 255, 0.88);
  --border: #ecdfd2;
  --code-bg: rgba(36, 26, 18, 0.05);
  --radius: 16px;
  --wrap: 1160px;
  --shadow: 0 10px 30px -14px rgba(120, 72, 20, 0.25);
  --glow: 0 0 0 1px rgba(180, 84, 10, 0.28), 0 14px 34px -14px rgba(180, 84, 10, 0.35);
  --ratio: 4 / 3;
  --font-display: "Avenir Next", "Segoe UI", Frutiger, ui-sans-serif, system-ui, sans-serif;
}
html[data-skin="storefront"] .hero h1 { color: var(--fg); background: none; -webkit-text-fill-color: currentColor; }
html[data-skin="storefront"] .eyebrow {
  background: #fff2e2;
  color: #a34e08;
  border: 1px solid #f2d9bd;
  animation: none;
}
html[data-skin="storefront"] .card { box-shadow: var(--shadow); }
html[data-skin="storefront"] .card:hover { transform: translateY(-6px); box-shadow: var(--glow), var(--shadow); }
html[data-skin="storefront"] .card a:hover h2 { background: none; color: var(--accent); -webkit-text-fill-color: currentColor; }
html[data-skin="storefront"] .price-tag,
html[data-skin="storefront"] .card .meta .price-tag,
html[data-skin="storefront"] .price-line .price-tag {
  background: linear-gradient(120deg, #b4540a, #d97706);
  color: #fff;
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-weight: 800;
}
html[data-skin="storefront"] .buy-btn {
  background: linear-gradient(120deg, #b4540a, #d97706);
  box-shadow: 0 10px 24px -10px rgba(180, 84, 10, 0.55);
  border-radius: 999px;
}
html[data-skin="storefront"] .buy-btn:hover { box-shadow: 0 14px 30px -10px rgba(180, 84, 10, 0.7); }
html[data-skin="storefront"] .brand::before { content: "◆ "; color: var(--accent); }

/* ══ SKIN: command — FleetDeck (mission-control console) ══════ */
html[data-skin="command"] {
  --bg: #070a12;
  --fg: #dfe6f5;
  --muted: #8b95ad;
  --accent: #4f7cff;
  --accent2: #00e0c2;
  --accent3: #ffb454;
  --card: rgba(17, 23, 38, 0.82);
  --card-tr: rgba(17, 23, 38, 0.82);
  --border: rgba(140, 165, 220, 0.14);
  --code-bg: rgba(140, 165, 220, 0.08);
  --radius: 14px;
  --wrap: 1200px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.65);
  --glow: 0 0 0 1px rgba(79, 124, 255, 0.3), 0 12px 40px -12px rgba(79, 124, 255, 0.4);
  --ratio: 16 / 6;
}
html[data-skin="command"] body { line-height: 1.6; }
html[data-skin="command"] .kpi-num { font-family: var(--font-mono); }
html[data-skin="command"] .hero h1 { color: var(--fg); background: linear-gradient(95deg, var(--fg) 30%, var(--accent) 65%, var(--accent2)); -webkit-background-clip: text; background-clip: text; }
html[data-skin="command"] .brand { background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3), var(--accent)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hueSlide 9s linear infinite; }
html[data-skin="command"] .kpi { position: relative; overflow: hidden; }
html[data-skin="command"] .kpi::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), transparent);
  opacity: 0.7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── aurora backdrop (editorial + command only, injected by site.js) ── */
.aurora { display: none; }
html[data-skin="editorial"] .aurora,
html[data-skin="command"] .aurora {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
html[data-skin="editorial"] .aurora span,
html[data-skin="command"] .aurora span {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: drift 26s ease-in-out infinite alternate;
}
html[data-skin="editorial"] .aurora span:nth-child(1) { background: var(--accent); top: -18vmax; left: -12vmax; }
html[data-skin="editorial"] .aurora span:nth-child(2) { background: var(--accent2); bottom: -20vmax; right: -14vmax; animation-delay: -8s; animation-duration: 32s; }
html[data-skin="editorial"] .aurora span:nth-child(3) { background: var(--accent3); top: 38%; left: 52%; animation-delay: -16s; animation-duration: 38s; opacity: 0.22; }
html[data-skin="command"] .aurora span { opacity: 0.16; animation-duration: 34s; }
html[data-skin="command"] .aurora span:nth-child(1) { background: var(--accent); top: -20vmax; left: -10vmax; }
html[data-skin="command"] .aurora span:nth-child(2) { background: var(--accent2); bottom: -22vmax; right: -16vmax; animation-delay: -9s; }
html[data-skin="command"] .aurora span:nth-child(3) { background: var(--accent3); top: 42%; left: 55%; animation-delay: -18s; opacity: 0.1; }
html[data-theme="dark"] .aurora span { opacity: 0.28; }

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vmax, -4vmax, 0) scale(1.15); }
  100% { transform: translate3d(-5vmax, 5vmax, 0) scale(0.95); }
}
@keyframes hueSlide { to { background-position: 300% 0; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes ticker {
  from { background-position: 0 50%; }
  to   { background-position: 46px 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora span, html .brand, html .hero h1 { animation: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── layout ─────────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.6rem; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  border-bottom: 1px solid var(--border);
}
.head-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.brand {
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
html[data-skin="editorial"] .brand { -webkit-text-fill-color: transparent; }

nav { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; justify-content: flex-end; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.2s ease;
  white-space: nowrap;
}
nav a:hover { color: var(--accent); }

/* ── currency widget (all money options) ────────────────────── */
.currency-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  background: var(--card-tr);
  border-radius: 999px;
  padding: 0.22rem 0.45rem 0.22rem 0.7rem;
  font-size: 0.86rem;
}
.currency-symbol { color: var(--accent); font-weight: 800; min-width: 1.3em; text-align: center; }
.currency-select {
  border: none;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding-right: 0.2rem;
  outline-offset: 2px;
}
.currency-select option { color: #14161f; background: #fff; }

/* ── hero ───────────────────────────────────────────────────── */
.hero { margin: 3.2rem 0 2.6rem; text-align: center; }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  margin-bottom: 1rem;
  animation: popIn 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
  color: var(--fg);
  animation: popIn 0.8s 0.08s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
}
.hero .dek { color: var(--muted); font-size: 1.15rem; margin: 0 auto; max-width: 620px; animation: popIn 0.8s 0.16s both; }

/* ── cards: real landscape grid on desktop ──────────────────── */
.posts {
  list-style: none;
  padding: 0;
  margin: 0 0 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1.1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover {
  transform: translateY(-5px) scale(1.008);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: var(--glow), var(--shadow);
}
.card a.thumb { display: block; overflow: hidden; background: var(--code-bg); }
.card a.thumb img {
  display: block;
  width: 100%;
  aspect-ratio: var(--ratio);
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.card:hover a.thumb img { transform: scale(1.05); }
.card-body { padding: 1.2rem 1.5rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card h2 { margin: 0 0 0.4rem; font-size: 1.28rem; line-height: 1.3; letter-spacing: -0.015em; font-family: var(--font-display); }
.card a { color: inherit; text-decoration: none; }
.card .dek { color: var(--muted); margin: 0 0 0.7rem; font-size: 0.97rem; flex: 1; }
.card .meta { color: var(--muted); font-size: 0.84rem; margin: 0; }
.card .meta .tag { color: var(--accent); font-weight: 600; }

.price-tag { font-weight: 800; color: var(--accent); }

/* ── article ────────────────────────────────────────────────── */
article { padding: 2.6rem 0 3rem; }
.kicker {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 0.6rem;
}
.reading-time { color: var(--muted); font-weight: 600; }
article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.4vw, 2.65rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
  animation: popIn 0.7s both;
}
.dek { color: var(--muted); font-size: 1.13rem; margin: 0 0 1.6rem; }
.hero-img {
  width: 100%;
  aspect-ratio: var(--ratio);
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin: 0 0 2rem;
}
article h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2.3rem 0 0.85rem;
  letter-spacing: -0.015em;
  position: relative;
  padding-left: 0.9rem;
}
article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}
article p { margin: 0 0 1.15rem; }
article ul, article ol { padding-left: 1.45rem; margin: 0 0 1.15rem; }
article li { margin-bottom: 0.45rem; }
article a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
article blockquote {
  margin: 1.3rem 0;
  padding: 0.7rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: var(--card);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}
article code {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.1rem 0.36rem;
  font-size: 0.88em;
  font-family: var(--font-mono);
}

/* scroll-reveal targets */
section, .aff-box, .takeaway { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1); }
section.in, .aff-box.in, .takeaway.in { opacity: 1; transform: none; }
.no-js section, .no-js .aff-box, .no-js .takeaway { opacity: 1; transform: none; }

/* ── faq ────────────────────────────────────────────────────── */
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1.2rem;
  margin-bottom: 0.7rem;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.faq summary { cursor: pointer; font-weight: 700; }

/* ── takeaway + affiliate ───────────────────────────────────── */
.takeaway {
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 12%, var(--card)), color-mix(in srgb, var(--accent2) 12%, var(--card)));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
  border-radius: 18px;
  padding: 0.5rem 1.4rem 1rem;
  margin: 2.2rem 0;
}
.aff-box {
  background: var(--card);
  backdrop-filter: blur(14px);
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--border));
  border-radius: 18px;
  padding: 1.1rem 1.4rem;
  margin: 2.2rem 0;
}
.aff-box h3 { margin: 0 0 0.6rem; font-size: 1.06rem; }
.aff-box ul { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.aff-box li { margin-bottom: 0.4rem; }
.aff-box a { font-weight: 700; }
.aff-box .why { color: var(--muted); font-size: 0.92rem; }
.aff-note { color: var(--muted); font-size: 0.82rem; margin: 0; }
.muted-note { color: var(--muted); }

/* ── product pages ──────────────────────────────────────────── */
.product .includes { list-style: none; padding: 0; }
.product .includes li { padding: 0.35rem 0 0.35rem 1.6rem; position: relative; }
.product .includes li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price-line { font-size: 1.15rem; }
.buy-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.85rem 1.7rem;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.buy-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: var(--glow); color: #fff; }

/* ── footer: real multi-column landscape footer ─────────────── */
.site-foot {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 2.4rem 0 1.8rem;
}
.foot-grid h4 {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 0.4rem; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-blurb { max-width: 38ch; margin: 0; }
.foot-legal {
  border-top: 1px solid var(--border);
  padding: 1rem 0 2.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.foot-legal p { margin: 0; }

/* theme toggle button */
.theme-btn {
  position: fixed;
  bottom: 1.1rem;
  right: 1.1rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-tr);
  backdrop-filter: blur(10px);
  color: var(--fg);
  cursor: pointer;
  font-size: 1.15rem;
  z-index: 60;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.4), box-shadow 0.25s ease;
}
.theme-btn:hover { transform: scale(1.12) rotate(14deg); box-shadow: var(--glow); }
/* ledger + storefront are intentionally fixed-light brand designs */
html[data-skin="ledger"] .theme-btn,
html[data-skin="storefront"] .theme-btn { display: none; }

/* ── dashboard: KPI grid, rate strip, tables ────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin: 0 0 1.4rem;
}
.kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.kpi:hover { transform: translateY(-3px); box-shadow: var(--glow), var(--shadow); }
.kpi-num {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.1;
}
.kpi-label { color: var(--muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

.rate-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0.7rem 1.2rem;
  margin: 0 0 2.2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  overflow-x: auto;
}
.rate-strip #fx-strip { color: var(--fg); white-space: nowrap; }
.rate-label {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  position: relative;
  padding-left: 1.1rem;
}
.rate-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--accent2);
  animation: pulse 1.6s ease-in-out infinite;
}
.rate-src { font-size: 0.72rem; opacity: 0.7; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }

table.rev {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.93rem;
}
table.rev th, table.rev td { text-align: left; padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); }
table.rev th {
  background: color-mix(in srgb, var(--accent) 9%, var(--card));
  color: var(--fg);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
table.rev tr:last-child td { border-bottom: none; }
table.rev tbody tr:hover td, table.rev tr:hover td { background: color-mix(in srgb, var(--accent) 5%, transparent); }
table.rev a { color: var(--accent); font-weight: 700; text-decoration: none; }
table.rev a:hover { text-decoration: underline; }

/* ── desktop landscape breakpoint ───────────────────────────── */
@media (min-width: 900px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
  .posts li.card:first-child { grid-column: 1 / -1; }
  .posts li.card:first-child .card h2 { font-size: 1.7rem; }
  .posts li.card:first-child a.thumb img { aspect-ratio: 21 / 9; }
}
@media (min-width: 1280px) {
  .posts { grid-template-columns: repeat(3, 1fr); }
  .kpi-grid { gap: 1.3rem; }
}

/* ── responsive: tablet + mobile ────────────────────────────── */
@media (max-width: 899px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { margin-top: 2.2rem; }
  .card-body { padding: 1rem 1.1rem 1.1rem; }
  .kpi-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  nav { gap: 0.7rem; }
  .currency-widget { padding: 0.18rem 0.35rem 0.18rem 0.55rem; }
  table.rev { display: block; overflow-x: auto; }
}
