@font-face {
    font-family: Inter;
    src: url("../fonts/release-board/inter/inter-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/release-board/ibm-plex-mono/ibm-plex-mono-latin-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/release-board/ibm-plex-mono/ibm-plex-mono-latin-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

.solarstrike {
    --page: #f5f8fa;
    --surface: #fff;
    --panel: #eaf0f4;
    --ink: #192a34;
    --muted: #495e6a;
    --border: #c9d6df;
    --accent: #4875a2;
    --accent-hover: #385f86;
    --accent-ink: #fff;
    --accent-on-dark: #8fb2d4;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
    min-height: 100vh;
    height: auto;
    background: var(--page);
    color: var(--ink);
    font: 400 15px/1.65 Inter, system-ui, sans-serif;
    overflow-wrap: anywhere;
}

.solarstrike :is(h1, h2, h3, h4, page-title, event-name, function-name, subject-name) {
    color: var(--ink);
    font-family: inherit;
    font-weight: 700;
    letter-spacing: -.035em;
}

.solarstrike a, .solarstrike .nav > li > a { color: var(--accent); }
.solarstrike a:hover { color: var(--accent-hover); text-decoration: underline; }
.solarstrike :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.solarstrike .site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    padding: 0;
}

.solarstrike .site-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
    width: min(90%, 1200px);
    min-height: 64px;
    margin-inline: auto;
    padding-block: 12px;
}

.solarstrike a.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.035em;
}

.site-brand span {
    display: inline-grid;
    place-items: center;
    width: 25px;
    height: 25px;
    color: var(--accent);
    border: 1px solid currentColor;
    border-radius: 50%;
}

.site-nav, .release-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.solarstrike .site-nav a:not(.site-brand),
.solarstrike .site-footer {
    color: var(--muted);
    font-size: 13px;
}

.solarstrike .site-nav [aria-current="page"] { color: var(--ink); font-weight: 700; }

.solarstrike .site-button,
.site-main .btn-primary {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: var(--accent);
    color: var(--accent-ink);
    font: 700 13px/1.5 Inter, system-ui, sans-serif;
    text-shadow: none;
    box-shadow: none;
}

.solarstrike .site-button:hover, .solarstrike .site-button:focus,
.site-main .btn-primary:hover, .site-main .btn-primary:focus {
    background: var(--accent-hover);
    color: var(--accent-ink);
}

.site-kicker {
    color: var(--accent);
    font: 500 11px/1.35 var(--mono);
    letter-spacing: .09em;
    text-transform: uppercase;
}

.site-main { display: flex; flex-direction: column; }
.site-main .site-content { flex: 1; width: min(88%, 1170px); padding: 34px 0 44px; }
.site-main .site-footer { border-top: 1px solid var(--border); }
.site-main .site-footer .site-bar { min-height: 50px; }

.release-hero {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(22px, 3vw, 38px);
}

