@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,400,0,0');

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

:root {
    color-scheme: light;
    --page: #f7f7f5;
    --surface: #fff;
    --surface-strong: #ededeb;
    --text: #090909;
    --muted: #64645f;
    --line: #d7d7d2;
    --accent: #090909;
    --accent-strong: #2b2b2a;
    --danger: #a42929;
    --danger-soft: #f5e8e6;
    --shadow: 9px 9px 0 rgba(0, 0, 0, .08)
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --page: #0b0b0b;
    --surface: #151515;
    --surface-strong: #20201f;
    --text: #f4f4f0;
    --muted: #aaa9a3;
    --line: #353532;
    --accent: #f4f4f0;
    --accent-strong: #d4d4cf;
    --danger: #ef7770;
    --danger-soft: #321b1b;
    --shadow: 9px 9px 0 rgba(255, 255, 255, .06)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-width: 320px;
    background-color: var(--page);
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 128px 128px;
    color: var(--text);
    font: 16px/1.6 Arial, Helvetica, sans-serif
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--page) 92%, transparent)
}

.header-inner {
    width: min(1180px, calc(100% - 48px));
    min-height: 82px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 24px
}

.brand {
    color: var(--text);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.08rem;
    letter-spacing: -.045em;
    white-space: nowrap
}

.brand-mark {
    color: var(--accent)
}

.brand-logo {
    width: 39px;
    height: 39px;
    object-fit: contain;
    content: url('../assets/logo_black.png')
}

:root[data-theme="dark"] .brand-logo {
    content: url('../assets/logo_white.png')
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap
}

.footer-row a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600
}

.footer-row a:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px
}

.site-nav {
    display: flex;
    gap: 28px;
    margin-right: auto
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.site-nav .material-symbols-rounded {
    font-size: 18px
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text)
}

.controls {
    display: flex;
    align-items: center;
    gap: 8px
}

.control {
    appearance: none;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: .9rem;
    padding: 7px 10px;
    cursor: pointer
}

button.control {
    width: 44px;
    min-height: 42px;
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    font-size: 1.05rem
}

button.control .material-symbols-rounded {
    font-size: 24px
}

main {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
    padding: 64px 0 90px
}

.eyebrow {
    color: var(--text);
    font-weight: 800;
    font-size: .76rem;
    letter-spacing: .12em;
    text-transform: uppercase
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: .94;
    letter-spacing: -.065em;
    margin: 18px 0 24px
}

h2 {
    margin: 54px 0 12px;
    font-size: 1.45rem;
    letter-spacing: -.035em
}

p,
li {
    color: var(--muted)
}

.lead {
    max-width: 660px;
    margin: 0;
    font-size: 1.12rem
}

.card {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    box-shadow: var(--shadow)
}

.notice {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 0;
    background: var(--danger-soft);
    border: 1px solid var(--danger)
}

.notice strong {
    color: var(--text)
}

label {
    display: block;
    margin: 16px 0 6px;
    color: var(--text);
    font-weight: 700
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface-strong);
    color: var(--text);
    padding: 12px 13px;
    font: inherit
}

textarea {
    min-height: 148px;
    resize: vertical
}

.captcha-row {
    max-width: 210px
}

.captcha-row input {
    width: 92px
}

.button {
    margin-top: 22px;
    padding: 12px 17px;
    border: 0;
    border: 1px solid var(--text);
    border-radius: 0;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 750
}

.button:hover {
    background: var(--accent-strong)
}

.button.danger {
    background: var(--danger)
}

.button:disabled {
    opacity: .62;
    cursor: wait
}

.status {
    min-height: 1.6em;
    margin: 14px 0 0;
    color: var(--muted)
}

.status.error {
    color: var(--danger)
}

.hidden {
    display: none
}

footer {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
    padding: 0 0 40px;
    color: var(--muted);
    font-size: .88rem
}

@media(max-width:640px) {
    .header-inner {
        width: calc(100% - 28px);
        min-height: auto;
        padding: 14px 0;
        gap: 12px;
        flex-wrap: wrap
    }

    .site-nav {
        order: 3;
        width: 100%;
        gap: 16px
    }

    main {
        width: calc(100% - 32px);
        padding: 52px 0 60px
    }

    .card {
        padding: 20px
    }
}
