@charset "UTF-8";
  html { scroll-behavior: smooth; }
  :root {
    --teal: #5B9488;
    --teal-light: #e8f3f1;
    --dark: #111827;
    --gray-text: #4b5563;
    --border: #e5e5e5;
    --bg-alt: #f7f7f5;
  }
  * { box-sizing: border-box; }
  body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    color: var(--dark);
    line-height: 1.6;
  }
  .wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

  /* ============ HERO (full-width image + text overlay) ============ */
  .hero {
    position: relative;
    aspect-ratio: 16 / 9; /* совпадает с реальным соотношением сторон фото — исключает обрезку по высоте на любом экране */
    max-height: 900px; /* защита от чрезмерной высоты на очень широких мониторах */
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
  }
  /* Затемняющий/осветляющий градиент слева направо — обеспечивает читаемость текста
     поверх фото, не блокируя видимость правой части (ноутбука) */
  /* Градиент-подложка убран на десктопе по результатам тестирования — реальное фото
     уже даёт достаточный контраст слева без дополнительного осветления.
     ::before оставлен пустым "заглушкой" на случай, если понадобится вернуть/настроить позже. */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
  }
  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 560px;
    padding: 64px 24px;
  }
  .hero-logo { width: 56px; margin-bottom: 24px; }
  .hero h1 {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 16px;
  }
  .hero h1 span { color: var(--teal); }
  .hero .subhead {
    font-size: 24px;
    font-weight: 700;
    color: var(--teal);
    margin: 0 0 28px;
  }
  .hero .product-line {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
  }
  .hero .by-line {
    font-size: 18px;
    margin: 0 0 4px;
    color: var(--gray-text);
  }
  .hero .by-line b { color: var(--teal); font-weight: 700; }
  .hero .tagline-small {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-text);
    margin: 0 0 32px;
  }
  .btn-group { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
  .btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid var(--teal);
  }
  .btn-filled { background: var(--teal); color: #fff; }
  .btn-outline { background: transparent; color: var(--teal); }
  .btn-filled:hover { background: #1a5f57; }
  .btn-outline:hover { background: var(--teal-light); }

  .notion-badge {
    margin-top: 20px;
  }
  .notion-badge img {
    height: 104px; /* выше минимума 48px, требуемого правилами Notion */
    width: auto;
    display: block;
  }

  /* На узких экранах фон-фото плохо сочетается с оверлей-текстом (мало места,
     фото сжимается и обрезается) — переключаемся на сплошную светлую подложку,
     чтобы текст остался читаемым */
  @media (max-width: 900px) {
    .hero { aspect-ratio: auto; max-height: none; min-height: auto; }
    .hero::before {
      inset: 0;
      height: auto;
      background: rgba(255,255,255,0.95);
    }
    .hero-content { max-width: 100%; padding: 48px 24px; }
    .hero h1 { font-size: 36px; }
  }

  /* ============ WHO IS THIS FOR ============ */
  .who-section {
    background: var(--bg-alt);
    padding: 64px 0;
    text-align: center;
  }
  .who-section h2 {
    font-size: 32px;
    margin: 0 0 40px;
  }
  .who-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 48px;
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
  }
  .who-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
  }
  .who-item .check {
    color: var(--teal);
    font-size: 20px;
    line-height: 1.4;
    flex-shrink: 0;
  }
  @media (max-width: 700px) {
    .who-grid { grid-template-columns: 1fr; }
  }

  /* ============ STORY CAROUSEL ============ */
  .carousel-section {
    background: #ffffff;
    padding: 64px 0;
  }
  .carousel-section .section-title {
    text-align: center;
    font-size: 28px;
    margin: 0 0 8px;
  }
  .carousel-section .section-sub {
    text-align: center;
    color: var(--gray-text);
    margin: 0 0 40px;
    font-size: 15px;
  }
  .carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
  }
  .carousel-slide {
    flex: 0 0 auto;
    width: 540px;
    scroll-snap-align: start;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-alt);
  }
  .carousel-slide img { width: 100%; display: block; }
  .carousel-slide .slide-label {
    padding: 12px 16px;
    font-weight: 700;
    font-size: 14px;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .carousel-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    display: inline-block;
    cursor: pointer; /* добавлено — точки кликабельны */
  }
  
  .carousel-dots span.active { background: var(--teal); }

  /* ============ EDITIONS PRICING TABLE ============ */
  .pricing-section {
    background: var(--bg-alt);
    padding: 64px 0;
  }
  .pricing-section .section-title {
    text-align: center;
    font-size: 28px;
    margin: 0 0 8px;
  }
  .pricing-section .section-sub {
    text-align: center;
    color: var(--gray-text);
    margin: 0 0 40px;
    font-size: 15px;
  }
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .pricing-card.popular {
    border: 2px solid var(--teal);
  }
  .pricing-card .badge {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
  }
  .pricing-card .edition-name {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
  }
  .pricing-card .edition-layer {
    color: var(--teal);
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 16px;
  }
  .pricing-card .edition-audience {
    font-size: 14px;
    color: var(--gray-text);
    margin: 0 0 20px;
    min-height: 60px;
  }
  .pricing-card .edition-price {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 20px;
  }
  .pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    font-size: 14px;
    flex-grow: 1;
  }
  .pricing-card ul li {
    padding: 6px 0 6px 22px;
    position: relative;
  }
  .pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
  }
  .pricing-card .btn-filled {
    text-align: center;
    display: block;
    margin-bottom: 10px;
  }
  .pricing-card .details-link {
    text-align: center;
    display: block;
    font-size: 14px;
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
  }
  @media (max-width: 1000px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; }
  }

  /* ============ DETAILED EDITION SECTIONS ============ */
  .detail-section {
    background: #ffffff;
    padding: 64px 0;
  }
  .detail-section .section-title {
    text-align: center;
    font-size: 28px;
    margin: 0 0 48px;
  }
  .detail-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start; 
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
  }
  .detail-block:last-child { border-bottom: none; }
