/*************/
/* Variables */
/*************/
:root {
    /* Color Palette */
    --bg-body: #e5e5e5;
    --bg-sheet: #f4f4f0;
    --text-primary: #111111;
    --text-secondary: #444444;
    --outline-color: #111111;
    --accent: #ea580c;

    /* Structural Variables */
    --max-width: 960px;
    --outline-width: 1px;
    --pad-x: clamp(2rem, 5vw, 3rem);
    --pad-y: clamp(2rem, 8vw, 4rem);

    /* Typography - Optimized for Sharpness */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;

}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-body: #000000;
        --bg-sheet: #111111;
        --text-primary: #ffffff;
        --text-secondary: #aaaaaa;
        --outline-color: #333333;
        --accent: #fb923c;
    }
}

/*********************/
/* Body & Typography */
/*********************/
body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.3s ease;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: subpixel-antialiased; /* Better for non-retina */
}

/* Responsive */
@media (max-width: 768px) {
}

/* Typography */
h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}
h2 {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--accent);
}
h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
p {
    max-width: 65ch;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/****************/
/* Main Content */
/****************/
.content {
    width: 100%;
    max-width: var(--max-width);
    min-height: 100vh;
    background-color: var(--bg-sheet);
    outline: var(--outline-width) solid var(--outline-color);
    display: flex;
    flex-direction: column;
}

/**********/
/* Header */
/**********/
header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    font-family: var(--font-mono);
}

header, header a {
    outline: var(--outline-width) solid var(--outline-color);
}

header > a { /* Brand Link */
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.5rem var(--pad-x);
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

/* Nav */
nav {
    display: flex;
}
nav a {
    font-size: 0.9rem;
    padding: 0 var(--pad-x);
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    transition: background 0.2s;
    transition: transform 0.2s;
}

nav a:hover {
    background-color: var(--text-primary);
    color: var(--bg-sheet);
}

nav a:active {
    font-weight: 700;
    transform: translate(1px, 1px);
}

/****************/
/* Main Section */
/****************/
main {
    flex: 1;
}

section {
    outline: var(--outline-width) solid var(--outline-color);
}

article {
    outline: var(--outline-width) solid var(--outline-color);
    padding: var(--pad-y) var(--pad-x);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    width: 100%;
}

/* Hero */
.status-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    outline: var(--outline-width) solid var(--outline-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.status-label::before { /* Accent Dot */
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
}

/**********/
/* Footer */
/**********/
footer {
    padding: 1.5rem var(--pad-x);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    outline: var(--outline-width) solid var(--outline-color);
}

