* {
    box-sizing: border-box;
}

html {
    font-family: "Instrument Sans", sans-serif;
    color: #111111;
}

body {
    min-height: 100svh;
    margin: 0;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
}

h1,
h2,
p {
    margin: 0;
}

h1 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.home-link {
    color: inherit;
    text-decoration: none;
}

main {
    flex: 1;
    padding-top: clamp(96px, 18vh, 180px);
}

.product {
    position: relative;
    display: inline-block;
    padding-right: 48px;
    color: inherit;
    text-decoration: none;
}

.product h2,
.model h2 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
}

.product p,
.model p {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.5;
}

.benchmarks {
    margin-top: 64px;
}

.benchmark {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.benchmark + .benchmark {
    margin-top: 16px;
}

.benchmark-name {
    width: 32px;
    flex: none;
    font-family: "DM Mono", monospace;
    font-weight: 500;
}

.benchmark-value {
    font-family: "DM Mono", monospace;
}

.benchmark-squares {
    display: flex;
    gap: 3px;
    margin: -10px -6px;
    padding: 10px 6px;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.benchmark-squares-dragging {
    cursor: grabbing;
}

.benchmark-square {
    width: 6px;
    height: 6px;
    position: relative;
    flex: none;
    display: block;
    color: #d6d6d6;
}

.benchmark-square-shape {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
}

.benchmark-square-path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: butt;
    stroke-linejoin: round;
}

.benchmark-square-grabbed {
    z-index: 1;
}

.model-details {
    max-width: 760px;
    margin-top: 72px;
}

.model-detail + .model-detail {
    margin-top: 40px;
}

.model-detail h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.model-detail p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.product-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
}

.product:hover .product-arrow,
.product:focus-visible .product-arrow {
    opacity: 1;
}

footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding-top: clamp(96px, 18vh, 180px);
}

footer img {
    width: 300px;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.footer-logo {
    display: block;
}

footer a {
    color: inherit;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 600px) {
    body {
        padding: 24px 20px;
    }

    main {
        padding-top: 88px;
    }

    footer {
        gap: 20px;
        justify-content: flex-end;
        padding-top: 88px;
    }

    .footer-logo {
        display: none;
    }

    footer a {
        font-size: 15px;
    }
}
