:root {
    --color-accent: #f36c21;
    color-scheme: light;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #181512;
    background: #fffaf4;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.site-header, main {
    width: min(1120px, calc(100% - 64px));
    margin-inline: auto;
}

.site-header {
    min-height: 96px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ded5ca;
}

.brand {
    color: inherit;
    font-size: 1.6rem;
    font-weight: 650;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.brand span, h1 span { color: var(--color-accent); }
a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 6px; }

.home-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(900px, calc(100% - 80px));
    padding-block: clamp(32px, 4vw, 46px);
}

.home-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.home-hero__media { width: min(100%, 480px); }
.home-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

h1 {
    margin: 0;
    font-size: clamp(2.5rem, 4.6vw, 4rem);
    text-wrap: balance;
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.description {
    margin: 0;
    max-width: 32em;
    color: #665f57;
    font-size: 1rem;
    line-height: 1.7;
}

.description a { color: #181512; }

@media (max-width: 600px) {
    .site-header, main { width: calc(100% - 40px); }
    .site-header { min-height: 80px; }

}

@media (max-width: 760px) {
    .home-page {
        width: calc(100% - 24px);
        padding-block: 32px;
    }
    .home-hero__media { width: 100%; }
    h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
}
