/* DIVINE FOREX — Vivid Lime + Pure White, production, no fluff */
:root {
  --bg: #ffffff;
  --tint: #f4fbe4;
  --card: #ffffff;
  --ink: #0d1a00;
  --mut: #4a5a3a;
  --dim: #7a8a6a;
  --lime: #55c000;
  --lime-d: #3d8f00;
  --lime-br: #78e000;
  --line: #d9e8bd;
  --line2: #b8d97a;
  --r: 16px;
  --sh: 0 12px 40px rgba(61, 143, 0, 0.12);
  --appbar-h: 0px;
  --gutter: clamp(18px, 5vw, 32px);
  --font:
    "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable both-edges;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* Modern slim scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(61, 143, 0, 0.42) transparent;
}
html[data-theme="dark"],
html[data-theme="dark"] * {
  scrollbar-color: rgba(120, 224, 0, 0.48) transparent;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8ed14a, var(--lime));
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  min-height: 44px;
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--lime-br), var(--lime-d));
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}
*::-webkit-scrollbar-corner {
  background: transparent;
}
*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
html[data-theme="dark"]::-webkit-scrollbar-thumb,
html[data-theme="dark"] *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b8ec7f, var(--lime));
  border: 2px solid transparent;
  background-clip: padding-box;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
body:has(.appbar) {
  padding-bottom: var(--appbar-h);
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.hero-grid > *,
.mkt > *,
.grid2 > *,
.grid3 > *,
.steps > *,
.admin-grid > * {
  min-width: 0;
}
/* Ticker */
.ticker {
  background: var(--ink);
  color: #eaffcf;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
}
.ticker .track {
  display: inline-block;
  padding: 7px 0;
  animation: slide 30s linear infinite;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition:
    background-color 0.3s,
    box-shadow 0.25s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 8px 30px rgba(13, 26, 0, 0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  max-width: 1140px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-ring {
  position: relative;
  isolation: isolate;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  box-shadow: 0 6px 18px rgba(31, 58, 18, 0.3);
  flex: none;
}
.logo-ring::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 56%,
    rgba(120, 224, 0, 0.12) 64%,
    #78e000 76%,
    #d6ff9b 86%,
    transparent 94% 100%
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3.5px),
    #000 calc(100% - 3px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3.5px),
    #000 calc(100% - 3px)
  );
  animation: logo-orbit 3.4s linear infinite;
  filter: drop-shadow(0 0 4px rgba(120, 224, 0, 0.85));
  pointer-events: none;
  z-index: 2;
}
.logo-ring::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(120, 224, 0, 0.34) 0%,
    rgba(120, 224, 0, 0.12) 56%,
    transparent 72%
  );
  animation: logo-breathe 3.4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes logo-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes logo-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}
