/* EURforecast — shared design system (modern fintech, light + dark) */

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

:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #f0f3f7;
  --surface-3: #e7ebf1;
  --border: #e3e8ef;
  --border-strong: #cfd6e0;
  --text: #0b1220;
  --text-2: #475467;
  --text-3: #7d879a;
  --brand: #2f5bff;
  --brand-hover: #1f47e6;
  --brand-soft: #eaf0ff;
  --brand-text: #2448d8;
  --up: #0f9d63;
  --up-soft: #e3f6ed;
  --down: #e5483b;
  --down-soft: #fdebe9;
  --wait: #b7791f;
  --wait-soft: #fbf1df;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 6px 24px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, 0.05), 0 18px 48px rgba(16, 24, 40, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090d16;
    --surface: #10161f;
    --surface-2: #161e2b;
    --surface-3: #1e2838;
    --border: #222c3c;
    --border-strong: #2f3b4f;
    --text: #f1f4f9;
    --text-2: #a8b2c4;
    --text-3: #6f7a8f;
    --brand: #5b7cff;
    --brand-hover: #7491ff;
    --brand-soft: rgba(91, 124, 255, 0.14);
    --brand-text: #8fa6ff;
    --up: #34d399;
    --up-soft: rgba(52, 211, 153, 0.13);
    --down: #f87171;
    --down-soft: rgba(248, 113, 113, 0.13);
    --wait: #f5b84b;
    --wait-soft: rgba(245, 184, 75, 0.13);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #090d16;
  --surface: #10161f;
  --surface-2: #161e2b;
  --surface-3: #1e2838;
  --border: #222c3c;
  --border-strong: #2f3b4f;
  --text: #f1f4f9;
  --text-2: #a8b2c4;
  --text-3: #6f7a8f;
  --brand: #5b7cff;
  --brand-hover: #7491ff;
  --brand-soft: rgba(91, 124, 255, 0.14);
  --brand-text: #8fa6ff;
  --up: #34d399;
  --up-soft: rgba(52, 211, 153, 0.13);
  --down: #f87171;
  --down-soft: rgba(248, 113, 113, 0.13);
  --wait: #f5b84b;
  --wait-soft: rgba(245, 184, 75, 0.13);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

/* Hide the page until the Russian strings are applied (fail-safe timeout in <head>) */
html.i18n-wait body { opacity: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  transition: opacity 0.15s ease;
}
a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #7b5bff);
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
}
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav a {
  color: var(--text-2); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
}
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  padding: 5px 9px; border-radius: 7px; color: var(--text-3);
}
.lang-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; color: var(--text-2);
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: block; }
:root[data-theme="dark"] .theme-icon-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-dark { display: block; }
  :root:not([data-theme="light"]) .theme-icon-light { display: none; }
}

