/* ==========================================================================
   Stake X App — DARK_TRADING_TERMINAL design system
   Midnight surfaces, electric lime actions, cyan for live-data chrome.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-500.woff2") format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-700.woff2") format('woff2');
}

:root {
  --bg: #0A0E13;
  --surface: #10161D;
  --surface-2: #171F28;
  --border: rgba(148, 163, 184, .16);
  --border-strong: rgba(148, 163, 184, .30);
  --text: #E8EDF2;
  --muted: #98A5B4;
  --accent: #A3E635;
  --accent-hover: #B9F04E;
  --accent-tint: rgba(163, 230, 53, .10);
  --accent-ink: #0A0E13;
  --cyan: #22D3EE;
  --up: #34D399;
  --down: #F87171;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(2, 6, 12, .5);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .45), 0 18px 48px rgba(2, 6, 12, .6);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --mono-label: 11px;
  --mono-track: .08em;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.35rem); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

.icon { flex: 0 0 auto; vertical-align: -.18em; }
.icon--sm { width: 17px; height: 17px; }
.icon--xs { width: 14px; height: 14px; }
.icon--md { width: 22px; height: 22px; }
.icon--lg { width: 28px; height: 28px; }

.mono {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-track);
  text-transform: uppercase;
  color: var(--muted);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 0; }

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

/* ---------- layout primitives ---------- */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section { padding: clamp(48px, 7vw, 84px) 0; position: relative; }
.section--surface { background: var(--surface); }
.section--surface2 { background: var(--surface-2); }
.section--tint { background: linear-gradient(180deg, rgba(163,230,53,.04), rgba(163,230,53,0) 60%); }

.section__head { max-width: 720px; margin-bottom: clamp(24px, 3vw, 44px); }
.section__head p { color: var(--muted); font-size: 1.02rem; }

.section--grid-bg {
  background-image: radial-gradient(rgba(163, 230, 53, .07) 1px, transparent 1.4px);
  background-size: 26px 26px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 560px;
}
thead th {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-track);
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
  background: var(--surface-2);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}
tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(148, 163, 184, .03); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.2;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 19, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); }
.brand__mark { flex: 0 0 auto; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: .02em;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
.brand__word em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  transform: translateY(-2px);
}

.site-nav { margin-inline: auto; }
.site-nav__list, .nav-offer__list, .nav-drop, .mobile-menu ul, .site-footer__col ul,
.breadcrumbs__list, .steps, .chip-row, .flag-row, .cards-grid, .stat-row {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list { display: flex; gap: 6px; }

.nav-group { position: relative; }
.nav-group__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.nav-group__trigger:hover { background: var(--accent-tint); color: var(--accent); }
.nav-group__caret { transition: transform .18s ease; }
.nav-group__trigger[aria-expanded="true"] .nav-group__caret { transform: rotate(180deg); }

.nav-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  max-width: 320px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 110;
}
.nav-drop::before {
  content: "";
  position: absolute;
  top: -5px; left: 22px;
  width: 10px; height: 10px;
  background: var(--bg);
  border-left: 1px solid var(--border-strong);
  border-top: 1px solid var(--border-strong);
  transform: rotate(45deg);
}
.nav-group.is-open .nav-drop,
.nav-group__trigger:focus-visible + .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-group:last-child .nav-drop { left: auto; right: 0; }
.nav-group:last-child .nav-drop::before { left: auto; right: 22px; }

.nav-drop__link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .93rem;
  transition: background .14s ease, color .14s ease;
}
.nav-drop__link:hover, .nav-drop__link:focus-visible { background: var(--accent-tint); color: var(--accent); }
.nav-drop__link.is-current { color: var(--accent); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px;
  cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 16px 0 22px;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.mobile-menu__inner { display: flex; flex-direction: column; gap: 10px; }
.mobile-menu__group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group[open] summary { color: var(--accent); }
.mobile-menu__group ul { padding: 8px 0 12px 6px; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu__group a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: .93rem;
}
.mobile-menu__group a:hover { background: var(--accent-tint); color: var(--accent); }

/* offer page trimmed nav */
.nav-offer__list { display: flex; gap: 4px; }
.nav-offer__list a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: .92rem;
}
.nav-offer__list a:hover { color: var(--accent); background: var(--accent-tint); }

