:root {
    --space-s: 12px;
    --space-m: 20px;
    --space-l: 32px;
    --space-xl: 52px;
    --space-xxl: 84px;

    --font-size-s: 12px;
    --font-size-m: 20px;
    --font-size-l: 26px;
    --font-size-xl: 52px;
    --font-size-xxl: 84px;

    --color-main: black;
    --color-secondary: gray;
    --color-cta: #86ffff;
}

body,
html {
    padding: 0;
    margin: 0;
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: var(--font-size-m);
    overflow-x: hidden;
    min-height: 100vh;
    background: white;
}

* {
    box-sizing: border-box;
}

h1,
h2,
h3 {
    margin: 0;
}

h1 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    letter-spacing: 0.9px;
    margin-bottom: var(--space-l);
}

h2 {
    font-size: var(--font-size-xl);
    line-height: 1.2;
    letter-spacing: 1.2px;
    font-weight: bold;
    position: relative;
    width: fit-content;
    padding-bottom: 4px;
    z-index: 1;
}

h2::before {
    content: "";
    width: 100%;
    height: 40%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: var(--color-cta);
    z-index: -1;
    display: block;
}

h3 {
    font-size: var(--font-size-m);
    font-weight: 400;
    letter-spacing: 1.5;
    line-height: 1.75;
    color: var(--color-secondary);
}

p {
    margin: 0;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    line-height: 1.75;
}

p:last-child {
    margin-bottom: 0;
}

main {
    max-width: 1720px;
    margin: 0 auto;
    padding: var(--space-xxl) var(--space-m);
    min-height: calc(100vh - 200px);
}

.product {
    display: block;
    text-decoration: none;
    color: black;
    padding: var(--space-xl);
    margin: var(--space-l) 0;
    border: 2px solid var(--color-main);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-cta);
    transition: width 0.3s ease;
    z-index: -1;
}

.product:hover::before {
    width: 8px;
}

.product:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product h2 {
    margin-bottom: var(--space-m);
}

.product h3 {
    margin-bottom: 0;
}

.hero {
    text-align: center;
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--color-cta) 0%, rgba(134, 255, 255, 0.3) 100%);
    margin-bottom: var(--space-xxl);
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.hero * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--color-main);
    margin-bottom: var(--space-m);
}

.hero h2 {
    color: var(--color-main);
    font-size: var(--font-size-l);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    :root {
        --space-s: 8px;
        --space-m: 12px;
        --space-l: 20px;
        --space-xl: 32px;
        --space-xxl: 48px;

        --font-size-s: 10px;
        --font-size-m: 14px;
        --font-size-l: 20px;
        --font-size-xl: 28px;
        --font-size-xxl: 40px;
    }

    .product {
        padding: var(--space-l);
    }

    .product:hover {
        transform: translateX(4px);
    }

    .product:hover::before {
        width: 4px;
    }
}
