@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #c30;
    --primary-hover: #b20;
    --bg: #f8fafc;
    --bg-dark: #1e293b;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #1e293b;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f172a;
        --card-bg: #1e293b;
        --text: #f1f5f9;
        --text-muted: #94a3b8;
        --border: #334155;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
    flex: 1;
}

.description {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.boxes {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 2rem;
}

.box {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.box a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.box:hover a {
    color: var(--primary);
}

footer {
    padding: 3rem 2rem;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

footer img {
    height: 48px;
    width: auto;
    filter: grayscale(1) opacity(0.8);
}

footer span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .container {
        margin: 2rem auto;
    }

    header {
        padding: 1rem;
    }

    .boxes {
        grid-template-columns: 1fr;
    }
}