html, body{
  max-width: 100%;
}

/* запрещаем горизонтальный скролл только на больших экранах */
@media (min-width: 769px) {
  html, body {
    overflow-x: hidden;
  }
}


/* ===== Reset / base ===== */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body.owt{
  background:#0a0f1c;
  color:#e9efff;
  line-height:1.5;
}
a{color:#9fd6ff;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* ===== Header ===== */
/* блёр работает в обычном режиме */
.owt-header {
  backdrop-filter: blur(10px);
}

/* но когда меню открыто — он отключается */
body.nav-open .owt-header {
  backdrop-filter: none !important;
  background: #050814 !important;
}


.owt-header{
  position: sticky;
  top: 0;
  z-index: 950; /* ВЫШЕ, чем подложка под меню */
  background: rgba(10,15,28,.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

/* бренд / логотип */
.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  color:#e9efff;
  text-decoration:none;
}
.brand:hover{text-decoration:none}
.brand__logo{
  width:36px;
  height:36px;
  border-radius:999px;
  background:radial-gradient(circle at 30% 30%,#61dafb,#0f172a);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  box-shadow:0 0 14px rgba(0,191,255,.4);
}
.brand__logo .rocket{
  font-size:1.1rem;
  transform:translateY(-1px);
}
.brand__logo .orbit{
  position:absolute;
  inset:3px;
  border-radius:999px;
  border:1px dashed rgba(248,250,252,.35);
  opacity:.7;
}
.brand__text{
  display:flex;
  flex-direction:column;
  font-size:.85rem;
}
.brand__text strong{
  font-weight:600;
  letter-spacing:.03em;
}
.brand__text em{
  font-style:normal;
  font-size:.78rem;
  color:rgba(148,163,184,.9);
}

/* навигация (десктоп) */
.nav{
  display:flex;
}
.nav ul{
  display:flex;
  gap:1rem;
  list-style:none;
  padding:0;
  margin:0;
}
.nav a{
  display:inline-block;
  padding:.4rem .6rem;
  border-radius:8px;
}
.nav a:hover{
  background:rgba(255,255,255,.06);
  text-decoration:none;
}

/* бургер по умолчанию скрыт */
.nav-toggle{
  display:none;
  background:none;
  border:0;
  color:#e9efff;
  font-size:1.25rem;
  cursor:pointer;
}


@media (max-width:840px){
  .header__inner{
    min-height:56px;
  }

  .nav-toggle{
    display:block;
  }

  /* fullscreen-оверлей для навигации */
  .nav{
    position: fixed;
    inset: 0;                /* top/right/bottom/left = 0 */
    background: #050814;     /* ПОЛНОСТЬЮ НЕПРОЗРАЧНЫЙ фон */
    z-index: 1000;           /* выше подложки, но внутри шапки */
    display: none;           /* скрыто по умолчанию */
    padding: 80px 24px 24px; /* отступ сверху под шапку */
    opacity: 1 !important;
  }

  body.nav-open .nav{
    display: block;          /* показываем, когда есть класс на body */
  }

  .nav ul{
    flex-direction: column;
    gap: .75rem;
  }

  .nav a{
    display: block;
    padding: .8rem 0;
    font-size: 1.05rem;
  }

  .nav a:hover{
    background: none;
    text-decoration: underline;
  }
}



/* затемняющая подложка под мобильное меню */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45); /* тёмное затемнение */
  opacity: 0;
  pointer-events: none;        /* НИКОГДА не перехватывает клики */
  transition: opacity .22s ease;
  z-index: 800;                /* ниже шапки и навигации */
}

body.nav-open{
  overflow: hidden;
}

body.nav-open::before{
  opacity: 1;
  pointer-events: none;        /* важно: не блокируем клики по меню */
}



/* ===== Hero ===== */
.hero{position:relative;overflow:hidden}
.hero--cosmic{padding:clamp(72px,16vw,160px) 0 clamp(56px,10vw,120px);background:linear-gradient(180deg,#0a0f1c,#0a1630)}
.hero__inner{text-align:center;position:relative;z-index:2}
.hero__bg{position:absolute;inset:0;z-index:1;pointer-events:none}
/* --- Dynamic Starfield --- */
/* ========== MOVING STARFIELD (Parallax) ========== */
:root{
  /* настройки скорости; чем больше — тем быстрее */
  --star-speed-far: 40s;
  --star-speed-mid: 26s;
  --star-speed-near: 14s;

  /* плотность: увеличивай кол-во radial-gradient строк */
  --star-opacity-far: .35;
  --star-opacity-mid: .55;
  --star-opacity-near: .75;
}

.hero__bg .stars{
  position:absolute; inset:0; pointer-events:none;
  background-repeat:no-repeat;
  animation-name: stars-drift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
  filter: saturate(105%);
}

/* дальний слой — медленный, тусклый */
.stars--far{
  opacity: var(--star-opacity-far);
  animation-duration: var(--star-speed-far);
  transform: translateZ(0);
  background-image:
    radial-gradient(1px 1px at 7% 18%, rgba(255,255,255,.7) 0 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 74%, rgba(255,255,255,.6) 0 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 12%, rgba(255,255,255,.7) 0 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 54%, rgba(255,255,255,.6) 0 50%, transparent 51%),
    radial-gradient(1px 1px at 69% 82%, rgba(255,255,255,.7) 0 50%, transparent 51%),
    radial-gradient(1px 1px at 83% 28%, rgba(255,255,255,.7) 0 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 64%, rgba(255,255,255,.6) 0 50%, transparent 51%);
}

/* средний слой — быстрее, чуть ярче */
.stars--mid{
  opacity: var(--star-opacity-mid);
  animation-duration: var(--star-speed-mid);
  background-image:
    radial-gradient(1.2px 1.2px at 12% 42%, rgba(255,255,255,.85) 0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 30% 10%, rgba(255,255,255,.9) 0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 48% 86%, rgba(255,255,255,.85) 0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 68% 63%, rgba(255,255,255,.9) 0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 86% 22%, rgba(255,255,255,.85) 0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 96% 78%, rgba(255,255,255,.9) 0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 5% 80%, rgba(255,255,255,.85) 0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 42% 34%, rgba(255,255,255,.85) 0 50%, transparent 51%);
}

/* ближний слой — самый быстрый и заметный, можно с холодным оттенком */
.stars--near{
  opacity: var(--star-opacity-near);
  animation-duration: var(--star-speed-near);
  background-image:
    radial-gradient(1.5px 1.5px at 16% 26%, rgba(200,230,255,.95) 0 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 34% 70%, rgba(255,255,255,.95) 0 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 52% 18%, rgba(200,230,255,.95) 0 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 74% 58%, rgba(255,255,255,.95) 0 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 34%, rgba(200,230,255,.95) 0 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 10% 90%, rgba(255,255,255,.95) 0 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 92%, rgba(200,230,255,.95) 0 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 92% 12%, rgba(255,255,255,.95) 0 50%, transparent 51%);
}

/* движение: лёгкий диагональный дрейф (вниз-вправо), зацикленный */
@keyframes stars-drift{
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(60px, 40px, 0); }
}

/* мягкое «мерцание» — добавим поверх (опционально) */
.stars--mid, .stars--near{
  animation-name: stars-drift, stars-twinkle;
  animation-duration: var(--star-speed-mid), 8s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}
.stars--near{
  animation-duration: var(--star-speed-near), 6s;
}
@keyframes stars-twinkle{
  0%, 100% { opacity: .6; }
  50% { opacity: 1; }
}

/* уважение к пользователю: если он отключил анимации */
@media (prefers-reduced-motion: reduce){
  .hero__bg .stars{ animation: none !important; }
}





@keyframes twinkle{0%,100%{opacity:.35}50%{opacity:.6}}

.badge{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .7rem;border-radius:999px;background:rgba(111,227,255,.08);border:1px solid rgba(111,227,255,.25);color:#6fe3ff;font-size:.9rem;margin-bottom:1rem}
.hero h1{font-size:clamp(28px,5vw,56px);line-height:1.06;margin:.2rem 0 .7rem}
.accent{color:#00bfff;text-shadow:0 0 22px rgba(0,191,255,.2)}
.lead{color:#a8b3cf;max-width:760px;margin:0 auto 1.4rem;font-size:clamp(16px,2.2vw,20px)}
.cta{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap;margin-top:1.1rem}
.btn{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;text-decoration:none;border-radius:12px;padding:.9rem 1.15rem;border:1px solid transparent;transition:.15s ease;box-shadow:0 10px 40px rgba(0,0,0,.35)}
.btn:hover{transform:translateY(-2px)}
.btn--primary{background:linear-gradient(180deg, rgba(0,191,255,.25), rgba(0,191,255,.18)); border-color:rgba(0,191,255,.4); color:#e9efff}
.btn--ghost{background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.12); color:#e9efff}
.highlights{list-style:none;display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin:1.3rem 0 0;padding:0}
.highlights li{padding:.55rem .8rem;border-radius:10px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#a8b3cf}

/* ===== Sections / cards ===== */
.section{padding:56px 0}
.section__head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
.section__title{margin:0;font-size:1.6rem}
.link{color:#9fd6ff}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.card{display:block;padding:16px;background:#0c1426;border:1px solid rgba(255,255,255,.06);border-radius:14px;transition:.15s ease}
.card:hover{transform:translateY(-2px);text-decoration:none;border-color:rgba(0,191,255,.35)}
.card__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.6rem}
.card h3{margin:.1rem 0}
.muted{color:#9fb2d6}
.pill{padding:.2rem .5rem;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);font-size:.85rem}
.pill--up{background:rgba(22,163,74,.15);border-color:rgba(22,163,74,.4)}
.pill--down{background:rgba(239,83,80,.15);border-color:rgba(239,83,80,.4)}
.card__meta{display:flex;align-items:center;justify-content:space-between}
.price{font-size:1.1rem;font-weight:700}

/* ===== Table (Maps) ===== */
.table-wrap {
  background: var(--owt-card-bg);
  border: 1px solid var(--owt-card-border);
  border-radius: 14px;
  box-shadow: var(--owt-card-shadow);

  overflow: hidden;           /* 🔑 КЛЮЧ */
  overflow-x: auto;           /* разрешаем горизонтальный скролл */
  -webkit-overflow-scrolling: touch;
}


.owt-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px; /* чуть больше, чтобы Context дышал */
  background: transparent;
}

.owt-table th,
.owt-table td {
  padding: 16px 16px; /* увеличили вертикаль и выровняли горизонт */
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: left;
  vertical-align: middle;
}

/* Шапка сортируемой таблицы Liquidity Maps */
.owt-table thead th {
  position: relative;
  white-space: nowrap;
}

.owt-table thead th .th-content {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  user-select: none;
}

.owt-table thead th .sort-icon {
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.8rem;
  opacity: 0.7;
  transition: color 0.2s, transform 0.2s, opacity 0.2s;
}

/* наведение — подсвечиваем стрелку */
.owt-table thead th[data-type]:hover .sort-icon {
  color: #6fe3ff;
  opacity: 1;
}

/* активная сортировка по возрастанию / убыванию */
.owt-table thead th.sort-asc .sort-icon {
  color: #6fe3ff;
  opacity: 1;
  transform: rotate(180deg);  /* ▲ */
}

.owt-table thead th.sort-desc .sort-icon {
  color: #6fe3ff;
  opacity: 1;
  transform: rotate(0deg);    /* ▼ */
}


.owt-table td.pos{color:#64d58b}
.owt-table td.neg{color:#ef7d7d}
.btn--tiny{padding:.4rem .6rem;border-radius:8px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);font-weight:600}

.owt-table thead th.sortable::after{
  content:"⇅";
  position:absolute;
  right:10px;
  font-size:11px;
  color:rgba(159,178,214,.6);
  opacity:.6;
}

.owt-table tr:hover {
  position: relative;
  z-index: 10;
}

.context-hint:hover {
  z-index: 999;
}

/* ===== Details ===== */
.asset-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.asset-title{margin:.1rem 0}
.asset-actions .btn--ghost{padding:.6rem .8rem}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 8px}
.metric{background:#0c1426;border:1px solid rgba(255,255,255,.06);border-radius:14px;padding:12px}
.metric .label{display:block;color:#9fb2d6;font-size:.9rem}
.metric .value{font-size:1.2rem;font-weight:800}
.metric .value.pos{color:#64d58b}
.metric .value.neg{color:#ef7d7d}

.zones{margin-top:24px}
.zone-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.zone-card{background:#0c1426;border:1px solid rgba(255,255,255,.06);border-radius:14px;padding:12px}
.zone-card__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
.zone-card .tag{padding:.2rem .5rem;border-radius:999px;background:rgba(111,227,255,.1);border:1px solid rgba(111,227,255,.25)}
.zone-card__price{font-size:1.25rem;font-weight:800}

.chart-panel{margin-top:18px;background:#0c1426;border:1px solid rgba(255,255,255,.06);border-radius:14px;padding:12px}
.chart-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.chart{width:100%;height:480px;border-radius:10px;overflow:hidden;background:#0b1324}
.note{margin-top:12px}

/* ===== Footer ===== */
.owt-footer{border-top:1px solid rgba(255,255,255,.06);padding:20px 0;color:#9fb2d6}
.footer__inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.social{display:flex;gap:1rem}

/* ===== Small screens ===== */
@media (max-width:720px){
  .metrics{grid-template-columns:1fr 1fr}
}
@media (max-width:480px){
  .metrics{grid-template-columns:1fr}
}
/* --- Brand link behaves like a button/link without underline --- */
.brand { cursor: pointer; text-decoration: none !important; }
.brand:hover,
.brand:focus,
.brand *, .brand *:hover, .brand *:focus{
  text-decoration:none !important;
}
.brand:hover .brand__logo{
  transform:translateY(-1px);
}
.brand__logo { transition: transform .15s ease; }


/* 404 Page */
.hero--404 {
  position:relative;
  color: var(--fg);
  background: radial-gradient(1200px 600px at 70% -10%, rgba(0,191,255,.15), transparent),
              linear-gradient(180deg, var(--bg), var(--bg-2));
  padding: clamp(100px, 18vw, 220px) 0 clamp(60px, 10vw, 140px);
  text-align:center;
  overflow:hidden;
}

.hero--404 .hero__title{
  font-size: clamp(42px, 8vw, 80px);
  margin-bottom: .5rem;
  text-shadow: 0 0 25px rgba(0,191,255,.3);
}

.hero--404 .hero__subtitle{
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 2rem;
  line-height:1.5;
}

.hero--404 .btn{
  font-size: 1.1rem;
  padding: 1rem 1.3rem;
}

.card__text{
  text-align: justify;
  margin: 0;
  margin-top: .35rem;
  line-height: 1.4;
  max-width: 34rem; /* чтобы текст не растягивался в одну строку */
}




/* ===== FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  background: #0c1426;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  font-size: 1.05rem;
  background: none;
  border: none;
  color: #e9efff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "▼";
  font-size: .9rem;
  opacity: .7;
  transition: transform .25s ease, opacity .2s;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  color: #a8b3cf;
  line-height: 1.45;
  transition: max-height .35s ease;
}

.faq-item.active .faq-answer {
  padding: 16px 18px 18px;
  max-height: 400px; /* достаточно для текста */
}


/* ===== Articles ===== */
.article {
  max-width: 760px;
  margin: 0 auto 32px;
  background: #0c1426;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 24px 20px 28px;
}

.article__head {
  margin-bottom: 16px;
}

.article__kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  color: #9fb2d6;
  margin-bottom: .35rem;
}

.article__title {
  margin: 0 0 .5rem;
  font-size: 1.8rem;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .85rem;
  color: #9fb2d6;
}

.article__body {
  margin-top: 18px;
  color: #e9efff;
  line-height: 1.7;
}

.article__body h2,
.article__body h3 {
  margin-top: 1.6em;
  margin-bottom: .5em;
}

.article__body p {
  margin: 0 0 1em;
}

.article__body ul,
.article__body ol {
  padding-left: 1.3rem;
  margin: 0 0 1em;
}

/* TOC */
.article-toc {
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}

.article-toc__title {
  display: block;
  margin-bottom: .4rem;
  font-size: .85rem;
  color: #9fb2d6;
}

.article-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .9rem;
}

.article-toc li + li {
  margin-top: .25rem;
}

/* Related */
.article-related {
  margin-top: 8px;
}
.article-related .section__title.small {
  font-size: 1.1rem;
  margin-bottom: .75rem;
}

/* Мобилки */
@media (max-width: 600px) {
  .article {
    padding: 20px 16px 24px;
    border-radius: 14px;
  }

  .article__title {
    font-size: 1.5rem;
  }
}




/* ===== Testimonials ===== */
.testimonials {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* сам слайд = большая карточка */
.testimonials__viewport {
  overflow: hidden;
  flex: 1;
  background: #0c1426;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.testimonials__track {
  display: flex;
  transition: transform .4s ease;
}

/* Каждый слайд занимает всю ширину viewport */
.testimonial-card {
  flex: 0 0 100%;
  /* фон/бордер/тень берем у viewport, здесь делаем прозрачным */
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 18px; /* можно оставить для внутреннего клипа */
  padding: 18px 20px;
}

.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #61dafb, #0f172a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  color: #e9efff;
  box-shadow: 0 0 16px rgba(0,191,255,.35);
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
}

.testimonial-card__name {
  margin: 0;
  font-size: 1rem;
}

.testimonial-card__role {
  margin: 0;
  font-size: .85rem;
  color: #9fb2d6;
}

.testimonial-card__text {
  margin: 0;
  margin-top: .4rem;
  font-size: .95rem;
  color: #e9efff;
  line-height: 1.5;
}

/* стрелки */
.testimonials__arrow {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: #e9efff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.testimonials__arrow:hover {
  background: rgba(0,191,255,.18);
  border-color: rgba(0,191,255,.6);
  transform: translateY(-1px);
}

/* точки под слайдером */
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.testimonials__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(148,163,184,.6);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, width .18s ease;
}

.testimonials__dots button.is-active {
  width: 18px;
  background: #00bfff;
  transform: translateY(-1px);
}

/* адаптив */
@media (max-width: 720px) {
  .testimonials {
    gap: 8px;
  }
  .testimonial-card {
    padding: 16px 14px;
  }
}



/* ============================================
   GLOBAL CARD SHADOW SYSTEM (OWT Premium Look)
   ============================================ */

   :root {
    --owt-card-bg: #0c1426;
    --owt-card-border: rgba(255,255,255,.06);
    --owt-card-shadow: 0 14px 34px rgba(0,0,0,.45);
  }
  
  /* Универсальная тень и фон для всех карточных контейнеров */
  .card,
  .metric,
  .zone-card,
  .chart-panel,
  .faq-item,
  .article,
  .testimonials__viewport {
    background: var(--owt-card-bg) !important;
    border: 1px solid var(--owt-card-border) !important;
    border-radius: 14px;
    box-shadow: var(--owt-card-shadow) !important;
  }
  
  /* Для блоков с большим радиусом */
  .testimonials__viewport,
  .article {
    border-radius: 18px;
  }
  
  /* Карточки внутри сеток */
  .card,
  .metric,
  .zone-card {
    transition: transform .18s ease, box-shadow .18s ease;
  }
  
  .card:hover,
  .metric:hover,
  .zone-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(0,0,0,.55);
  }
  
  /* FAQ раскрытый также получает тень */
  .faq-item.active {
    box-shadow: 0 20px 45px rgba(0,0,0,.55);
  }
  
  /* Chart Panel (графики) – чуть более мягкая тень */
  .chart-panel {
    box-shadow: 0 12px 28px rgba(0,0,0,.42) !important;
  }
  
 
  /* Тени для таблиц */
  .owt-table {
    background: transparent;
    min-width: 720px; /* можно 780px, если таблица стала шире */
  }
  
  /* Отключаем внутренние тени у testimonial-card, они используют внешнюю оболочку */
  .testimonial-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  

  /* ============================================
   BUTTON SHADOW SYSTEM (matches card shadows)
   ============================================ */

:root {
  --owt-btn-shadow: 0 10px 28px rgba(0,0,0,0.45);
  --owt-btn-shadow-hover: 0 14px 34px rgba(0,0,0,0.55);
}

/* PRIMARY BUTTONS */
.btn--primary {
  box-shadow: var(--owt-btn-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--owt-btn-shadow-hover);
}

/* GHOST BUTTONS (тоже делаем объёмными, но чуть мягче) */
.btn--ghost {
  box-shadow: 0 8px 20px rgba(0,0,0,0.40);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.50);
  background: rgba(255,255,255,0.08); /* лёгкое свечение при наведении */
}

/* Wide article layout — used only on Learn page */
.article--wide {
  max-width: 1200px;     /* можешь изменить на 1100, 1300, как нравится */
  width: 100%;
}


/* ===== Article list (Research Lab) ===== */

.article-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:20px;
}

.article-list__item{
  display:block;
  padding:14px 18px;
  border-radius:14px;
  background:#0c1426;
  border:1px solid rgba(255,255,255,.06);
  text-decoration:none;
  transition:
    background .15s ease,
    border-color .15s ease,
    transform .15s ease;
}

.article-list__item:hover{
  background:#0f182b;
  border-color:rgba(0,191,255,.45);
  transform:translateY(-1px);
  text-decoration:none;
}

.article-list__line{
  display:flex;
  align-items:baseline;
  gap:12px;
  margin-bottom:4px;
}

.article-list__date{
  font-size:.8rem;
  color:#9fb2d6;
  white-space:nowrap;
}

.article-list__title{
  font-size:1rem;
  font-weight:700;
  color:#e9efff;
}

.article-list__excerpt{
  margin:0;
  font-size:.9rem;
  color:#c3d0f0;
}

/* адаптив: на мобиле дата уходит на отдельную строку */
@media (max-width:600px){
  .article-list__line{
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
  }
}

.context-cell {
  position: relative;
}



.context-cell:hover::after {
  opacity: 1;
}

.context-cell:focus::after,
.context-cell:focus-visible::after {
  opacity: 1;
}

.context-pill, .context-hint {
  position: relative;
  cursor: help;
  display: inline-block;
}


.context-hint:not(.top)::after {
  top: 125%;
  bottom: auto;
}
.context-hint:not(.top)::before {
  top: 115%;
  bottom: auto;
  border-color: transparent transparent #222 transparent;
}

.context-hint::before {
  content: "";
  position: absolute;
  top: 115%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #222 transparent;
  opacity: 0;
  z-index: 1001;
  transition: opacity 0.2s;
}

.context-hint:hover::after,
.context-hint:hover::before,
.context-hint:focus::after,
.context-hint:focus::before {
  opacity: 1;
}

/* КЛАСС ДЛЯ ОТКРЫТИЯ ВВЕРХ (добавляется через JS) */
.context-hint.top::after {
  top: auto !important;
  bottom: 125% !important;
}
.context-hint.top::before {
  top: auto !important;
  bottom: 115% !important;
  border-color: #222 transparent transparent transparent !important;
}


.global-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: min(360px, calc(100vw - 24px));
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(10,14,24,.96);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  white-space: pre-line;
  opacity: 0;
  display: none;
  pointer-events: none;
  transition: opacity .12s ease, transform .12s ease;
  border-radius: 14px;
  box-shadow:
    0 8px 30px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.04);
}

.predictions { margin-top: 18px; }

.pred-cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.pred-card{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 14px 14px;
}

.pred-card--wide{
  grid-column: 1 / -1;
}

.pred-drivers{
  margin: 8px 0 0;
  padding-left: 18px;
}

.pred-drivers li{
  margin: 4px 0;
}


/* чтобы tooltip мог перекрывать соседние карточки */
.metrics { overflow: visible; }   /* на всякий случай */

.metric.context-hint { 
  position: relative;
  z-index: 0; 
}

/* при наведении/фокусе поднимаем карточку над соседями */
.metric.context-hint:hover,
.metric.context-hint:focus,
.metric.context-hint:focus-visible {
  z-index: 200;
}

/* и чуть выше сам тултип */
.metric.context-hint::after {
  z-index: 201;
}

/* =========================
   HERO SPLIT (PRODUCT-FIRST) 06012026
   ========================= */

   .hero--split {
    padding-top: clamp(64px, 10vw, 120px);
    padding-bottom: clamp(32px, 8vw, 80px);
  }
  
  .hero__split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    position: relative;
    z-index: 2;
  }
  
  /* LEFT */
  .hero__left {
    text-align: left;
  }
  
  .hero__left .lead {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    opacity: 0.9;
  }
  
  .cta--left {
    justify-content: flex-start;
  }
  
  /* RIGHT */
  .hero__right {
    display: flex;
    justify-content: center;
  }
  
  /* DEVICE MOCKUP */
  .device-mockup {
    width: 100%;
    max-width: 720px; /* ⬅️ УВЕЛИЧИЛИ НА DESKTOP */
  }
  
  /* FRAME */
  .device-frame {
    aspect-ratio: 16 / 10;
    position: relative;
    background: radial-gradient(
      120% 120% at 50% 0%,
      #0c1426 0%,
      #050814 70%
    );
    border-radius: 26px;
    padding: 16px;
  
    border: 1px solid rgba(20, 40, 90, 0.45);
  
    box-shadow:
      0 40px 90px rgba(0, 0, 0, 0.85),
      inset 0 0 0 1px rgba(80, 140, 255, 0.06);
  }
  
  /* IMAGE */
  .device-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    aspect-ratio: auto;
  }
  
  /* Label inside screen */
  .device-label {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    font-size: 0.75rem;
    border-radius: 999px;
    background: rgba(10,14,24,.85);
    border: 1px solid rgba(255,255,255,.14);
    color: #cfe9ff;
    backdrop-filter: blur(6px);
  }
  
  /* CTA BELOW DEVICE */
  .device-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
  }
  
  .device-action-btn {
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
  
    color: #e9f2ff;
    background: linear-gradient(
      180deg,
      rgba(0,191,255,.35),
      rgba(0,191,255,.18)
    );
  
    border: 1px solid rgba(0,191,255,.55);
    box-shadow: 0 18px 40px rgba(0,0,0,.6);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  
  .device-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 60px rgba(0,0,0,.75);
  }
  
  /* =========================
     RESPONSIVE
     ========================= */
  
  @media (max-width: 960px) {
    .hero__split {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .hero__left {
      text-align: center;
    }
  
    .cta--left {
      justify-content: center;
    }
  
    .device-mockup {
      max-width: 520px; /* ⬅️ МЕНЬШЕ НА МОБИЛКЕ */

    }
  }
  
  .lead--justify {
    text-align: justify;
    text-justify: inter-word;
    max-width: 520px;
  }

  /* =========================
   CTA SYSTEM (GLOBAL)
   ========================= */

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 20px;
  border-radius: 14px;

  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;

  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;

  color: #e9f2ff;

  background: linear-gradient(
    180deg,
    rgba(0, 191, 255, 0.38),
    rgba(0, 191, 255, 0.18)
  );

  border: 1px solid rgba(0, 191, 255, 0.55);
  box-shadow: 0 18px 40px rgba(0,0,0,.6);

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(0,0,0,.75);
}

  
.cta-btn--primary {
  padding: 14px 26px;
  font-size: 1rem;
}

.cta-btn--context {
  font-size: 0.9rem;
  padding: 11px 18px;
  opacity: 0.92;
}
