﻿:root {
      --bg-main: #F6F8FC;
      --bg-white: #FFFFFF;
      --bg-dark: #061525;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --prism-blue: #2563EB;
      --comp-green: #16A34A;
      --border-color: rgba(15,23,42,0.08);
      --card-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html, body {
      width: 100%;
      margin: 0;
      overflow-x: hidden;
      font-family: -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg-main);
      color: var(--text-main);
    }
    a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

    
    .site-header { position: sticky; top: 0; z-index: 1000; background: rgba(246, 248, 252, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
    .header-inner { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
    .logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: 1.25rem; color: var(--text-main); }
    .logo img { height: 32px; width: auto; }
    .desktop-nav { display: flex; align-items: center; gap: 2rem; }
    .desktop-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
    .desktop-nav a:hover, .desktop-nav a.active { color: var(--prism-blue); }
    .mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
    .mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-main); transition: 0.3s; }
    
    .mobile-nav-mask { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.4); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s; }
    body.drawer-open .mobile-nav-mask { opacity: 1; visibility: visible; }
    .mobile-drawer { position: fixed; top: 0; right: -320px; width: 320px; height: 100dvh; background: var(--bg-white); z-index: 999; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: right 0.3s ease; display: flex; flex-direction: column; }
    body.drawer-open .mobile-drawer { right: 0; }
    .drawer-head { padding: 1.5rem; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; font-size: 1.75rem; cursor: pointer; color: var(--text-muted); }
    .drawer-body { padding: 2rem 1.5rem; overflow-y: auto; }
    .drawer-nav { display: flex; flex-direction: column; gap: 1.5rem; }
    .drawer-nav a { font-size: 1.1rem; font-weight: 600; color: var(--text-main); }

    
    .dl-hero {
      padding: 5rem 1.5rem;
      background: radial-gradient(120% 120% at 50% 100%, #EDF3FF 0%, #FFFFFF 100%);
      text-align: center;
      border-bottom: 1px solid var(--border-color);
    }
    .dl-title { font-size: 3rem; font-weight: 800; margin: 0 0 1rem; }
    .dl-subtitle { color: var(--text-muted); max-width: 650px; margin: 0 auto; font-size: 1.15rem; }

    
    .dl-container {
      max-width: 1200px;
      margin: 4rem auto 6rem;
      padding: 0 1.5rem;
    }

    
    .lab-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2rem;
      margin-bottom: 4rem;
    }
    .lab-card {
      background: var(--bg-white);
      border-radius: 12px;
      border: 1px solid var(--border-color);
      box-shadow: var(--card-shadow);
      padding: 2.5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .lab-card-meta {
      font-size: 0.8rem;
      color: var(--prism-blue);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.75rem;
    }
    .lab-card-title { font-size: 1.5rem; font-weight: 800; margin: 0 0 1rem; }
    .lab-card-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
    .lab-checklist-list {
      list-style: none;
      padding: 0;
      margin: 0 0 2rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    .lab-checklist-list li::before {
      content: "✓ ";
      color: var(--comp-green);
      font-weight: bold;
    }

    
    .guide-stages {
      background: var(--bg-white);
      padding: 3rem;
      border-radius: 12px;
      border: 1px solid var(--border-color);
      box-shadow: var(--card-shadow);
    }
    .stage-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }
    .stage-col {
      padding: 1.5rem;
      background: var(--bg-main);
      border-radius: 8px;
    }

    
    .site-footer { background: #030a12; color: #94a3b8; border-top: 1px solid rgba(255,255,255,0.05); padding: 4rem 1.5rem 2rem; font-size: 0.9rem; }
    .footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
    .footer-brand { display: flex; flex-direction: column; gap: 1rem; }
    .footer-logo { color: #FFFFFF; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
    .footer-logo img { height: 32px; }
    .footer-column h3 { color: #FFFFFF; font-size: 1rem; margin: 0 0 1.25rem; }
    .footer-column ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
    .footer-column a:hover { color: #FFFFFF; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }

    @media (max-width: 900px) {
      .mobile-menu-btn { display: flex; }
      .desktop-nav-wrap { display: none; }
      .dl-title { font-size: 2.25rem; }
      .lab-card { padding: 1.5rem; }
      .guide-stages { padding: 1.5rem; }
      .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    }