/* ==========================================================================
   otmena-strahovki.ru — «Пластилиновый анти-банк»
   Один компактный CSS-файл. Без внешних зависимостей и веб-шрифтов
   (быстрый FCP/LCP, PageSpeed 95-100). Пластилиновый вид — за счёт
   наборных теней, «мятых» радиусов и лёгких поворотов блоков.
   ========================================================================== */

:root {
  --slab: #14161c;         /* фон-пластилиновая плита */
  --slab-2: #1d2029;
  --clay: #efe6d6;         /* светлый пластилин (карточки) */
  --clay-2: #e2d6c0;
  --ink: #171a20;          /* темный текст на светлом */
  --paper: #fbf7ef;
  --green: #7bd93b;        /* кислотный пластилин */
  --green-d: #4ea81e;
  --coin: #ffce2e;
  --red: #ff5b4a;
  --blue: #4aa8ff;
  --violet: #a476ff;
  --muted: #a9b0be;
  --line: rgba(255, 255, 255, .12);
  --radius: 24px;
  --radius-s: 16px;
  --wrap: 1120px;
  --shadow-clay: 0 6px 0 rgba(0, 0, 0, .28), 0 18px 30px -12px rgba(0, 0, 0, .6);
  --shadow-btn: inset 0 3px 0 rgba(255, 255, 255, .55),
                inset 0 -5px 0 rgba(0, 0, 0, .18),
                0 6px 0 rgba(0, 0, 0, .35),
                0 14px 22px -10px rgba(0, 0, 0, .6);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          "Noto Sans", Arial, "Apple Color Emoji", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--paper);
  background-color: var(--slab);
  /* «мятая» текстура фона без картинок */
  background-image:
    radial-gradient(1100px 600px at 12% -8%, rgba(123, 217, 59, .10), transparent 60%),
    radial-gradient(900px 620px at 92% 4%, rgba(74, 168, 255, .10), transparent 60%),
    radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, auto, 22px 22px;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 900;
}

/* «Пластилиновые» буквы: экструзия за счёт наборных теней */
.clay-text {
  text-shadow:
    0 2px 0 rgba(0, 0, 0, .28),
    0 4px 0 rgba(0, 0, 0, .20),
    0 8px 18px rgba(0, 0, 0, .45);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--green);
  background: rgba(123, 217, 59, .12);
  border: 2px solid rgba(123, 217, 59, .35);
  padding: 6px 14px;
  border-radius: 999px;
  transform: rotate(-1.5deg);
  margin-bottom: 18px;
}

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: #10210a; font-weight: 800;
  padding: 10px 16px; z-index: 99; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--coin); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------- buttons -------------------------------- */
.btn {
  --bg: var(--green);
  --fg: #0f2405;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 900; font-size: 1.05rem;
  padding: 16px 28px; border: none; cursor: pointer;
  background: var(--bg); color: var(--fg);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: transform .12s ease, box-shadow .12s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px) rotate(-.4deg); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 3px 0 rgba(255,255,255,.4), inset 0 -3px 0 rgba(0,0,0,.2), 0 2px 0 rgba(0,0,0,.4); }
.btn--lg { font-size: 1.22rem; padding: 20px 38px; }
.btn--block { width: 100%; }
.btn--ghost {
  --bg: transparent; --fg: var(--paper);
  box-shadow: inset 0 0 0 3px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 3px rgba(255,255,255,.3); }
.btn--coin { --bg: var(--coin); --fg: #2b1f00; }

/* ------------------------------- header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 22, 28, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; text-decoration: none; letter-spacing: -.02em; }
.logo__badge {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--green); color: #10210a; display: grid; place-items: center;
  font-size: 1rem; font-weight: 900; transform: rotate(-4deg);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 3px 0 rgba(0,0,0,.35);
}
.logo span { font-size: 1.05rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 700; color: var(--muted); font-size: .96rem; }
.nav a:hover { color: var(--paper); }
.nav .btn { padding: 10px 18px; font-size: .95rem; }
.nav-toggle {
  margin-left: auto; display: none; background: transparent; border: 2px solid var(--line);
  border-radius: 12px; padding: 8px 10px; color: var(--paper); cursor: pointer;
}

@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--slab-2); padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .22s ease;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: 12px 6px; font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; }
}


/* -------------------------------- hero ---------------------------------- */
.hero { padding: 56px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); }
.hero h1 mark {
  background: linear-gradient(transparent 58%, rgba(123, 217, 59, .55) 58%);
  color: inherit; padding: 0 .06em; border-radius: 4px;
}
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #dfe4ee; max-width: 34ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .93rem; font-weight: 600; padding: 0; margin: 0; }
.hero__trust li { list-style: none; display: flex; align-items: center; gap: 7px; }
.tick { color: var(--green); font-weight: 900; }

