:root {
  --red: #c8423b; --red-d: #a8322c; --green: #2f6f55; --gold: #e9a93a; --navy: #1b3454;
  --ink: #2b2a33; --muted: #6f6b78; --bg: #fffaf3; --tint: #f7efe2; --line: #eadfcf;
  /* «Зефирные» буквы: белая обводка + розовая подложка + мягкая тень */
  --mm: 0 .04em 0 #fff, 0 -.04em 0 #fff, .04em 0 0 #fff, -.04em 0 0 #fff, .03em .03em 0 #fff, -.03em -.03em 0 #fff, .03em -.03em 0 #fff, -.03em .03em 0 #fff, 0 .1em 0 #f1c9c4, 0 .16em .25em rgba(200, 66, 59, .25);
  --mm-dark: 0 .07em 0 #f3c6cf, 0 .14em .3em rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Nunito', 'Segoe UI', Arial, sans-serif; font-size: 17px; line-height: 1.55; }
h1, h2, h3 { font-family: 'Nunito', sans-serif; font-weight: 900; line-height: 1.15; margin: 0; letter-spacing: .3px; }
.hero h1:not(.cover-name), .sec .wrap > h2, .doc h1 { color: var(--red); text-shadow: var(--mm); }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; text-decoration: none; font-weight: 800; border-radius: 14px; padding: 14px 26px; transition: background .15s, transform .15s; }
.btn:hover { background: var(--red-d); transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: 15px; border-radius: 12px; }
.btn--lg { padding: 18px 32px; font-size: 19px; }
.btn--block { display: flex; width: 100%; }
.btn--light { background: #fff; color: var(--red); }
.btn--light:hover { background: #ffeede; }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 24px; text-shadow: var(--mm); color: var(--red); text-decoration: none; margin-right: auto; }
.hdr-nav { display: flex; gap: 22px; font-size: 15px; }
.hdr-nav a { text-decoration: none; color: var(--muted); }
.hdr-nav a:hover { color: var(--ink); }

/* Герой */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.badge { display: inline-block; background: #fdeceb; color: var(--red); font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 99px; margin-bottom: 18px; }
.hero h1:not(.cover-name) { font-size: 56px; margin-bottom: 24px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { font-size: 15px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #dff0e5; color: var(--green); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }

.hero-visual { position: relative; height: 520px; }
.hv { position: absolute; }
.hv .page { zoom: .44; box-shadow: 0 30px 60px rgba(27, 52, 84, .28); border-radius: 6mm; }
.hv--front { left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; }
.hv--back1 { left: 2%; top: 60px; transform: rotate(-9deg); z-index: 1; }
.hv--back2 { right: 2%; top: 60px; transform: rotate(9deg); z-index: 2; }

/* Секции */
.sec { padding: 80px 0; }
.sec--tint { background: var(--tint); }
.sec .wrap > h2 { font-size: 44px; margin-bottom: 18px; text-align: center; }
.sub { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.stp { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 6px 24px rgba(80, 60, 30, .06); }
.stp span { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font: 900 24px 'Nunito', sans-serif; align-items: center; justify-content: center; margin-bottom: 16px; }
.stp h3 { font-size: 20px; margin-bottom: 8px; }
.stp p { margin: 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 40px; }
.g-item { margin: 0; text-align: center; }
.g-page { display: flex; justify-content: center; }
.g-page .page { zoom: .2; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.g-item figcaption { margin-top: 10px; font-weight: 700; font-size: 15px; }
.inside-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inside-list div { background: #fff; border-radius: 16px; padding: 18px 20px; color: var(--muted); font-size: 15px; }
.inside-list b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip { background: #fff; border: 2px solid var(--line); border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: 15px; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ex { background: var(--tintc, #fff); border-radius: 20px; padding: 24px; }
.ex.card--kind { --tintc: #fbe3ea; --acc: #c2456d; } .ex.card--craft { --tintc: #fdf0cf; --acc: #b77a10; }
.ex.card--science { --tintc: #dcecfb; --acc: #2e6fae; } .ex.card--books { --tintc: #ebe3fa; --acc: #6a4bb0; }
.ex.card--family { --tintc: #fde4d2; --acc: #c4592c; } .ex.card--active { --tintc: #daf1e1; --acc: #2f7d4f; }
.ex-who { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.ex h3 { font-size: 20px; color: var(--acc); margin-bottom: 8px; }
.ex p { margin: 0; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.why div { background: #fff; border-radius: 20px; padding: 24px; }
.why span { font-size: 34px; }
.why h3 { font-size: 18px; margin: 10px 0 6px; }
.why p { margin: 0; color: var(--muted); font-size: 15px; }

.price-card { max-width: 460px; margin: 36px auto 0; background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 16px 50px rgba(80, 60, 30, .1); border: 3px solid var(--gold); }
.price-head { text-align: center; margin-bottom: 24px; }
.price-title { font-weight: 800; font-size: 19px; }
.price-val { font: 900 64px 'Nunito', sans-serif; color: var(--red); margin: 6px 0; text-shadow: var(--mm); }
.price-sub { color: var(--muted); font-size: 15px; }
.price-card .ticks { margin-bottom: 26px; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }

.faq { max-width: 780px; }
.faq h2 { margin-bottom: 30px; }
.faq details { background: #fff; border-radius: 16px; padding: 18px 22px; margin-bottom: 10px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 24px; color: var(--red); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.final { background: radial-gradient(circle at 50% 0%, #2d5b8a, var(--navy)); color: #fff; text-align: center; padding: 80px 0; }
.final h2 { font-size: 42px; margin-bottom: 30px; text-shadow: var(--mm-dark); }

.ftr { padding: 30px 0; font-size: 14px; color: var(--muted); }
.ftr-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero h1:not(.cover-name) { font-size: 44px; }
  .hero-visual { height: 420px; }
  .hv .page { zoom: .34; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .inside-list, .why { grid-template-columns: 1fr 1fr; }
  .steps, .examples { grid-template-columns: 1fr; }
  .hdr-nav { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 32px; }
  .hero h1:not(.cover-name) { font-size: 36px; }
  .lead { font-size: 18px; }
  .hero-visual { height: 330px; }
  .hv .page { zoom: .26; }
  .sec { padding: 56px 0; }
  .sec .wrap > h2 { font-size: 32px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-page .page { zoom: .19; }
  .inside-list, .why { grid-template-columns: 1fr; }
  .logo { font-size: 19px; }
}