.logo-ring div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--lime-d);
  overflow: hidden;
  position: relative;
}
.logo-ring img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.logo-ring,
.logo-ring img {
  animation: none !important;
  transition: none !important;
}
.brand b {
  font-size: 17px;
  letter-spacing: 0.1em;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--lime-d);
  font-weight: 800;
}
/* Liquid segmented nav */
.links {
  position: relative;
  display: flex;
  gap: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mut);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 5px;
  box-shadow:
    0 8px 24px rgba(61, 143, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.links .thumb {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  width: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--lime-br),
    var(--lime) 55%,
    var(--lime-d)
  );
  box-shadow:
    0 4px 14px rgba(85, 192, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.links a {
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: var(--mut);
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.25s;
}
.links a:hover {
  color: var(--lime-d);
}
.links a.on {
  color: #fff;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--tint);
  border: 1.5px solid var(--line2);
  border-radius: 10px;
  padding: 10px 11px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--lime-d);
  border-radius: 2px;
  transition: 0.2s;
}
.burger.x span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.burger.x span:nth-child(2) {
  opacity: 0;
}
.burger.x span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
.mnav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mnav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  padding: 11px 14px;
  border-radius: 10px;
}
.mnav a:hover,
.mnav a.on {
  background: var(--tint);
  color: var(--lime-d);
}
.mnav.open {
  display: flex;
}
section[id],
div[id] {
  scroll-margin-top: 96px;
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--lime);
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  color: var(--lime-d);
  transition:
    transform 100ms ease-out,
    background-color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.btn:active {
  transform: scale(0.94);
}
.btn.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #fff;
  box-shadow: 0 8px 22px rgba(85, 192, 0, 0.35);
}
.btn.primary:hover {
  background: var(--lime-d);
}
.btn.small {
  padding: 8px 15px;
  font-size: 13px;
}
/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fde9 0%, #fff 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  padding-block: 56px 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e9f9c9;
  border: 1px solid var(--line2);
  color: var(--lime-d);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.04;
  margin: 16px 0 12px;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.hero h1 span {
  color: var(--lime-d);
}
.sub {
  color: var(--mut);
  font-size: 16.5px;
  max-width: 54ch;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.stat {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 18px;
}
.stat span {
  font-size: 12px;
  color: var(--mut);
}
/* Converter */
.fx-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.78),
    rgba(244, 251, 228, 0.62)
  );
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 2px solid var(--lime);
  border-radius: 20px;
  padding: 22px;
  box-shadow:
    0 24px 60px rgba(61, 143, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(85, 192, 0, 0.12);
}
.fx-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.fx-head h3 {
  margin: 0;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live {
  display: inline-block;
  font-size: 11px;
  color: #fff;
  background: rgba(85, 192, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.live.pulse {
  animation: livepulse 0.55s ease-out 2;
}
@keyframes livepulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(85, 192, 0, 0.55);
  }
  70% {
    transform: scale(1.07);
    box-shadow: 0 0 0 8px rgba(85, 192, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(85, 192, 0, 0);
  }
}
.field label {
  font-size: 12.5px;
  color: var(--mut);
  font-weight: 700;
}
.field input,
.field select {
  width: 100%;
  margin-top: 6px;
  background: #fff;
  border: 1.5px solid var(--line2);
  color: var(--ink);
  border-radius: 11px;
  padding: 12px;
  font-size: 16px;
  outline: none;
}
.field input:focus,
.field select:focus {
  border-color: var(--lime);
}
.fx-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 8px;
  align-items: end;
}
.swap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--lime);
  background: var(--tint);
  color: var(--lime-d);
  font-size: 19px;
  cursor: pointer;
  transition: transform 100ms ease-out;
}
.swap-ic {
  width: 24px;
  height: 24px;
  flex: none;
}
[data-theme="dark"] .swap {
  color: var(--lime-br);
}
.swap:active {
  transform: scale(0.94);
}
.fx-out {
  background: var(--tint);
  border: 1px dashed var(--lime);
  border-radius: 12px;
  padding: 12px;
  margin-top: 12px;
}
.fx-out b {
  font-size: 25px;
}
.fx-leg {
  font-size: 12.5px;
  color: var(--mut);
}
.fx-note {
  font-size: 12px;
  color: var(--dim);
  margin-top: 8px;
}
/* Payout rails */
.rails {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.rails-t {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.rail-icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.rail {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 4px;
  text-align: center;
}
.rail svg {
  width: 22px;
  height: 22px;
  stroke: var(--lime-d);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto;
}
.rail span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--mut);
  margin-top: 4px;
}
/* Sections */
.sec {
  padding-block: 48px;
}
.sec h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}
.sec h2 em {
  color: var(--lime-d);
  font-style: normal;
}
.lead {
  color: var(--mut);
  max-width: 68ch;
  text-wrap: pretty;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: 0 4px 18px rgba(61, 143, 0, 0.06);
}
.card h4 {
  margin: 8px 0 6px;
}
.card p {
  color: var(--mut);
  font-size: 14.5px;
  margin: 0;
}
.icon {
  background: var(--tint);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  flex: none;
}
.icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--lime-d);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
}
.service-card .icon {
  margin-top: 2px;
}
.service-copy {
  min-width: 0;
}
.service-copy h4 {
  margin: 0 0 4px;
}
.service-copy p {
  font-size: 13.5px;
  line-height: 1.5;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.step {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: 20px;
}
.step b {
  color: var(--lime-br);
}
.step p {
  color: #c9d8b5;
  font-size: 14px;
  margin: 6px 0 0;
}
/* Testimonials + CTA */
.tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: 0 4px 18px rgba(61, 143, 0, 0.06);
}
.tcard p {
  color: var(--mut);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
.tstars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 0.06em;
}
.qmark {
  margin-left: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 0.6;
  color: var(--line2);
}
.tperson {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  flex: none;
}
.tperson b {
  display: block;
  font-size: 14px;
}
.tperson i {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--dim);
}
.ctacard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 34px 26px;
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
}
.ceyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--lime-br);
}
.ctacard h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  text-wrap: balance;
}
.ctacard h3 span {
  color: var(--lime-br);
}
.ctacard p {
  margin: 0;
  max-width: 60ch;
  color: #c9d8b5;
  font-size: 15px;
  text-wrap: pretty;
}
.cta-wa {
  margin-top: 6px;
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}
.cta-wa:hover {
  background: #1eb955;
}
.ctasub {
  font-size: 12.5px;
  color: #8aa37a;
}
/* Charts */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.tab {
  border: 1.5px solid var(--line2);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--mut);
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition:
    transform 100ms ease-out,
    background-color 0.2s,
    border-color 0.2s;
}
.tab:active {
  transform: scale(0.94);
}
.tab.on {
  background: var(--lime);
  color: #fff;
  border-color: var(--lime);
}
.chart-frame {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: 16px;
  overflow: hidden;
  min-height: 480px;
  position: relative;
}
.tvbox {
  height: 480px;
}
.chart-svg {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--mut);
}
.chart-fallback {
  padding: 40px 24px;
  text-align: center;
}
.chart-fallback[hidden] {
  display: none;
}
.chart-fallback b {
  font-size: 17px;
}
.chart-fallback p {
  color: var(--mut);
  font-size: 14px;
  margin: 8px 0 14px;
}
/* Markets with symbol rails */
.mkt {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 14px;
  align-items: stretch;
  margin-top: 6px;
}
.mkt.rev {
  grid-template-columns: 250px 1fr;
}
.sym-rail {
  background: linear-gradient(
    180deg,
    rgba(244, 251, 228, 0.75),
    rgba(255, 255, 255, 0.55)
  );
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  padding: 14px;
  overflow: auto;
  max-height: 548px;
}
.sym-rail h5 {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lime-d);
}
.sym-rail .hint {
  font-size: 11.5px;
  color: var(--dim);
  margin: 0 0 10px;
}
.sym-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px 10px;
  margin-bottom: 8px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  transition:
    transform 100ms ease-out,
    border-color 0.2s;
}
.sym-row:active {
  transform: scale(0.97);
}
.sym-row:hover {
  border-color: var(--lime);
}
.sym-row .flag-img {
  width: 32px;
  height: 23px;
  object-fit: cover;
  border-radius: 5px;
  flex: none;
}
.sym-row .coin-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
}
.sym-row b {
  font-size: 13.5px;
}
.sym-row span {
  display: block;
  font-size: 11px;
  color: var(--mut);
  font-weight: 600;
}
.sym-row .big {
  margin-left: auto;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}
