/* ======================================================================
   ТОНЭ / ToneLabs — редизайн v2, по мотивам bymonolog.com
   Система: тёплый камень + почти-чёрный дуотон, зерно, крупная гарнитура,
   моно-подписи, минимум украшений. Один акцент (индиго) оставлен —
   это цвет бренда ТОНЭ, не часть системы Monolog.
   ====================================================================== */

@font-face {
  font-family: 'Hanken Grotesk';
  src: local('Hanken Grotesk');
}

:root {
  /* — тёплые нейтрали (светлая тема, как у референса) — */
  --stone:    #e8e8e3;
  --stone-2:  #dddcd3;
  --stone-3:  #d1d1c7;
  --stone-4:  #938f8a;

  /* — почти-чёрный дуотон (тёмные секции) — */
  --ink:      #080807;
  --ink-2:    #141311;
  --ink-3:    #211f1b;
  --paper:    #f1efe9;
  --paper-dim:#948f84;

  /* — текст на светлом — */
  --text:     #141311;
  --text-dim: #5d5a53;

  /* — единственный акцент бренда — */
  --accent:       #4550e6;
  --accent-light: #6c76f0;

  --line:      rgba(20, 19, 17, 0.14);
  --line-dark: rgba(241, 239, 233, 0.16);

  --container: 1240px;
  --radius: 8px;

  --fs-giant: clamp(2.6rem, 1.1rem + 6.8vw, 6.2rem);
  --fs-head:  clamp(1.9rem, 1.1rem + 2.6vw, 3.1rem);
  --fs-sub:   clamp(1.4rem, 1rem + 1.4vw, 2rem);
  --fs-lead:  clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  --fs-body:  1rem;
  --fs-small: 0.8125rem;
  --fs-mono:  0.78rem;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--text);
  font-family: 'Hanken Grotesk', 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* film grain overlay — works over light and dark sections alike */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  background-image: var(--noise);
  opacity: 0.05;
  mix-blend-mode: overlay;
}

h1, h2, h3, h4, .display {
  font-family: 'Hanken Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 120px 0; }
@media (max-width: 720px) { .section { padding: 72px 0; } }

.section--dark { background: var(--ink); color: var(--paper); }
.section--stone2 { background: var(--stone-2); }

/* mono micro-label — replaces old pill "kicker" */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .5; }
.section--dark .kicker { color: var(--paper-dim); }