/* ---------- ticker (beacon strip) ---------- */

.beacon-ticker { border-bottom: 1px solid var(--border); }
.beacon-ticker--dark { background: #0C1117; }
.beacon-ticker__label { color: var(--cyan) !important; }
.beacon-ticker__label::after {
  content: "EN VIVO";
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border: 1px solid rgba(34, 211, 238, .4);
  border-radius: 999px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  vertical-align: 1px;
}
.beacon-ticker__label::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 8px;
  vertical-align: 1px;
  animation: livepulse 2.2s ease-in-out infinite;
}
@keyframes livepulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- hero (terminal cockpit) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero__texture, .page-hero__texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(163, 230, 53, .09) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .8;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 55fr 45fr;
  grid-template-areas:
    "head panel"
    "aside panel";
  gap: clamp(20px, 3vw, 44px);
  padding-block: clamp(44px, 6vw, 84px) clamp(48px, 6vw, 88px);
  align-items: center;
}
.hero__inner > * { min-width: 0; }
.hero__market { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__market::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 15%, rgba(34, 211, 238, .09), transparent 50%),
              radial-gradient(ellipse at 5% 85%, rgba(163, 230, 53, .07), transparent 45%);
}
.hero__coin { position: absolute; width: 160px; height: auto; stroke: currentColor; stroke-width: 2; }
.hero__coin--bitcoin { left: -36px; top: 30%; color: var(--accent); opacity: .22; transform: rotate(-18deg); }
.hero__coin--ethereum { right: 37%; top: 20px; width: 126px; color: var(--cyan); opacity: .2; transform: rotate(14deg); }
.hero__market-chart { position: absolute; right: -5%; bottom: -5%; width: 78%; height: auto; color: var(--cyan); opacity: .17; }
.hero__head { grid-area: head; }
.hero__panel { grid-area: panel; }
.hero__aside { grid-area: aside; }
.hero__motif {
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: min(420px, 38vw);
  height: auto;
  color: var(--accent);
  opacity: .16;
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-track);
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, .35);
  background: rgba(34, 211, 238, .07);
  padding: 7px 12px;
  border-radius: 6px;
  margin-bottom: 22px;
}
.hero__eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: livepulse 2.2s ease-in-out infinite;
}
.hero h1 { margin-bottom: .4em; }
.hero__lead { color: var(--muted); font-size: 1.06rem; max-width: 54ch; margin-bottom: 24px; }
.hero__lead strong { color: var(--text); font-weight: 600; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
  background: rgba(16, 22, 29, .7);
  transition: border-color .16s ease, transform .16s ease, color .16s ease;
}
.hero-chip .icon { color: var(--accent); }
.hero-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.flag-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.flag-row__label { font-size: .88rem; color: var(--muted); margin-right: 2px; }
.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 12px 5px 6px;
  font-size: .84rem;
  color: var(--text);
  background: var(--surface);
}
.flag-chip svg { border-radius: 3px; display: block; }

/* terminal panel (form / calculator chrome) */
.terminal-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.terminal-panel__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.terminal-panel__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.terminal-panel__dot:first-child { background: var(--accent); }
.terminal-panel__bar .mono { margin-left: auto; }
.terminal-panel__body { padding: clamp(18px, 2.4vw, 26px); }

/* ---------- forms (formFactory wrapper) ---------- */