.sym-row .rate {
  display: block;
  font-size: 10.5px;
  color: var(--lime-d);
  font-weight: 700;
}
/* FAQ */
details {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  margin-bottom: 8px;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
details p {
  color: var(--mut);
  font-size: 14.5px;
  margin: 8px 0 0;
}
/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--dim);
  font-size: 13px;
  background: #fbfef2;
}
/* WhatsApp */
.whats {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: rgba(37, 211, 102, 0.88);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 20px;
  text-decoration: none;
  box-shadow:
    0 12px 32px rgba(37, 211, 102, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.wa-ic {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}
.h-ic {
  width: 20px;
  height: 20px;
  stroke: var(--lime-d);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
}
/* App tab bar — mobile only, hidden on desktop/tablet */
.appbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 2px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(13, 26, 0, 0.1);
}
.appbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px;
  text-decoration: none;
  color: var(--mut);
  font-size: 10px;
  font-weight: 700;
  border-radius: 12px;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.appbar a svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.appbar a.on,
.appbar a:active {
  color: var(--lime-d);
  background: var(--tint);
}
.appbar a.fab {
  width: 52px;
  height: 52px;
  min-height: 52px;
  margin: -20px auto 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.94);
  color: #fff;
  border: 3px solid var(--bg);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
}
.appbar a.fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
}
.appbar a.fab.on,
.appbar a.fab:active {
  background: rgba(37, 211, 102, 1);
  color: #fff;
}
[data-theme="dark"] .appbar {
  background: rgba(11, 19, 10, 0.84);
  border-top-color: rgba(120, 224, 0, 0.22);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .appbar a.fab {
  border-color: #0b130a;
}
/* Admin */
.admin-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 16px;
  align-items: start;
}
input[type="text"],
input[type="number"],
input[type="password"] {
  background: #fff;
  border: 1.5px solid var(--line2);
  color: var(--ink);
  border-radius: 9px;
  padding: 10px;
  width: 100%;
}
.switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 999px;
  cursor: pointer;
}
.switch.on {
  background: var(--lime);
}
.switch:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}
.switch.on:after {
  left: 22px;
}
table.rates {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
table.rates th,
table.rates td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.rates th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime-d);
  background: var(--tint);
}
table.rates .coin-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  vertical-align: -6px;
  margin-right: 2px;
}
.admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-actions .lbl-short {
  display: none;
}
.admin-actions .btn {
  white-space: nowrap;
}
/* Modern dropdowns with flags */
.dd {
  position: relative;
  margin-top: 6px;
}
.dd-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--line2);
  border-radius: 11px;
  padding: 9px 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.dd-btn:hover,
