html { scroll-behavior: smooth; }
    section[id] { scroll-margin-top: calc(var(--header-h, 64px) + 8px); }
    body { background: #f5f5fa; }
    .toc-nav::-webkit-scrollbar { display: none; }
    .toc-nav { -ms-overflow-style: none; scrollbar-width: none; }
    .toc-link {
      display: block;
      padding: 0.35rem 0.6rem;
      font-size: 0.75rem;
      color: #7a7592;
      border-radius: 0.5rem;
      transition: all 0.2s;
    }
    .toc-link:hover { color: #4D2899; background: rgba(77,40,153,0.1); }
    .toc-link.toc-active { color: #4D2899; background: rgba(77,40,153,0.12); font-weight: 600; }
    .back-to-top {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      z-index: 50;
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #4D2899;
      color: #fff;
      box-shadow: 0 4px 16px rgba(77,40,153,0.25);
      transition: opacity 0.25s, transform 0.2s;
      opacity: 0;
      pointer-events: none;
    }
    .back-to-top.visible { opacity: 1; pointer-events: auto; }
    .back-to-top:hover { transform: translateY(-3px); }
    .fixed-download-btn {
      position: fixed;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: 45;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      padding: 0.75rem 0.5rem;
      background: #fff;
      color: #2d2b3d;
      border: 1px solid #e0dce8;
      border-right: none;
      border-radius: 0.5rem 0 0 0.5rem;
      font-size: 0.625rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      min-width: 2.75rem;
      text-align: center;
      box-shadow: -2px 0 12px rgba(45,43,61,0.06);
      transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    }
    .fixed-download-btn i { font-size: 1rem; color: #4D2899; }
    .fixed-download-btn:hover {
      background: #4D2899;
      color: #fff;
      box-shadow: -2px 0 16px rgba(77,40,153,0.2);
    }
    .fixed-download-btn:hover i { color: #fff; }
    @media (max-width: 640px) {
      .fixed-download-btn { padding: 0.65rem 0.4rem; min-width: 2.5rem; }
      .fixed-download-btn span { display: none; }
    }
    details summary::-webkit-details-marker { display: none; }
    .bento { background: #fff; border: 1px solid #e0dce8; border-radius: 1rem; box-shadow: 0 1px 3px rgba(45,43,61,0.04); }
    .bento-accent { border-color: rgba(77,40,153,0.35); }
    .link-neon { color: #4D2899; }
    .link-neon:hover { color: #381D6F; text-decoration: underline; }
    .hero-bg-shape {
      position: absolute;
      width: 60%;
      height: 120%;
      right: -15%;
      top: -10%;
      background: linear-gradient(135deg, rgba(77,40,153,0.12) 0%, rgba(77,40,153,0.04) 50%, transparent 100%);
      border-radius: 40% 20% 60% 30%;
      pointer-events: none;
    }
    .hero-accent-line {
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(180deg, #4D2899, transparent 70%);
      border-radius: 4px 0 0 4px;
    }
    .hero-headline-word { display: inline; }
    .hero-headline-word:not(:last-child)::after { content: " "; }
    .hero-professional {
      background: linear-gradient(180deg, #ffffff 0%, #f8f7fc 100%);
      border: 1px solid #e4e0ed;
      box-shadow: 0 1px 3px rgba(45,43,61,0.04);
    }
    .hero-carousel-pro {
      aspect-ratio: 1;
      border-radius: 0.75rem;
      border: 1px solid #e0dce8;
      box-shadow: 0 4px 24px rgba(45,43,61,0.06);
      transition: box-shadow 0.2s ease;
    }
    .hero-carousel-pro:hover { box-shadow: 0 8px 32px rgba(45,43,61,0.1); }
    .download-hero {
      position: relative;
      overflow: hidden;
      border-radius: 1rem;
      border: 1px solid rgba(77,40,153,0.28);
      background: linear-gradient(135deg, #ffffff 0%, #f7f5fc 45%, rgba(77,40,153,0.08) 100%);
      box-shadow: 0 4px 24px rgba(45,43,61,0.06);
    }
    .download-hero::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      border-radius: 1rem 0 0 1rem;
      background: linear-gradient(180deg, #4D2899, rgba(77,40,153,0.35));
    }
    .download-card {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      border-radius: 1rem;
      border: 1px solid #e0dce8;
      background: #fff;
      padding: 1.25rem 1.25rem 1.5rem;
      box-shadow: 0 2px 12px rgba(45,43,61,0.05);
      transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    }
    .download-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,43,61,0.08); }
    .download-card--primary {
      border-width: 2px;
      border-color: rgba(77,40,153,0.45);
      background: linear-gradient(180deg, #ffffff 0%, #f9f7fd 100%);
    }
    .download-card--primary:hover { border-color: rgba(77,40,153,0.65); }
    .download-card__cta {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      width: 100%;
      min-height: 3rem;
      padding: 0.85rem 1.25rem;
      border-radius: 0.75rem;
      font-weight: 600;
      font-size: 1rem;
      background: #4D2899;
      color: #fff;
      transition: background 0.2s;
    }
    .download-card:hover .download-card__cta { background: #381D6F; }
    .download-card:not(.download-card--primary) .download-card__cta {
      background: #fff;
      color: #2d2b3d;
      border: 2px solid #4D2899;
    }
    .download-card:not(.download-card--primary):hover .download-card__cta {
      background: rgba(77,40,153,0.1);
      color: #2d2b3d;
    }
    .download-hero-inner { position: relative; z-index: 1; }
    .download-card--horizontal {
      flex-direction: column;
      align-items: stretch;
      gap: 1.25rem;
      padding: 1.35rem 1.35rem 1.4rem;
    }
    @media (min-width: 640px) {
      .download-card--horizontal {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 1.5rem 1.75rem;
      }
      .download-card--horizontal .download-card__cta {
        margin-top: 0;
        width: auto;
        min-width: 13rem;
        flex-shrink: 0;
      }
    }