.release-intro { display: grid; justify-items: start; gap: 15px; }
.release-intro p, .release-intro h1 { margin: 0; }
.release-intro h1 {
    font-size: clamp(38px, 5.8vw, 66px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.068em;
}
.release-summary { color: var(--muted); max-width: 36ch; }
.release-actions { font-size: 13px; font-weight: 700; }
.release-actions > a:not(.site-button) { color: var(--ink); }

.release-panel {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    overflow: hidden;
}

.release-panel h2 {
    margin: 0;
    padding: 12px 16px;
    background: var(--panel);
    font-size: 19px;
    line-height: 1.2;
}

.release-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    font-size: 13px;
}
.release-row a { color: var(--ink); font-weight: 700; }
.release-row > span { color: var(--muted); font-size: 12px; }
.release-panel a:focus-visible { outline-offset: 2px; }
.release-resources { margin-top: 34px; }
.release-resources .release-row { padding-inline: 0; }
.release-details { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.release-details > h2 { margin-top: 1.5em; font-size: 23px; }
.release-details > h2:first-child { margin-top: 0; }
.release-details .pull-right { margin: 0 0 14px 20px; max-width: 40%; }
.release-table { overflow-x: auto; }
.release-table table { background: var(--surface); margin-bottom: 10px; }
.release-table :is(th, td) { white-space: nowrap; }
.release-table form > .row { margin-inline: 0; }
.site-main .well { background: var(--panel); border-color: var(--border); box-shadow: none; }
.site-main .form-control { border-color: var(--border); box-shadow: none; }

.site-docs .top-bar :is(.top-bar-left, .top-bar-right) { flex: 0 1 auto; }
.site-docs .top-bar ul { background: transparent; }
.site-docs .site-nav { gap: 8px 24px; }
.site-docs .top-bar input { margin: 0 8px 0 0; border-color: var(--border); box-shadow: none; border-radius: 5px; font-size: 14px; }
.site-docs .top-bar input::placeholder { color: var(--muted); opacity: 1; }
.site-docs .top-bar .menu { flex-wrap: nowrap; }
.site-docs .main-container { width: 90%; max-width: 1200px; padding: 26px 0 42px; }
.site-docs .docs-grid { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); gap: 22px; margin: 0; }
.site-docs .sidebar, .site-docs .main-content {
    min-width: 0;
    width: auto;
    max-width: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}
.site-docs .sidebar { align-self: start; padding: 17px; }
.site-docs .sidebar:empty { display: none; }
.site-docs .sidebar:empty + .main-content { grid-column: 2; }
.site-docs .main-content { padding: clamp(15px, 3vw, 32px); }
.site-docs .sidebar h4 { margin-bottom: 6px; font-size: 15px; }
.site-docs .sidebar .page-list { font-size: 13px; font-weight: 500; }
.site-docs page-title { font-size: clamp(29px, 4vw, 38px); line-height: 1.25; margin-bottom: 12px; }
.site-docs page-title:empty { display: none; }
.site-docs :is(preamble, .captioned-media, .docs-notice) { background: var(--panel); border-color: var(--border); }
.site-docs preamble { border-left-color: var(--accent); }
.site-docs .docs-notice {
    margin-bottom: 1em;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}
.site-docs .main-content :is(p, .docs-notice) a { text-decoration: underline; }
.site-docs .docs-notice a { color: var(--accent-hover); }
.site-docs .search-result .section-type, .site-docs .modified-at, .site-docs .caption { color: var(--muted); }
.site-docs :is(code, kbd, example-code, event-parameters, function-variation) { font-family: var(--mono); }
.site-docs example-code {
    background: #202e38;
    color: #e1eaf0;
    border: 1px solid #405762;
    border-left: 4px solid var(--accent-on-dark);
    border-radius: 5px;
    overflow-wrap: normal;
}
.site-docs example-code.hljs { background: #202e38; color: #e1eaf0; }
.site-docs hr { border-color: var(--border); }
.site-docs .docs-footer { color: var(--muted); font-size: 13px; }
.site-docs .docs-footer .menu a { padding-block: 6px; }

@media (max-width: 720px) {
    .release-hero, .site-docs .docs-grid { grid-template-columns: minmax(0, 1fr); }
    .site-docs .sidebar:empty + .main-content { grid-column: auto; }
    .site-docs .sidebar { max-height: 250px; overflow: auto; }
    .site-docs .top-bar .top-bar-right, .site-docs .top-bar .top-bar-right li:first-child { flex: 1 1 auto; min-width: 0; }
    .site-docs .top-bar input { width: 100%; max-width: none; margin: 0; }
    .site-docs .top-bar .menu { gap: 8px; }
    .site-docs :is(preamble, example-code, example-code-title, event-details, subject-details) { margin-left: 0; }
}

@media (max-width: 420px) {
    .release-details .pull-right { float: none !important; max-width: 100%; margin: 0 0 12px; }
}
