@font-face {
    font-family: Inter;
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

:root {
    color: #212020;
    font: 16px/1.55 Inter, sans-serif;
    accent-color: #1565c0;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: #1565c0; text-underline-offset: .2em; }
a:hover { color: #b8320c; }
:focus-visible { outline: 2px solid #1565c0; outline-offset: 4px; }
::selection { background: #d5e9fc; color: #212020; }

.container {
    width: min(100%, 1300px);
    padding-inline: clamp(16px, 3vw, 32px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1;
    top: 8px;
    left: 8px;
    padding: 8px 12px;
    background: white;
    transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.notice { background: #fff3d6; border-bottom: 1px solid #ead5a2; color: #4a3616; }
.notice-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notice p { margin: 12px 0; font-size: .875rem; }
.notice-close {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.notice-close:hover { background: #f5e7c8; }

.site-header { background: white; padding: 16px 0; border-bottom: 1px solid #e0e0e0; }
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: fit-content;
    margin: auto;
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(1rem, 3vw, 1.875rem);
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.21;
}
.logo img { flex: none; }

.site-nav { background: #e0e0e0; }
.site-nav .container { display: flex; justify-content: center; flex-wrap: wrap; column-gap: clamp(16px, 4vw, 48px); }
.site-nav a { display: inline-flex; align-items: center; min-height: 50px; color: inherit; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: #b8320c; text-decoration: underline; }

.event { padding-top: 25px; padding-bottom: 64px; }
.event-banner { display: block; width: 100%; height: auto; margin-bottom: 26px; }
.event-date { display: block; font-size: clamp(1.125rem, 2vw, 1.5625rem); font-weight: 600; }
h1, h2 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.8125rem); margin: .3em 0 .2em; }
h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); margin: 0 0 .65em; scroll-margin-top: 16px; }
section { margin-top: 50px; }
.event-kind { margin: 0; }
.venue { margin: 22px 0; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    background: #1565c0;
    border: 1px solid transparent;
    padding: 10px 20px;
    color: white;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { background: #104e95; color: white; }
.speakers { margin: 0; padding-inline-start: 22px; }
.speakers li + li { margin-top: 6px; }

.schedule { list-style: none; padding: 0; margin: 0; max-width: 990px; border-top: 1px solid #e0e0e0; }
.schedule li {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e0e0e0;
}
.schedule-time { font-variant-numeric: tabular-nums; font-weight: 600; }
.schedule p { max-width: 72ch; margin: 5px 0 0; color: #484747; }

.registration-form, .form-status { max-width: 780px; padding: clamp(16px, 3vw, 28px); background: #f2f2f2; }
.form-hint { margin: 0 0 14px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 20px; }
.field label { display: block; margin-bottom: 4px; font-weight: 600; }
.field input {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #828282;
    border-radius: 0;
    background: white;
    color: inherit;
    font: inherit;
}
.field input[aria-invalid="true"] { border-color: #aa2318; }
.field-error { color: #9f2118; margin: 4px 0 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; cursor: pointer; }
.consent input { width: 19px; height: 19px; flex: none; margin: 3px 0 0; }
.registration-form .button { margin-top: 4px; }

.site-footer { padding: 28px 0; background: #212020; color: white; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.site-footer span:first-child { font-weight: 600; }

@media (max-width: 560px) {
    .site-header { padding: 12px 0; }
    .logo { margin-inline: 0; gap: 12px; }
    .logo img { width: 33px; height: 44px; }
    .site-nav a { font-size: .8125rem; min-height: 44px; }
    .event { padding-top: 16px; }
    .fields { grid-template-columns: 1fr; }
    .schedule li { grid-template-columns: 1fr; gap: 4px; }
}
