/* Google Labs Official Theme Rebuild */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
    /* Palette: Strict Black & White */
    --labs-white: #ffffff;
    --labs-off-white: #f8f9fa;
    /* Google Grey 50-ish */
    --labs-black: #202124;
    /* Google Black */
    --labs-grey: #5f6368;
    /* Google Grey 700 */
    --labs-blue: #1a73e8;
    /* Google Blue */
    --labs-border: #dadce0;
    /* Google Grey 300 */

    /* Typography */
    --font-head: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Shapes */
    --radius-pill: 999px;
    --radius-card: 24px;
    /* Large rounded corners */
    --radius-sm: 12px;

    /* Spacing */
    --space-section: 8rem;
    --space-card: 2.5rem;
}

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

body {
    background-color: var(--labs-white);
    color: var(--labs-black);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 500;
    /* Labs often uses lighter weights for large type */
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--labs-black);
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

p {
    color: var(--labs-grey);
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Layout utilities */
.container {
    max-width: 1440px;
    /* Wide Labs container */
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }
}