.dim { color: var(--text-dim); }
.section--dark .dim { color: var(--paper-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  box-shadow: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn::after { content: '↗'; font-size: 0.95em; display: inline-block; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { opacity: 0.88; }
.btn--ghost-dark { background: rgba(241, 239, 233, 0.08); color: var(--paper); border: 1px solid var(--line-dark); }
.btn--ghost-dark:hover { background: rgba(241, 239, 233, 0.14); }
.btn--ghost-light { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--ghost-light::after, .btn--tg::after { content: none; }
.btn--tg { background: var(--accent); color: #fff; }
.btn--tg:hover { opacity: .9; }
.btn--sm { padding: 9px 14px; font-size: 13px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(232, 232, 227, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent); }
.logo-group { display: flex; align-items: baseline; gap: 10px; }
.logo-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-mono);
  color: var(--text-dim);
  white-space: nowrap;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
@media (max-width: 860px) { .logo-tagline { display: none; } }
.nav { display: flex; gap: 2px; font-size: 14px; font-weight: 500; }
.nav a { padding: 9px 14px; border-radius: 6px; transition: background 0.15s ease, color 0.15s ease; }
.nav a:hover { background: var(--stone-3); color: var(--accent); }
@media (max-width: 860px) { .nav { display: none; } }

/* ---------- Hero — two-column, light & grained, like reference ---------- */
.hero {
  background: var(--stone);
  color: var(--text);
  padding: 168px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 920px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 36px; }
}
.hero-left { padding-top: 6px; }
.hero-left .kicker { margin-bottom: 18px; }
.hero-lead { font-size: var(--fs-lead); color: var(--text-dim); max-width: 36ch; margin: 0 0 26px; }
.hero-right h1 {
  font-size: var(--fs-giant);
  letter-spacing: -0.035em;
}
.hero-right h1 .accent { color: var(--accent); }
.hero-note-wrap {
  position: static;
  z-index: 3;
  max-width: var(--container);
  margin: 24px auto -72px;
  padding: 0 var(--margin, 28px);
  pointer-events: none;
  will-change: transform, top;
}
.hero-note {
  display: inline-block;
  pointer-events: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-mono);
  color: var(--text-dim);
  background: var(--stone);
  padding: 4px 0;
}

.hero-watermark {
  position: absolute;
  left: 0;
  top: 72px;
  height: calc(100% - 72px);
  display: flex;
  align-items: flex-start;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  transform: rotate(180deg);
  font-size: clamp(9rem, 3rem + 19vw, 19rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--stone-3);
  z-index: 0;
  line-height: .94;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-sphere-wrap {
  position: absolute;
  top: 50%;
  left: 63%;
  width: min(980px, 110vw);
  height: min(980px, 110vw);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  filter: invert(1) brightness(0.86) contrast(0.82) saturate(0.7);
  mix-blend-mode: multiply;
}
#sphereCanvas { width: 100%; height: 100%; display: block; }
.orbit { display: none; }

.hero .answer-block { color: var(--text-dim); font-size: 14.5px; max-width: 620px; margin: 22px 0 0; }

/* ---------- Search / funnel widget — now lives in hero-left ---------- */
.funnel {
  width: 100%;
  background: var(--stone-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px;
  text-align: left;
  transition: border-color 0.25s ease;
}
.funnel-body { background: var(--stone); border-radius: 0 0 6px 6px; }
.funnel-input-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.funnel-input-row svg { flex-shrink: 0; opacity: 0.55; }
.funnel-input-row input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px;
}
.funnel-input-row input::placeholder { color: var(--text-dim); }
.funnel-submit-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.funnel-submit-btn:hover { opacity: 0.88; }
@media (max-width: 480px) {
  .funnel-submit-btn { padding: 8px 11px; font-size: 12px; }
  .funnel-input-row { padding: 11px 11px; gap: 8px; }
}
.funnel-body {
  display: none;
  padding: 2px 11px 14px;
  border-top: 1px solid var(--line);
  margin-top: 2px;
}
.funnel.open .funnel-body { display: block; }
.funnel-msg { font-size: 13.5px; color: var(--text-dim); padding: 12px 3px 4px; }
.funnel-choices { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 3px 4px; }
.funnel-choice {
  padding: 8px 14px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  background: var(--stone);
  font-family: 'Hanken Grotesk', sans-serif;
}
.funnel-choice:hover { border-color: var(--accent); color: var(--accent); }
.funnel-estimate { padding: 14px 3px 2px; }
.funnel-summary { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.funnel-summary p { font-size: 13px; color: var(--text-dim); margin: 0 0 6px; line-height: 1.5; }
.funnel-summary strong { color: var(--text); font-weight: 600; }
.funnel-estimate .num { font-family: 'Hanken Grotesk', sans-serif; font-size: 27px; font-weight: 800; color: var(--text); }
.funnel-estimate .note { font-size: 12.5px; color: var(--text-dim); margin-top: 6px; }
.funnel-alt-note { margin-top: 12px; font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.funnel-alt-note a { color: var(--accent); text-decoration: underline; }
.funnel-loading { padding: 13px 3px; font-size: 13.5px; color: var(--text-dim); }
.funnel-loading .dots::after { content: '...'; }

/* ---------- Scroll reveal statement (dark) ---------- */
.statement { background: var(--ink); color: var(--paper); padding: 50px 0 150px; }
.statement .container { max-width: 1000px; }
#revealText { font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: clamp(1.6rem, 1rem + 2.6vw, 3.1rem); line-height: 1.3; letter-spacing: -0.015em; }
.rv { color: rgba(241, 239, 233, 0.18); transition: color 0.15s linear; }
.rv.on { color: var(--paper); }

/* ---------- Proof strip — real SEO/GEO-AEO track record ---------- */
.proof-sec { padding: 72px 0; border-bottom: 1px solid var(--line); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 860px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-item { border-top: 1px solid var(--line); padding-top: 16px; }
.proof-num { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.proof-label { font-size: 13.5px; color: var(--text-dim); max-width: 26ch; line-height: 1.45; }

/* ---------- Services — stacked reveal list (was: 4-card grid) ---------- */
.service-list { margin-top: 48px; border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: 10px; }
}
.service-index { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-mono); color: var(--text-dim); padding-top: 10px; }
.service-row h3 { font-size: var(--fs-sub); font-weight: 700; }
.service-row p { font-size: 14.5px; color: var(--text-dim); margin: 0; max-width: 46ch; }

/* ---------- Compare: classic vs AI-onboard ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 820px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card { padding: 40px 34px; }
.compare-card--light { background: var(--stone-2); }
.compare-card--hi { background: var(--ink); color: var(--paper); }
.compare-card .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  color: var(--text-dim);
}
.compare-card--hi .badge { color: var(--accent-light); }
.compare-card .badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.compare-card h3 { font-size: var(--fs-sub); margin-bottom: 8px; }
.compare-card .compare-sub { font-size: 13.5px; margin-bottom: 24px; }
.compare-card--light .compare-sub { color: var(--text-dim); }
.compare-card--hi .compare-sub { color: var(--paper-dim); }
.compare-card ul { margin: 0 0 28px; padding-left: 0; list-style: none; }
.compare-card li { font-size: 14px; padding: 10px 0 10px 22px; position: relative; border-top: 1px solid var(--line); }
.compare-card--hi li { border-top-color: var(--line-dark); }
.compare-card li:first-child { border-top: none; }
.compare-card li::before { content: '—'; position: absolute; left: 0; color: var(--text-dim); }
.compare-card--hi li::before { color: var(--paper-dim); }

/* ---------- Process — stacked steps with mono step label ---------- */
/* ---------- Process — scroll-pinned vapor-type word cycle ---------- */
.process-pin {
  position: relative;
  height: 380vh;
  background: var(--stone-2);
}
@media (prefers-reduced-motion: reduce) { .process-pin { height: auto; } }
.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 24px;
}
@media (prefers-reduced-motion: reduce) {
  .process-sticky { position: static; height: auto; padding: 96px 24px; }
}
.process-sticky .kicker { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); margin: 0; }
.process-sticky .kicker::before { display: none; }
@media (prefers-reduced-motion: reduce) { .process-sticky .kicker { position: static; transform: none; margin-bottom: 28px; } }
.process-stage {
  position: relative;
  width: min(1000px, 94vw);
  height: clamp(120px, 20vh, 220px);
}
#vaporCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.process-fallback {
  font-size: clamp(2.2rem, 1rem + 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.process-desc {
  margin-top: 20px;
  font-size: var(--fs-lead);
  color: var(--text-dim);
  max-width: 50ch;
}
.process-dots { display: flex; gap: 10px; margin-top: 36px; }
.process-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line);
  transition: background .3s ease, transform .3s ease;
}
.process-dots span.active { background: var(--ink); transform: scale(1.35); }

/* ---------- Portfolio — sticky-numbered list (was: 3-col card grid) ---------- */
.work-list { margin-top: 48px; border-top: 1px solid var(--line); counter-reset: work; }
.work-row {
  display: grid;
  grid-template-columns: 46px 280px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.work-row--text { grid-template-columns: 46px 1fr; }
@media (max-width: 860px) {
  .work-row, .work-row--text { grid-template-columns: 1fr; gap: 14px; }
}
.work-row__num {
  counter-increment: work;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-mono);
  color: var(--text-dim);
  position: sticky;
  top: 90px;
}
.work-row__num::before { content: counter(work, decimal-leading-zero); }
.work-row__media { border-radius: var(--radius); overflow: hidden; background: var(--stone-3); aspect-ratio: 21 / 10; }
.work-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-row__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-mono);
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}
.work-row h3 { font-size: var(--fs-sub); margin: 10px 0 8px; }
.work-row p { font-size: 14.5px; color: var(--text-dim); margin: 0 0 18px; max-width: 56ch; }
.work-row__bottom { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.work-row__price { font-size: 13.5px; font-weight: 700; }
.work-row__link { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.work-row__link:hover { opacity: .8; }

/* ---------- Pricing ---------- */
.price-table { margin-top: 24px; border-top: 1px solid var(--line); }
.price-row { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); gap: 20px; }
.price-row .name { font-weight: 600; font-size: 15px; }
.price-row .desc { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.price-row .val { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 15px; white-space: nowrap; }
.price-tabs { display: flex; gap: 4px; margin-top: 44px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.price-tab {
  padding: 10px 4px; margin-right: 22px;
  border: none; border-bottom: 2px solid transparent;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14.5px; font-weight: 600;
  cursor: pointer; background: transparent; color: var(--text-dim);
  transform: translateY(1px);
}
.price-tab.active { color: var(--text); border-bottom-color: var(--ink); }
.price-panel { display: none; }
.price-panel.active { display: block; }

.answer-block { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; max-width: 640px; margin: 0 0 26px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--text-dim); flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 16px 0 0; color: var(--text-dim); font-size: 14.5px; max-width: 760px; }

/* ---------- Footer / closing dark ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 110px 0 36px; }
.footer-top { padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer h2 { font-size: clamp(2.2rem, 1rem + 5vw, 4.6rem); letter-spacing: -0.03em; max-width: 14ch; margin-bottom: 36px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 760px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-col-title { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-mono); color: var(--paper-dim); text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; padding: 6px 0; color: var(--paper-dim); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 12.5px; color: var(--paper-dim); font-family: 'JetBrains Mono', monospace; }
.footer-bottom a { color: var(--paper-dim); }
.footer-bottom a:hover { color: var(--paper); }

/* ---------- Sticky mobile TG button ---------- */
.sticky-tg { position: fixed; bottom: 18px; right: 18px; z-index: 90; display: none; width: 50px; height: 50px; padding: 0; justify-content: center; border-radius: 10px; }
.sticky-tg::after { content: none; }
@media (max-width: 720px) { .sticky-tg { display: flex; align-items: center; } }

/* ---------- Modal wizard (detailed brief) ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(8, 8, 7, 0.65); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--stone); border-radius: 14px; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; padding: 34px 30px; position: relative; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 16px; }
.modal-progress { height: 3px; background: var(--line); overflow: hidden; margin-bottom: 26px; }
.modal-progress__bar { height: 100%; background: var(--ink); width: 10%; transition: width 0.3s ease; }
.modal h3 { font-size: 20px; margin-bottom: 8px; }
.modal .modal-hint { font-size: 13.5px; color: var(--text-dim); margin-bottom: 20px; }
.modal input[type=text], .modal input[type=email], .modal textarea {
  width: 100%; padding: 13px 15px; border-radius: 6px; border: 1px solid var(--line);
  font-family: 'Hanken Grotesk', sans-serif; font-size: 15px; margin-bottom: 10px; background: #fff;
}
.modal textarea { min-height: 90px; resize: vertical; }
.modal-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.modal-choice { padding: 11px 16px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; font-family: 'Hanken Grotesk', sans-serif; }
.modal-choice.selected, .modal-choice:hover { border-color: var(--accent); color: var(--accent); }
.modal-emoji-scale { display: flex; gap: 10px; margin: 6px 0 10px; }
.modal-emoji-scale button { font-size: 24px; background: #fff; border: 1px solid var(--line); border-radius: 6px; width: 48px; height: 48px; cursor: pointer; }
.modal-emoji-scale button.selected { border-color: var(--accent); background: var(--stone-2); }
.modal-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.modal-reassure { font-size: 12px; color: var(--text-dim); margin-top: 14px; text-align: center; }

/* ======================================================================
   MOTION LAYER — scroll-reveal, hover feedback, moving strip, parallax
   ====================================================================== */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
  }
  [data-reveal].in > * { opacity: 1; transform: none; }
}

