/* BYKOT rebuild — спокойный экспертный стиль + glass */
:root {
  --forest: #1c4b42;
  --forest-deep: #132f2a;
  --ink: #15201d;
  --copy: #2a3532;
  --muted: #3f4d49;
  --line: rgba(28, 75, 66, 0.14);
  --bg: #eef2f0;
  --bg-2: #e4ebe8;
  --white: #f7f9f8;
  --card: rgba(247, 249, 248, 0.72);
  --dark: #101816;
  --lime-soft: #c5e08a;
  --radius: 20px;
  --max: 1160px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(16, 24, 22, 0.12);
  --header-bg: rgba(238, 242, 240, 0.78);
  --glass-bg: rgba(247, 249, 248, 0.88);
  --surface: #fff;
  --glow: 0 10px 28px rgba(28, 75, 66, 0.18), 0 0 0 1px rgba(28, 75, 66, 0.06);
  --glow-soft: 0 8px 22px rgba(28, 75, 66, 0.14);
  --footer-bg: #101816;
  --input-bg: rgba(255, 255, 255, 0.75);
  --hero-photo-veil: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.88) 42%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.12) 78%,
    transparent 100%
  );
  --hero-photo-veil-extra: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.06) 50%,
    transparent 64%
  );
  --hero-people-veil: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.14) 28%,
    transparent 50%
  );
  color-scheme: light;
}

html[data-theme="dark"] {
  --forest: #4db8a4;
  --forest-deep: #2f8a78;
  --ink: #e7eeeb;
  --copy: #d5e0dc;
  --muted: #b7c6c1;
  --line: rgba(255, 255, 255, 0.12);
  --bg: #101614;
  --bg-2: #0b100e;
  --white: #161d1a;
  --card: rgba(22, 30, 27, 0.78);
  --dark: #0a0f0d;
  --lime-soft: #c2ff2d;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(12, 16, 14, 0.82);
  --glass-bg: rgba(22, 30, 27, 0.88);
  --surface: #1a2320;
  --glow: 0 12px 32px rgba(77, 184, 164, 0.22), 0 0 24px rgba(194, 255, 45, 0.08);
  --glow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
  --footer-bg: #070a09;
  --input-bg: rgba(255, 255, 255, 0.06);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(28, 75, 66, 0.16), transparent 55%),
    radial-gradient(700px 420px at 90% 0%, rgba(16, 24, 22, 0.1), transparent 50%),
    linear-gradient(180deg, #f3f6f4 0%, var(--bg) 40%, var(--bg-2) 100%);
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: auto;
  transition: background .35s var(--ease), color .25s var(--ease);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(77, 184, 164, 0.12), transparent 55%),
    radial-gradient(700px 420px at 90% 0%, rgba(194, 255, 45, 0.05), transparent 50%),
    linear-gradient(180deg, #121916 0%, var(--bg) 40%, var(--bg-2) 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(100% - 36px, var(--max)); margin-inline: auto; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}
h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  font-weight: 700;
}
h2 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.15rem; }

.lead {
  color: var(--copy);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.65;
  max-width: 40rem;
}

