/* Чек-лист готовности к школе — стиль основного сайта ЛТ */
:root {
  --ink: #0e1621;
  --ink-2: #243041;
  --mute: #6b7789;
  --chalk: #f3efe7;
  --chalk-2: #e8e2d6;
  --white: #faf8f4;
  --blue: #4f8fb5;
  --blue-deep: #2f6486;
  --warm: #e8915a;
  --warm-soft: #f0b48a;
  --line: rgba(14, 22, 33, 0.1);
  --ok: #3d7a5c;
  --low: #c45c3a;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --shell: min(1100px, calc(100% - clamp(1.2rem, 4.5vw, 2.4rem) * 2));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box }
html { overflow-x: clip }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto }
a { color: inherit }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: .75rem 1rem; background: var(--ink); color: #fff;
}
.skip:focus { left: 0 }
.shell { width: var(--shell); margin-inline: auto }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.2rem; padding: .8rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 700; font-size: .98rem;
  cursor: pointer; font-family: var(--body);
  transition: transform .3s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { background: var(--blue-deep); transform: translateY(-2px) }
.btn--sm { min-height: 2.55rem; padding: 0 1.1rem; font-size: .9rem; flex: none }
.btn--ghost {
  background: transparent; border-color: rgba(14, 22, 33, .22); color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: transparent }
.btn--warm { background: var(--warm); color: var(--ink) }
.btn--warm:hover { background: var(--warm-soft); color: var(--ink) }
.btn--light {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff;
}
.btn--light:hover { background: rgba(255, 255, 255, .2); border-color: #fff; color: #fff }

/* Hero — same cinematic system as диагностика (lp-hero) */
.cl-hero.lp-hero .lp-hero__art img {
  object-fit: cover;
  object-position: center 32%;
}
@media (min-width: 960px) {
  .cl-hero.lp-hero .lp-hero__art img {
    object-position: 62% 28%;
  }
  .cl-hero.lp-hero .lp-hero__shade {
    background:
      linear-gradient(100deg, rgba(14, 22, 33, .94) 0%, rgba(14, 22, 33, .78) 38%, rgba(14, 22, 33, .32) 68%, rgba(14, 22, 33, .4) 100%),
      linear-gradient(0deg, rgba(14, 22, 33, .55) 0%, transparent 42%);
  }
}
@media (max-width: 760px) {
  .cl-hero.lp-hero .lp-hero__art img {
    object-position: 48% 22%;
  }
}
.kicker--on-dark { color: var(--warm-soft) }

/* Tips */
.block--tips {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: 0;
}
.tips {
  display: grid;
  gap: .9rem;
}
@media (min-width: 800px) {
  .tips { grid-template-columns: repeat(3, 1fr); gap: 1.1rem }
}
.tip {
  padding: 1.25rem 1.2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px -28px rgba(14, 22, 33, .35);
}
.tip__n {
  display: block;
  margin-bottom: .7rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--warm);
}
.tip h2 {
  margin: 0 0 .4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.02em;
}
.tip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .96rem;
}

/* Sticky progress */
.cl-progress {
  position: sticky; top: 4.2rem; z-index: 60;
  background: rgba(250, 248, 244, .98);
  border-block: 1px solid var(--line);
}
.cl-progress__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .85rem;
  padding: .85rem 0;
}
.cl-progress__text {
  display: flex; align-items: baseline; gap: .65rem;
  font-size: .95rem;
}
.cl-progress__pct {
  font-family: var(--display); font-weight: 800; color: var(--warm);
}
.cl-progress__bar {
  flex: 1; min-width: 140px; height: 8px;
  border-radius: 999px; background: rgba(14, 22, 33, .08); overflow: hidden;
}
.cl-progress__fill {
  height: 100%; width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--warm), var(--blue));
  transition: width .35s var(--ease);
}
.cl-progress__reset {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .88rem; color: var(--mute);
  text-decoration: underline; text-underline-offset: 3px;
}
.cl-progress__reset:hover { color: var(--ink) }