/* hover feedback */
.nav a { position: relative; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after { transform: scaleX(1); }
.btn:active { transform: scale(.97); }
.work-row__media { position: relative; }
.work-row__media img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.work-row:hover .work-row__media img { transform: scale(1.045); }
.work-row__link { display: inline-flex; align-items: center; gap: 4px; transition: gap .2s ease; }
.work-row__link:hover { gap: 8px; }
.proof-item { transition: transform .3s ease; }
.proof-item:hover { transform: translateY(-3px); }
.compare-card { transition: transform .3s ease; }
.faq-item summary:hover { color: var(--accent); }
.funnel-choice { transition: border-color .15s ease, color .15s ease, transform .15s ease; }
.funnel-choice:active { transform: scale(.96); }

/* proof infographic — trend icon + animated fill bar */
.proof-num { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.proof-trend { color: var(--accent); flex-shrink: 0; }
.proof-bar { height: 2px; background: var(--line); margin: 14px 0 14px; overflow: hidden; }
.proof-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in .proof-bar span { width: 100%; }
.proof-item:nth-child(2) .proof-bar span { transition-delay: .08s; }
.proof-item:nth-child(3) .proof-bar span { transition-delay: .16s; }
.proof-item:nth-child(4) .proof-bar span { transition-delay: .24s; }

/* moving strip of real project screenshots */
.strip-sec { overflow: hidden; padding: 28px 0; border-bottom: 1px solid var(--line); background: var(--stone-2); }
.strip-track { display: flex; gap: var(--gap, 10px); width: max-content; animation: strip-scroll 38s linear infinite; }
.strip-track img { height: 120px; width: auto; border-radius: 6px; flex-shrink: 0; filter: grayscale(.4); opacity: .82; transition: filter .3s ease, opacity .3s ease; }
.strip-track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes strip-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* hero sphere parallax (translateY set inline via JS on scroll) */
.hero-sphere-wrap { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero-sphere-wrap { transform: translate(-50%, -50%) !important; }
}

/* ============ BLOG (плитки статей + страница статьи) ============ */
.blog-hero { padding: 150px 0 40px; }
.blog-hero h1 { font-size: var(--fs-head); line-height: 1.08; letter-spacing: -0.02em; max-width: 820px; margin: 14px 0 0; text-wrap: balance; }
.blog-hero p { font-size: var(--fs-lead); color: var(--text-dim); max-width: 620px; margin-top: 18px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 110px;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--text); }
.blog-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.blog-card__img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.blog-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card__tag { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.blog-card h3 { font-size: 1.15rem; font-weight: 600; margin: 10px 0 8px; line-height: 1.28; letter-spacing: -0.01em; }
.blog-card p { font-size: 0.9rem; color: var(--text-dim); margin: 0 0 18px; flex: 1; }
.blog-card__meta { display: flex; align-items: center; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: var(--fs-mono); color: var(--text-dim); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.blog-card__meta span:last-child { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .blog-card, .blog-card:hover { transition: none; transform: none; } }

.blog-article { padding: 150px 0 100px; }
.blog-article__inner { max-width: 720px; margin: 0 auto; }
.blog-article__tag { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.blog-article h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; margin: 14px 0 16px; text-wrap: balance; }
.blog-article__meta { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-mono); color: var(--text-dim); margin-bottom: 30px; }
.blog-article__cover { width: 100%; border-radius: var(--radius); margin-bottom: 40px; border: 1px solid var(--line); }
.blog-article__body h2 { font-size: 1.55rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 44px 0 16px; }
.blog-article__body h3 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 12px; }
.blog-article__body p { font-size: 1.05rem; line-height: 1.7; margin: 0 0 18px; }
.blog-article__body ul, .blog-article__body ol { font-size: 1.05rem; line-height: 1.7; padding-left: 22px; margin: 0 0 18px; }
.blog-article__body li { margin-bottom: 8px; }
.blog-article__body strong { font-weight: 700; }
.blog-article__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.blog-article__body a:hover { color: var(--accent-light); }
.blog-article__body blockquote { border-left: 2px solid var(--accent); margin: 28px 0; padding: 4px 0 4px 20px; font-size: 1.1rem; color: var(--text); }
.blog-article__body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 0.95rem; display: block; overflow-x: auto; }
.blog-article__body th, .blog-article__body td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.blog-article__body th { font-weight: 600; }
.blog-cta-box { margin-top: 56px; padding: 32px; background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.blog-cta-box h3 { font-size: 1.3rem; font-weight: 600; margin: 0 0 8px; }
.blog-cta-box p { color: var(--paper-dim); font-size: 0.95rem; margin: 0 0 20px; }