.hero__art { position: relative; transform: rotate(2deg); }
.hero__art img { border-radius: var(--radius); box-shadow: var(--shadow-clay); border: 4px solid var(--paper); }
.hero__sticker {
  position: absolute; right: -8px; bottom: -14px;
  background: var(--coin); color: #2b1f00; font-weight: 900;
  padding: 12px 18px; border-radius: 16px; transform: rotate(-6deg);
  box-shadow: var(--shadow-btn); text-align: center; line-height: 1.1;
}
.hero__sticker b { display: block; font-size: 1.5rem; }
.hero__sticker span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__art { max-width: 460px; margin: 0 auto; }
  .hero__lead { max-width: none; }
}

/* ------------------------------ pain cards ------------------------------ */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.pain {
  background: var(--clay); color: var(--ink);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-clay); transform: rotate(-.5deg);
}
.pain:nth-child(even) { transform: rotate(.6deg); }
.pain__emoji { font-size: 1.9rem; line-height: 1; }
.pain h3 { font-size: 1.18rem; margin: 12px 0 6px; }
.pain p { margin: 0; color: #45402f; font-size: .98rem; }
.pain__fix {
  display: inline-block; margin-top: 14px; font-weight: 800; font-size: .86rem;
  color: #14320a; background: rgba(123, 217, 59, .35);
  padding: 5px 12px; border-radius: 999px;
}
@media (max-width: 720px) { .pains { grid-template-columns: 1fr; } }

/* ------------------------------- steps ---------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; counter-reset: step; }
.step {
  position: relative; background: var(--slab-2);
  border: 2px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px 24px; counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute; top: -20px; left: 22px;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--green); color: #10210a; font-weight: 900; font-size: 1.4rem;
  display: grid; place-items: center; transform: rotate(-5deg);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 4px 0 rgba(0,0,0,.35);
}
.step h3 { font-size: 1.22rem; margin-top: 16px; }
.step p { color: var(--muted); margin: 0; }
.step__tag { margin-top: 14px; font-weight: 800; font-size: .82rem; color: var(--coin); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 34px; } }

.board { margin-top: 56px; text-align: center; }
.board img { border-radius: var(--radius); box-shadow: var(--shadow-clay); border: 4px solid var(--paper); margin: 0 auto; }
.board figcaption { color: var(--muted); margin-top: 14px; font-size: .9rem; }

/* ------------------------------- price ---------------------------------- */
.price { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; margin-top: 36px; }
.price__card {
  background: var(--clay); color: var(--ink);
  border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-clay);
  transform: rotate(-.6deg);
}
.price__num { font-size: clamp(2.6rem, 7vw, 3.6rem); font-weight: 900; line-height: 1; }
.price__num small { font-size: 1rem; font-weight: 800; color: #5a5238; display: block; margin-top: 6px; }
.price__list { list-style: none; padding: 0; margin: 20px 0 0; }
.price__list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(0,0,0,.15); font-weight: 600; }
.price__list li:last-child { border-bottom: none; }
.price__note { color: var(--muted); font-size: .92rem; }
@media (max-width: 820px) { .price { grid-template-columns: 1fr; } }

/* ------------------------------- legal ---------------------------------- */
.legal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.legal__card {
  background: var(--slab-2); border: 2px solid var(--line);
  border-left: 6px solid var(--blue); border-radius: var(--radius-s);
  padding: 22px;
}
.legal__card b { display: block; color: var(--blue); font-size: .84rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.legal__card p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } }

/* -------------------------------- faq ----------------------------------- */
.faq { max-width: 820px; margin: 34px auto 0; }
.faq details {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-s); margin-bottom: 12px;
  box-shadow: 0 4px 0 rgba(0,0,0,.25); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px;
  font-weight: 800; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 900; color: var(--green-d); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__a { padding: 0 22px 22px; color: #3f3a2c; }
.faq .faq__a p { margin: 0; }

/* ------------------------------- final CTA ------------------------------ */
.cta-band {
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(123,217,59,.22), transparent 70%),
    var(--slab-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 4.4vw, 2.8rem); }