/* Sections */
.block { padding: clamp(2.5rem, 6vw, 4rem) 0 }
.block__head { max-width: 40rem; margin-bottom: 1.75rem }
.block__head h2 {
  margin: 0 0 .6rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.03em;
}
.block__head p { margin: 0; color: var(--ink-2) }

/* Checklist */
.checklist { display: grid; gap: 1rem }
.checklist-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 0 0 1rem;
  overflow: hidden;
  box-shadow: 0 16px 40px -30px rgba(14, 22, 33, .3);
}
.checklist-section.is-collapsed { padding-bottom: 0 }
.checklist-section.is-collapsed .checklist-group,
.checklist-section.is-collapsed .checklist-group__title { display: none }
.checklist-section.is-low { border-color: rgba(196, 92, 58, .35) }
.checklist-section.is-strong { border-color: rgba(61, 122, 92, .35) }

.checklist-section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "kicker toggle"
    "title toggle"
    "meter meter"
    "stat stat";
  gap: .35rem .85rem;
  padding: 1.15rem 1.2rem;
  cursor: pointer;
  user-select: none;
}
.checklist-section.is-collapsed .checklist-section__head {
  margin-bottom: 0;
}
.checklist-section__kicker {
  grid-area: kicker; margin: 0;
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-deep);
}
.checklist-section__title {
  grid-area: title; margin: 0;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.25rem, 2.8vw, 1.55rem); letter-spacing: -.02em;
}
.checklist-section__meter {
  grid-area: meter; height: 6px; margin-top: .45rem;
  border-radius: 999px; background: rgba(14, 22, 33, .08); overflow: hidden;
}
.checklist-section__meter-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--warm), var(--blue));
  transition: width .35s var(--ease);
}
.checklist-section.is-low .checklist-section__meter-fill {
  background: linear-gradient(90deg, var(--low), #e8915a);
}
.checklist-section.is-strong .checklist-section__meter-fill {
  background: linear-gradient(90deg, var(--ok), #5fa37c);
}
.checklist-section__stat {
  grid-area: stat; margin: .25rem 0 0;
  font-size: .88rem; font-weight: 700; color: var(--mute);
}
.checklist-section__toggle {
  grid-area: toggle; align-self: start;
  width: 2.2rem; height: 2.2rem;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--chalk); color: var(--ink);
  cursor: pointer; font-size: .75rem;
  transition: transform .25s;
}
.checklist-section.is-collapsed .checklist-section__toggle { transform: rotate(-90deg) }

.checklist-group__title {
  margin: .85rem 1.2rem .45rem;
  font-size: .92rem; font-weight: 800; color: var(--ink-2);
}
.checklist-group {
  list-style: none; margin: 0; padding: 0 .7rem;
  display: grid; gap: .35rem;
}
.checklist-item {
  border-radius: .85rem;
  transition: background .2s;
}
.checklist-item.is-checked { background: rgba(61, 122, 92, .08) }
.checklist-item__label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem; align-items: start;
  padding: .7rem .65rem;
  cursor: pointer;
}
.checklist-item__label input {
  position: absolute; opacity: 0; pointer-events: none;
}
.checklist-item__box {
  width: 1.35rem; height: 1.35rem; margin-top: .1rem;
  border-radius: .4rem;
  border: 2px solid rgba(14, 22, 33, .25);
  background: #fff;
  position: relative;
  transition: background .2s, border-color .2s;
}
.checklist-item__box::after {
  content: "";
  position: absolute; inset: 2px;
  border-radius: .2rem;
  background: transparent;
  transform: scale(0);
  transition: transform .2s var(--ease);
}
.checklist-item__label:hover .checklist-item__box { border-color: var(--blue) }
.checklist-item.is-checked .checklist-item__box {
  border-color: var(--ok); background: var(--ok);
}
.checklist-item.is-checked .checklist-item__box::after {
  background:
    linear-gradient(45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%),
    linear-gradient(-45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%);
  background-size: 60% 60%;
  background-position: center; background-repeat: no-repeat;
  transform: scale(1);
  /* simpler check via unicode in content */
  content: "✓";
  display: grid; place-items: center;
  color: #fff; font-size: .75rem; font-weight: 800;
  background: none;
}
.checklist-item.is-checked .checklist-item__text { color: var(--ink-2) }
.checklist-item__text { font-size: .98rem; line-height: 1.45 }

