@import url("./reference.css?v=20260811-2");
@import url("./compat.css?v=20260901-1");

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/heebo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./fonts/assistant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./fonts/assistant-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font-heebo: "Heebo";
  --font-assistant: "Assistant";
}

body {
  font-size: 16px;
}

/* Shared Lab shell for Academy and every learning route. */
body {
  min-width: 320px;
  background: #fffef7;
  color: #0b0b09;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.academy-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(11, 11, 9, .96);
  color: #fff;
  text-align: left;
  backdrop-filter: blur(16px);
}

.academy-header-inner {
  width: min(1280px, calc(100% - 40px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.academy-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.academy-brand img {
  width: 250px;
  height: auto;
}

.academy-brand > span {
  padding: 6px 8px 5px;
  border: 1px solid #f4d20b;
  color: #f4d20b;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.academy-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.academy-learning-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8d7cd;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .03em;
}

.academy-learning-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47d795;
  box-shadow: 0 0 0 5px rgba(71, 215, 149, .12);
}

.academy-menu-button {
  display: none;
  border: 1px solid #57574f;
  background: transparent;
  color: #fff;
  padding: 9px 12px;
  font-weight: 800;
}

.academy-main-nav {
  max-width: 1280px;
  margin: auto;
  padding: 0 20px 11px;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.academy-main-nav a {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 99px;
  color: #bdbdb5;
  font-size: .875rem;
  font-weight: 750;
  text-decoration: none;
}

.academy-main-nav a:hover,
.academy-main-nav a.active {
  background: #f4d20b;
  color: #0b0b09;
}

.academy-main-nav .site-link {
  border: 1px solid #4e4e47;
  color: #fff;
}

.academy-site-footer {
  max-width: none;
  margin: 0;
  padding: 55px max(24px, calc((100vw - 1220px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px 70px;
  background: #0b0b09;
  color: #fff;
  text-align: left;
}

.academy-footer-brand {
  font-weight: 950;
  font-style: italic;
  letter-spacing: -.03em;
  text-decoration: none;
}

.academy-footer-brand span {
  color: #f4d20b;
  font-size: .7rem;
  font-style: normal;
  letter-spacing: .14em;
}

.academy-site-footer p {
  max-width: 580px;
  margin: 10px 0 0;
  color: #a8a79f;
  font-size: .78rem;
  line-height: 1.5;
}

.academy-footer-links {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 16px;
}

.academy-footer-links a {
  color: #d0cfc7;
  font-size: .75rem;
  text-decoration: none;
}

.academy-footer-links a:hover { color: #f4d20b; }

.academy-site-footer .academy-footer-note {
  grid-column: 1 / -1;
  max-width: none;
  padding-top: 20px;
  border-top: 1px solid #33332f;
}

@media (max-width: 720px) {
  .academy-header-inner { width: calc(100% - 28px); min-height: 68px; }
  .academy-brand img { width: 188px; }
  .academy-brand > span { display: none; }
  .academy-learning-pill { display: none; }
  .academy-menu-button { display: block; }
  .academy-main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 68px);
    padding: 14px;
    background: #0b0b09;
    flex-direction: column;
    overflow-y: auto;
  }
  .academy-main-nav.open { display: flex; }
  .academy-main-nav a { border-radius: 0; padding: 13px; border-bottom: 1px solid #33332f; }
  .academy-site-footer { grid-template-columns: 1fr; }
  .academy-site-footer .academy-footer-note { grid-column: 1; }
}
