/* =========================================================
   IlonOpt — styles
   Tokens → base → components → sections → responsive
   ========================================================= */

:root {
  --bg: #F6F6F3;
  --surface: #FFFFFF;
  --muted: #EEEEE9;
  --ink: #0F1115;
  --ink-2: #4A4F59;
  --ink-3: #8A8F98;
  --line: #E2E2DC;

  --accent: #2F5BFF;        /* основной бренд-синий */
  --accent-ink: #FFFFFF;
  --accent-soft: #E7EDFF;
  --money: #12A150;         /* «проведено», приход */
  --money-soft: #E3F6EA;
  --warn: #D97706;
  --danger: #E5484D;

  --dark: #0E1116;
  --dark-2: #161A21;
  --dark-line: #262B35;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15,17,21,.04), 0 8px 24px rgba(15,17,21,.06);
  --shadow-lg: 0 2px 4px rgba(15,17,21,.04), 0 24px 60px rgba(15,17,21,.12);

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1180px;
  --gutter: 24px;
  --header-h: 68px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(38px, 5.6vw, 66px); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0; }
b { font-weight: 600; }
code, .mono { font-family: var(--mono); font-size: .92em; }
code { background: var(--accent-soft); color: var(--accent); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
  font: 600 16px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px rgba(47,91,255,.28); }
