:root {
  --peach: #F2C4AC;
  --peach-dark: #C98468;
  --ink: #2E2622;
  --cream: #FAF3EC;
  --white: #fff;
  --muted: #7a6b63;
  --line: #eadfd5;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(46, 38, 34, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
em { font-family: 'EB Garamond', serif; font-style: italic; font-weight: 500; color: var(--peach-dark); }
.section--dark em { color: var(--peach); }
.section--dark .sub { color: rgba(250, 243, 236, .7); }
.about__photo { display: block; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; border: 4px solid var(--peach); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.about { color: rgba(250, 243, 236, .75); font-size: 1.05rem; max-width: 620px; margin: 18px auto 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; }

h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 16px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h1 em, h2 em { font-size: 1.12em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.1rem; }
.h3 { font-size: 1.25rem; }
.sub { font-size: 1.1rem; color: var(--muted); margin: -4px 0 32px; max-width: 640px; }
.big { font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.4; margin: 32px 0 0; }

/* buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 14px 26px; font: 600 1rem 'Inter', sans-serif;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--small { padding: 9px 18px; font-size: .9rem; }
.btn--wide { width: 100%; padding: 16px; font-size: 1.05rem; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(250, 243, 236, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 700; text-decoration: none; font-size: 1.15rem; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.langs { display: flex; gap: 2px; background: #efe4da; border-radius: 999px; padding: 3px; }
.langs a { text-decoration: none; font-size: .8rem; font-weight: 600; padding: 5px 9px; border-radius: 999px; color: var(--muted); }
.langs a.on { background: var(--white); color: var(--ink); }

/* hero */
.hero { padding: 64px 0 80px; }
.hero { padding: 96px 0 104px; text-align: center; }
.hero__solo { max-width: 1040px; }
/* заголовок: на компьютере и планшете — 2 строки (первая длиннее), размер подстраивается под ширину */
.hero h1 { font-size: clamp(1.7rem, calc((100vw - 48px) / 18.5), 3.4rem); }
@media (max-width: 560px) {
  .br-wide { display: none; }
  .hero h1 { font-size: clamp(1.6rem, calc((100vw - 32px) / 10.5), 2.4rem); }
  .hero h1 .l { display: block; }
}
.hero .lead { margin: 0 auto; max-width: 660px; }
.hero__cta, .hero__facts { justify-content: center; }
.hero__facts { gap: 48px; }
.eyebrow { font-size: .95rem; color: var(--muted); margin: 0 0 18px; }
.lead { font-size: 1.15rem; color: #4a3e38; max-width: 560px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 32px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.hero__facts b { display: block; color: var(--ink); font-size: 1.1rem; }

/* notion mockup */
.notion { background: var(--white); border-radius: 20px; box-shadow: 0 24px 60px rgba(46, 38, 34, .14); overflow: hidden; transform: rotate(1deg); }
.notion__bar { display: flex; gap: 7px; padding: 14px 16px; background: #f4eee8; }
.notion__bar span { width: 11px; height: 11px; border-radius: 50%; background: #e2d6cc; }
.notion__page { padding: 22px 28px 30px; font-size: .95rem; }
.notion__emoji { font-size: 2.2rem; margin: 0; }
.notion__title { font-size: 1.7rem; font-weight: 700; margin: 4px 0 2px; }
.notion__meta { color: var(--muted); font-size: .85rem; margin: 0 0 18px; }
.hint { color: var(--peach-dark); }
.tg { margin: 6px 0; }
.tg > summary { cursor: pointer; list-style: none; font-weight: 600; padding: 7px 10px; border-radius: 8px; }
.tg > summary::-webkit-details-marker { display: none; }
.tg > summary::before { content: '▸'; display: inline-block; width: 18px; transition: transform .15s; color: var(--muted); }
.tg[open] > summary::before { transform: rotate(90deg); }
.tg--peach > summary { background: #fbe6da; }
.tg--sage > summary { background: #e4eedf; }
.tg--blue > summary { background: #e0e9f3; }
.tg__body { padding: 6px 0 4px 28px; }
.tg__body p { margin: 6px 0; }
.tg--answer > summary { font-weight: 500; background: none; padding: 4px 0; }
.tg__ans { padding-left: 18px; color: #3f6b3a; }
.word a { text-decoration: none; margin-left: 4px; }

/* sections */
.section { padding: 88px 0; }
.section--soft { background: #f5ebe2; }
.section--dark { background: var(--ink); color: var(--cream); }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.pain { border: 1px solid rgba(250, 243, 236, .18); border-radius: var(--radius); padding: 22px; font-size: 1.02rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card__ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fbe6da; margin-bottom: 14px; font-size: 1.2rem; }
.card p { margin: 0; color: #5a4c45; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: 'EB Garamond', serif; font-style: italic; font-size: 1.6rem; color: var(--peach-dark); line-height: 1; }
.steps span { color: var(--muted); font-size: .95rem; }

.demos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.demo { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .15s; }
.demo:hover { transform: translateY(-4px); }
.demo__lvl { font-size: .8rem; color: var(--peach-dark); font-weight: 600; }
.demo b { font-size: 1.2rem; }
.demo span:not(.demo__lvl) { color: var(--muted); }
.demo i { font-style: normal; font-weight: 600; margin-top: 10px; }

/* «урок изнутри» */
.live__langs { display: inline-flex; gap: 4px; background: rgba(250, 243, 236, .1); border-radius: 999px; padding: 4px; margin-top: 6px; }
.live__lang { border: 0; background: none; color: rgba(250, 243, 236, .7); cursor: pointer; font: 600 .95rem 'Inter', sans-serif; padding: 9px 18px; border-radius: 999px; }
.live__lang.on { background: var(--cream); color: var(--ink); }
.live__lang:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }
.live__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.live__tab { border: 1.5px solid rgba(250, 243, 236, .25); background: none; color: var(--cream); cursor: pointer; font: 600 .95rem 'Inter', sans-serif; padding: 10px 18px; border-radius: 999px; transition: .15s; }
.live__tab.on { background: var(--peach); border-color: var(--peach); color: var(--ink); }
.live__tab:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }
.live__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.live__screen { position: relative; height: 560px; overflow-y: auto; background: var(--white); color: #37352f; border-radius: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); scrollbar-width: thin; }
.live__cover { display: block; width: 100%; height: 130px; object-fit: cover; }
.live__body { padding: 0 34px 60px; font-size: .95rem; line-height: 1.5; }
.live__emoji { font-size: 2.6rem; margin-top: -30px; line-height: 1; position: relative; }
.live__title { font-size: 1.75rem; font-weight: 700; margin: 10px 0 2px; color: #37352f; }
.live__meta { color: #9b9a97; font-size: .85rem; margin-bottom: 16px; }
.live__body p { margin: 6px 0; }
.live__body a { color: #37352f; text-decoration: underline; text-decoration-color: rgba(55, 53, 47, .35); }
.live__body img { display: block; max-width: 100%; border-radius: 6px; margin: 8px 0; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cols2 figure { margin: 0; }
.cols2 img { aspect-ratio: 1; object-fit: cover; width: 100%; margin: 0; }
.cols2 figcaption { font-size: .8rem; color: #9b9a97; text-align: center; }
.vid { display: flex; align-items: center; gap: 12px; background: #191919; color: #eee; border-radius: 8px; padding: 22px 18px; margin: 8px 0; font-size: .9rem; }
.vid__play { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e33; color: #fff; font-size: .9rem; flex: none; }

.live .tg { margin: 3px 0; }
.live .tg__sum { display: flex; gap: 6px; width: 100%; text-align: left; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; padding: 4px 6px; border-radius: 5px; }
.live .tg__sum::before { content: '▸'; flex: none; width: 16px; color: #9b9a97; transition: transform .25s; }
.live .tg.open > .tg__sum::before { transform: rotate(90deg); }
.live .tg__sum:hover { background: rgba(55, 53, 47, .06); }
.live .tg--h2 > .tg__sum { font-size: 1.2rem; font-weight: 700; padding: 6px 8px; }
.live .tg--h3 > .tg__sum { font-size: 1.05rem; font-weight: 600; }
.live .tg--pink > .tg__sum { background: #f9e7ef; }
.live .tg--orange > .tg__sum { background: #fbecdd; }
.live .tg--yellow > .tg__sum { background: #fbf3db; }
.live .tg--green > .tg__sum { background: #edf3ec; }
.live .tg__wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.live .tg.open > .tg__wrap { grid-template-rows: 1fr; }
.live .tg__in { overflow: hidden; padding-left: 24px; }
.live .tg.open > .tg__wrap > .tg__in { padding-top: 4px; padding-bottom: 6px; }
.live .tg--ans .tg__in p:first-child { animation: none; }
.live .tg--ans.open > .tg__wrap > .tg__in { animation: pop .5s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.live__cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(201, 132, 104, .55); border: 2px solid var(--peach-dark); opacity: 0; transition: transform .6s cubic-bezier(.4, 0, .2, 1), opacity .3s; pointer-events: none; z-index: 2; }
.live__cursor.show { opacity: 1; }
.live__cursor.tap { animation: tap .45s ease; }
@keyframes tap { 50% { box-shadow: 0 0 0 12px rgba(242, 196, 172, .45); } }

.live__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.live__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1.5px solid rgba(250, 243, 236, .14); color: rgba(250, 243, 236, .6); transition: .3s; }
.live__steps li span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(250, 243, 236, .08); font-size: 1.2rem; }
.live__steps li b { display: block; color: var(--cream); font-weight: 600; }
.live__steps li { cursor: pointer; }
.live__steps li:hover { border-color: rgba(242, 196, 172, .6); color: var(--cream); }
.live__steps li:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }
.live__steps li.on { border-color: var(--peach); background: rgba(242, 196, 172, .1); color: var(--cream); transform: translateX(6px); }
.live__steps li.on span { background: var(--peach); }
.live__replay { margin-top: 16px; background: none; border: 0; color: var(--peach); font: 600 .95rem 'Inter', sans-serif; cursor: pointer; padding: 6px 0; }
.live__hint { color: rgba(250, 243, 236, .55); font-size: .88rem; margin: 14px 0 0; }

/* обложки в карточках демо */
.demo__img { display: block; width: calc(100% + 52px); margin: -26px -26px 14px; height: 140px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }

.tabs { display: inline-flex; gap: 4px; background: #efe4da; border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.tab { border: 0; background: none; cursor: pointer; font: 600 .95rem 'Inter', sans-serif; color: var(--muted); padding: 10px 18px; border-radius: 999px; }
.tab.on { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(46, 38, 34, .08); }
.tab:focus-visible { outline: 2px solid var(--peach-dark); outline-offset: 2px; }
.tabpanel[hidden] { display: none; }
.demo--soon { background: none; border: 1.5px dashed var(--line); box-shadow: none; justify-content: center; }
.demo--soon:hover { transform: none; }
.ideas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.idea { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .15s, border-color .15s; }
.idea:hover { transform: translateY(-3px); border-color: var(--peach); }
.idea__ic { font-size: 1.6rem; }
.idea b { font-size: 1.02rem; line-height: 1.3; }
.idea__meta { font-size: .82rem; color: var(--peach-dark); font-weight: 600; }
#ideas + #prices { padding-top: 24px; }
.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { background: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 500; }
.chip--line { background: none; border: 1.5px solid var(--ink); }
.list { padding-left: 20px; }
.list li { margin: 8px 0; }
.done { list-style: none; padding: 0; margin: 0; columns: 1; }
.done li { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.done li::before { content: '✓'; color: var(--peach-dark); margin-right: 10px; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; margin-bottom: 20px; }
.price { position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 24px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price h3 { margin-bottom: 8px; }
.price__sum { font-size: 2rem; font-weight: 700; margin: 0; }
.price__sum s { font-size: 1rem; color: var(--muted); font-weight: 400; margin-left: 6px; }
.price__note { color: var(--muted); margin: 6px 0 22px; flex: 1; }
.price .btn { text-align: center; }
.price__tag { position: absolute; top: -12px; left: 24px; margin: 0; background: var(--peach); border-radius: 999px; padding: 3px 12px; font-size: .8rem; font-weight: 600; }
.price--best { background: var(--ink); color: var(--cream); }
.price--best .price__note, .price--best s { color: #cbbdb4; }
.price--best .btn { background: var(--peach); border-color: var(--peach); color: var(--ink); }
.price--trial { outline: 2px solid var(--peach); }

.how { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.how li span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--peach); font-weight: 700; margin-bottom: 12px; }
.how b { display: block; font-size: 1.1rem; }
.how p { margin: 4px 0 0; color: var(--muted); }

/* form */
.form { background: var(--white); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 22px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend, .field { font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.field { display: grid; gap: 8px; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500; transition: .15s; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.seg input:focus-visible + span { outline: 2px solid var(--peach-dark); outline-offset: 2px; }
textarea, input[type=text] { width: 100%; font: 400 1rem 'Inter', sans-serif; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); resize: vertical; }
textarea:focus, input[type=text]:focus { outline: none; border-color: var(--peach-dark); }
.hp { position: absolute; left: -9999px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.form__msg { margin: 0; min-height: 1.4em; font-weight: 500; }
.form__msg.ok { color: #3f6b3a; }
.form__msg.err { color: #b0442c; }

.paybox { background: #fbe6da; border-radius: 16px; padding: 20px; display: grid; gap: 12px; }
.paybox[hidden] { display: none; }
.paybox p { margin: 0; font-weight: 500; }
.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--peach-dark); font-size: 1.4rem; line-height: 1; }
.faq[open] summary::after { content: '–'; }
.faq p { margin: 0 0 16px; color: #5a4c45; }

.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }

/* юридические страницы */
.legal { padding-top: 48px; padding-bottom: 80px; }
.legal section { scroll-margin-top: 80px; }
.legal h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 24px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal p { margin: 0 0 10px; color: #4a3e38; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0 24px; }
.legal a { color: var(--peach-dark); }
.check a { color: var(--ink); }

/* phones & tablets */
@media (max-width: 960px) {
  .two { grid-template-columns: 1fr; gap: 40px; }
  .live__grid { grid-template-columns: 1fr; gap: 20px; }
  .live__steps { grid-template-columns: 1fr 1fr; gap: 8px; }
  .live__steps li { grid-template-columns: 34px 1fr; padding: 10px; gap: 10px; font-size: .85rem; }
  .live__steps li span { width: 34px; height: 34px; font-size: 1rem; }
  .live__steps li.on { transform: none; }
  .cards, .demos, .ideas { grid-template-columns: 1fr 1fr; }
  .prices, .how { grid-template-columns: 1fr 1fr; }
  .prices { row-gap: 26px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .langs { margin-left: auto; }
  .topbar__in { gap: 10px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero__facts { gap: 20px; }
  .pains, .cards, .demos, .steps, .prices, .how { grid-template-columns: 1fr; }
  .notion__page { padding: 18px 18px 24px; }
  .form { padding: 22px 18px; }
  .live__screen { height: 470px; }
  .live .tg__in { padding-left: 10px; }
  .live__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .live__tab { white-space: nowrap; flex: none; }
  .live__body { padding: 0 18px 50px; }
  .live__steps li { grid-template-columns: 1fr; text-align: left; }
  .live__steps li span { display: none; }
}
