:root { 
  --bg: #0d1117; 
  --card: #161b22; 
  --text: #e6edf3; 
  --muted: #7d8590; 
  --accent: #2f81f7; 
  --accent-hover: #58a6ff;
  --border: #30363d;
  --shadow: rgba(1, 4, 9, 0.85);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0; 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg); 
  color: var(--text); 
  line-height: 1.6;
  min-height: 100vh;
}

.wrap {
  max-width: 900px; 
  margin: 0 auto; 
  padding: 40px 24px;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

.card {
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 12px; 
  padding: 32px; 
  box-shadow: 0 8px 32px var(--shadow);
  margin-bottom: 24px;
}

a {
  color: var(--accent); 
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

h1 {
  font-size: 2.5rem; 
  margin: 0 0 8px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 1.3rem; 
  margin: 32px 0 12px; 
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

section:first-child h2 {
  margin-top: 0;
}

p, li {
  font-size: 1rem;
  margin-bottom: 16px;
}

strong {
  color: var(--text);
  font-weight: 600;
}

code {
  background: #21262d;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

footer {
  margin-top: 48px; 
  color: var(--muted); 
  font-size: 0.9rem; 
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.muted {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 400;
}

.note {
  padding: 16px 20px; 
  border-left: 4px solid var(--accent); 
  background: rgba(47, 129, 247, 0.1); 
  border-radius: 8px;
  margin-top: 32px;
}

section {
  margin-bottom: 24px;
}

section:last-of-type:not(.note) {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .wrap {
    padding: 24px 16px;
  }
  
  .card {
    padding: 24px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .card {
    background: white;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  a {
    color: #0066cc;
  }
}
