/* Static rendering of the published freecore.org masthead, page heading and footer. */
@font-face {
  font-family: "Plex Sans";
  src: url("/selector-assets/plexsans-reg.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("/selector-assets/plexsans-med.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/selector-assets/plexmono-reg.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("/selector-assets/plexsans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f3f3f2;
  --panel: #ffffff;
  --text: #1e2226;
  --muted: #4c555c;
  --rule: #d9d9d7;
  --link: #9c4a24;
  --fc-mk-ghost: #4c555c;
  --fc-mk-branch: #9c4a24;
  --copper: #9c4a24;
  --sans: "Plex Sans", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, monospace;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; border-top: 4px solid var(--copper); -webkit-font-smoothing: antialiased; }
::selection { background: var(--copper); color: white; }
a { color: var(--link); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.page { max-width: 78rem; margin-inline: auto; padding-inline: clamp(1.5rem, 5vw, 3.5rem); }
.masthead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 28px; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; color: var(--text); text-decoration: none; }
.brand svg { flex-shrink: 0; }
.brand span { font-size: 19px; line-height: 1; }
.brand b { font-weight: 700; }
nav { display: contents; }
nav a { transform: translateY(2.4px); font: 12.5px/1.4 var(--mono); letter-spacing: .03em; }
nav a[aria-current="page"] { color: var(--muted); text-decoration: none; }
main { padding-bottom: 32px; }
.page-heading { padding-top: clamp(3rem, 8vh, 5.5rem); padding-bottom: 36px; }
h1 { font-size: clamp(2.8rem, 1.8rem + 4vw, 4.6rem); font-weight: 400; line-height: 1.02; letter-spacing: -.025em; margin: 0 0 1.6rem; text-wrap: balance; }
.period { color: var(--copper); font-weight: 700; }
.page-heading p { font-size: 18px; line-height: 1.65; margin: 0; max-width: 46rem; color: var(--muted); }
.section-label { margin: 0; padding-bottom: 15px; font: 400 11.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.version { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; column-gap: clamp(2rem, 3.5vw, 3rem); padding-block: 28px; border-top: 1px solid var(--text); }
.version:last-child { border-bottom: 1px solid var(--text); }
h3 { font-size: 28px; font-weight: 500; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.02em; }
.release-type { font: 400 12px/1.6 var(--mono); color: var(--muted); margin: 0; }
.features { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }
.enter { justify-self: end; font: 400 13px/1.6 var(--mono); display: inline-flex; align-items: center; gap: 20px; padding-block: 12px; white-space: nowrap; }
.enter span { font-family: var(--sans); font-size: 21px; line-height: 1; }
.sample-note { font-size: 13px; line-height: 1.85; color: var(--muted); margin: 26px 0 0; }
.sample-note strong { font-weight: 500; color: var(--text); }
footer { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(2rem, 3.5vw, 3rem); margin-top: .9rem; padding-bottom: 4rem; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
footer::before { content: ""; grid-column: 1 / -1; margin-bottom: 8px; border-top: 1px solid var(--text); }
footer p { margin: 0; }
.platform { grid-column: 3; grid-row: 2; text-align: right; font-family: var(--mono); font-feature-settings: "zero"; }
.copyright { grid-column: 1 / 3; grid-row: 2; }
.lineage { grid-column: 1 / 3; grid-row: 3; }
.disclosure { grid-column: 1 / 3; grid-row: 4; }
@media (max-width: 1100px) {
  footer { grid-template-columns: 1fr; row-gap: .6rem; }
  footer .platform, footer .copyright, footer .lineage, footer .disclosure { grid-column: auto; grid-row: auto; text-align: left; }
}
@media (max-width: 560px) {
  .masthead { gap: .6rem 16px; }
  .brand { margin-right: 0; flex-basis: 100%; }
}
.skip-link { position: absolute; top: -80px; left: 24px; padding: 12px 16px; background: var(--panel); z-index: 2; }
.skip-link:focus { top: 12px; }
@media (max-width: 760px) {
  .version { grid-template-columns: 1fr auto; gap: 12px 24px; }
  .release { grid-column: 1; }
  .features { grid-column: 1; }
  .enter { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 480px) {
  .version { grid-template-columns: 1fr; padding-block: 24px; }
  .features, .enter { grid-column: 1; grid-row: auto; }
  .enter { justify-self: start; gap: 16px; padding-bottom: 0; }
  h3 { font-size: 26px; }
}