.menu-btn { display: none; }
.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  padding: 8px 16px 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: 0; }
@media (max-width: 900px) {
  .site-header .main-nav { display: none; }
  .site-header .menu-btn { display: grid; }
}
@media (max-width: 600px) {
  .site-header .header-cta { display: none; }
  .site-header .container { gap: 12px; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text-3); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-tg { background: #229ed9; color: #fff; }
.btn-tg:hover { background: #1b8cc2; }

/* Broker button: identical styling for both partners (equal priority) */
.btn-broker { background: var(--text); color: var(--surface); }
.btn-broker:hover { opacity: 0.88; }
.btn-broker .arrow { opacity: 0.6; }

/* ── Generic blocks ─────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-text);
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -0.025em; margin: 10px 0 12px; }
.section-head p { color: var(--text-2); font-size: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2);
}
.pill.up { background: var(--up-soft); color: var(--up); }
.pill.down { background: var(--down-soft); color: var(--down); }
.pill.wait { background: var(--wait-soft); color: var(--wait); }
.pill.brand { background: var(--brand-soft); color: var(--brand-text); }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); position: relative; flex-shrink: 0; }
.live-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--up); opacity: 0.35; animation: ping 1.8s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.5; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-dot::after { animation: none; } html { scroll-behavior: auto; } }

.skeleton {
  display: inline-block; border-radius: 6px; background: var(--surface-2);
  animation: shimmer 1.4s ease-in-out infinite; color: transparent !important;
}
@keyframes shimmer { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.muted { color: var(--text-3); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }

/* ── Page hero (secondary pages) ────────────────────────── */
.page-hero { padding: 56px 0 24px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 10px 0 14px; }
.page-hero p.lead { font-size: 17px; color: var(--text-2); max-width: 680px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 20px; letter-spacing: -0.01em; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--text-2); font-size: 15px; }
.prose p { margin-bottom: 12px; }
.prose ul { padding-left: 20px; margin-bottom: 12px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose .date { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.notice {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--brand-soft); color: var(--brand-text); font-size: 14px; margin-bottom: 20px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.info-card { padding: 22px; }
.info-card h3 { font-size: 16px; margin-bottom: 6px; }
.info-card p { font-size: 14.5px; color: var(--text-2); }
.info-card .icon {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-text); margin-bottom: 14px; font-weight: 700;
}
.info-card a { font-weight: 600; display: inline-block; margin-top: 8px; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, #7b5bff 10%, var(--surface)));
  border: 1px solid var(--border);
}
.cta-band h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.cta-band p { color: var(--text-2); font-size: 15px; }
.cta-band .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.notfound { min-height: calc(100vh - var(--header-h) - 260px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font-size: 96px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(135deg, var(--brand), #7b5bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: 28px; letter-spacing: -0.02em; margin: 12px 0 8px; }
.notfound p { color: var(--text-2); margin-bottom: 24px; }
.notfound .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px;
  font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 10px; height: 10px; flex-shrink: 0;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .faq-a { padding: 0 20px 18px; color: var(--text-2); font-size: 14.5px; }

/* ── Risk warning ───────────────────────────────────────── */
.risk-box {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 13px; color: var(--text-2); line-height: 1.6;
}
.risk-box strong { color: var(--text); }
.risk-box svg { flex-shrink: 0; color: var(--wait); margin-top: 2px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 24px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 48px 0 32px; }
.footer-top p { color: var(--text-2); font-size: 14px; margin-top: 12px; max-width: 320px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 12px; }
.footer-col a, .footer-col button.linklike { display: block; color: var(--text-2); font-size: 14px; padding: 4px 0; }
.footer-col a:hover, .footer-col button.linklike:hover { color: var(--text); }
button.linklike { background: none; border: 0; cursor: pointer; text-align: left; }
.footer-legal { border-top: 1px solid var(--border); padding: 20px 0 28px; font-size: 12px; color: var(--text-3); line-height: 1.65; display: grid; gap: 10px; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ── Cookie consent ─────────────────────────────────────── */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 20px;
  display: none; gap: 14px; flex-direction: column;
}
.consent.show { display: flex; }
.consent p { font-size: 13.5px; color: var(--text-2); }
.consent .consent-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   Home page
   ════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.hero { padding: 48px 0 8px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -200px -10% auto -10%; height: 520px; z-index: -1;
  background:
    radial-gradient(600px 260px at 15% 40%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
    radial-gradient(520px 240px at 85% 30%, color-mix(in srgb, #7b5bff 12%, transparent), transparent 70%);
}
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-top > div:first-child { max-width: 680px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -0.035em; margin: 16px 0 14px; }
.hero .lead { font-size: 17px; color: var(--text-2); max-width: 600px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .hero-ctas { width: 100%; } .hero-ctas .btn { flex: 1 1 100%; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 18px 20px; min-width: 0; }
.stat-label { font-size: 12.5px; font-weight: 500; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.stat-value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 2px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-value.up { color: var(--up); }
.stat-value.down { color: var(--down); }
.stat-value.wait { color: var(--wait); }
.stat-sub { font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-sub .up { color: var(--up); font-weight: 600; }
.stat-sub .down { color: var(--down); font-weight: 600; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stat { padding: 14px 14px; } .stat-value { font-size: 22px; } }

.data-error {
  display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--wait-soft); color: var(--wait); font-size: 14px;
}
.data-error.show { display: block; }

/* ── Forecast area ── */
.forecast-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 960px) { .forecast-grid { grid-template-columns: 1fr; } }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-head h3 { font-size: 15px; font-weight: 600; }

.chart-card { overflow: hidden; }
.chart-frame { height: 440px; background: var(--surface); }
.chart-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .chart-frame { height: 340px; } }

.snapshot { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border); }
.snap { padding: 14px 16px; border-right: 1px solid var(--border); min-width: 0; }
.snap:last-child { border-right: 0; }
.snap-label { font-size: 11.5px; color: var(--text-3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snap-value { font-size: 14.5px; font-weight: 600; margin-top: 2px; line-height: 1.3; }
.snap-state { font-size: 12px; font-weight: 500; }
.snap-state.up { color: var(--up); }
.snap-state.down { color: var(--down); }
.snap-state.neutral { color: var(--text-3); }
@media (max-width: 760px) {
  .snapshot { grid-template-columns: repeat(2, 1fr); }
  .snap { border-bottom: 1px solid var(--border); }
  .snap:nth-child(2n) { border-right: 0; }
  .snap:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

.forecast-card { display: flex; flex-direction: column; }
.fc-tabs { display: flex; gap: 4px; padding: 6px; margin: 14px 16px 0; background: var(--surface-2); border-radius: 12px; }
.fc-tab {
  flex: 1; border: 0; background: transparent; cursor: pointer;
  padding: 8px 10px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-3);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.fc-tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.fc-tab .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
.fc-tab .dot.up { background: var(--up); }
.fc-tab .dot.down { background: var(--down); }
.fc-tab .dot.wait { background: var(--wait); }

.fc-body { padding: 18px 20px 4px; }
.fc-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.fc-dir { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; display: flex; align-items: center; gap: 10px; }
.fc-dir.up { color: var(--up); }
.fc-dir.down { color: var(--down); }
.fc-dir.wait { color: var(--wait); }
.fc-note { font-size: 13.5px; color: var(--text-2); margin-top: 6px; }

.conf { margin: 16px 0; }
.conf-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.conf-row b { color: var(--text); font-weight: 600; }
.bar { height: 6px; background: var(--surface-3); border-radius: 99px; overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; transition: width 0.6s ease; }
.bar i.up { background: var(--up); }
.bar i.down { background: var(--down); }
.bar i.wait { background: var(--wait); }
.bar i.brand { background: var(--brand); }

.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.level { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.level-label { font-size: 11.5px; color: var(--text-3); font-weight: 500; white-space: nowrap; }
.level-value { font-size: 15px; font-weight: 600; margin-top: 2px; }
.level-value.up { color: var(--up); }
.level-value.down { color: var(--down); }
.level-pips { font-size: 11.5px; color: var(--text-3); }

.votes { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); }
.vote-dots { display: flex; gap: 4px; }
.vote-dots i { width: 22px; height: 8px; border-radius: 99px; background: var(--surface-3); }
.vote-dots i.up { background: var(--up); }
.vote-dots i.down { background: var(--down); }
.vote-dots i.wait { background: var(--wait); }

.reason { border-top: 1px solid var(--border); }
.reason summary { list-style: none; cursor: pointer; padding: 12px 0; font-size: 13.5px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.reason summary::-webkit-details-marker { display: none; }
.reason summary::after { content: '+'; font-size: 18px; color: var(--text-3); line-height: 1; }
.reason[open] summary::after { content: '\2212'; }
.reason-list { display: grid; gap: 10px; padding-bottom: 14px; }
.reason-item { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.reason-item b { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); margin-bottom: 2px; }
.reason-foot { font-size: 12px; color: var(--text-3); }

.fc-empty { padding: 28px 4px 24px; text-align: center; color: var(--text-2); font-size: 14px; }
.fc-empty strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }

.trade-box { margin: 8px 16px 16px; padding: 16px; border-radius: 12px; background: var(--surface-2); }
.trade-title { font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.trade-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.trade-box p { font-size: 12px; color: var(--text-3); line-height: 1.5; }

/* ── Brokers ── */
.broker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 820px) { .broker-grid { grid-template-columns: 1fr; } }
.broker-card { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.broker-top { display: flex; align-items: center; gap: 14px; }
.broker-logo {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 17px; letter-spacing: -0.02em;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
}
.broker-top h3 { font-size: 22px; letter-spacing: -0.02em; }
.broker-top p { font-size: 13.5px; color: var(--text-3); }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.facts li { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.facts span { font-size: 12px; color: var(--text-3); font-weight: 500; }
.facts strong { font-size: 14.5px; font-weight: 600; }
.fit h4 { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.checks { list-style: none; display: grid; gap: 8px; }
.checks li { font-size: 14px; color: var(--text-2); padding-left: 26px; position: relative; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--up-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.broker-cta { margin-top: auto; display: grid; gap: 8px; }
.broker-cta p { font-size: 12px; color: var(--text-3); text-align: center; }

.table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 13px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { font-size: 13px; color: var(--text-3); font-weight: 600; background: var(--surface-2); }
.compare thead th:not(:first-child) { color: var(--text); font-size: 15px; }
.compare tbody th { font-weight: 500; color: var(--text-3); width: 26%; }
.compare tbody td { color: var(--text); width: 37%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.footnote { font-size: 12.5px; color: var(--text-3); margin-top: 12px; max-width: 900px; line-height: 1.6; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px; }
.step-num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-text); font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-2); }

/* ── Accuracy ── */
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 16px; align-items: start; }
@media (max-width: 960px) { .acc-grid { grid-template-columns: 1fr; } }
.acc-card { padding: 24px; }
.acc-big { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 8px 0 4px; }
.acc-sub { color: var(--text-3); font-size: 14px; margin-bottom: 18px; }
.acc-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 18px; }
.acc-counts div { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.acc-counts b { display: block; font-size: 20px; font-weight: 700; }
.acc-counts span { font-size: 12px; color: var(--text-3); }
.acc-method { font-size: 13px; color: var(--text-2); line-height: 1.6; border-top: 1px solid var(--border); padding-top: 14px; }

.history-card { overflow-x: auto; }
.history { width: 100%; border-collapse: collapse; font-size: 14px; }
.history th, .history td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.history thead th { font-size: 12px; color: var(--text-3); font-weight: 600; background: var(--surface-2); }
.history tr:last-child td { border-bottom: 0; }
.history .dir { font-weight: 600; }
.history .dir.up { color: var(--up); }
.history .dir.down { color: var(--down); }
.history .dir.wait { color: var(--wait); }
.history td.price { color: var(--text-2); }
@media (max-width: 640px) {
  .history .col-votes { display: none; }
  .history th, .history td { padding: 11px 10px; font-size: 13px; }
}
@media (max-width: 400px) { .history .col-price { display: none; } }
