:root {
    color-scheme: light;
    --ink: #182321;
    --muted: #4e6260;
    --ground: #f3f6f4;
    --paper: #fff;
    --line: #cbd7d3;
    --accent: #9b1c31;
    --hero: #631323;
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: var(--ground);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #008473; outline-offset: 4px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-size: 3.25rem; }
h2 { font-size: 2rem; }
.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.site-header, .site-footer { background: var(--paper); }
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }
.site-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    min-height: 4rem;
    padding-block: .6rem;
}
.site-bar nav { display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; }
.site-bar nav a, .wordmark { text-decoration: none; }
.site-bar nav a:hover, .site-bar nav a[aria-current] { text-decoration: underline; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; }
.wordmark img { border-radius: 8px; }
.site-footer .site-bar { color: var(--muted); font-size: .9rem; }
.site-footer a { overflow-wrap: anywhere; }

.hero { background: var(--hero); color: #fff; overflow: hidden; }
.hero-inner { position: relative; min-height: 30rem; display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 1; width: min(54%, 34rem); padding-block: 3rem; }
.hero h1 { font-size: 5.5rem; font-weight: 850; margin-block: .3rem .7rem; }
.hero-copy > p:not(.eyebrow):not(.release-status) { font-size: 1.2rem; max-width: 31rem; }
.hero-screen {
    position: absolute;
    top: 2.5rem;
    right: 3%;
    width: min(34%, 21rem);
    height: auto;
    border: 5px solid #fff1f3;
    border-radius: 8px;
}
.eyebrow { font-size: .85rem; text-transform: uppercase; font-weight: 750; }
.release-status { margin-top: 1.3rem; color: #ffe1e6; font-weight: 650; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: .55rem 1rem;
    border: 0;
    border-radius: 6px;
    background: var(--accent);
    color: white;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { background: #771426; }
.hero .button { margin-top: 1.3rem; background: #fff; color: var(--hero); }
.hero .button:hover { background: #ffe1e6; }
.example { background: #e1eeea; }
.example-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 1.25rem 3rem;
    padding-block: 2rem;
}
.example .eyebrow { color: var(--muted); margin-bottom: .5rem; }
.details { padding-block: 3rem; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; margin-block: 1.15rem; }
.features > div { border-top: 1px solid var(--line); padding-top: .8rem; }
.features dt { font-weight: 750; }
.features dd { color: var(--muted); }
.text-link { color: var(--accent); font-weight: 700; }

.document { max-width: 46rem; padding-block: 3rem; }
.document > h1 { margin-bottom: 1rem; }
.document section + section { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2rem; }
.document h2, .document h3 { margin-block: 1.2rem .5rem; }
.document p + p { margin-top: .7rem; }
.document a { overflow-wrap: anywhere; }
.languages { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding-bottom: .5rem; }
.contact form { display: grid; gap: .55rem; margin-top: 1.4rem; max-width: 38rem; }
.contact label { font-weight: 650; }
.contact :is(input, textarea) {
    min-width: 0;
    padding: .65rem .75rem;
    border: 1px solid #839591;
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}
.contact textarea { resize: vertical; }
.contact form .button { justify-self: start; }
.form-note { font-size: .9rem; color: var(--muted); }
.notice { margin-block: 1rem; padding: .85rem 1rem; border-left: 4px solid #008473; background: #e1eeea; }
.notice.error { border-color: var(--accent); background: #f7e6e9; }

@media (max-width: 760px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.65rem; }
    .hero-inner { display: block; min-height: 0; }
    .hero-copy { width: auto; padding-block: 1.4rem .8rem; }
    .hero h1 { font-size: 3rem; }
    .hero-copy > p:not(.eyebrow):not(.release-status) { font-size: 1.05rem; }
    .hero-screen {
        position: static;
        display: block;
        width: min(100%, 19rem);
        height: 13.5rem;
        margin-inline: auto;
        object-fit: cover;
        object-position: center 54%;
    }
    .example-inner, .features { grid-template-columns: 1fr; }
    .example-inner, .details, .document { padding-block: 1.6rem; }
}
