/* ============================================================
   Стоп Приказ — Acid Lime design system
   Bright chartreuse (#C6F92B) + near-black + white.
   Lime is a FILL (never text on white); black is type + actions;
   lime reads fine as text only on black. Tokens drive the Tweaks.
   ============================================================ */

:root {
  --font-head: 'Onest', sans-serif;     /* overridden by Tweaks */
  --font-body: 'Onest', sans-serif;

  --lime: #C6F92B;                                            /* hero fill / overridden by Tweaks */
  --lime-pale: color-mix(in srgb, var(--lime) 42%, #fff);    /* pale pill on white */
  --lime-dim:  color-mix(in srgb, var(--lime) 80%, #1c2400); /* darker pill on lime panel */
  --lime-deep: color-mix(in srgb, var(--lime) 84%, #000);    /* hover */

  --ink: #14160B;
  --ink-2: #1E2110;
  --muted: #6C6E5C;
  --white: #FFFFFF;
  --paper: #F5F4EC;
  --line: #E6E5D6;
  --line-dark: rgba(255,255,255,0.14);

  --radius: 16px;
  --radius-lg: 26px;
  --radius-xl: 40px;
  --radius-pill: 999px;
  --section-pad: clamp(72px, 10vh, 140px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--lime); }

/* ---------- layout ---------- */
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section--lime { background: var(--lime); color: var(--ink); }

.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.section--ink .eyebrow { color: var(--lime); }
.eyebrow::before { content: ""; width: 24px; height: 3px; background: currentColor; display: inline-block; border-radius: 3px; }

.lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.section--ink .lead { color: rgba(255,255,255,0.78); }
.section--lime .lead { color: color-mix(in srgb, var(--ink) 74%, transparent); }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  border: none; cursor: pointer; border-radius: var(--radius-pill);
  padding: 18px 30px; display: inline-flex; align-items: center; gap: 10px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(20,22,11,0.6); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-deep); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(20,22,11,0.4); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.6px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.section--ink .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.section--ink .btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-lg { padding: 21px 36px; font-size: 18px; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 11px 18px; border-radius: var(--radius-pill);
  background: var(--lime-pale); color: var(--ink);
}
.chip__c { width: 18px; height: 18px; flex: none; }
/* chips on the lime hero panel — subtle darker pill */
.hero__panel .chip { background: color-mix(in srgb, var(--ink) 7%, transparent); }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--white) 82%, transparent); backdrop-filter: blur(14px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand__mark { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 14px; font-weight: 800; flex: none; letter-spacing: 0; }
.nav__links { display: flex; gap: 32px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ============================================================
   HERO — big lime panel
   ============================================================ */
.hero { padding-top: 12px; padding-bottom: clamp(40px, 6vh, 80px); }
.hero__panel {
  background: var(--lime); border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px) clamp(40px, 5vw, 64px);
  text-align: center; position: relative; overflow: hidden;
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(135deg, transparent 0 38px, color-mix(in srgb, var(--ink) 4%, transparent) 38px 39px);
}
.hero__inner { position: relative; max-width: 920px; margin-inline: auto; }
.hero__title { font-size: clamp(40px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.04em; margin-top: 22px; }
.hero__sub { margin: 26px auto 0; max-width: 56ch; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__chips { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__trust { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: color-mix(in srgb, var(--ink) 66%, transparent); }
.hero__trust .lock { width: 16px; height: 16px; }

/* ============================================================
   ROUTE BAND — "Контроль срока" + "готовый маршрут"
   ============================================================ */
.route { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.timecard { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 34px; }
.timecard__t { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.timecard__bars { display: flex; align-items: flex-end; gap: 12px; height: 132px; margin: 26px 0 14px; }
.timecard__bar { flex: 1; background: var(--lime); border-radius: 10px 10px 4px 4px; position: relative; }
.timecard__bar:nth-child(1) { height: 46%; }
.timecard__bar:nth-child(2) { height: 74%; }
.timecard__bar:nth-child(3) { height: 100%; }
.timecard__bar:nth-child(4) { height: 60%; opacity: 0.5; }
.timecard__axis { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.02em; }
.timecard__axis b { color: var(--lime); font-weight: 700; }
.route__title { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.03em; max-width: 16ch; }
.route__p { margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 50ch; }
.route__list { margin-top: 22px; display: grid; gap: 12px; }
.route__list li { list-style: none; display: flex; gap: 12px; font-size: 16px; line-height: 1.4; align-items: flex-start; }
.route__list li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314160B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 13px; margin-top: 1px; }
@media (max-width: 820px) { .route { grid-template-columns: 1fr; } }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.shead { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.shead__title { font-size: clamp(32px, 4.6vw, 62px); letter-spacing: -0.035em; max-width: 18ch; }
.shead__aside { max-width: 38ch; color: var(--muted); font-size: 17px; line-height: 1.5; }
.section--ink .shead__aside { color: rgba(255,255,255,0.7); }
@media (max-width: 760px) { .shead { grid-template-columns: 1fr; } .shead__aside { grid-row: 2; } }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding-top: 28px; }
.step__n { font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.step__bar { height: 4px; background: var(--line); margin: 14px 0 22px; position: relative; overflow: hidden; border-radius: 4px; }
.section--ink .step__bar { background: rgba(255,255,255,0.16); }
.step__bar::after { content: ""; position: absolute; inset: 0; width: 38%; background: var(--lime); border-radius: 4px; }
.step:nth-child(2) .step__bar::after { width: 62%; }
.step:nth-child(3) .step__bar::after { width: 84%; }
.step:nth-child(4) .step__bar::after { width: 100%; }
.step__t { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }
.step__d { color: var(--muted); font-size: 16px; line-height: 1.5; }
.section--ink .step__d { color: rgba(255,255,255,0.66); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); gap: 30px 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px; min-height: 158px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.cat:hover { transform: translateY(-4px); border-color: var(--ink); background: var(--lime); }
.cat__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--lime-pale); color: var(--ink); display: grid; place-items: center; transition: background .2s; }
.cat:hover .cat__ic { background: var(--ink); color: var(--lime); }
.cat__ic svg { width: 24px; height: 24px; }
.cat__t { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.cat__d { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cat:hover .cat__d { color: color-mix(in srgb, var(--ink) 70%, transparent); }
@media (max-width: 860px) { .cats { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .cats { grid-template-columns: 1fr; } }

/* ============================================================
   AFTER — honest "что будет после отмены"
   ============================================================ */
.after { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acard { border-radius: var(--radius-lg); padding: 32px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); }
.acard__n { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--lime); letter-spacing: 0.04em; }
.acard__t { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 14px 0 10px; }
.acard__d { color: rgba(255,255,255,0.68); font-size: 15px; line-height: 1.55; }
@media (max-width: 820px) { .after { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING — by scenario
   ============================================================ */
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; }
.tier { border-radius: var(--radius-lg); padding: 36px 34px; background: var(--white); border: 1.5px solid var(--line); display: flex; flex-direction: column; }
.tier--pop { background: var(--lime); border-color: var(--lime); }
.tier__scn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.tier--pop .tier__scn { color: color-mix(in srgb, var(--ink) 64%, transparent); }
.tier__name { font-family: var(--font-head); font-weight: 800; font-size: 27px; letter-spacing: -0.025em; }
.tier__price { font-family: var(--font-head); font-weight: 800; font-size: 54px; letter-spacing: -0.04em; margin: 14px 0 4px; }
.tier__per { font-size: 14px; color: var(--muted); }
.tier--pop .tier__per { color: color-mix(in srgb, var(--ink) 60%, transparent); }
.tier__list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 13px; }
.tier__list li { display: flex; gap: 11px; font-size: 15px; line-height: 1.4; }
.tier__list li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lime-pale); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314160B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 12px; margin-top: 1px; }
.tier--pop .tier__list li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6F92B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.tier__cta { margin-top: auto; }
.tier__cta .btn { width: 100%; justify-content: center; }
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } }
.price-note { margin-top: 22px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 9px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.quote { border-radius: var(--radius-lg); padding: 34px; background: var(--paper); border: 1.5px solid var(--line); }
.quote__text { font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.34; letter-spacing: -0.02em; }
.quote__by { margin-top: 22px; display: flex; align-items: center; gap: 13px; }
.quote__av { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 17px; flex: none; }
.quote__name { font-weight: 700; font-size: 15px; }
.quote__role { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .quotes { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; max-width: 900px; }
.fitem { border-top: 1.5px solid var(--line); }
.fitem:last-child { border-bottom: 1.5px solid var(--line); }
.fq { width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; font-family: var(--font-head); font-weight: 800; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.02em; color: var(--ink); }
.fq__ic { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--lime-pale); display: grid; place-items: center; transition: background .2s; position: relative; }
.fq__ic::before, .fq__ic::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; }
.fq__ic::before { width: 13px; height: 2.4px; }
.fq__ic::after { width: 2.4px; height: 13px; transition: transform .25s ease; }
.fitem.open .fq__ic { background: var(--ink); }
.fitem.open .fq__ic::before, .fitem.open .fq__ic::after { background: var(--lime); }
.fitem.open .fq__ic::after { transform: scaleY(0); }
.fa { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.fa__inner { padding: 0 4px 28px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 64ch; }

/* ============================================================
   FINAL CTA — lime full panel
   ============================================================ */
.final { text-align: center; }
.final__big { font-size: clamp(38px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.04em; }
.final__sub { margin: 24px auto 36px; max-width: 46ch; }
.final__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--ink); color: rgba(255,255,255,0.66); padding-block: 64px 40px; }
.foot__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 32px; }
.foot__brand { color: #fff; }
.foot__brand .brand { color: #fff; margin-bottom: 16px; }
.foot__brand p { max-width: 36ch; line-height: 1.5; font-size: 14px; }
.foot h5 { font-family: var(--font-body); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; margin-bottom: 16px; }
.foot__col a { display: block; padding: 6px 0; font-size: 14px; }
.foot__col a:hover { color: var(--lime); }
.foot__contacts { margin-top: 22px; }
.foot__contacts h5 { margin-bottom: 12px; }
.foot__contacts a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,0.7); }
.foot__contacts a:hover { color: var(--lime); }
.foot__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.foot__disc { max-width: 72ch; line-height: 1.5; }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ============================================================
   KNOWLEDGE BASE (SEO articles teaser on landing)
   ============================================================ */
.kb__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kbcard {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; min-height: 220px; cursor: pointer; color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.kbcard:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 24px 50px -28px rgba(20,22,11,0.32); }
.kbcard__tag { align-self: flex-start; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: var(--lime-pale); padding: 6px 12px; border-radius: var(--radius-pill); }
.kbcard__title { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1.12; letter-spacing: -0.025em; }
.kbcard__excerpt { color: var(--muted); font-size: 14px; line-height: 1.5; }
.kbcard__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kbcard__time { font-size: 13px; font-weight: 600; color: var(--muted); }
.kbcard__arrow { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .18s, border-color .18s; }
.kbcard__arrow svg { width: 16px; height: 16px; stroke: var(--ink); transition: transform .18s; }
.kbcard:hover .kbcard__arrow { background: var(--lime); border-color: var(--lime); }
.kbcard:hover .kbcard__arrow svg { transform: translateX(2px); }
.kb__more { margin-top: 28px; display: flex; justify-content: center; }
@media (max-width: 860px) { .kb__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kb__grid { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.has-js .reveal { opacity: 0; transform: translateY(22px); }
.has-js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .has-js .reveal { opacity: 1; transform: none; transition: none; } }