.form-block--primary {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(18px, 2.4vw, 28px);
}
.form-block--secondary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 28px);
}
.form-block__intro { color: var(--muted); margin-bottom: 14px; font-size: .95rem; }
.form-legal { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.form-legal a { text-decoration: underline; text-underline-offset: 3px; }

.form-block .bf-form { --bf-border: rgba(148,163,184,.30); --bf-radius: 8px; }
.form-block .bf-label { color: var(--muted); }
.form-block .bf-input {
  background: var(--bg);
  color: var(--text);
}
.form-block .bf-input::placeholder { color: rgba(152, 165, 180, .55); }
.form-block .bf-submit {
  font-family: var(--font-display);
  letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
}
.form-block .bf-status[data-bf-state="error"] { color: var(--down); background: rgba(248,113,113,.10); }
.form-block .bf-status[data-bf-state="ok"] { color: var(--up); background: rgba(52,211,153,.10); }

.form-panel-title {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-track);
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-panel-title::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }
.form-after-note {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.form-after-note .icon { color: var(--cyan); margin-top: 2px; }

/* ---------- home sections ---------- */

.chip-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.exchange-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .03em;
  color: var(--muted);
  transition: color .16s ease, border-color .16s ease, transform .16s ease;
}
.exchange-chip:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.exchange-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: background .16s; }
.exchange-chip:hover .exchange-chip__dot { background: var(--accent); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: paso; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  position: relative;
}
.step-card:hover { transform: translateY(-3px); border-color: rgba(163,230,53,.4); box-shadow: var(--shadow-md); }
.step-card__code {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-track);
  color: var(--cyan);
  display: block;
  margin-bottom: 12px;
}
.step-card__num {
  position: absolute;
  top: 18px; right: 18px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1px solid rgba(163,230,53,.4);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card h3 { font-size: 1.08rem; }
.step-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* comparison table */
.compare-table td:first-child { color: var(--text); font-weight: 600; }
.compare-table .yes { color: var(--up); }
.compare-table .no { color: var(--down); }
.compare-col {
  font-family: var(--font-display);
  font-weight: 700;
}
.compare-col-own { color: var(--accent) !important; }

/* cards grid */
.cards-grid { display: grid; gap: 18px; }
.cards-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.icon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.icon-card:hover { transform: translateY(-3px); border-color: rgba(163,230,53,.4); box-shadow: var(--shadow-md); }
.icon-badge {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 14px;
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-card h3 { font-size: 1.06rem; margin-bottom: 6px; }
.icon-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.icon-card .icon-badge--cyan { background: rgba(34,211,238,.10); color: var(--cyan); }

/* depth rows (orderbook decoration) */
.depth-rows {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}
.depth-rows__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.depth-rows__row:last-child { border-bottom: 0; }
.depth-rows__pair { color: var(--muted); text-transform: uppercase; }
.depth-rows__price { color: var(--text); }
.depth-rows__delta--up { color: var(--up); }
.depth-rows__delta--down { color: var(--down); }

/* sparkline chip */
.spark-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 9px;
  margin-top: 12px;
}
.spark-chip svg { color: var(--accent); }

/* reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.review-card__head { display: flex; align-items: center; gap: 14px; }
.review-card__photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(163, 230, 53, .5);
  flex: 0 0 auto;
}
.review-card__name { font-weight: 600; display: block; }
.review-card__role { color: var(--muted); font-size: .86rem; }
.review-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}
.review-card__stats span { display: block; color: var(--muted); text-transform: uppercase; font-size: 10px; }
.review-card__stats b { color: var(--accent); font-weight: 700; }
.review-card__stats b.review__period { color: var(--cyan); }
.review-card p { color: var(--muted); font-size: .94rem; margin: 0; flex: 1; }
.reviews-note { font-size: .84rem; color: var(--muted); margin-top: 18px; }

/* company block */
.company-grid {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(300px, 7fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.company-facts { display: flex; flex-direction: column; gap: 14px; }
.company-fact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 13px 15px;
  font-size: .93rem;
}
.company-fact .icon { color: var(--accent); margin-top: 3px; }
.company-fact span { display: block; }
.company-fact .mono { display: block; margin-bottom: 3px; }
.company-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.company-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease;
}
.company-link:hover { color: var(--text); border-color: rgba(163,230,53,.4); transform: translateY(-3px); }
.company-link .icon-badge { margin-bottom: 0; }
.company-link strong { font-family: var(--font-display); font-weight: 500; }

/* ---------- inner page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(38px, 5vw, 66px) 0;
}
.page-hero .mono-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-track);
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 12px;
}
.page-hero p { color: var(--muted); }
.page-hero__lead { font-size: 1.04rem; }
.page-hero__motif { position: absolute; right: -40px; bottom: -30px; opacity: .5; color: var(--accent); pointer-events: none; }

.auth-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.auth-points li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .95rem; }
.auth-points .icon { color: var(--accent); }

.section__lead { color: var(--muted); max-width: 62ch; }

/* ---------- breadcrumbs ---------- */

.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; font-size: .84rem; }
.breadcrumbs__list li { color: var(--muted); }
.breadcrumbs__list a { color: var(--muted); }
.breadcrumbs__list a:hover { color: var(--accent); }
.breadcrumbs__list li[aria-current="page"] { color: var(--text); }

