/* Первый экран: слова слева, график счёта справа сверху, как на Tark и tickra.org.
   График простой: одна кривая счёта и итог над ней. Дни и просадка живут ниже,
   в живой панели, повторять их на первом экране незачем.

   На телефоне порядок другой: заголовок, сразу карточка с графиком, потом текст
   и кнопки. Рынок виден за первые секунды, а не после абзаца.
   Цвет только токенами, характер карточки задаёт файл подачи. */

:root { --top-h: 73px; }

/* Воздух (Саша, 30.10; перенесено 02.11 marta-fix): поля первого экрана и зазоры между строками больше. */
.hero { padding: clamp(56px, 7vw, 112px) 0 clamp(72px, 8.5vw, 128px); position: relative; }
.hero-in > * + * { margin-top: 24px; }
.hero-in > .hero-cta { margin-top: 36px; }
.hero-in > .micro { margin-top: 18px; }
.hero .display { font-size: clamp(38px, 5vw, 70px); line-height: 1.07; max-width: 15ch; text-wrap: balance; }
.hero .lead { max-width: 44ch; }

@media (min-width: 1000px) {
  .hero-in {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    column-gap: clamp(40px, 5vw, 80px); align-items: start;
  }
  .hero-in > * { grid-column: 1; }
  .hero-in > .hcard { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; align-self: start; }
  .hero-in > .kicker { margin-top: clamp(8px, 1.4vw, 20px); }
}
/* В одну колонку карточка идёт сразу под заголовком. Правило .hcard { margin: 0 } ниже перебивало
   общий отступ, и заголовок упирался в карточку (скрин Саши 30.10, file_3727). */
@media (max-width: 999px) {
  .hero-in > .hcard { margin-top: 36px; max-width: 680px; }
  .hero-in > .lead { margin-top: 36px; }
}

/* ── карточка с графиком ─────────────────────────────────────── */

.hcard {
  margin: 0; position: relative;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line);
}
.hcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hcard-t { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); font-weight: 500; }
.hcard-d { font-size: 12.5px; color: var(--cream-3); }
.hcard-n { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin-top: 14px; }
.hcard-v {
  font-family: var(--f-num), Georgia, serif; font-weight: var(--w-num);
  font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -.015em;
  color: var(--gold); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.hcard-k { font-size: 13px; color: var(--cream-3); }

.chart.hcard-chart { aspect-ratio: 16 / 10; margin-top: 12px; }
.hcard .hero-figs {
  margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.hcard .fig { padding: 0; border: 0; background: none; border-radius: 0; box-shadow: none; overflow: visible; }
.hcard .fig::before, .hcard .fig::after { display: none; }
.hcard .fig-n { font-size: clamp(22px, 2.2vw, 30px); }
.hcard .fig-k { margin-top: 8px; font-size: 12.5px; }

/* конец кривой: точка «сейчас» с мягким пульсом после того, как линия дорисована */
.g-end { fill: var(--gold); }
.g-end-halo { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; }
.chart.in .g-end-halo { animation: end-pulse 2.8s var(--ease) 1.2s infinite; }
@keyframes end-pulse { 0% { transform: scale(.6); opacity: .4; } 100% { transform: scale(2.2); opacity: 0; } }

/* заливка под кривой проявляется вслед за линией, а не раньше неё */
.chart .g-fill { opacity: 0; transition: opacity 900ms var(--ease) 500ms; }
.chart.in .g-fill { opacity: 1; }
.chart.in .g-draw { transition-duration: 1500ms; }

/* ── вход первого экрана: ступенями, одна кривая, без подпрыгивания ── */

.hero-in > * { animation: hero-in 820ms var(--ease) both; }
.hero-in > *:nth-child(1) { animation-delay: 40ms; }
.hero-in > *:nth-child(2) { animation-delay: 120ms; }
.hero-in > *:nth-child(3) { animation-delay: 200ms; }
.hero-in > *:nth-child(4) { animation-delay: 300ms; }
.hero-in > *:nth-child(5) { animation-delay: 380ms; }
.hero-in > *:nth-child(6) { animation-delay: 440ms; }
@keyframes hero-in { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 860px) {
  .hero .display { font-size: clamp(32px, 8.6vw, 46px); }
  .chart.hcard-chart { aspect-ratio: 4 / 3; }
  .hcard .fig-n { font-size: 21px; }
  .hcard .fig-k { font-size: 12px; }
}
@media (max-width: 380px) {
  .hcard .hero-figs { gap: 10px; }
  .hcard .fig-n { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-in > * { animation: none; }
  .chart .g-fill { opacity: 1; transition: none; }
}

/* ── ТЗ Марты (02.11.2026): предложение, «только BTC и ETH», второй абзац и тезисы ──
   Раскладка noira2 не меняется: колонка слов слева, карточка справа. Абзац предложения
   стоит на месте прежнего .lead, строка про биткоин и эфир под ним с акцентной чертой.
   Второй абзац и четыре тезиса идут полосой под обеими колонками (на телефоне после кнопок). */
.hero .only {
  max-width: 44ch; padding: 2px 0 2px 16px; border-left: 2px solid var(--gold);
  font-size: clamp(15.5px, 1.25vw, 17px); line-height: 1.6; font-weight: 500; color: var(--cream);
}
.hero .offer-2 { font-size: clamp(15.5px, 1.2vw, 17px); line-height: 1.7; color: var(--cream-2); max-width: 60ch; }
.hero-points {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
}
.hero-points li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.6; color: var(--cream-2); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg);
}
.hero-points b { color: var(--gold); font-weight: 600; white-space: nowrap; }
.hero-in > .offer-2, .hero-in > .hero-points { padding-top: 26px; border-top: 1px solid var(--line); }
.hero-in > .offer-2 { margin-top: 40px; }
.hero-in > .hero-points { margin-top: 26px; }
@media (min-width: 1000px) {
  .hero-in > .hcard { grid-row: 1 / span 6; }
  .hero-in > .offer-2, .hero-in > .hero-points { grid-row: 7; margin-top: clamp(40px, 4vw, 56px); }
  .hero-in > .offer-2 { grid-column: 1; }
  .hero-in > .hero-points { grid-column: 2; }
}
.hero-in > *:nth-child(7) { animation-delay: 480ms; }
.hero-in > *:nth-child(8), .hero-in > *:nth-child(9) { animation-delay: 520ms; }