.dd.open .dd-btn {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(85, 192, 0, 0.14);
}
.dd-btn .flag-img,
.dd-btn .coin-img {
  width: 30px;
  height: 22px;
  object-fit: cover;
  border-radius: 5px;
  flex: none;
  background: var(--tint);
}
.dd-btn .coin-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
.dd-btn .dd-txt {
  min-width: 0;
}
.dd-btn .dd-txt b {
  display: block;
  line-height: 1.2;
}
.dd-btn .dd-txt span {
  display: block;
  font-size: 11.5px;
  color: var(--mut);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dd-btn .chev {
  margin-left: auto;
  color: var(--lime-d);
  font-size: 13px;
  flex: none;
}
.dd-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1.5px solid var(--line2);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(13, 26, 0, 0.16);
  max-height: 264px;
  overflow: auto;
  display: none;
  z-index: 40;
}
.dd.open .dd-list {
  display: block;
}
.dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.dd-item:hover {
  background: var(--tint);
}
.dd-item.sel {
  background: #e9f9c9;
}
.dd-item .flag-img {
  width: 30px;
  height: 22px;
  object-fit: cover;
  border-radius: 5px;
  flex: none;
}
.dd-item .coin-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: none;
}
.dd-item .sym {
  margin-left: auto;
  font-weight: 800;
  color: var(--lime-d);
  font-size: 13px;
}
/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line2);
  background: var(--tint);
  cursor: pointer;
  flex: none;
  transition: transform 100ms ease-out;
}
.theme-toggle:active {
  transform: scale(0.94);
}
.theme-toggle svg {
  width: 19px;
  height: 19px;
  stroke: var(--lime-d);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle .ic-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .ic-moon {
  display: none;
}
[data-theme="dark"] .theme-toggle .ic-sun {
  display: block;
}
/* Ambient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.orb-a {
  width: 420px;
  height: 420px;
  left: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(120, 224, 0, 0.35), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-b {
  width: 360px;
  height: 360px;
  right: -100px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(85, 192, 0, 0.28), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(60px, 40px) scale(1.12);
  }
}
/* Scroll reveal */
.rv {
  opacity: 0;
  transform: translateY(20px);
}
.rv.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.rv.d1.in {
  transition-delay: 0.08s;
}
.rv.d2.in {
  transition-delay: 0.16s;
}
.rv.d3.in {
  transition-delay: 0.24s;
}
/* Swap flick */
@keyframes swapspin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(180deg);
  }
}
.swap.go {
  animation: swapspin 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Touch targets */
.btn,
.tab,
.swap,
.dd-btn,
.dd-item,
.sym-row,
.theme-toggle,
.burger,
.tnext,
.tback,
.tskip,
.appbar a,
.links a {
  touch-action: manipulation;
}
/* ============================================
   TABLET (768px–1024px)
   ============================================ */
@media (max-width: 1024px) {
  .wrap {
    max-width: 960px;
  }
  .hero-grid {
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(30px, 4.4vw, 44px);
  }
  .mkt {
    grid-template-columns: 1fr 215px;
  }
  .mkt.rev {
    grid-template-columns: 215px 1fr;
  }
  .links a {
    padding: 8px 12px;
    font-size: 13.5px;
  }
  .logo-ring {
    width: 56px;
    height: 56px;
  }
}
/* ============================================
   TABLET PORTRAIT — stack the admin sidebar before it squeezes the rates table
   ============================================ */
@media (max-width: 960px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   LARGE MOBILE (641px–768px)
   ============================================ */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 34px 30px;
  }
  .hero h1 {
    font-size: clamp(28px, 7vw, 38px);
  }
  .sub {
    font-size: 15px;
    max-width: 100%;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .mkt,
  .mkt.rev {
    grid-template-columns: 1fr;
  }
  .sym-rail {
    order: 2;
    max-height: 200px;
  }
  .chart-frame {
    min-height: 340px;
  }
  .tvbox {
    height: 340px;
  }
  .rail-icons {
    grid-template-columns: repeat(3, 1fr);
  }
  footer .wrap {
    flex-direction: column;
    gap: 14px;
  }
}
/* ============================================
   MOBILE (≤640px) — compact single column, charts → rate updates
   ============================================ */
@media (max-width: 640px) {
  body:has(.appbar) {
    --appbar-h: calc(64px + env(safe-area-inset-bottom));
  }
  html {
    scroll-padding-top: 72px;
  }
  section[id],
  div[id] {
    scroll-margin-top: 72px;
  }
  .hero h1,
  .sub,
  .lead,
  .sec h2,
  .card p,
  .step p,
  details p {
    text-wrap: pretty;
    overflow-wrap: break-word;
  }
  .sub,
  .lead {
    line-height: 1.6;
  }
  .card p,
  .step p,
  details p {
    line-height: 1.55;
  }
  .fx-out b,
  .sym-row .big {
    overflow-wrap: anywhere;
  }
  .nav-inner {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .admin-actions {
    gap: 6px;
  }
  .admin-actions .btn {
    padding: 7px 12px;
    font-size: 12px;
  }
  .admin-actions .lbl-full {
    display: none;
  }
  .admin-actions .lbl-short {
    display: inline;
  }
  .links,
  .burger,
  .mnav,
  .mnav.open,
  .whats {
    display: none;
  }
  .appbar {
    display: grid;
  }
  .nav-cta {
    gap: 8px;
  }
  .brand {
    gap: 8px;
  }
  .brand b {
    font-size: 13.5px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 0.2em;
  }
  .logo-ring {
    width: 40px;
    height: 40px;
  }
  .logo-ring::before {
    inset: -4px;
  }
  .logo-ring::after {
    inset: -7px;
  }
  .theme-toggle {
    width: 40px;
    height: 40px;
  }
  .tab {
    flex: none;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 13px;
  }
  .rail {
    background: none;
    border: 0;
    padding: 4px 2px;
  }
  .rail svg {
    width: 44px;
    height: 44px;
    padding: 11px;
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .rail span {
    font-size: 9.5px;
    margin-top: 6px;
  }
  .nav-cta .btn {
    padding: 7px 12px;
    font-size: 12px;
  }
  .hero-grid {
    padding-block: 16px 14px;
    gap: 12px;
  }
  .hero-grid > .rv:first-child {
    text-align: center;
  }
  .eyebrow {
    justify-content: center;
  }
  .stats {
    text-align: center;
  }
  .tcard {
    align-items: center;
    text-align: center;
    padding: 16px 14px;
  }
  .tstars {
    justify-content: center;
    width: 100%;
  }
  .qmark {
    position: absolute;
    top: 10px;
    right: 12px;
    margin: 0;
  }
  .tperson {
    justify-content: center;
    width: 100%;
  }
  .ctacard {
    padding: 22px 16px;
    gap: 8px;
    border-radius: 16px;
  }
  .ctacard h3 {
    font-size: clamp(19px, 5.6vw, 24px);
  }
  .ctacard p {
    font-size: 13px;
  }
  .cta-wa {
    width: 100%;
    justify-content: center;
  }
  .hero h1 {
    font-size: clamp(20px, 6.6vw, 27px);
    margin: 8px 0;
  }
  .eyebrow {
    font-size: 10px;
    padding: 5px 9px;
    letter-spacing: 0.05em;
  }
  .sub {
    font-size: 13px;
  }
  .stats {
    gap: 5px;
    margin-top: 12px;
  }
  .stat {
    padding: 6px 2px;
    border-radius: 9px;
  }
  .stat b {
    font-size: 12px;
  }
  .stat span {
    font-size: 9.5px;
  }
  .sec {
    padding-block: 20px;
  }
  .sec h2 {
    font-size: clamp(18px, 5.2vw, 24px);
    margin-bottom: 4px;
  }
  .lead {
    font-size: 13px;
  }
  .grid3 {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .card {
    padding: 12px;
    border-radius: 12px;
  }
  .card p {
    font-size: 13px;
  }
  .card h4 {
    font-size: 14.5px;
    margin: 6px 0 4px;
  }
  .service-card {
    padding: 12px;
    gap: 10px;
  }
  .service-card .icon {
    width: 40px;
    height: 40px;
    margin-top: 0;
  }
  .service-copy h4 {
    font-size: 14.5px;
    margin: 0 0 3px;
  }
  .service-copy p {
    font-size: 12.5px;
    line-height: 1.5;
  }
  /* Admin — rate table becomes stacked editable rows */
  .admin-grid {
    gap: 8px;
  }
  table.rates {
    background: none;
    border: 0;
    font-size: 13px;
  }
  table.rates thead {
    display: none;
  }
  table.rates tbody,
  table.rates tr,
  table.rates td {
    display: block;
  }
  table.rates tr {
    display: grid;
    grid-template-columns: auto 1fr 1fr auto;
    grid-template-areas:
      "on cur cur del"
      "buy buy sell sell"
      "type type type type";
    gap: 6px 8px;
    padding: 10px;
    margin-bottom: 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  table.rates td {
    padding: 0;
    border: 0;
  }
  table.rates td:nth-child(1) {
    grid-area: on;
    display: flex;
    align-items: center;
  }
  table.rates td:nth-child(2) {
    grid-area: cur;
    align-self: center;
    font-size: 12.5px;
  }
  table.rates td:nth-child(3) {
    grid-area: buy;
  }
  table.rates td:nth-child(4) {
    grid-area: sell;
  }
  table.rates td:nth-child(5) {
    grid-area: type;
  }
  table.rates td:nth-child(6) {
    grid-area: del;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  table.rates td:nth-child(3)::before,
  table.rates td:nth-child(4)::before {
    display: block;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 3px;
  }
  table.rates td:nth-child(3)::before {
    content: "Buy (GHS)";
  }
  table.rates td:nth-child(4)::before {
    content: "Sell (GHS)";
  }
  table.rates input[type="number"] {
    padding: 7px 8px;
    font-size: 16px;
    border-radius: 8px;
  }
  table.rates select {
    width: 100%;
    padding: 7px 8px;
    font-size: 13px;
    border: 1.5px solid var(--line2);
    border-radius: 8px;
    background: var(--card);
    color: var(--ink);
  }
  table.rates .switch {
    flex: none;
  }
  .icon {
    width: 38px;
    height: 38px;
  }
  .icon svg {
    width: 20px;
    height: 20px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }
  .step {
    padding: 12px;
    border-radius: 12px;
  }
  .step p {
    font-size: 12.5px;
  }
  /* Converter — compact, stacked */
  .fx-card {
    padding: 12px;
    border-radius: 12px;
  }
  .fx-head h3 {
    font-size: 14px;
  }
  .live {
    font-size: 9.5px;
    padding: 3px 8px;
  }
  .field label {
    font-size: 11.5px;
  }
  .field input {
    padding: 9px;
    font-size: 16px;
  }
  .fx-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .swap {
    margin: 4px auto;
    transform: rotate(90deg);
    height: 42px;
    width: 42px;
    font-size: 17px;
  }
  .swap-ic {
    width: 22px;
    height: 22px;
  }
  .swap.go {
    animation: swapspinm;
  }
  @keyframes swapspinm {
    from {
      transform: rotate(90deg);
    }
    to {
      transform: rotate(270deg);
    }
  }
  .fx-out {
    padding: 9px;
    margin-top: 8px;
  }
  .fx-out b {
    font-size: 18px;
  }
  .fx-leg {
    font-size: 11px;
  }
  .fx-note {
    font-size: 11px;
  }
  .dd-btn {
    padding: 7px 9px;
    font-size: 13.5px;
    gap: 7px;
  }
  .dd-btn .dd-txt span {
    font-size: 10px;
  }
  .rails {
    margin-top: 10px;
    padding-top: 10px;
  }
  .rail-icons {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
  }
  /* Markets on phones: hide heavy charts + tabs, show rate-update rails */
  #markets .tabs,
  #markets .chart-frame {
    display: none;
  }
  .sym-rail {
    max-height: none;
    padding: 10px;
    border-radius: 12px;
  }
  .sym-rail h5 {
    font-size: 10px;
  }
  .sym-rail .hint {
    font-size: 10.5px;
    margin-bottom: 8px;
  }
  .sym-row {
    padding: 6px 8px;
    gap: 7px;
    margin-bottom: 5px;
  }
  .sym-row .flag-img {
    width: 26px;
    height: 19px;
  }
  .sym-row .coin-img {
    width: 20px;
    height: 20px;
  }
  .sym-row b {
    font-size: 12px;
  }
  .sym-row .big {
    font-size: 12px;
  }
  .sym-row .rate {
    font-size: 10px;
  }
  /* FAQ */
  details {
    padding: 9px 11px;
    margin-bottom: 6px;
  }
  summary {
    font-size: 13px;
  }
  details p {
    font-size: 12.5px;
  }
  /* Footer */
  footer {
    padding: 18px 0;
    font-size: 11.5px;
  }
  .ticker {
    font-size: 10.5px;
  }
  /* Tour */
  .tour-card {
    padding: 14px;
    width: calc(100vw - 36px);
  }
  .tour-card.sheet {
    left: 18px;
    right: 18px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .tour-card b {
    font-size: 14.5px;
  }
  .tour-card p {
    font-size: 12.5px;
  }
  .trow {
    flex-wrap: wrap;
  }
  .tbtns {
    flex-wrap: wrap;
  }
  .orb-a {
    width: 220px;
    height: 220px;
  }
  .orb-b {
    width: 190px;
    height: 190px;
  }
}
/* ============================================
   PHONE LANDSCAPE — bar eats too much height, fall back to burger + float
   ============================================ */
@media (orientation: landscape) and (max-height: 480px) {
  body:has(.appbar) {
    --appbar-h: 0px;
  }
  .appbar {
    display: none;
  }
  .burger {
    display: flex;
    padding: 8px 9px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }
  .whats {
    display: inline-flex;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 10px 14px;
    font-size: 13px;
  }
  .hero-grid {
    padding-block: 14px 12px;
  }
}
/* ============================================
   SMALL MOBILE (≤380px)
   ============================================ */
@media (max-width: 380px) {
  .nav-cta .btn {
    display: none;
  }
  .admin-nav .brand small {
    display: none;
  }
  .appbar a {
    font-size: 9px;
  }
  .appbar a svg {
    width: 20px;
    height: 20px;
  }
  .hero h1 {
    font-size: 22px;
  }
  .fx-out b {
    font-size: 18px;
  }
  .stat b {
    font-size: 13px;
  }
  .stat span {
    font-size: 10px;
  }
  .chart-frame {
    min-height: 240px;
  }
  .tvbox {
    height: 240px;
  }
}
/* ============================================
   REDUCED MOTION / TRANSPARENCY / CONTRAST
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker .track {
    animation: none;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
  .rv.in {
    transition: none;
  }
  .swap.go {
    animation: none;
  }
  .live.pulse {
    animation: none;
  }
  .tour-dim,
  .tour-card,
  .tour-spot {
    animation: none;
  }
  .orb-a,
  .orb-b,
  .logo-ring::before,
  .logo-ring::after {
    animation: none;
  }
  body,
  .nav,
  .fx-card,
  .card,
  .step,
  .sym-rail,
  .chart-frame,
  details,
  footer {
    transition: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .nav {
    background: #fff;
  }
  [data-theme="dark"] .nav {
    background: #0b130a;
  }
  .fx-card,
  .dd-list,
  .sym-rail,
  .sym-row,
  .tab,
  .whats,
  .appbar,
  .live {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .fx-card {
    background: #fff;
  }
  [data-theme="dark"] .fx-card {
    background: #101e0d;
  }
  .orb-a,
  .orb-b {
    display: none;
  }
}
@media (prefers-contrast: more) {
  .btn,
  .tab,
  .dd-btn,
  .field input,
  .field select {
    border-width: 2px;
  }
}
/* ============================================
   DARK THEME
   ============================================ */
[data-theme="dark"] {
  --bg: #0b130a;
  --tint: #122310;
  --card: #101e0d;
  --ink: #eef7df;
  --mut: #b9cba8;
  --dim: #8aa37a;
  --line: rgba(168, 214, 127, 0.16);
  --line2: rgba(168, 214, 127, 0.34);
  --sh: 0 14px 44px rgba(0, 0, 0, 0.55);
}
[data-theme="dark"] .nav {
  background: #0b130a;
}
[data-theme="dark"] .nav.scrolled {
  background: rgba(11, 19, 10, 0.6);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .ticker {
  background: #050a04;
  color: #fff;
}
[data-theme="dark"] .mnav {
  background: #0d190b;
}
[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #0e1c0b 0%, #0b130a 78%);
}
[data-theme="dark"] .hero h1 span,
[data-theme="dark"] .sec h2 em {
  color: var(--lime-br);
}
[data-theme="dark"] .btn.ghost {
  color: #b8ec7f;
}
[data-theme="dark"] .links {
  background: rgba(13, 25, 11, 0.6);
  border-color: rgba(120, 224, 0, 0.22);
}
[data-theme="dark"] .links a:hover {
  color: var(--lime-br);
}
[data-theme="dark"] .fx-card {
  background: linear-gradient(
    135deg,
    rgba(20, 38, 15, 0.78),
    rgba(11, 19, 10, 0.62)
  );
  border: 1px solid rgba(120, 224, 0, 0.25);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(120, 224, 0, 0.18);
}
[data-theme="dark"] .dd-list {
  background: rgba(13, 25, 11, 0.88);
}
[data-theme="dark"] .sym-rail {
  background: linear-gradient(
    180deg,
    rgba(20, 38, 15, 0.72),
    rgba(11, 19, 10, 0.55)
  );
  border: 1px solid rgba(120, 224, 0, 0.2);
}
[data-theme="dark"] .sym-row {
  background: rgba(13, 25, 11, 0.7);
}
[data-theme="dark"] .tab {
  background: rgba(13, 25, 11, 0.6);
}
[data-theme="dark"] .btn {
  background: #0d190b;
}
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="password"] {
  background: #0d190b;
  color: var(--ink);
}
[data-theme="dark"] .dd-btn {
  background: #0d190b;
  color: var(--ink);
}
[data-theme="dark"] .dd-item {
  color: var(--ink);
}
[data-theme="dark"] .dd-item.sel {
  background: #1d3a10;
}
[data-theme="dark"] .step {
  background: #152806;
}
[data-theme="dark"] footer {
  background: #080f07;
}
[data-theme="dark"] .logo-ring div {
  background: transparent;
}
[data-theme="dark"] details {
  background: #101e0d;
}
[data-theme="dark"] #services .card {
  background: linear-gradient(180deg, #142710 0%, #0e1c0b 100%);
  border-color: rgba(120, 224, 0, 0.28);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(120, 224, 0, 0.12);
}
[data-theme="dark"] #services .card:hover {
  border-color: var(--lime-br);
  transform: translateY(-2px);
  transition: 0.2s;
}
[data-theme="dark"] #services .icon {
  background: rgba(120, 224, 0, 0.12);
  border-color: rgba(120, 224, 0, 0.35);
  box-shadow: 0 0 18px rgba(120, 224, 0, 0.18);
}
[data-theme="dark"] #services .icon svg {
  stroke: var(--lime-br);
}
[data-theme="dark"] #services .card p {
  color: #b9cba8;
}
[data-theme="dark"] .tour-card {
  background: rgba(16, 30, 13, 0.9);
  border-color: rgba(120, 224, 0, 0.3);
}
[data-theme="dark"] .tour-card p {
  color: #b9cba8;
}
#mnav a.on {
  background: var(--tint);
  color: var(--lime-d);
}
[data-theme="dark"] .tcard {
  background: linear-gradient(180deg, #142710 0%, #0e1c0b 100%);
  border-color: rgba(120, 224, 0, 0.24);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .tperson {
  border-top-color: rgba(120, 224, 0, 0.16);
}
[data-theme="dark"] .qmark {
  color: rgba(120, 224, 0, 0.35);
}
[data-theme="dark"] .ctacard {
  background: #152806;
}
