@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

:root {
    --red: #c4161c;
    --dark-red: #900b09;
    --green: #008770;
    --blue: #002d70;
    --ink: #111111;
    --paper: #fffbf4;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #fffbf4;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background: #fffbf4;
    color: #000;
    font-family: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.page-shell {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    overflow: hidden;
    padding: 32px clamp(24px, 7vw, 112px) 24px;
    isolation: isolate;
}

.site-header,
.hero,
.site-footer {
    position: relative;
    z-index: 1;
    width: min(1200px, 100%);
    margin-inline: auto;
}


.brand img {
    display: block;
    width: min(350px, 72vw);
    height: auto;
}

.hero {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: clamp(40px, 7vw, 108px);
    padding-block: clamp(56px, 9vw, 128px);
}

.hero__content {
    max-width: 680px;
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1 {
    max-width: 710px;
    margin-top: 20px;
    color: var(--red);
    font-size: clamp(2.7rem, 4.7vw, 4.75rem);
    font-weight: 700;
    line-height: 1;
}

.intro {
    max-width: 590px;
    margin: 30px 0 0;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.65;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    min-width: 48px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--red);
    border-radius: 999px;
    background: var(--red);
    padding: 4px 28px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.button:hover {
    background: var(--white);
    color: var(--red);
}

.hero__image-wrap {
    position: relative;
}

.hero__image-wrap::before {
    position: absolute;
    z-index: -1;
    top: -120px;
    left: -50px;
    content: "";
    background-image: url("/images/circles.svg");
	background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	width:150%;
	height:150%;
}

.hero__image {
    display: block;
    width: 100%;
    max-width: 580px;
    height: auto;
}

.hero__caption {
    margin: 10px 0 0;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-align: right;
    text-transform: uppercase;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 28px;
    border-top: 1px solid rgb(255 255 255 / 42%);
    padding-top: 18px;
    color: #000;
    font-size: 0.8rem;
}

.site-footer p {
    margin: 0;
}

.site-footer a:hover {
    color: var(--white);
}


@media (max-width: 760px) {
    .page-shell {
        padding: 24px 24px 20px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 52px;
        padding-block: 70px 50px;
    }

    .hero__image-wrap {
        width: min(100%, 480px);
        justify-self: center;
    }

    .site-footer {
        display: block;
        line-height: 1.6;
    }

    .site-footer p + p {
        margin-top: 4px;
    }

    .runner-mark {
        right: -18vw;
        bottom: 0;
        width: 74vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button {
        transition: none;
    }
}