/* People-hero chrome = hero-variants.html Вариант 1 (source of truth) */
.people-hero,
.app-hero.people-hero,
.launch-hero.people-hero {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
  padding: clamp(22px, 3.5vw, 32px);
  min-height: 0;
  display: grid;
  align-content: start;
  background-color: #0c1418;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.people-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.14) 28%,
    transparent 50%
  );
}
.people-hero > * { position: relative; z-index: 2; }
.people-hero h1,
.app-hero.people-hero h1,
.launch-hero.people-hero h1 {
  margin: 0;
  max-width: 18ch;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.people-hero .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin: 14px 0 18px;
  font-size: 1.05rem;
  line-height: 1.5;
}
.people-hero .app-hero-actions,
.people-hero .launch-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: none;
}
@media (max-width: 560px) {
  .people-hero h1 { max-width: 18ch; }
  .people-hero .lead { max-width: 88%; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--line);
  box-shadow: var(--glow-soft);
}
.glass.is-frost {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.glass-dark {
  background: rgba(16, 24, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  color: #fff;
}

/* Header — scrolls away with the document (not sticky/fixed) */
.site-header,
header.site-header,
[data-site-header] {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  text-decoration: none;
  color: inherit;
  padding: 2px 4px;
}
.nav-phone strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.nav-phone small {
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.nav-phone:hover strong { color: var(--forest); }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--glow-soft);
  transition: .25s var(--ease);
}
.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow);
}
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.logo span { color: var(--forest); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-more { display: none; }
@media (max-width: 1180px) {
  .nav-links { gap: 10px 12px; }
  .nav-links a { font-size: 0.82rem; }
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 16px; height: 2px; margin: 3px auto; background: var(--ink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border-radius: 14px;
  border: 1px solid transparent; font-weight: 700; font-size: 0.92rem;
  cursor: pointer; transition: 0.25s var(--ease);
  box-shadow: var(--glow-soft);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn-primary {
  background: var(--forest); color: #fff;
  box-shadow: 0 10px 26px rgba(28, 75, 66, 0.28), 0 0 18px rgba(28, 75, 66, 0.12);
}
.btn-primary:hover { background: var(--forest-deep); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-line { background: transparent; border-color: var(--line); box-shadow: none; }
.btn-line:hover { border-color: var(--forest); box-shadow: var(--glow-soft); }
.btn-light { background: var(--surface); color: var(--ink); }

/* Hero — компактный: 100px сверху/снизу внутри блока */
.hero {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  border-radius: 0 0 28px 28px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-color: #101816;
  background-image:
    var(--hero-photo-veil),
    var(--hero-photo-veil-extra),
    url("../assets/hero-calm.jpg");
  background-repeat: no-repeat;
  background-size: auto, auto, 128% auto;
  background-position: 0 0, 0 0, 86% 28%;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: center;
}
.hero .lead { color: rgba(255,255,255,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-card { border-radius: var(--radius); padding: 18px; }
.hero-card strong { display: block; margin-bottom: 4px; }
.hero-card span { color: rgba(255,255,255,.72); font-size: 0.9rem; }

.section { padding: 48px 0; }
.section#top { padding-top: 16px; }
.section-head { margin-bottom: 16px; max-width: 720px; }
.section-head .lead { margin-top: 10px; }

.niche-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.niche-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.3s var(--ease);
}
.niche-card:hover { transform: translateY(-4px); }
.niche-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.niche-card .body { padding: 12px 14px 14px; }
.niche-card p { margin: 6px 0 0; color: var(--copy); font-size: 0.9rem; font-weight: 500; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}
.split-media {
  border-radius: 24px;
  overflow: hidden;
  min-height: 300px;
}
.split-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }

.checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 22px; color: var(--copy); }
.checks li::before {
  content: "";
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--forest);
  position: absolute; left: 0; top: 0.55em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  counter-reset: s;
}
.step {
  border-radius: var(--radius);
  padding: 20px;
  min-height: 190px;
}
.step::before {
  counter-increment: s;
  content: "0" counter(s);
  display: block;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 18px;
}
.step p { margin: 8px 0 0; color: var(--copy); font-size: 0.94rem; font-weight: 500; }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.price {
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.price .btn { margin-top: auto; }
.price-note {
  margin: -6px 0 16px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}
.price.popular .price-note { color: rgba(255, 255, 255, 0.55); }
.price.popular {
  background: linear-gradient(160deg, var(--forest), var(--forest-deep));
  color: #fff;
  border: 0;
}
.price .tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.price.popular .tag { color: rgba(255,255,255,.6); }
.price .amount { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; }
.price .sub { color: var(--muted); font-size: .88rem; margin: 6px 0 14px; }
.price.popular .sub { color: rgba(255,255,255,.65); }
.price ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.price.popular ul { color: rgba(255,255,255,.78); }
.price li { padding-left: 14px; position: relative; }
.price li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; position: absolute; left: 0; top: .55em; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.news-card {
  border-radius: var(--radius);
  padding: 0 0 16px;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
  transition: 0.25s var(--ease);
}
.news-card:hover { transform: translateY(-3px); }
a.news-card { text-decoration: none; color: inherit; }
.news-card-img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #d7e4df;
}
.news-card time,
.news-card h3,
.news-card p { padding: 0 16px; }
.news-card time { margin-top: 10px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.news-card h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.news-card p { margin: 0; color: var(--copy); font-size: .92rem; font-weight: 500; }

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
}
.form-grid { display: grid; gap: 12px; }
.field label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 12px; background: var(--input-bg); color: var(--ink);
}
.field textarea { min-height: 100px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Calculator */
.calc-shell { display: grid; grid-template-columns: 1.3fr .85fr; gap: 14px; align-items: start; }
.calc-card, .calc-summary { border-radius: 22px; padding: 20px; }
.calc-summary { position: sticky; top: 90px; color: #fff; background: linear-gradient(160deg, var(--forest), var(--dark)); border: 0; }
.calc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.calc-tab {
  border: 1px solid var(--line); background: var(--input-bg);
  border-radius: 999px; padding: 9px 12px; font-weight: 700; font-size: .86rem; cursor: pointer;
}
.calc-tab.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }
.calc-block + .calc-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc-hint { color: var(--muted); font-size: .88rem; margin: 6px 0 12px; }
.opt {
  display: flex; gap: 10px; padding: 12px; border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 8px; cursor: pointer; background: var(--input-bg);
}
.opt.is-on, .opt:hover { border-color: var(--forest); }
.opt input { margin-top: 3px; accent-color: var(--forest); }
.opt-body { flex: 1; }
.opt-title { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.opt-desc { margin: 4px 0 0; color: var(--copy); font-size: .88rem; }
.opt-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 999px; background: rgba(28,75,66,.08); color: var(--forest);
}
.summary-kicker { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 8px; }
.summary-price { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; margin: 0 0 6px; letter-spacing: -.03em; }
.summary-sub { color: rgba(255,255,255,.65); margin: 0 0 14px; }
.summary-rows { display: grid; gap: 7px; margin-bottom: 14px; }
.summary-row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: .9rem;
}
.summary-row.accent { background: rgba(197,224,138,.18); font-weight: 700; }
.summary-list { margin: 0 0 14px; padding-left: 18px; color: rgba(255,255,255,.72); font-size: .88rem; }
.summary-actions { display: grid; gap: 8px; }
.calc-note { margin: 12px 0 0; font-size: .78rem; color: var(--muted); }

.page-hero { padding: 58px 0 20px; }
.about-prose p {
  max-width: 46rem;
  line-height: 1.7;
  margin: 0 0 16px;
  font-size: 1.02rem;
}
.about-prose p:last-child { margin-bottom: 0; }
.case-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .case-grid.is-3 { grid-template-columns: 1fr; }
}
.site-footer {
  margin-top: 16px;
  padding: 36px 0 22px;
  background: var(--footer-bg);
  color: rgba(255,255,255,.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: start;
  gap: 28px 24px;
  margin-bottom: 22px;
}
.footer-grid > div { min-width: 0; }
.footer-grid strong {
  display: block;
  color: #fff;
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-grid p { margin: 0; line-height: 1.55; color: rgba(255,255,255,.78); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-grid a { color: rgba(255,255,255,.86); }
.footer-grid a:hover { color: #fff; }
.footer-legal {
  margin: 14px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.footer-pay {
  display: grid;
  gap: 8px;
  padding: 4px 0 16px;
}
.footer-pay-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .86rem;
  color: rgba(255,255,255,.78);
}
.footer-bottom > span:last-of-type { text-align: center; }
.footer-bottom .footer-tools { justify-self: end; display: flex; gap: 8px; }
.theme-toggle-footer {
  width: 36px; height: 36px; border-radius: 12px;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  box-shadow: none;
}
.theme-toggle-footer:hover {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.1);
}

.reveal { opacity: 0; transform: translateY(16px); transition: .65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.seo-note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 8px;
}

@media (max-width: 980px) {
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom > span:last-of-type,
  .footer-bottom .footer-tools { justify-self: start; text-align: left; }
  .hero-inner, .split, .niche-grid, .steps, .pricing, .news-grid, .contact, .calc-shell, .footer-grid, .field-row {
    grid-template-columns: 1fr 1fr;
  }
  .niche-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .calc-summary { position: static; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--header-bg); border-bottom: 1px solid var(--line);
    padding: 12px 18px 18px; flex-direction: column;
    backdrop-filter: blur(16px);
  }
  .nav-links.is-open { display: flex; }
  .nav-actions .btn { display: none; }
  .nav-phone { margin-right: 2px; }
  .nav-phone strong { font-size: 0.82rem; }
  .nav-phone small { font-size: 0.62rem; }
  .nav-more {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-more a { font-size: 0.82rem; font-weight: 600; }
  .nav-more-cta { color: var(--ink) !important; }
}

@media (max-width: 640px) {
  .hero-inner, .split, .niche-grid, .steps, .pricing, .news-grid, .contact, .calc-shell, .footer-grid, .field-row {
    grid-template-columns: 1fr;
  }
  .container { width: min(100% - 24px, var(--max)); }
  .section { padding: 42px 0; }
}

/* Home: 08 app-frame + 05 photo/chips + 02 stacked bento */
.home-stage {
  padding: 18px 0 28px;
  background:
    radial-gradient(900px 480px at 70% 0%, rgba(90, 120, 140, 0.18), transparent 55%),
    linear-gradient(180deg, #dce3e7 0%, var(--bg) 55%, var(--bg-2) 100%);
}
html[data-theme="dark"] .home-stage {
  background:
    radial-gradient(900px 480px at 70% 0%, rgba(60, 90, 120, 0.28), transparent 55%),
    linear-gradient(180deg, #121820 0%, var(--bg) 55%, var(--bg-2) 100%);
}
.home-stage-inner { position: relative; }
.app-frame {
  display: grid;
  grid-template-columns: 72px 1fr;
  border-radius: 36px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 40px 90px rgba(16, 24, 22, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
html[data-theme="dark"] .app-frame {
  background: rgba(12, 18, 22, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.app-frame .app-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  background: rgba(16, 24, 22, 0.78);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.app-ico {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: 0.25s var(--ease);
}
button.app-ico { cursor: pointer; font: inherit; }
.app-ico:hover, .app-ico.is-on {
  background: #fff;
  color: #12201c;
  border-color: transparent;
}
.app-rail-foot { margin-top: auto; display: grid; gap: 8px; }
.app-body { display: grid; gap: 12px; padding: 12px; background: rgba(243, 239, 230, 0.35); }
html[data-theme="dark"] .app-body { background: rgba(0, 0, 0, 0.18); }

.photo-hero {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  display: grid;
  align-content: end;
  padding: 28px 28px 110px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.photo-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.2) 100%),
    radial-gradient(600px 320px at 72% 35%, rgba(194, 255, 45, 0.12), transparent 55%),
    linear-gradient(145deg, #1c4b42 0%, #12345a 42%, #0b1220 100%);
}
.photo-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 10%, transparent 70%);
  opacity: 0.7;
}
.photo-hero-content { position: relative; z-index: 2; max-width: 40rem; }
.hero-kicker {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.photo-hero .phone {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 800;
  margin: 0 0 10px;
}
.photo-hero .phone a { color: #fff; }
.photo-hero h1 {
  color: #fff;
  max-width: 14ch;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.photo-hero .lead {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 12px;
  max-width: 36rem;
}
.hero-btn-ghost {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #12201c;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  font-size: 0.84rem;
}
.hero-chip-meta { display: grid; line-height: 1.15; }
.hero-chip-meta strong { font-size: 0.86rem; }
.hero-chip-meta small { color: #66706c; font-weight: 600; }
.hero-av {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #d8e0dc, #5f7a72);
}
.hero-av.is-2 { background: linear-gradient(135deg, #c9d6ea, #3d5f8a); }
.hero-av.is-3 { background: linear-gradient(135deg, #e6dcc8, #8a6a4a); }
.hero-chip.c1 { top: 16%; left: 6%; }
.hero-chip.c2 { top: 34%; right: 8%; }
.hero-chip.c3 { top: 52%; left: 20%; }
.is-float { animation: tile-float 7s ease-in-out infinite; }
.is-float-delay { animation: tile-float 7s ease-in-out infinite; animation-delay: -2.5s; }
@keyframes tile-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-dock {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 10px;
}
.dock-card {
  border-radius: 20px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}
.dock-card strong { font-size: 1.15rem; }
.dock-card span { font-size: 0.86rem; opacity: 0.8; }
.dock-card a {
  margin-top: 4px;
  font-weight: 800;
  font-size: 0.86rem;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dock-card.is-solid { background: rgba(255, 255, 255, 0.95); color: #12201c; }
.dock-card.is-glass {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  color: #fff;
}

.stack-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stack-card {
  border-radius: 24px;
  padding: 20px;
  min-height: 156px;
  display: grid;
  align-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: 0.28s var(--ease);
  box-shadow: 0 12px 28px rgba(16, 24, 22, 0.08);
}
.stack-card:hover { transform: translateY(-3px); }
.stack-num {
  font-family: var(--display);
  font-size: 1rem;
  opacity: 0.4;
  letter-spacing: 0.04em;
}
.stack-card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.stack-card p { margin: 0; font-size: 0.9rem; opacity: 0.8; }
.stack-card.is-cream { background: #f3efe6; color: #16352e; }
.stack-card.is-sand { background: #c9b8a0; color: #16352e; }
.stack-card.is-forest { background: #2a5248; color: #fff; }
.home-stage-note {
  margin: 14px 4px 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.home-stage-note a { font-weight: 700; color: var(--forest); }
.btn-glass {
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.7);
  color: var(--ink);
  backdrop-filter: blur(12px);
}
.hero-fx-canvas { display: none; }

.dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dir-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
.dir-card {
  border-radius: 24px;
  padding: 22px;
  min-height: 210px;
  display: grid;
  align-content: space-between;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(16,24,22,.9), rgba(28,75,66,.72)), url("../assets/websites.jpg") center/cover;
  transition: 0.3s var(--ease);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.dir-card.is-blue {
  background: linear-gradient(160deg, rgba(10,22,48,.92), rgba(20,58,120,.72)), url("../assets/hero-app.jpg") center/cover;
}
.dir-card.is-blue-soft {
  background: linear-gradient(160deg, rgba(12,28,58,.9), rgba(30,70,130,.68)), url("../assets/crm-calm.jpg") center/cover;
}
.dir-card.is-green {
  background: linear-gradient(160deg, rgba(16,24,22,.9), rgba(28,75,66,.72)), url("../assets/websites.jpg") center/cover;
}
.dir-card.is-green-soft {
  background: linear-gradient(160deg, rgba(16,24,22,.9), rgba(28,75,66,.68)), url("../assets/telegram-bots.jpg") center/cover;
}
.dir-card:hover { transform: translateY(-4px); }
.dir-card .tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #c2ff2d; font-weight: 800; }
.dir-card.is-blue .tag,
.dir-card.is-blue-soft .tag { color: #9fd0ff; }
.dir-card .num { font-size: 2.2rem; font-weight: 800; opacity: .35; }
.dir-card h3 { font-size: 1.28rem; max-width: 16ch; }
.dir-card p { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: .92rem; max-width: 34ch; }
.lime { color: #c2ff2d; }

.calc-cta {
  border-radius: 28px;
  padding: clamp(28px, 4vw, 40px);
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(16,24,22,.88), rgba(28,75,66,.7)),
    url("../assets/hero-calm.jpg") center/cover;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.calc-cta .lead { color: rgba(255,255,255,.78); margin-top: 10px; }
.calc-cta-side {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
}
.calc-cta-side strong { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.calc-cta-side p { margin: 0; color: rgba(255,255,255,.72); font-size: .92rem; }

.home-niche-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.home-niche {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: start;
  border-radius: 18px;
  overflow: hidden;
  padding: 12px;
  transition: 0.3s var(--ease);
}
.home-niche:hover { transform: translateY(-3px); }
.home-niche .pic {
  width: 88px;
  height: 88px;
  aspect-ratio: 1;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.home-niche .body { padding: 2px 4px 2px 0; min-width: 0; }
.home-niche h3 { font-size: 1.02rem; margin: 0; }
.home-niche p { margin: 6px 0 0; color: var(--copy); font-size: .9rem; line-height: 1.55; font-weight: 500; }

/* Homepage: image on top, short caption — as before */
body[data-page="home"] .home-niche-grid {
  grid-template-columns: repeat(4, 1fr);
}
body[data-page="home"] .home-niche {
  grid-template-columns: 1fr;
  padding: 0;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
body[data-page="home"] .home-niche .pic {
  width: 100%;
  height: 132px;
  border-radius: 18px 18px 0 0;
}
body[data-page="home"] .home-niche .body { padding: 12px 14px 14px; }

/* AI / services: image on top, longer text */
body[data-page="ai"] .home-niche,
body[data-page="services"] .home-niche {
  grid-template-columns: 1fr;
  padding: 0;
  gap: 0;
}
body[data-page="ai"] .home-niche .pic,
body[data-page="services"] .home-niche .pic {
  width: 100%;
  height: 148px;
  border-radius: 18px 18px 0 0;
}
body[data-page="ai"] .home-niche .body,
body[data-page="services"] .home-niche .body { padding: 14px 16px 16px; }
body[data-page="ai"] .home-niche p,
body[data-page="services"] .home-niche p {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.55;
}
.home-niche .body ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.home-niche .body li {
  position: relative;
  padding-left: 12px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}
.home-niche .body li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  position: absolute;
  left: 0;
  top: .55em;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ig-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
}

/* Apps stay on the site forest palette. CRM tokens live in page-crm.css. */

/* Classic app/crm pages */
.classic-topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 0 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.seo-strip {
  font-size: .78rem;
  color: var(--muted);
  margin: 8px 0 0;
  letter-spacing: .01em;
}
.platform-box {
  border-radius: 22px;
  padding: 24px;
}
.platform-box .checks li { color: var(--ink); }

@media (max-width: 980px) {
  .dir-grid, .ig-grid, .home-niche-grid, .calc-cta,
  body[data-page="home"] .home-niche-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .dir-grid, .ig-grid, .home-niche-grid, .calc-cta,
  body[data-page="home"] .home-niche-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 72px 0; }
  .home-stage { padding: 12px 0 24px; }
  .app-frame { grid-template-columns: 1fr; border-radius: 28px; }
  .app-frame .app-rail {
    flex-direction: row;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    overflow-x: auto;
  }
  .app-rail-foot { margin-top: 0; margin-left: auto; display: flex; gap: 8px; }
  .photo-hero { min-height: 420px; padding: 22px 18px 150px; }
  .hero-chip { display: none; }
  .hero-dock { grid-template-columns: 1fr; }
  .stack-bento { grid-template-columns: 1fr; }
}

/* V2 product pages */
.v2-band {
  border-radius: 28px;
  padding: clamp(28px, 4vw, 42px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 24, 22, 0.92), rgba(28, 75, 66, 0.78)),
    url("../assets/hero-calm.jpg") center/cover;
}
.v2-band .lead { color: rgba(255, 255, 255, 0.78); margin-top: 14px; }
.v2-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.v2-proof .glass-dark { border-radius: 18px; padding: 18px; }
.v2-proof p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

.niche-visual {
  aspect-ratio: 4/3;
  background:
    linear-gradient(145deg, rgba(16, 24, 22, 0.55), rgba(28, 75, 66, 0.35)),
    radial-gradient(circle at 30% 20%, rgba(197, 224, 138, 0.35), transparent 45%),
    linear-gradient(160deg, #2a5a50, #15201d);
}
.niche-card[data-tone="1"] .niche-visual { filter: hue-rotate(10deg); }
.niche-card[data-tone="2"] .niche-visual { filter: hue-rotate(-18deg); }
.niche-card[data-tone="3"] .niche-visual { filter: hue-rotate(28deg); }
.niche-card[data-tone="4"] .niche-visual { filter: hue-rotate(-35deg); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.feature {
  border-radius: var(--radius);
  padding: 20px;
}
.feature p { margin: 8px 0 0; color: var(--copy); font-size: 0.94rem; font-weight: 500; }

.info-tabs {
  border-radius: 28px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.info-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.info-tabs-nav button {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 22px;
  min-height: 44px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: none;
  transition: 0.2s var(--ease);
}
.info-tabs-nav button:hover { transform: translateY(-2px); }
.info-tabs-nav button.is-on {
  background: #141816;
  color: #fff;
  border-color: #141816;
}
.info-tabs-panel { display: none; }
.info-tabs-panel.is-on {
  display: block;
  border-radius: 22px;
  padding: 28px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.info-tabs-kicker {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}
.info-tabs-panel h3 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--ink);
}
.info-tabs-price {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(28, 75, 66, 0.1);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--forest);
}
.tab-order {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}
.tab-order-btn {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.88rem;
}
.info-tabs-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.info-tabs-label {
  margin: 22px 0 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
}
.info-tabs-body > div > .info-tabs-label:first-child { margin-top: 0; }
.info-tabs-vars {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.info-tabs-vars article {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.info-tabs-vars strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.95rem;
}
.info-tabs-vars p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--copy);
}
.info-tabs-panel .lead {
  margin: 0 0 20px;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 560;
}
.info-tabs-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.info-tabs-panel li {
  position: relative;
  padding-left: 16px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
}
.info-tabs-panel li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
  position: absolute;
  left: 0;
  top: 0.5em;
}
.info-tabs-mark {
  display: inline;
  padding: 0 4px;
  background: rgba(28, 75, 66, 0.12);
  border-radius: 4px;
  font-weight: 750;
}
.tip-card {
  margin: 0;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(20, 77, 83, 0.08);
  border: 1px solid rgba(20, 77, 83, 0.16);
}
.tip-card-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #144d53;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tip-card-label::before {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 21h6v-1.5H9V21Zm3-19a7 7 0 0 0-4 12.7V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.3A7 7 0 0 0 12 2Zm2.2 11.4-.2.1V16h-4v-2.5l-.2-.1A5 5 0 1 1 14.2 13.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 21h6v-1.5H9V21Zm3-19a7 7 0 0 0-4 12.7V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.3A7 7 0 0 0 12 2Zm2.2 11.4-.2.1V16h-4v-2.5l-.2-.1A5 5 0 1 1 14.2 13.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tip-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 560;
}
@media (max-width: 760px) {
  .info-tabs-panel.is-on { padding: 18px; }
  .info-tabs-body { grid-template-columns: 1fr; gap: 18px; }
}

.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.format-card {
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.format-card h3 { margin: 0 0 8px; }
.format-card p { margin: 0 0 10px; color: var(--copy); font-size: 0.92rem; line-height: 1.55; font-weight: 500; }
.format-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.format-card li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
.format-card li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  position: absolute;
  left: 0;
  top: 0.55em;
}
@media (max-width: 760px) {
  .format-grid { grid-template-columns: 1fr; }
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.opt-card {
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.opt-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--ink);
}
.opt-card .opt-price {
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--forest);
  font-size: 0.95rem;
}
.opt-card p {
  margin: 0;
  color: var(--copy);
  font-size: 0.9rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .opt-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .opt-grid { grid-template-columns: 1fr; }
}

.doc-list { display: grid; gap: 10px; }
.doc-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
}
.doc-item p { margin: 6px 0 0; color: var(--copy); font-size: 0.92rem; font-weight: 500; }

.legal {
  max-width: 820px;
}
.legal h2 { margin: 28px 0 12px; font-size: 1.35rem; }
.legal h3 { margin: 20px 0 8px; }
.legal p, .legal li { color: var(--copy); }
.legal ul { padding-left: 18px; }
.pay-logos-img {
  display: block;
  width: min(640px, 100%);
  height: auto;
  background: none;
  padding: 0;
  border-radius: 0;
}
.table-wrap { overflow-x: auto; border-radius: 18px; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(247, 249, 248, 0.8);
}
.price-table th, .price-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.92rem;
}
.price-table th { background: rgba(28, 75, 66, 0.08); font-weight: 800; }
html[data-theme="dark"] .price-table th { background: rgba(255, 255, 255, 0.06); }

.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-a { color: var(--copy); font-weight: 500; padding: 8px 0 4px; display: none; }
.faq-item.is-open .faq-a { display: block; }

@media (max-width: 980px) {
  .feature-grid, .v2-proof { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .feature-grid, .v2-proof { grid-template-columns: 1fr; }
  .doc-item { flex-direction: column; align-items: flex-start; }
}

/* Compare + mini brief */
.compare-wrap { overflow-x: auto; border-radius: 22px; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: rgba(247,249,248,.92);
}
.compare-table th, .compare-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: .92rem;
  vertical-align: top;
}
.compare-table th {
  background: rgba(28,75,66,.08);
  font-weight: 800;
}
.compare-table td strong { display: block; font-size: 1.05rem; }
.compare-table .muted { color: var(--muted); font-size: .85rem; }
.compare-note {
  margin: 14px 4px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.compare-note a { font-weight: 700; color: var(--forest); }
.bridge-card {
  padding: 18px 22px;
  border-radius: 18px;
}
.bridge-card p { margin: 0; color: var(--ink); }
.bridge-card a { font-weight: 700; color: var(--forest); }
.brief-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}
.brief-card { border-radius: 22px; padding: 24px; }
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.5s var(--ease) infinite;
}
@keyframes shine {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* Sticky messengers — glass / volume */
.bykot-messengers {
  position: fixed;
  right: 16px;
  bottom: 96px;
  z-index: 60;
  display: grid;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 28px;
  background: rgba(255,255,255,.38);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow:
    0 18px 40px rgba(16,24,22,.14),
    inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
}
html[data-theme="dark"] .bykot-messengers {
  background: rgba(12,16,14,.45);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
}
.bykot-msg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  isolation: isolate;
  transition: .28s var(--ease);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow:
    0 10px 22px rgba(16,24,22,.18),
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -8px 16px rgba(0,0,0,.12);
}
.bykot-msg::before {
  content: "";
  position: absolute; inset: 2px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255,255,255,.42), transparent 45%);
  pointer-events: none; z-index: 1;
}
.bykot-msg:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 16px 28px rgba(16,24,22,.22),
    0 0 18px rgba(255,255,255,.2),
    inset 0 1px 0 rgba(255,255,255,.65);
}
.bykot-msg.tg { background: linear-gradient(160deg, #57c4f7, #1f95d4); }
.bykot-msg.vb { background: linear-gradient(160deg, #9580ff, #5b45d6); }
.bykot-msg.wa { background: linear-gradient(160deg, #4ce07f, #1da851); }
.bykot-msg.max { background: linear-gradient(160deg, #3a3a42, #0f0f12); }
.bykot-msg.ph { background: linear-gradient(160deg, #3d8f7e, var(--forest-deep)); }
.bykot-msg svg { display: block; position: relative; z-index: 2; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }

.bykot-mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  gap: 8px;
}
.bykot-mobile-cta a {
  flex: 1;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--surface);
}
.bykot-mobile-cta a.primary { background: var(--forest); color: #fff; border-color: transparent; }

/* Chat widget */
.bykot-chat { position: fixed; right: 18px; bottom: 18px; z-index: 70; }
.bykot-chat-toggle {
  width: 58px; height: 58px; border-radius: 18px;
  border: 0; background: var(--forest); color: #fff;
  font-size: 1.35rem; cursor: pointer;
  box-shadow: 0 14px 30px rgba(16,24,22,.28), 0 0 22px rgba(28, 75, 66, 0.25);
}
.bykot-chat-panel {
  position: absolute; right: 0; bottom: 70px;
  width: min(92vw, 340px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.bykot-chat-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; background: #0d1a2e; color: #fff;
}
.bykot-chat-close { background: transparent; border: 0; color: #fff; font-size: 1.3rem; cursor: pointer; }
.bykot-chat-msgs {
  height: 220px; overflow: auto; padding: 12px;
  display: grid; gap: 8px; align-content: start;
  background: var(--bg);
}
.bykot-chat-bubble {
  max-width: 88%; padding: 9px 11px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .9rem; white-space: pre-wrap;
}
.bykot-chat-bubble.is-visitor { margin-left: auto; background: rgba(26, 79, 156, 0.14); }
.bykot-chat-bubble.is-admin, .bykot-chat-bubble.is-bot { background: var(--surface); }
.bykot-chat-quick {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px 8px;
}
.bykot-chat-quick button {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 5px 10px; font-size: .78rem; font-weight: 600; cursor: pointer; color: var(--ink);
}
.bykot-chat-form { display: grid; gap: 6px; padding: 10px; }
.bykot-chat-form input, .bykot-chat-form textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit;
  background: var(--input-bg); color: var(--ink);
}
.bykot-chat-form button {
  border: 0; border-radius: 10px; padding: 10px; font-weight: 700;
  background: var(--forest); color: #fff; cursor: pointer;
}
.bykot-chat-alt { margin: 0; padding: 0 12px 12px; font-size: .8rem; color: var(--muted); }

/* Docs + stack on home */
.docs-wow-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start;
}
.docs-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px;
}
.docs-pillars article {
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--surface);
}
.docs-pillars span {
  display: block; font-family: Unbounded, Manrope, sans-serif;
  font-size: .75rem; color: var(--muted); margin-bottom: 6px;
}
.docs-pillars h3 { margin: 0 0 6px; font-size: 1rem; }
.docs-pillars p { margin: 0; color: var(--copy); font-size: .92rem; font-weight: 500; }
.docs-wow-visual { min-height: 280px; display: grid; place-items: center; }
.docs-stack-card {
  width: min(100%, 340px); border-radius: 22px; padding: 22px;
  color: #fff;
  background:
    radial-gradient(240px 160px at 90% 0%, rgba(194,255,45,.2), transparent 60%),
    linear-gradient(155deg, #0d1a2e, #1a4f9c 70%);
  box-shadow: 0 20px 40px rgba(13,26,46,.2);
}
.docs-stack-card strong { font-family: Unbounded, Manrope, sans-serif; font-size: 1.05rem; }
.docs-stack-card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.docs-stack-card li {
  padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.08);
  font-size: .92rem;
}
.stack-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.stack-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--surface);
  box-shadow: var(--glow-soft);
}
.stack-card .tag {
  margin: 0 0 8px; font-size: .75rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
}
.stack-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.stack-card p { margin: 0; color: var(--copy); font-size: .94rem; font-weight: 500; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
.stack-tags li {
  font-size: .75rem; font-weight: 700; padding: 4px 8px; border-radius: 8px;
  background: rgba(26, 79, 156, 0.1); color: var(--forest);
}
html[data-theme="dark"] .stack-tags li {
  background: rgba(28, 75, 66, 0.22); color: var(--lime-soft);
}

/* Docs page */
.docs-timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.docs-timeline article {
  border-radius: 16px; padding: 16px; border: 1px solid var(--line); background: var(--surface);
}
.docs-timeline span {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--forest); margin-bottom: 8px;
}
.docs-timeline h3 { margin: 0 0 6px; font-size: 1rem; }
.docs-timeline p { margin: 0; color: var(--muted); font-size: .9rem; }
.docs-checklist ol { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); }

/* Product pages: tighter sections, CRM-style stages, to-top, news, about */
body[data-page="services"] .section,
body[data-page="bots"] .section,
body[data-page="sites"] .section,
body[data-page="launch"] .section,
body[data-page="ai"] .section,
body[data-page="about"] .section,
body[data-page="apps"] .section,
body[data-page="crm"] .section {
  padding: 18px 0;
}
body[data-page="services"] .section#top,
body[data-page="bots"] .section#top,
body[data-page="sites"] .section#top,
body[data-page="launch"] .section#top,
body[data-page="ai"] .section#top,
body[data-page="apps"] .section#top,
body[data-page="crm"] .section#top,
body[data-page="about"] .section#top {
  padding-top: 12px;
}

.work-line {
  display: grid;
  gap: 12px;
}
.work-line article {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.work-line .num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--forest);
  line-height: 1;
}
html[data-theme="dark"] .work-line article {
  background: #1c2220;
  border-color: #2a322e;
  color: #e8efe8;
}
html[data-theme="dark"] .work-line article h3 { color: #fff; }
html[data-theme="dark"] .work-line article p { color: rgba(255, 255, 255, 0.72); }
.work-line h3 { margin: 0 0 10px; font-size: 1.12rem; }
.work-line p { margin: 0; font-size: 0.96rem; line-height: 1.6; color: var(--copy); font-weight: 500; }
.work-line p + p { margin-top: 10px; }
.work-line strong { color: var(--ink); }
html[data-theme="dark"] .work-line article strong { color: #fff; }
.work-line-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 22px;
}
.work-line-head .section-head { margin-bottom: 0; }

.footer-tools { display: flex; align-items: center; gap: 8px; }
.to-top-foot {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #e8efe8;
  color: #141816;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.to-top-foot:hover { background: #fff; }
.to-top-foot svg { display: block; margin: 0 auto; }
.to-top-float {
  position: fixed;
  right: 86px;
  bottom: 22px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #e8efe8;
  color: #141816;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 24, 22, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.22s var(--ease);
}
.to-top-float.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.to-top-float:hover { transform: translateY(-2px); }
.to-top-float svg { display: block; margin: 0 auto; }
html[data-theme="dark"] .to-top-float { background: #e8efe8; color: #141816; }

.page-news-more { margin: 16px 0 0; font-weight: 700; }
.page-news-more a { color: var(--forest); }

.about-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.about-hero-photo {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(16, 24, 22, 0.18);
}
.about-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

body[data-page="about"] .case-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
body[data-page="about"] .case-card {
  overflow: hidden;
  padding: 0;
}
body[data-page="about"] .case-card .case-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(28, 75, 66, 0.12), rgba(20, 24, 22, 0.08)),
    var(--bg);
  display: grid;
  place-items: center;
}
body[data-page="about"] .case-card .case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body[data-page="about"] .case-card .case-media.is-empty span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
body[data-page="about"] .case-card .case-body { padding: 18px 18px 16px; }
.review-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.review-shot {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 220px;
}
.review-shot img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}
.review-shot.is-empty {
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    repeating-linear-gradient(-12deg, transparent, transparent 10px, rgba(28, 75, 66, 0.04) 10px, rgba(28, 75, 66, 0.04) 11px),
    var(--bg);
}
.review-shot.is-empty p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .about-hero-split,
  .case-grid.is-3,
  .review-shots { grid-template-columns: 1fr 1fr; }
  .work-line article { grid-template-columns: 40px 1fr; padding: 16px 16px; }
}
@media (max-width: 640px) {
  .about-hero-split,
  .case-grid.is-3,
  .review-shots { grid-template-columns: 1fr; }
  .to-top-float { right: 16px; bottom: 86px; }
}

/* Last-wins: header must never pin to the viewport */
header.site-header,
.site-header,
[data-site-header] {
  position: relative !important;
  top: auto !important;
  inset: auto !important;
}

body { padding-bottom: 0; }
@media (max-width: 960px) {
  .docs-wow-grid, .stack-grid, .docs-timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .brief-grid { grid-template-columns: 1fr; }
  .bykot-messengers { display: none; }
  .bykot-mobile-cta { display: flex; }
  .bykot-chat { bottom: 72px; right: 12px; }
  body { padding-bottom: 66px; }
  .docs-wow-grid, .docs-pillars, .stack-grid, .docs-timeline { grid-template-columns: 1fr; }
}