.cta-band .btn { margin-top: 10px; }

/* ------------------------------- footer --------------------------------- */
.site-footer { padding: 48px 0 40px; color: var(--muted); font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: var(--paper); margin: 0 0 10px; font-size: 1rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.disclaimer { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; }
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* --------------------------- sticky mobile CTA -------------------------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: none; box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.sticky-cta[data-show="true"] { display: inline-flex; }
@media (min-width: 821px) { .sticky-cta { display: none !important; } }

/* ------------------------------ motion ---------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .hero__art { transition: none; }
}


/* ---------------------- полезные статьи (блок на главной) --------------- */
.articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.article-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); color: var(--ink); text-decoration: none;
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-clay); transform: rotate(-.5deg);
  transition: transform .12s ease;
}
.article-card:nth-child(even) { transform: rotate(.6deg); }
.article-card:hover { transform: translateY(-3px) rotate(0deg); }
.article-card__tag {
  align-self: flex-start; font-weight: 800; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: #14320a; background: rgba(123, 217, 59, .35);
  padding: 4px 12px; border-radius: 999px;
}
.article-card h3 { font-size: 1.2rem; margin: 0; color: var(--ink); }
.article-card p { margin: 0; color: #45402f; font-size: .97rem; }
.article-card__more { margin-top: auto; font-weight: 800; color: var(--green-d); }
@media (max-width: 720px) { .articles { grid-template-columns: 1fr; } }

/* ------------------------------ страница статьи ------------------------- */
.article { padding: 40px 0 64px; }
.article__wrap { max-width: 760px; margin: 0 auto; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--paper); text-decoration: underline; }
.crumbs span { opacity: .6; }
.article h1 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); }
.article__meta { color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.article__lead { font-size: 1.12rem; color: #e7ebf3; }
.article h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-top: 40px; }
.article h3 { font-size: 1.16rem; margin-top: 28px; }
.article p { color: #dfe4ee; }
.article ul, .article ol { padding-left: 22px; color: #dfe4ee; }
.article li { margin-bottom: 8px; }
.article ol > li { margin-bottom: 12px; }
.article a { color: var(--green); }
.article a:hover { color: var(--coin); }
.article code { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.article blockquote {
  margin: 24px 0; padding: 18px 22px;
  background: var(--slab-2); border-left: 6px solid var(--blue);
  border-radius: var(--radius-s); color: var(--muted);
}
.article blockquote p { margin: 0; color: var(--muted); }
.toc {
  background: var(--slab-2); border: 2px solid var(--line);
  border-radius: var(--radius-s); padding: 18px 22px; margin: 26px 0;
}
.toc b { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { text-decoration: none; }
.note {
  margin: 24px 0; padding: 18px 22px;
  background: rgba(123, 217, 59, .10);
  border: 2px dashed rgba(123, 217, 59, .4);
  border-radius: var(--radius-s); color: #e7f5dd;
}
.note p { margin: 0; color: #e7f5dd; }
.note b { color: var(--green); }
.readmore {
  margin-top: 44px; padding: 24px;
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-clay);
}
.readmore h2 { margin: 0 0 8px; font-size: 1.18rem; color: var(--ink); }
.readmore p { margin: 0 0 10px; color: #45402f; }
.readmore a { font-weight: 800; color: var(--green-d); }
.article-cta-inline {
  margin: 30px 0; padding: 22px 24px; text-align: center;
  background: linear-gradient(180deg, rgba(123,217,59,.16), rgba(123,217,59,.06));
  border: 2px solid rgba(123, 217, 59, .4); border-radius: var(--radius);
}
.article-cta-inline p { margin: 0 0 14px; color: #e7f5dd; }

/* липкая CTA-панель внутри статьи (работает и на десктопе) */
.article-sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: none; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px;
  background: rgba(20, 22, 28, .96);
  border: 2px solid rgba(123, 217, 59, .5);
  border-radius: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
}
.article-sticky[data-show="true"] { display: flex; }
.article-sticky p { margin: 0; color: var(--muted); font-size: .93rem; }
.article-sticky .btn { padding: 12px 20px; font-size: .98rem; flex: none; }
@media (max-width: 620px) {
  .article-sticky { left: 8px; right: 8px; padding: 10px 12px; }
  .article-sticky p { display: none; }
  .article-sticky .btn { width: 100%; }
}

