* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --background: 0 0% 5%;
    --foreground: 0 0% 98%;
    --border: 0 0% 20%;
    --muted-foreground: 0 0% 70%;
    --accent: 0 0% 12%;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.06) 19px, rgba(255,255,255,0.06) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.06) 19px, rgba(255,255,255,0.06) 20px);
    pointer-events: none; z-index: 0;
}

body::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, hsl(0,0%,5%) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, hsl(0,0%,5%) 0%, transparent 45%),
        radial-gradient(circle at 50% 10%, hsl(0,0%,5%) 0%, transparent 35%),
        linear-gradient(135deg, hsl(0,0%,5%) 0%, transparent 35%, hsl(0,0%,5%) 65%, transparent 100%);
    pointer-events: none; z-index: 1;
}

.container { position: relative; z-index: 2; max-width: 64rem; margin: 0 auto; padding: 2rem; }

.space-y-16 > * + * { margin-top: 4rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }

.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 1rem; top: 1rem; width: auto; height: auto; padding: .5rem .75rem; background: #000; color: #fff; border: 1px solid #fff; z-index: 9999; }

header.logo-section { padding-top: 3rem; display: flex; justify-content: space-between; align-items: center; gap: 4rem; }
.hero-left { display: flex; align-items: center; gap: 2rem; }
.logo-container { display: flex; justify-content: center; }
.logo-svg { width: 120px; height: 120px; object-fit: contain; }
.hero-right { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.social-link.full-width { grid-column: 1 / -1; justify-content: center; }

h1 { font-size: 3rem; font-weight: 700; letter-spacing: -0.025em; }
.hero-tagline { font-size: 0.875rem; color: hsl(var(--muted-foreground)); font-weight: 400; margin-top: 0.5rem; }
h2 { font-size: 1.5rem; font-weight: 700; border-bottom: 1px solid hsl(var(--border)); padding-bottom: 0.5rem; }
h3 { font-size: 1.125rem; font-weight: 700; }

section { padding: 2rem; }
p { color: hsl(var(--muted-foreground)); line-height: 1.75; }

.wireframe-border { border: 1px solid hsl(var(--border)); background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wireframe-border.glow-green { box-shadow: 0 0 20px rgba(0,255,0,0.3), inset 0 0 20px rgba(0,255,0,0.1); }
.wireframe-border.glow-blue { box-shadow: 0 0 20px rgba(0,150,255,0.3), inset 0 0 20px rgba(0,150,255,0.1); }
.glow-green h2 { color: rgba(0, 255, 0, 0.9); text-shadow: 0 0 10px rgba(0, 255, 0, 0.5); border-bottom-color: rgba(0,255,0,0.5); }
.glow-blue h2 { color: rgba(0, 150, 255, 0.9); text-shadow: 0 0 10px rgba(0,150,255,0.5); border-bottom-color: rgba(0,150,255,0.5); }

.breadcrumb { font-size: 0.875rem; margin-top: 0.5rem; }
.breadcrumb a { color: hsl(var(--muted-foreground)); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.social-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: hsl(var(--foreground)); text-decoration: none;
    font-size: 0.875rem; font-weight: 500;
    padding: 0.5rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid hsl(var(--border));
    transition: all 0.2s ease;
}
.social-link:hover { color: hsl(var(--muted-foreground)); background-color: rgba(255, 255, 255, 0.08); }
.social-link:hover img { opacity: 0.7; }
.social-link img { width: 1.25rem; height: 1.25rem; transition: opacity 0.2s ease; }

ul { padding-left: 1.25rem; }
li + li { margin-top: 0.5rem; }

/* Responsive Grid System - Tailwind-style breakpoints */
/* sm: 640px, md: 768px, lg: 1024px, xl: 1280px, 2xl: 1536px */

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid-equal-height { grid-auto-rows: 1fr; }
.grid > section { height: 100%; display: flex; flex-direction: column; }

.content-grid {
    display: grid;
    grid-template-rows: auto 1fr 1fr;
    gap: 1.5rem;
    flex: 1;
}

/* sm: 640px and up */
@media (min-width: 640px) {
    .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* md: 768px and up */
@media (min-width: 768px) {
    .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* lg: 1024px and up */
@media (min-width: 1024px) {
    .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* xl: 1280px and up */
@media (min-width: 1280px) {
    .xl\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 2xl: 1536px and up */
@media (min-width: 1536px) {
    .2xl\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .2xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .2xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .2xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    header.logo-section { flex-direction: column; gap: 2rem; text-align: center; }
    .hero-left { flex-direction: column; gap: 1rem; }
    .hero-right { width: 100%; }
    .container { padding: 1rem; }
    section { padding: 1.5rem; }
}
