:root {
      --cream: #FDF6F0;
      --cream-2: #F5EDE4;
      --kirmizi: #C0392B;
      /* османский красный — главный акцент */
      --kirmizi-deep: #922B21;
      --turkuaz: #1A7A6D;
      /* бирюзовый — вторичный акцент, çini */
      --turkuaz-light: #E8F5F3;
      --altin: #D4A843;
      /* турецкое золото */
      --kahve: #6B4226;
      /* кофейный — для текста-акцента */
      --tinta: #2C1810;
      /* тёплый тёмно-коричневый — основной текст */
      --muted: #7A6B60;
      --white: #FFFCF8;
      --line: rgba(192, 57, 43, .12);
      --shadow: 0 18px 50px -28px rgba(44, 24, 16, .45);
      --maxw: 1140px;
      --serif: "Lora", Georgia, serif;
      --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
      --mono: "IBM Plex Mono", ui-monospace, monospace;
    }

    * {
      box-sizing: border-box
    }

    html {
      scroll-behavior: smooth
    }

    body {
      margin: 0;
      background: var(--cream);
      color: var(--tinta);
      font-family: var(--sans);
      font-size: 17px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit
    }

    h1,
    h2,
    h3 {
      font-family: var(--serif);
      font-weight: 600;
      line-height: 1.08;
      margin: 0
    }

    .wrap {
      max-width: var(--maxw);
      margin: 0 auto;
      padding: 0 24px
    }

    .eyebrow {
      font-family: var(--mono);
      font-size: 12px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--turkuaz);
      display: inline-flex;
      gap: .5em;
      align-items: baseline;
      margin-bottom: 18px;
    }

    .eyebrow b {
      color: var(--kirmizi)
    }

    .eyebrow span {
      color: var(--muted);
      text-transform: none;
      letter-spacing: 0;
      font-family: var(--sans)
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: .5em;
      font-family: var(--sans);
      font-weight: 600;
      font-size: 16px;
      padding: 14px 24px;
      border-radius: 2px;
      border: 1.5px solid var(--kirmizi);
      background: var(--kirmizi);
      color: #fff;
      text-decoration: none;
      cursor: pointer;
      transition: .18s ease;
    }

    .btn:hover {
      background: var(--kirmizi-deep);
      border-color: var(--kirmizi-deep);
      transform: translateY(-1px)
    }

    .btn.ghost {
      background: transparent;
      color: var(--kirmizi)
    }

    .btn.ghost:hover {
      background: rgba(192, 57, 43, .06);
      transform: none
    }

    /* ── çini-плитка: турецкий геометрический узор ── */
    .cini {
      background-color: var(--turkuaz);
      background-image:
        radial-gradient(circle at 0 0, transparent 67%, rgba(255, 255, 255, .18) 68% 72%, transparent 73%),
        radial-gradient(circle at 100% 0, transparent 67%, rgba(255, 255, 255, .18) 68% 72%, transparent 73%),
        radial-gradient(circle at 0 100%, transparent 67%, rgba(255, 255, 255, .18) 68% 72%, transparent 73%),
        radial-gradient(circle at 100% 100%, transparent 67%, rgba(255, 255, 255, .18) 68% 72%, transparent 73%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .24) 0 9%, transparent 10% 30%, rgba(255, 255, 255, .15) 31% 34%, transparent 35%);
      background-size: 54px 54px;
    }

    /* ── шапка ── */
    header.nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(253, 246, 240, .88);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--line)
    }

    .nav-in {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px
    }

    .brand {
      font-family: var(--serif);
      font-weight: 700;
      font-size: 21px;
      letter-spacing: -.01em;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 10px
    }

    .brand .dot {
      width: 12px;
      height: 22px;
      border-radius: 2px;
      background: var(--kirmizi);
      position: relative
    }

    .brand .dot::after {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--altin);
      clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%)
    }

    .nav-links {
      display: flex;
      gap: 28px;
      align-items: center
    }

    .nav-links a {
      font-size: 15px;
      text-decoration: none;
      color: var(--muted);
      transition: .15s
    }

    .nav-links a:hover {
      color: var(--kirmizi)
    }

    .nav-cta {
      padding: 9px 18px;
      font-size: 15px
    }

    @media(max-width:780px) {
      .nav-links a:not(.nav-cta) {
        display: none
      }

      a.nav-cta {
        font-size: 10pt;
        padding: 7px 12px;
        color: #fff
      }
    }

    /* ── hero ── */
    .hero {
      padding: 72px 0 40px
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 56px;
      align-items: center
    }

    .hero h1 {
      font-size: clamp(38px, 5.4vw, 62px);
      letter-spacing: -.015em
    }

    .hero h1 em {
      font-style: italic;
      color: var(--turkuaz)
    }

    .hero .lead {
      font-size: 20px;
      margin: 24px 0 14px;
      max-width: 34ch
    }

    .hero .id-line {
      font-family: var(--mono);
      font-size: 13.5px;
      color: var(--tinta);
      background: var(--cream-2);
      border-left: 3px solid var(--altin);
      padding: 10px 14px;
      margin: 22px 0 30px;
      border-radius: 0 3px 3px 0
    }

    .hero-cta {
      display: flex;
      gap: 14px;
      flex-wrap: wrap
    }

    /* демо-карточка на плитке */
    .demo {
      border-radius: 6px;
      padding: 22px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden
    }

    .chat {
      background: var(--white);
      border-radius: 6px;
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 10px
    }

    .bub {
      max-width: 85%;
      padding: 10px 14px;
      border-radius: 14px;
      font-size: 15px;
      line-height: 1.45
    }

    .bub.u {
      align-self: flex-end;
      background: var(--kirmizi);
      color: #fff;
      border-bottom-right-radius: 4px
    }

    .bub.b {
      align-self: flex-start;
      background: var(--cream-2);
      color: var(--tinta);
      border-bottom-left-radius: 4px
    }

    .bub .tr {
      display: block;
      color: var(--muted);
      font-size: 13px;
      margin-top: 3px
    }

    .bub.b.audio {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: var(--mono);
      font-size: 13px;
      color: var(--turkuaz)
    }

    .wave {
      display: flex;
      gap: 3px;
      align-items: center
    }

    .wave i {
      width: 3px;
      height: 14px;
      background: var(--turkuaz);
      border-radius: 2px;
      display: block
    }

    .wave i:nth-child(2) {
      height: 22px
    }

    .wave i:nth-child(3) {
      height: 9px
    }

    .wave i:nth-child(4) {
      height: 18px
    }

    .wave i:nth-child(5) {
      height: 12px
    }

    /* ── контраст: турецкие слова (сигнатурная полоса) ── */
    .contrast {
      background: var(--kirmizi);
      color: #fff;
      padding: 30px 0
    }

    .contrast .wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 38px;
      align-items: center;
      justify-content: space-between
    }

    .contrast .tag {
      font-family: var(--mono);
      font-size: 12px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .6)
    }

    .pairs {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 26px
    }

    .pair {
      display: flex;
      flex-direction: column
    }

    .pair b {
      font-family: var(--serif);
      font-size: 19px;
      color: #fff
    }

    .pair s {
      color: rgba(255, 255, 255, .68);
      font-size: 13px;
      text-decoration: none
    }

    /* ── секции ── */
    section {
      padding: 74px 0
    }

    .sec-head {
      max-width: 60ch;
      margin-bottom: 40px
    }

    .sec-head h2 {
      font-size: clamp(28px, 3.6vw, 40px);
      letter-spacing: -.01em
    }

    .sec-head p {
      color: var(--muted);
      font-size: 18px;
      margin: 14px 0 0
    }

    .features {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line)
    }

    .feat {
      background: var(--cream);
      padding: 30px 26px
    }

    .feat .n {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--turkuaz);
      letter-spacing: .1em
    }

    .feat h3 {
      font-size: 21px;
      margin: 14px 0 8px
    }

    .feat p {
      color: var(--muted);
      font-size: 15.5px;
      margin: 0
    }

    @media(max-width:860px) {
      .features {
        grid-template-columns: 1fr 1fr
      }
    }

    @media(max-width:560px) {
      .features {
        grid-template-columns: 1fr
      }
    }

    /* программа */
    .prog {
      background: var(--cream-2)
    }

    .courses {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px
    }

    .course {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 30px;
      box-shadow: var(--shadow)
    }

    .course .lvl {
      display: inline-block;
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .1em;
      color: #fff;
      background: var(--kirmizi);
      padding: 4px 10px;
      border-radius: 2px;
      margin-bottom: 14px
    }

    .course h3 {
      font-size: 25px;
      margin-bottom: 4px
    }

    .course .sub {
      color: var(--muted);
      font-size: 15px;
      margin-bottom: 18px
    }

    .mods {
      list-style: none;
      padding: 0;
      margin: 0;
      columns: 1
    }

    .mods li {
      padding: 7px 0;
      border-top: 1px solid var(--line);
      font-size: 15px;
      display: flex;
      gap: 10px
    }

    .mods li b {
      color: var(--kirmizi);
      font-family: var(--mono);
      font-size: 12px;
      min-width: 74px;
      padding-top: 2px
    }

    @media(max-width:760px) {
      .courses {
        grid-template-columns: 1fr
      }
    }

    /* как работает */
    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px
    }

    .step .num {
      font-family: var(--serif);
      font-size: 46px;
      color: var(--kirmizi);
      line-height: 1
    }

    .step h3 {
      font-size: 20px;
      margin: 12px 0 8px
    }

    .step p {
      color: var(--muted);
      font-size: 15.5px;
      margin: 0
    }

    @media(max-width:760px) {
      .steps {
        grid-template-columns: 1fr;
        gap: 22px
      }
    }

    /* цены */
    .pricing {
      background: var(--kirmizi);
      color: #fff
    }

    .pricing .sec-head h2 {
      color: #fff
    }

    .pricing .sec-head p {
      color: rgba(255, 255, 255, .7)
    }

    .plans {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px
    }

    .plan {
      background: var(--kirmizi-deep);
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: 6px;
      padding: 32px
    }

    .plan.hl {
      background: #fff;
      color: var(--tinta);
      border-color: var(--altin)
    }

    .plan .name {
      font-family: var(--mono);
      font-size: 13px;
      letter-spacing: .1em;
      text-transform: uppercase;
      opacity: .8
    }

    .plan .price {
      font-family: var(--serif);
      font-size: 40px;
      margin: 10px 0 4px
    }

    .plan .price small {
      font-size: 16px;
      font-family: var(--sans);
      opacity: .7
    }

    .plan ul {
      list-style: none;
      padding: 0;
      margin: 18px 0 24px
    }

    .plan li {
      padding: 8px 0;
      font-size: 15.5px;
      border-top: 1px solid rgba(255, 255, 255, .12);
      display: flex;
      gap: 10px
    }

    .plan.hl li {
      border-top-color: var(--line)
    }

    .plan li::before {
      content: "—";
      color: var(--altin)
    }

    .plan.hl li::before {
      color: var(--turkuaz)
    }

    .plan .btn {
      width: 100%;
      justify-content: center
    }

    .plan:not(.hl) .btn {
      background: #fff;
      color: var(--kirmizi);
      border-color: #fff
    }

    @media(max-width:680px) {
      .plans {
        grid-template-columns: 1fr
      }
    }

    /* faq */
    .faq details {
      border-top: 1px solid var(--line);
      padding: 18px 0
    }

    .faq details[open] summary {
      color: var(--kirmizi)
    }

    .faq summary {
      cursor: pointer;
      font-family: var(--serif);
      font-size: 20px;
      list-style: none;
      display: flex;
      justify-content: space-between;
      gap: 16px
    }

    .faq summary::-webkit-details-marker {
      display: none
    }

    .faq summary::after {
      content: "+";
      color: var(--turkuaz);
      font-family: var(--sans)
    }

    .faq details[open] summary::after {
      content: "–"
    }

    .faq p {
      color: var(--muted);
      margin: 14px 0 0;
      font-size: 16px
    }

    /* подвал */
    footer {
      background: var(--tinta);
      color: rgba(255, 255, 255, .72);
      font-size: 14.5px;
      padding: 54px 0 36px
    }

    footer .cols {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 34px
    }

    footer h4 {
      font-family: var(--mono);
      font-size: 12px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: #fff;
      margin: 0 0 14px
    }

    footer a {
      color: rgba(255, 255, 255, .72);
      text-decoration: none
    }

    footer a:hover {
      color: #fff;
      text-decoration: underline
    }

    footer ul {
      list-style: none;
      padding: 0;
      margin: 0
    }

    footer li {
      padding: 5px 0
    }

    .legal {
      border-top: 1px solid rgba(255, 255, 255, .14);
      padding-top: 22px;
      font-size: 13px;
      color: rgba(255, 255, 255, .5);
      line-height: 1.7
    }

    @media(max-width:760px) {
      footer .cols {
        grid-template-columns: 1fr
      }
    }

    /* анимация появления */
    .js .reveal {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity .6s ease, transform .6s ease
    }

    .reveal.in {
      opacity: 1;
      transform: none
    }

    @media(prefers-reduced-motion:reduce) {
      .js .reveal {
        opacity: 1;
        transform: none;
        transition: none
      }

      html {
        scroll-behavior: auto
      }
    }

    :focus-visible {
      outline: 2px solid var(--altin);
      outline-offset: 2px
    }

    /* ── декоративные картинки ── */
    .deco {
      position: absolute;
      pointer-events: none;
      z-index: 0;
      border-radius: 6px;
      box-shadow: var(--shadow);
      overflow: hidden;
      opacity: .92;
    }

    .deco img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover
    }

    .hero {
      position: relative;
      overflow: hidden;
      background-image: url("hero.jpg");
      background-size: cover;
      background-position: center;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(253, 246, 240, .92) 0%, rgba(253, 246, 240, .78) 100%);
    }

    .hero .deco-l {
      left: -40px;
      top: 60px;
      width: 250px;
      height: 500px;
      transform: rotate(-3deg);
    }

    .hero .deco-r {
      right: 0;
      bottom: -10px;
      width: 300px;
      height: 300px;
      transform: rotate(4deg);
    }

    .hero .wrap {
      position: relative;
      z-index: 1
    }

    .prog {
      position: relative;
      overflow: hidden
    }

    .prog .deco-r {
      right: -30px;
      top: 80px;
      width: 180px;
      height: 180px;
      transform: rotate(-2deg);
    }

    .prog .wrap {
      position: relative;
      z-index: 1
    }

    .pricing {
      position: relative;
      overflow: hidden
    }

    .pricing .deco-l {
      left: -10px;
      top: 120px;
      width: 200px;
      height: 460px;
      transform: rotate(2deg);
      opacity: .85;
    }

    .pricing .wrap {
      position: relative;
      z-index: 1
    }

    @media(max-width:1100px) {
      .hero .deco-l {
        left: -20px;
        width: 130px;
        height: 320px
      }

      .hero .deco-r {
        width: 150px;
        height: 150px
      }

      .prog .deco-r {
        width: 130px;
        height: 130px;
        right: -10px
      }

      .pricing .deco-l {
        left: -20px;
        width: 80px;
        height: 340px
      }
    }

    @media(max-width:820px) {
      .deco {
        display: none
      }
    }

    /* ── адаптив ── */
    @media(max-width:860px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px
      }

      .hero {
        padding: 48px 0 32px
      }

      .hero .lead {
        font-size: 18px;
        max-width: none
      }

      section {
        padding: 48px 0
      }

      .sec-head {
        margin-bottom: 28px
      }

      .sec-head h2 {
        font-size: clamp(24px, 5vw, 32px)
      }

      .sec-head p {
        font-size: 16px
      }

      .wrap {
        padding: 0 16px
      }
    }

    @media(max-width:560px) {
      .hero h1 {
        font-size: 30px
      }

      .hero .lead {
        font-size: 16px
      }

      .id-line {
        font-size: 12px;
        padding: 8px 12px
      }

      .btn {
        padding: 12px 20px;
        font-size: 15px
      }

      .hero-cta {
        flex-direction: column;
        gap: 10px
      }

      .hero-cta .btn {
        width: 100%;
        justify-content: center
      }

      section {
        padding: 36px 0
      }

      .feat {
        padding: 20px 18px
      }

      .feat h3 {
        font-size: 19px
      }

      .course {
        padding: 22px
      }

      .course h3 {
        font-size: 22px
      }

      .plan {
        padding: 24px
      }

      .plan .price {
        font-size: 32px
      }

      .plan li {
        font-size: 14.5px
      }

      .faq summary {
        font-size: 17px
      }

      .faq p {
        font-size: 15px
      }

      footer {
        padding: 36px 0 24px
      }

      footer .cols {
        gap: 24px
      }

      .nav-in {
        height: 54px
      }

      .brand {
        font-size: 18px
      }
    }
  