:root {
    --bg: #0E323B;
    --surface: #194E58;
    --surface-hover: #266572;
    --border: #245963;
    --text: #EAF1F0;
    --text-muted: #95B3B1;
    --slate: #527678;
    --accent: #82C4BE;
}

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

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    position: relative;
    padding: 5rem 2rem 3.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(ellipse 600px 300px at 50% 30%, rgba(130, 196, 190, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse 900px 400px at 50% 0%, rgba(130, 196, 190, 0.05) 0%, transparent 60%);
}

.hero {
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(1.875rem, 4.5vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--text);
}

.hero__rule {
    width: 48px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    margin: 1.5rem auto 1.25rem;
    box-shadow: 0 0 12px rgba(130, 196, 190, 0.5);
}

.tagline {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.logout {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--slate);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    transition: color 0.18s ease;
}

.logout:hover {
    color: var(--accent);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.tile {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.875rem;
    min-height: 120px;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

a.tile:hover {
    background: var(--surface-hover);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(130, 196, 190, 0.22), 0 14px 28px -16px rgba(0, 0, 0, 0.6);
}

.tile h2 {
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--text);
    padding-right: 3.75rem;
    line-height: 1.35;
}

.tile__badge {
    position: absolute;
    top: 1.125rem;
    right: 1.125rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(130, 196, 190, 0.5);
    border-radius: 999px;
    padding: 0.1875rem 0.625rem;
    line-height: 1;
}

.tile--soon {
    cursor: default;
}

.tile--soon h2 {
    color: var(--text-muted);
}

@media (max-width: 520px) {
    header {
        padding: 3.5rem 1.25rem 2.5rem;
    }
    .logout {
        top: 1rem;
        right: 1.25rem;
    }
    main {
        padding: 2.5rem 1.25rem 3rem;
    }
    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.18em;
    }
}
