:root {
      color-scheme: light;
      --primary: #7c3aed;
      --primary-hover: #6d28d9;
      --sidebar-width: 15%;
    }
    body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; }
    [data-topnav] {
      background: #fff;
      border-bottom: 1px solid var(--border);
      padding: 0.75rem 1rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      position: sticky;
      top: 0;
    }
    
    [data-topnav] .logo:hover {
      text-decoration: none;
    }
    
    .nav-links a:hover {
      text-decoration: none;
    }
    
    .account-dropdown a:hover {
      text-decoration: none;
    }

    .layout-container {
      display: flex;
      min-height: auto;
    }
    [data-sidebar] {
      width: var(--sidebar-width);
    }
    
    [data-sidebar] header {
      font-weight: 600;
      font-size: 0.6875rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--foreground-light);
      margin-bottom: 0.5rem;
      padding: 0 0.75rem;
    }
    
    [data-sidebar] a:hover {
      text-decoration: none;
    }
  
    [data-sidebar] details summary {
      padding: 0.375rem 0.75rem;
      cursor: pointer;
      font-size: 0.8125rem;
      border-radius: 0.375rem;
      color: var(--foreground);
    }
    [data-sidebar] details[open] summary {
      background: var(--border);
    }
    [data-sidebar] details ul {
      margin: 0.25rem 0 0.5rem 1rem;
    }
    [data-sidebar] details ul a {
      font-size: 0.75rem;
      padding: 0.25rem 0.75rem;
    }
    main {
      flex: 1;
      padding: 2rem;
      min-width: 0;
    }
    [data-right-sidebar] {
      width: var(--sidebar-width);
      padding: 1.5rem 1rem;
      border-left: 1px solid var(--border);
      flex-shrink: 0;
    }
    [data-right-sidebar] header {
      font-weight: 600;
      font-size: 0.6875rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--foreground-light);
      margin-bottom: 0.75rem;
    }
    [data-right-sidebar] ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    [data-right-sidebar] li {
      margin: 0.375rem 0;
    }
    [data-right-sidebar] a {
      font-size: 0.8125rem;
      color: var(--foreground-light);
      text-decoration: none;
    }
    [data-right-sidebar] a:hover {
      color: var(--foreground);
      text-decoration: none;
    }
    [data-right-sidebar] .active {
      color: var(--foreground);
      font-weight: 500;
    }
    
    .hero h1 {
      margin-bottom: 0.75rem;
    }
    .hero p {
      font-size: 1rem;
      max-width: 560px;
      margin: 0 auto 1.5rem;
      line-height: 1.6;
    }
    .card-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin: 1.5rem 0;
    }
    
    .feature-card {
      text-decoration: none;
      color: inherit;
      display: block;
    }
    .feature-card:hover {
      text-decoration: none;
    }
    .feature-card img {
      width: 100%;
      height: 80px;
      object-fit: cover;
      border-radius: 0.25rem;
      margin-bottom: 0.75rem;
    }
    .feature-card h4 {
      margin: 0 0 0.25rem;
      font-size: 0.9375rem;
    }
    .feature-card p {
      margin: 0;
      font-size: 0.8125rem;
      color: var(--foreground-light);
      line-height: 1.5;
    }
    .link-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem 2rem;
      margin: 1rem 0;
    }
    .link-grid a {
      font-size: 0.875rem;
      color: var(--primary);
    }
    h3 {
      font-size: 1.25rem;
      margin: 2rem 0 1rem;
    }
    h4 {
      font-size: 1rem;
      margin: 1.5rem 0 0.75rem;
      color: var(--foreground);
    }
    ul {
      margin: 0.75rem 0;
      padding-left: 1.25rem;
    }
    li {
      margin: 0.375rem 0;
      line-height: 1.6;
    }
    pre {
      background: var(--background-alt);
      padding: 1rem;
      border-radius: 0.5rem;
      overflow-x: auto;
      margin: 0.75rem 0;
    }
    code {
      font-size: 0.875rem;
    }
    p {
      line-height: 1.7;
      margin: 0.75rem 0;
    }
    a {
      color: var(--primary);
      text-decoration: none;
    }
    a.button {
      color: var(--primary-foreground);
    }
    a:hover {
      text-decoration: underline;
    }
    a.button:hover {
      text-decoration: none;
    }


    @media (max-width: 1024px) {
      [data-right-sidebar] {
        display: none;
      }
      main {
        max-width: 100%;
      }
    }

    @media (max-width: 768px) {
      
      [data-right-sidebar].mobile-open {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        z-index: 200;
        background: #fff;
        box-shadow: -2px 0 8px rgba(0,0,0,0.1);
        overflow-y: auto;
      }
      [data-right-sidebar].mobile-open::before {
        content: "✕";
        position: absolute;
        top: 1rem;
        left: 1rem;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--foreground);
        z-index: 201;
      }
      [data-right-sidebar].mobile-open > *:not(header:first-child) {
        padding-left: 1rem;
      }
      
      [data-sidebar] {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        z-index: 200;
        background: #fff;
        padding-top: 4rem;
        overflow-y: auto;
      }
      [data-sidebar].mobile-open {
        display: block;
      }
      [data-sidebar].mobile-open::before {
        display: none;
      }
      [data-sidebar].mobile-open > .close-sidebar-btn {
        display: block;
      }
      
      main {
        padding: 1.5rem 1rem;
        width: 100%;
      }
      
      .hero p {
        font-size: 0.9375rem;
      }
      .card-grid {
        grid-template-columns: 1fr;
      }
      .card-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
      }
      .feature-card img {
        height: 60px;
      }
      .link-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
      }
     
      menu.buttons {
        flex-direction: column;
        align-items: stretch;
      }
      menu.buttons li {
        list-style: none;
      }
      menu.buttons a {
        display: block;
        text-align: center;
      }
    }

    @media (max-width: 480px) {
      .card-grid.cols-3 {
        grid-template-columns: 1fr;
      }
      .feature-card img {
        height: 50px;
      }
      
    }