/* ---------- prose / docs pages ---------- */

.docs-prose { max-width: 800px; }
.docs-prose h2 { margin-top: 1.6em; }
.docs-prose h3 { margin-top: 1.4em; }
.docs-prose p, .docs-prose li { color: var(--muted); }
.docs-prose strong { color: var(--text); }

.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }

.callout {
  border: 1px solid rgba(34, 211, 238, .3);
  background: rgba(34, 211, 238, .06);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.callout .icon { color: var(--cyan); margin-top: 3px; }
.callout p { margin: 0; font-size: .94rem; color: var(--text); }
.callout--warn { border-color: rgba(248, 113, 113, .35); background: rgba(248, 113, 113, .07); }
.callout--warn .icon { color: var(--down); }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(163,230,53,.15));
}
.timeline li { position: relative; padding: 0 0 22px 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline::before { left: 8px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 2px; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

/* map */
.map-embed {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: var(--surface-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* vacancy cards */
.vacancy {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vacancy__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vacancy__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 10px;
}
.vacancy p { color: var(--muted); font-size: .94rem; margin: 0; }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--accent); transition: transform .18s ease; flex: 0 0 auto; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item__body { padding: 0 20px 18px; color: var(--muted); font-size: .95rem; }
.faq-item__body p { margin: 0; }

/* articles */
.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 26px;
}
.article-card .mono { display: block; margin-bottom: 10px; }
.article-card h2 { font-size: 1.3rem; }
.article-card p { color: var(--muted); font-size: .96rem; }

/* ---------- calculator wrapper ---------- */
.calc-wrap .terminal-panel__body { padding-bottom: 8px; }
.calc-section { background: var(--surface); border-block: 1px solid var(--border); }
.calc-modal .bf-submit { color: #0A0E13 !important; }

/* ---------- special offer ---------- */

.offer-strip {
  background: linear-gradient(90deg, rgba(163,230,53,.14), rgba(34,211,238,.10));
  border-bottom: 1px solid rgba(163,230,53,.35);
  padding: 9px 0;
}
.offer-strip__inner { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.offer-strip__stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}
.offer-strip__stat .icon { color: var(--accent); }
.offer-strip__stat--hot { color: var(--accent); }

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}
.countdown__seg {
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 700;
  padding: 7px 10px;
  min-width: 52px;
  text-align: center;
  letter-spacing: .06em;
}
.countdown__sep { color: var(--muted); font-weight: 700; }
.countdown__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.offer-hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--border); }
.offer-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(38px, 5vw, 64px) 0;
  align-items: center;
}
.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
  font-weight: 700;
}
.offer-cta-band {
  background: linear-gradient(90deg, rgba(163,230,53,.12), rgba(34,211,238,.08));
  border-block: 1px solid rgba(163,230,53,.35);
  padding: clamp(34px, 5vw, 54px) 0;
  text-align: center;
}
.offer-cta-band .container { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.offer-cta-band p { max-width: 60ch; color: var(--text); margin: 0; }

.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-modal.is-open { display: flex; }
.exit-modal__overlay { position: absolute; inset: 0; background: rgba(4, 7, 11, .78); backdrop-filter: blur(3px); }
.exit-modal__card {
  position: relative;
  width: min(520px, 100%);
  background: var(--surface);
  border: 1px solid rgba(163, 230, 53, .4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  text-align: center;
  animation: modalin .22s cubic-bezier(.2,.6,.2,1);
}
@keyframes modalin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.exit-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.exit-modal__close:hover { color: var(--accent); border-color: var(--accent); }
.exit-modal__art { color: var(--accent); margin: 4px auto 14px; display: block; }
.exit-modal__card h2 { font-size: 1.45rem; }
.exit-modal__card p { color: var(--muted); font-size: .95rem; }
.exit-modal .countdown { margin: 6px 0 18px; }

/* ---------- footer ---------- */

.site-footer {
  background: #070A0E;
  border-top: 1px solid var(--border);
  padding: clamp(40px, 5vw, 64px) 0 28px;
  margin-top: 0;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 4fr) repeat(4, minmax(150px, 3fr));
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: 36px;
}
.site-footer__brand .brand { margin-bottom: 14px; }
.site-footer__tag { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.site-footer__contact { font-size: .86rem; color: var(--muted); line-height: 1.9; }
.site-footer__contact .icon { color: var(--accent); margin-right: 4px; }
.site-footer__contact a { color: var(--muted); }
.site-footer__contact a:hover { color: var(--accent); }
.site-footer__col h3 {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-track);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a { color: var(--muted); font-size: .88rem; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__disclaimer {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: rgba(148, 163, 184, .03);
}
.site-footer__disclaimer h3 {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: var(--mono-track);
  text-transform: uppercase;
  color: var(--down);
  margin-bottom: 10px;
}
.site-footer__disclaimer p { color: var(--muted); font-size: .84rem; margin: 0; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 24px;
  font-size: .8rem;
  color: var(--muted);
}
.site-footer__bottom p { margin: 0; }

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(10px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.6,.2,1);
}
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: clamp(60px, 9vw, 120px) 0; }
.error-page .mono { display: block; margin-bottom: 14px; }
.error-page h1 span { color: var(--accent); }
.error-page__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-footer__top { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "panel" "aside";
  }
  .page-hero__inner, .offer-hero__inner { grid-template-columns: 1fr; }
  .hero__canvas { opacity: .35; }
  .hero__motif { display: none; }
  .company-grid { grid-template-columns: 1fr; }
  .nav-offer { display: none; }
}