.detail-block > p { display: none; }
.detail-block:nth-of-type(even) .detail-copy { order: 2; }
.detail-block:nth-of-type(even) .detail-image { order: 1; }
  .detail-copy .layer-tag {
    color: var(--teal);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 8px;
  }
  .detail-copy h3 {
    font-size: 30px;
    margin: 0 0 16px;
  }
  .detail-copy .detail-desc {
    color: var(--gray-text);
    font-size: 16px;
    margin: 0 0 20px;
  }
  .detail-copy ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
  }
  .detail-copy ul li {
    padding: 8px 0 8px 26px;
    position: relative;
    font-size: 15px;
  }
  .detail-copy ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
  }
  .detail-image img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: block;
  }
  @media (max-width: 800px) {
    .detail-block { grid-template-columns: 1fr; }
    .detail-block:nth-of-type(even) .detail-copy,
    .detail-block:nth-of-type(even) .detail-image { order: initial; }
  }

  /* ============ FULL COMPARISON TABLE ============ */
  .comparison-section {
    background: var(--bg-alt);
    padding: 64px 0;
  }
  .comparison-section .section-title {
    text-align: center;
    font-size: 28px;
    margin: 0 0 40px;
  }
  .comparison-table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
  }
  table.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 640px;
  }
  table.comparison-table th,
  table.comparison-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  table.comparison-table th:first-child,
  table.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
  }
  table.comparison-table thead th {
    background: var(--teal-light);
    color: var(--dark);
    font-weight: 800;
    font-size: 14px;
  }
  table.comparison-table tbody tr:last-child td { border-bottom: none; }
  table.comparison-table .check { color: var(--teal); font-weight: 700; }
  table.comparison-table .dash { color: #c0c0c0; }

  /* ============ FAQ SECTION ============ */
  .faq-section {
    background: #ffffff;
    padding: 64px 0;
  }
  .faq-section .section-title {
    text-align: center;
    font-size: 28px;
    margin: 0 0 40px;
  }
  .faq-list {
    max-width: 820px;
    margin: 0 auto;
  }
  .faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
  }
  .faq-item summary {
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--teal);
    font-size: 22px;
    font-weight: 700;
  }
  .faq-item[open] summary::after { content: "–"; }
  .faq-item p {
    margin: 14px 0 0;
    color: var(--gray-text);
    font-size: 15px;
  }

  /* ============ FINAL CTA SECTION ============ */
  .final-cta-section {
    background: var(--teal-light);
    padding: 72px 0;
    text-align: center;
  }
  .final-cta-section h2 {
    font-size: 32px;
    margin: 0 0 16px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  .final-cta-section p {
    color: var(--gray-text);
    font-size: 16px;
    max-width: 620px;
    margin: 0 auto 32px;
  }
  .final-cta-section .btn-group {
    justify-content: center;
    margin-bottom: 0;
  }
  .trademark-attribution {
    margin: 32px auto 0;
    font-size: 12px;
    color: #9a9a9a;
    max-width: 560px;
    text-align: center;
  }
  .cta-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 36px;
    max-width: 720px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
    text-align: left;
  }
  .cta-features li {
    font-size: 15px;
    font-weight: 600;
    padding-left: 26px;
    position: relative;
  }
  .cta-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
  }
  @media (max-width: 600px) {
    .cta-features { grid-template-columns: 1fr; }
  }
  
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.92);
    /*backdrop-filter: blur(2px);*/
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
}

.lightbox.active {
    display: flex;
    transform: scale(1);
    opacity: 1;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    cursor: zoom-out;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    
    transform: scale(.85);
    opacity: 1;
    transition:
        transform .35s cubic-bezier(.16,1,.3,1),
        opacity .25s ease;
    
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #333;
    font-size: 40px;
    cursor: pointer;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 60px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    padding: 10px 16px;
    transition: color .2s ease;
}



.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox.no-nav .lightbox-prev,
.lightbox.no-nav .lightbox-next {
    display: none; /* standalone image — no navigation between slides */
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--teal);
}

@media (max-width: 600px) {
    .lightbox-prev,
    .lightbox-next { font-size: 40px; padding: 8px 10px; }
}