.btn--primary:hover { background: #2249E6; box-shadow: 0 8px 26px rgba(47,91,255,.36); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-3); background: var(--surface); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #F0F2FF; }
.btn--sm { height: 40px; padding: 0 16px; border-radius: 11px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: -0.02em; font-weight: 600; }
.logo__mark { width: 32px; height: 32px; color: var(--accent); }
.logo__text b { font-weight: 800; }
.logo--sm { font-size: 18px; }
.logo--sm .logo__mark { width: 26px; height: 26px; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav__cta { color: #fff !important; margin-left: 4px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- common section ---------- */
.section { padding: 112px 0; }
.section--tight { padding: 40px 0 112px; }
.section--muted { background: var(--muted); }
.section--dark { background: var(--dark); color: #E9EBEF; }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head--left { text-align: left; margin: 0; }
.section__sub { margin-top: 16px; font-size: 19px; color: var(--ink-2); }
.section--dark .section__sub { color: #A4AAB6; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kicker--light { color: #8FA8FF; }
.sub-h { margin: 72px 0 28px; font-size: 26px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--money); }
.dot--live { box-shadow: 0 0 0 0 rgba(18,161,80,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,161,80,.45); } 70% { box-shadow: 0 0 0 8px rgba(18,161,80,0); } 100% { box-shadow: 0 0 0 0 rgba(18,161,80,0); } }

/* ---------- hero ---------- */
.hero { padding: 64px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47,91,255,.14), transparent 70%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { margin: 22px 0 22px; }
.hl { background: linear-gradient(100deg, var(--accent), #6B4BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--ink-2); }
.hero__ticks li::before { content: "✓"; color: var(--money); font-weight: 700; margin-right: 7px; }

.hero__visual { position: relative; display: flex; justify-content: center; padding-bottom: 36px; }

/* phone / chat mockup */
.phone, .channel {
  width: 100%; max-width: 400px; background: #EAF0F6; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(15,17,21,.06);
}
.phone__bar, .channel__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.phone__title { font-weight: 600; font-size: 15px; line-height: 1.2; }
.phone__sub { font-size: 13px; color: var(--ink-3); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.avatar--group { background: linear-gradient(135deg, #34C38F, #12A150); }
.avatar--channel { background: linear-gradient(135deg, #6B8BFF, var(--accent)); }

.chat { padding: 18px 14px 22px; display: flex; flex-direction: column; gap: 10px; min-height: 470px; font-size: 14.5px; }
.msg { position: relative; max-width: 82%; padding: 8px 12px 18px; border-radius: 16px; background: var(--surface); box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.msg__who { display: block; font-size: 12.5px; font-weight: 600; color: #D0662B; margin-bottom: 2px; }
.msg__time { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: var(--ink-3); }
.msg--in { align-self: flex-start; border-bottom-left-radius: 6px; padding-right: 48px; }
.msg--out { align-self: flex-end; background: #DDF4CF; border-bottom-right-radius: 6px; padding-right: 48px; min-width: 120px; min-height: 40px; }
.msg--out .msg__time { color: #5E9A4A; }
.msg__text::after { content: ""; display: inline-block; width: 2px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.msg__text.is-done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }

.card { align-self: flex-start; width: 88%; background: var(--surface); border-radius: 16px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.06); border-left: 3px solid var(--accent); }
.card__head { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.card__row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 14px; }
.card__row span { color: var(--ink-3); }
.card__btn { margin-top: 10px; width: 100%; height: 38px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: 600 14px var(--font); cursor: default; transition: transform .15s ease, opacity .3s; }
.card__btn.is-pressed { transform: scale(.96); }
.card__status { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--money); }
.card--done { border-left-color: var(--money); opacity: .8; }
.card--pending .card__status { display: none; }
.card--pending.is-confirmed { border-left-color: var(--money); }
.card--pending.is-confirmed .card__btn { display: none; }
.card--pending.is-confirmed .card__status { display: block; animation: fadeUp .4s ease; }

/* JS hides for animation */
.js .card--pending, .js #heroMsg { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.js .card--pending.is-shown, .js #heroMsg.is-shown { opacity: 1; transform: none; }

.float {
  position: absolute; background: var(--surface); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.float--a { right: 0; bottom: 0; }
.hero .chat { padding-bottom: 56px; }
.float__label { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.float__value { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color .3s; }
.float__value.is-bump { color: var(--money); }
.float__sub { font-size: 12.5px; color: var(--ink-3); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- proof ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__item { padding: 30px 20px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__item b { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.proof__item span { font-size: 15px; color: var(--ink-2); }

/* ---------- who ---------- */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.who__icon { font-size: 28px; display: block; margin-bottom: 16px; }
.who__item p { color: var(--ink-2); }
.who__item b { color: var(--ink); }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { border-radius: var(--radius); padding: 34px 32px; }
.compare__col h3 { margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare__col li { position: relative; padding-left: 30px; color: var(--ink-2); }
.compare__col li b { color: var(--ink); }
.compare__col li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.compare__col--before { background: var(--surface); border: 1px solid var(--line); }
.compare__col--before li::before { content: "✕"; background: #FDECEC; color: var(--danger); }
.compare__col--after { background: var(--dark); color: #E9EBEF; }
.compare__col--after li { color: #B7BCC7; }
.compare__col--after li b { color: #fff; }
.compare__col--after li::before { content: "✓"; background: rgba(18,161,80,.18); color: #3DD68C; }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 280px; padding: 36px;
  border-radius: 24px; background: var(--accent); color: #fff; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.1); }
.product--alt { background: var(--dark); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product__num { font-family: var(--mono); font-size: 14px; opacity: .6; }
.product h3 { font-size: 32px; letter-spacing: -0.03em; }
.product p { font-size: 18px; opacity: .85; max-width: 380px; }
.product__link { margin-top: auto; font-weight: 600; }

/* ---------- flow ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
.flow__step { position: relative; background: var(--surface); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.flow__step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 30px; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--muted); color: var(--ink-3); font-size: 14px; border-radius: 50%;
}
.flow__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.flow__step:last-child .flow__n { background: var(--money-soft); color: var(--money); }
.flow__step h4 { margin-bottom: 6px; }
.flow__step p { font-size: 15.5px; color: var(--ink-2); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.feature:hover { border-color: #C9D3FF; transform: translateY(-2px); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 18px; }
.feature h4 { margin-bottom: 8px; }
.feature p { font-size: 15.5px; color: var(--ink-2); }

/* ---------- mphone ---------- */
.mphone { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mphone h2 { color: #fff; }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #B7BCC7; }
.checks li b { color: #fff; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(47,91,255,.22); color: #8FA8FF; font-size: 13px; font-weight: 700; }

.mphone__visual { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 24px; padding: 28px; }
.diagram { display: flex; flex-direction: column; align-items: stretch; }
.node { border-radius: 16px; padding: 16px 20px; border: 1px solid var(--dark-line); background: #1C212A; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.node__label { font-weight: 700; font-size: 18px; color: #fff; }
.node__meta { font-size: 13.5px; color: #8C93A1; text-align: right; }
.node--core { background: var(--accent); border-color: var(--accent); }
.node--core .node__meta { color: rgba(255,255,255,.75); }
.node--mp { border-color: #2E3A2F; background: #18221B; }
.wire { position: relative; height: 44px; margin: 0 auto; width: 2px; background: repeating-linear-gradient(to bottom, #3A4150 0 4px, transparent 4px 8px); }
.wire span { position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #8FA8FF; animation: travel 1.8s linear infinite; }
#wireWrite span { background: var(--money); animation-name: travelBoth; }
#wireWrite.is-read span { background: #8FA8FF; animation-name: travelUp; }
@keyframes travel { from { top: -4px; } to { top: 40px; } }
@keyframes travelUp { from { top: 40px; } to { top: -4px; } }
@keyframes travelBoth { 0% { top: -4px; } 50% { top: 40px; } 100% { top: -4px; } }

.mode { margin-top: 24px; }
.mode__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #0E1116; border-radius: 12px; border: 1px solid var(--dark-line); }
.mode__tab { height: 40px; border: 0; border-radius: 9px; background: transparent; color: #8C93A1; font: 600 14px var(--font); cursor: pointer; transition: background .2s, color .2s; }
.mode__tab.is-active { background: #232936; color: #fff; }
.mode__text { margin-top: 14px; font-size: 15px; color: #A4AAB6; min-height: 48px; }
.mode__text b { color: #fff; }

/* ---------- price ---------- */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.price h2 { margin-bottom: 24px; }
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bullets li { position: relative; padding-left: 22px; color: var(--ink-2); }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.live { margin-top: 28px; display: grid; gap: 10px; }
.live__row { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; min-width: 164px; }
.tag--red { background: #FDECEC; color: #C4353A; }
.tag--amber { background: #FEF3E2; color: #B45309; }
.tag--green { background: var(--money-soft); color: #0E7F3F; }
.note { margin-top: 24px; font-size: 15px; color: var(--ink-3); padding-left: 14px; border-left: 2px solid var(--line); }

.price__visual { position: relative; display: flex; justify-content: center; }
.channel { background: #DCE6EF; }
.post { margin: 18px 16px 22px; background: var(--surface); border-radius: 16px; padding: 14px 16px 10px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.post__title { font-weight: 700; margin-bottom: 10px; }
.post__list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.post__list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline;
  padding: 5px 0; border-bottom: 1px dashed #EDEDEA; overflow: hidden; max-height: 40px;
  transition: max-height .45s ease, opacity .35s ease, padding .45s ease, background .4s ease;
}
.post__list li:last-child { border-bottom: 0; }
.post__list li .p-name small { color: var(--ink-3); }
.post__list li .p-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.post__list li.is-out { max-height: 0; opacity: 0; padding: 0; border-bottom-color: transparent; }
.post__list li.is-new { background: var(--money-soft); }
.post__list li.is-changed .p-price { color: var(--warn); }
.post__foot { margin-top: 8px; font-size: 12px; color: var(--ink-3); text-align: right; }

.float--b {
  right: -6px; top: 40px; max-width: 240px; font-size: 13.5px; font-weight: 500; padding: 12px 14px;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .3s ease;
}
.float--b.is-shown { opacity: 1; transform: none; }

/* ---------- results ---------- */
.results { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.result { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.result b { font-size: 20px; letter-spacing: -0.02em; color: var(--accent); }
.result span { font-size: 15px; color: var(--ink-2); }
.case { margin: 40px 0 0; padding: 32px 36px; border-radius: var(--radius); background: var(--dark); color: #E9EBEF; font-size: 20px; line-height: 1.5; position: relative; }
.case::before { content: "“"; position: absolute; left: 28px; top: -6px; font-size: 80px; color: var(--accent); line-height: 1; }
.case p { position: relative; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; margin-bottom: 18px; }
.plan__price { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.plan__sub { font-size: 14px; color: var(--ink-3); }
.plan__monthly { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--muted); font-size: 15px; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--money); font-weight: 700; margin-right: 8px; }
.plan .btn { margin-top: 28px; }
.plan--featured { background: var(--dark); color: #E9EBEF; border-color: var(--dark); box-shadow: var(--shadow-lg); }
.plan--featured .plan__sub { color: #8C93A1; }
.plan--featured .plan__monthly { background: #1C212A; }
.plan--featured ul { color: #B7BCC7; }
.plan__badge { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; }
.plans__incl { margin-top: 24px; text-align: center; color: var(--ink-2); font-size: 15.5px; }

/* ---------- timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--money)); opacity: .35; }
.timeline li { position: relative; padding-top: 48px; }
.timeline li::before { content: ""; position: absolute; top: 9px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 4px solid var(--accent); }
.timeline li:last-child::before { border-color: var(--money); }
.timeline__when { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 7px; margin-bottom: 12px; }
.timeline h4 { margin-bottom: 6px; font-size: 20px; }
.timeline p { color: var(--ink-2); font-size: 15.5px; }
.callout { margin: 48px auto 0; max-width: 640px; text-align: center; padding: 18px 24px; border-radius: 14px; background: var(--money-soft); color: #0E6B37; font-weight: 600; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: #C9D3FF; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* ---------- boundaries ---------- */
.bounds { border: 1px dashed #C8C8C0; border-radius: 24px; padding: 36px; }
.bounds h3 { margin-bottom: 22px; }
.bounds__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; color: var(--ink-2); }
.bounds__grid b { color: var(--ink); }

/* ---------- CTA + form ---------- */
.cta { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent); }
.cta__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.cta h2 { color: #fff; }
.cta__copy > p { margin-top: 20px; font-size: 19px; color: rgba(255,255,255,.85); max-width: 520px; }
.cta__alt { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cta__phone { font-weight: 600; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.4); }

.form { background: var(--surface); color: var(--ink); border-radius: 24px; padding: 32px; display: grid; gap: 18px; box-shadow: 0 30px 80px rgba(10,20,80,.3); position: relative; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select {
  height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  font: 500 16px var(--font); color: var(--ink); transition: border-color .2s, background .2s; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); background: #fff; }
.field input.is-invalid { border-color: var(--danger); }
.chips { display: flex; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__hint { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.form__done { position: absolute; inset: 0; border-radius: 24px; background: var(--surface); display: grid; place-content: center; text-align: center; gap: 6px; font-size: 18px; padding: 32px; }
.form__done[hidden] { display: none; }
.form__done b { font-size: 28px; color: var(--money); }

/* ---------- footer ---------- */
.footer { padding: 48px 0; background: var(--dark); color: #8C93A1; font-size: 14.5px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer .logo { color: #fff; }
.footer__small { width: 100%; font-size: 13px; color: #5C6370; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .results { grid-template-columns: repeat(3, 1fr); }
  .who { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 20px; }
}

@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .section { padding: 84px 0; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
    font-size: 18px;
  }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 16px 0 0; height: 50px; }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }

  .hero { padding: 40px 0 72px; }
  .hero__grid, .mphone, .price, .cta__grid, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { margin-top: 8px; }

  .compare, .products { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step:nth-child(2)::after { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan--featured { order: -1; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .timeline::before { display: none; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bounds__grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .section__sub, .lead { font-size: 17px; }
  .sub-h { margin: 48px 0 20px; font-size: 22px; }
  .hero__actions .btn { width: 100%; }
  .who, .features, .flow, .results { grid-template-columns: 1fr; }
  .flow__step::after { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .compare__col, .product, .mphone__visual, .bounds, .form, .plan { padding: 24px 20px; }
  .product { min-height: 220px; }
  .product h3 { font-size: 26px; }
  .chat { min-height: 440px; }
  .proof__item { padding: 20px 12px; }
  .proof__item b { font-size: 26px; }
  .proof__item span { font-size: 13.5px; }
  .node { flex-direction: column; align-items: flex-start; gap: 2px; }
  .node__meta { text-align: left; }
  .tag { min-width: 0; }
  .live__row { flex-wrap: wrap; gap: 6px 10px; }
  .case { padding: 28px 22px; font-size: 17px; }
  .float--b { right: 8px; left: 8px; max-width: none; top: 70px; }
  .cta__alt .btn { width: 100%; }
}