@media (max-width: 640px) {
  .hero__inner { padding-block: 32px 40px; gap: 24px; }
  .hero h1 { margin-bottom: 0; font-size: clamp(1.85rem, 7.5vw, 2.5rem); }
  .hero__eyebrow { margin-bottom: 16px; padding: 6px 9px; font-size: 10px; letter-spacing: .04em; }
  .hero__panel .terminal-panel__body { padding: 18px 16px; }
  .hero__panel .terminal-panel__bar { padding: 10px 12px; }
  .hero__panel .terminal-panel__bar .mono { font-size: 9px; letter-spacing: .03em; }
  .hero__lead { font-size: 1rem; margin-bottom: 20px; }
  .hero__chips { gap: 8px; margin-bottom: 20px; }
  .hero-chip { padding: 9px 12px; font-size: .84rem; }
  .hero__aside .flag-row { gap: 8px; }
  .hero__aside .flag-row__label { flex-basis: 100%; }
  .hero__coin--bitcoin { width: 110px; left: auto; right: -25px; top: 12px; opacity: .18; }
  .hero__coin--ethereum { width: 94px; right: auto; left: -26px; top: 52%; opacity: .14; }
  .hero__market-chart { width: 180%; max-width: none; right: -55%; bottom: 0; opacity: .12; }
  .steps { grid-template-columns: 1fr; }
  .review-card__stats { grid-template-columns: 1fr 1fr; }
  .offer-strip__inner { flex-direction: column; gap: 6px; align-items: flex-start; }
  .countdown__seg { font-size: 1.1rem; min-width: 44px; padding: 6px 8px; }
  .btn { width: auto; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__canvas { display: none; }
}

.tv-ticker-wrapper {
  padding-top: 0 !important;
  height: 58px !important;
}

.iti__selected-country, .iti__selected-dial-code {
  color: #18212f !important;
}

/* Home headline: strong contrast and a clear second phrase. */
.hero .hero__head{position:relative;z-index:1}
.hero .hero__head h1{font-size:clamp(2.75rem,4.6vw,4.4rem);line-height:1.04;letter-spacing:-.035em;font-weight:700;color:#fff;max-width:13ch;margin:0;text-wrap:balance;text-shadow:0 3px 28px #0a0e13}
.hero .hero__head h1 span{display:block;color:#b5ed52;margin-top:.16em}
.hero .hero__eyebrow{margin-bottom:22px}
@media(max-width:900px){.hero .hero__head h1{max-width:20ch;font-size:clamp(2.4rem,6.6vw,3.8rem)}}
@media(max-width:480px){.hero .hero__head h1{font-size:clamp(2rem,8.5vw,2.55rem);line-height:1.09;letter-spacing:-.025em;max-width:100%}.hero .hero__eyebrow{margin-bottom:18px}}