.checklist-noscript {
  padding: 1rem 1.2rem; border-radius: 1rem;
  background: rgba(232, 145, 90, .12); color: var(--ink-2);
}

/* Result */
.block--result {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .45));
}
.result-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .result-grid {
    grid-template-columns: 1.15fr .85fr;
    align-items: stretch;
    gap: 1.5rem;
  }
}
.checklist-result {
  padding: 1.5rem 1.35rem;
  border-radius: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -30px rgba(14, 22, 33, .3);
}
.checklist-result .kicker { margin-bottom: .55rem }
.checklist-result__title {
  margin: 0 0 .5rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.85rem); letter-spacing: -.02em;
}
.checklist-result__text { margin: 0 0 1rem; color: var(--ink-2) }
.checklist-result__sections {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .65rem;
}
.checklist-result__section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem .85rem;
  padding: .75rem .85rem;
  border-radius: .9rem;
  background: var(--chalk);
  border: 1px solid transparent;
}
.checklist-result__section.is-low { border-color: rgba(196, 92, 58, .3); background: rgba(196, 92, 58, .06) }
.checklist-result__section.is-strong { border-color: rgba(61, 122, 92, .3); background: rgba(61, 122, 92, .06) }
.checklist-result__section-name { font-weight: 700; font-size: .95rem }
.checklist-result__section-pct {
  font-family: var(--display); font-weight: 800; font-size: .95rem; color: var(--ink-2);
}
.checklist-result__section-bar {
  grid-column: 1 / -1; height: 5px;
  border-radius: 999px; background: rgba(14, 22, 33, .08); overflow: hidden;
}
.checklist-result__section-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--warm), var(--blue));
}

/* CTA panel instead of Speaky form */
.cl-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(232, 145, 90, .28), transparent 50%),
    linear-gradient(145deg, #1a2a3a, var(--ink));
  color: #f6f3ee;
  box-shadow: 0 24px 50px -30px rgba(14, 22, 33, .55);
}
.cl-cta .kicker { color: var(--warm-soft) }
.cl-cta h2 {
  margin: 0;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -.03em;
}
.cl-cta > p { margin: 0; color: rgba(246, 243, 238, .75); max-width: 34ch }

.cl-cta__phone {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -.02em; text-decoration: none;
}
.cl-cta__phone:hover { color: var(--warm-soft) }
.cl-cta__links {
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.cl-cta__links a {
  font-weight: 700; font-size: .92rem;
  color: rgba(246, 243, 238, .8);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 145, 90, .45);
}
.cl-cta__links a:hover { color: #fff }

.foot {
  padding: 1.6rem 0 calc(5.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) { .foot { padding-bottom: 2rem } }
.foot__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem;
  font-size: .88rem; font-weight: 600; color: var(--mute);
}
.foot p { margin: 0 }
.foot a { text-decoration: none; font-weight: 700; color: var(--ink-2) }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: .65rem; justify-content: center;
  padding: .75rem clamp(1rem, 4vw, 1.5rem) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(243, 239, 231, .97);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.dock.is-on { transform: none }
.dock .btn { flex: 1; max-width: 240px; min-height: 2.9rem }
@media (min-width: 760px) { .dock { display: none } }

@media (max-width: 560px) {
  .cl-hero__actions { flex-direction: column; align-items: stretch }
  .cl-hero__actions .btn { width: 100% }
}
