:root {
  --bg: #0b1220;
  --bg-2: #0f172a;
  --panel: #111827;
  --panel-2: #1a2336;
  --line: #243044;
  --ink: #e8eef8;
  --mute: #93a0b8;
  --gold: #f0b429;
  --gold-2: #f7d070;
  --up: #22c55e;
  --down: #ef4444;
  --flat: #94a3b8;
  --blue: #3b82f6;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Manrope", system-ui, sans-serif;
  --pad: clamp(1rem, 3.5vw, 2.5rem);
  --max: 1200px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body.cv {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(900px 420px at 80% -10%, rgba(240, 180, 41, 0.08), transparent 55%),
              radial-gradient(700px 360px at 0% 10%, rgba(59, 130, 246, 0.08), transparent 50%),
              var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--gold-2); text-decoration: none; }
img { max-width: 100%; }

.cv-ticker {
  overflow: hidden;
  background: #070d18;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.cv-ticker-track {
  display: inline-flex;
  gap: 1.75rem;
  padding: 0.55rem 0;
  animation: cv-marquee 42s linear infinite;
}
.cv-ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--mute);
}
.cv-ticker-item strong { color: var(--ink); font-weight: 600; }
.cv-ticker-item em { font-style: normal; color: var(--gold-2); font-weight: 700; }
.cv-ticker-item .chg { font-style: normal; font-size: 0.78rem; font-weight: 700; }
.cv-ticker-item .is-up, .chg.is-up, .badge.is-up { color: var(--up); }
.cv-ticker-item .is-down, .chg.is-down, .badge.is-down { color: var(--down); }
.cv-ticker-item .is-flat, .chg.is-flat, .badge.is-flat { color: var(--flat); }
@keyframes cv-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cv-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.45rem var(--pad);
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.78rem;
}
.cv-topbar strong { color: var(--ink); font-weight: 600; }
.cv-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cv-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: cv-pulse 1.6s ease infinite;
}
@keyframes cv-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.cv-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.cv-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
}
.cv-brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: #1a1408;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.04em;
}
.cv-brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cv-brand span { display: block; color: var(--mute); font-size: 0.72rem; }

.cv-nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; justify-content: flex-end; }
.cv-nav a {
  color: var(--mute);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.cv-nav a:hover { color: var(--ink); }
.cv-nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  width: 42px; height: 42px;
  border-radius: 10px;
  cursor: pointer;
}
.cv-nav-toggle span {
  display: block; width: 16px; height: 2px; margin: 3px auto; background: var(--ink);
}

.cv-hero {
  padding: 2.75rem var(--pad) 2rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}
.cv-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cv-hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.cv-hero .lead {
  margin: 0 0 1.25rem;
  color: var(--mute);
  max-width: 36rem;
  font-size: 1.02rem;
}
.cv-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.cv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1408;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}
.cv-btn:hover { filter: brightness(1.05); }
.cv-btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.cv-hero-side {
  background: linear-gradient(160deg, rgba(240,180,41,0.12), rgba(59,130,246,0.08));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.cv-hero-side h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.cv-hero-side p { margin: 0 0 1rem; color: var(--mute); font-size: 0.9rem; }
.cv-fx-list { display: grid; gap: 0.55rem; }
.cv-fx-list a, .cv-fx-list div {
  display: flex; justify-content: space-between; gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid var(--line);
  color: inherit;
  font-size: 0.88rem;
}
.cv-fx-list strong { color: var(--gold-2); }

.cv-section {
  padding: 1.5rem var(--pad) 2rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.cv-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.cv-section-head h2, .cv-page-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
}
.cv-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cv-section-head a { color: var(--mute); font-size: 0.86rem; font-weight: 600; }
.cv-section-head a:hover { color: var(--gold-2); }
.cv-lead { color: var(--mute); margin: 0 0 1rem; max-width: 42rem; }

.cv-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.cv-price-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 0.9rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cv-price-card:hover {
  border-color: rgba(240, 180, 41, 0.45);
  transform: translateY(-2px);
}
.cv-price-card header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.85rem;
}
.cv-price-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.cv-price-card .code {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--mute);
  text-transform: uppercase;
}
.cv-price-card .badge {
  min-width: 58px;
  text-align: center;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(148, 163, 184, 0.12);
}
.cv-price-card .badge.is-up { background: rgba(34, 197, 94, 0.14); }
.cv-price-card .badge.is-down { background: rgba(239, 68, 68, 0.14); }
.cv-price-card .rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.cv-price-card .rows div {
  background: rgba(7, 13, 24, 0.45);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}
.cv-price-card .rows span {
  display: block;
  color: var(--mute);
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
}
.cv-price-card .rows strong {
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
}
.cv-price-card .sell { color: var(--gold-2); }
.cv-price-card footer {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  color: var(--mute);
  font-size: 0.78rem;
}
.cv-price-card footer em { font-style: normal; font-weight: 700; }

.cv-explore {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.cv-explore a {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  color: inherit;
  min-height: 120px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cv-explore a:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: var(--panel-2);
}
.cv-explore h3 { margin: 0; font-size: 1.05rem; }
.cv-explore p { margin: 0; color: var(--mute); font-size: 0.9rem; }

.cv-calc {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.cv-calc form, .cv-form { display: grid; gap: 0.75rem; }
.cv-calc label, .cv-form label {
  display: grid; gap: 0.3rem;
  font-size: 0.78rem; color: var(--mute); font-weight: 600;
}
.cv-calc input, .cv-calc select,
.cv-form input, .cv-form textarea, .cv-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: #0b1220;
  color: var(--ink);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}
.cv-calc-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-content: start;
}
.cv-calc-result div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(7, 13, 24, 0.4);
}
.cv-calc-result span { display: block; color: var(--mute); font-size: 0.75rem; }
.cv-calc-result strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.15rem;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}

.cv-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.cv-features article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.cv-features h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.cv-features p { margin: 0; color: var(--mute); font-size: 0.9rem; }

.cv-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}
.cv-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}
.cv-prose { color: var(--mute); max-width: 48rem; }
.cv-prose p { margin: 0 0 0.9rem; }
.cv-note { color: var(--mute); font-size: 0.82rem; }
.ok { color: var(--up); }
.warn { color: #f59e0b; }

.cv-footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  background: #070d18;
  padding: 2rem var(--pad) 2.4rem;
}
.cv-footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.cv-footer h4 {
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.cv-footer p, .cv-footer a { color: var(--mute); font-size: 0.88rem; }
.cv-footer a { display: block; margin: 0.3rem 0; }
.cv-footer a:hover { color: var(--gold-2); }
.cv-footer-brand {
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 0.5rem;
}
.cv-footer-copy {
  max-width: var(--max);
  margin: 1.4rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .cv-hero, .cv-calc, .cv-split, .cv-footer-grid { grid-template-columns: 1fr; }
  .cv-price-grid, .cv-explore, .cv-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cv-nav-toggle { display: inline-grid; place-content: center; }
  .cv-nav {
    display: none;
    position: absolute;
    left: var(--pad); right: var(--pad);
    top: calc(100% + 0.4rem);
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .cv-header.is-open .cv-nav { display: flex; }
  .cv-price-grid, .cv-explore, .cv-features, .cv-calc-result { grid-template-columns: 1fr; }
  .cv-topbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-ticker-track, .cv-live i { animation: none !important; }
}
