:root {
    --accent: #3344ff;
    --text: #222;
    --muted: #f4f6f8;
    --card: #ffffff;
    --radius: 8px;
    --gap: 16px;
    font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--muted);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    gap: var(--gap);
    padding: 24px;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(90deg, #fff, #fbfdff);
    padding: 12px 18px;
    border-radius: var(--radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.logo .mark {
    width: 72px;
    height: 72px;
    background: var(--accent);
    border-radius: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

nav a {
    color: var(--accent);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
}

nav a:hover {
    background: rgba(3, 102, 214, 0.08);
}

/* Layout */
.container {
    display: flex;
    gap: var(--gap);
    align-items: flex-start;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

aside {
    width: 260px;
    min-width: 200px;
    background: var(--card);
    padding: 12px;
    border-radius: var(--radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    height: fit-content;
}

/* Hero */
.hero {
    display: flex;
    gap: 16px;
    background: linear-gradient(90deg, #fff, #f8fbff);
    padding: 24px;
    border-radius: var(--radius);
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 6px rgba(3, 102, 214, 0.06);
}

.hero .info {
    max-width: 60%;
}

.hero h1 {
    margin: 0 0 8px 0;
    font-size: 1.6rem;
}

.hero p {
    margin: 0;
    color: #555;
}

.hero .cta {
    background: var(--accent);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
}

/* Cards grid */
.cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.card {
    background: var(--card);
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    flex: 1 1 220px;
    min-width: 180px;
}

footer {
    margin-top: auto;
    padding: 12px 18px;
    text-align: center;
    color: #666;
    font-size: .9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    aside {
        width: 100%;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero .info {
        max-width: 100%;
    }
}