:root {
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #101828;
    background-color: #f5f7fb;
    line-height: 1.5;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: radial-gradient(circle at 20% 20%, #dbeafe 0, transparent 45%),
        radial-gradient(circle at 80% 0%, #fce7f3 0, transparent 50%),
        #eff2f9;
    padding: 3rem 1.25rem;
}

.page {
    width: min(100%, 960px);
    background: #fff;
    border-radius: 28px;
    padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 1rem 0 0.5rem;
    font-size: clamp(1.9rem, 5vw, 2.6rem);
    line-height: 1.2;
}

.lead {
    color: #475467;
    margin: 0 auto;
    max-width: 620px;
}

.labs {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.lab-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    color: #0f172a;
    border-radius: 18px;
    padding: 2.5rem 1rem 1.25rem;
    border: 1px solid #dbeafe;
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lab-button::before {
    content: attr(data-label);
    position: absolute;
    top: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    white-space: nowrap;
}

.lab-button::after {
    content: "→";
    margin-left: 0.4rem;
    font-weight: 700;
}

.lab-button:hover {
    transform: translateY(-4px);
    border-color: #a5b4fc;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.lab-button:focus-visible {
    outline: 3px solid #bfdbfe;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    body {
        align-items: stretch;
        padding: 2rem 1rem;
    }

    .page {
        padding: 2.5rem 1.5rem;
    }

    .lab-card {
        padding: 1.25rem 1.4rem;
    }
}
