:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #142f41;
  background: #f4f8f9;
  --bar-height: 4.5rem;
}
* { box-sizing: border-box; }
body {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  margin: 0;
}
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
nav svg, .watermark svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rail {
  min-height: 0;
  overflow-y: auto;
  padding: 2rem 1rem 1.15rem;
  background: #0c2836;
  color: #e3f0f1;
  scrollbar-color: #46616b #0c2836;
}
.brand {
  display: flex;
  align-items: center;
  gap: .78rem;
  margin: .15rem 0 2.7rem .55rem;
  color: #fbffff;
  font-size: 1.37rem;
  font-weight: 680;
  line-height: 1.05;
  letter-spacing: -.055em;
}
.brand img { width: 2.8rem; height: 2.8rem; }
.brand small {
  display: block;
  margin-top: .24rem;
  color: #c0d7d8;
  font-size: .79rem;
  font-weight: 520;
  line-height: 1.25;
  letter-spacing: .035em;
}
nav { display: grid; gap: .28rem; }
nav p {
  margin: 1.6rem 0 .55rem;
  padding: 0 .8rem;
  color: #9cb9c1;
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
nav p:first-child { margin-top: 0; }
nav a, .academy {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem .85rem;
  font-size: .96rem;
  line-height: 1.25;
}
nav a {
  color: #c7dce0;
  border-radius: .5rem;
  font-weight: 520;
  text-decoration: none;
}
nav a:hover { color: white; background: #153c49; }
nav a:focus-visible { outline: 3px solid #a1f1ca; outline-offset: 2px; }
nav .portal-return { border-top: 1px solid #34525e; border-radius: 0; margin-top: 1rem; padding-top: 1rem; font-size: .84rem; }
nav .portal-return span { font-size: 1.15em; }
.academy { padding-bottom: .45rem; font-weight: 600; }
.academy-links {
  display: grid;
  gap: .15rem;
  margin: 0 0 .4rem 1.4rem;
  padding-left: .7rem;
  border-left: 1px solid #46616b;
}
.academy-links a { padding: .57rem .72rem; font-size: .88rem; }
body:not(:has(.view:target)) a[href="#overview"],
body:has(#overview:target) a[href="#overview"],
body:has(#catalog:target) a[href="#catalog"],
body:has(#my-learning:target) a[href="#my-learning"],
body:has(#practice:target) a[href="#practice"],
body:has(#progress:target) a[href="#progress"],
body:has(#portals:target) a[href="#portals"],
body:has(#community:target) a[href="#community"] {
  background: #184a4e;
  color: #bdffdd;
  box-shadow: inset 3px 0 0 #8ae5ba;
  font-weight: 650;
}
main { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.view { display: none; height: 100%; flex-direction: column; }
main:not(:has(.view:target)) #overview, .view:target { display: flex; }
header {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: var(--bar-height);
  padding: 0 clamp(1.15rem, 3.4vw, 4.4rem);
  border-bottom: 1px solid #d7e3e7;
  background: white;
  font-size: .88rem;
}
header span { color: #536977; }
header span::after { content: "/"; margin-left: .7rem; color: #798e99; }
h1 { margin: 0; font-size: inherit; }
.indicator {
  position: absolute;
  top: calc(var(--bar-height) / 2);
  right: clamp(1.15rem, 3.4vw, 4.4rem);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .66rem;
  border: 1px solid #c6e1d6;
  border-radius: 2rem;
  background: #eaf6ef;
  color: #3d6862;
  font-size: .79rem;
  font-weight: 600;
}
.indicator i { width: .44rem; height: .44rem; border-radius: 50%; background: #278961; }
#overview { --desktop: url("/assets/tour/overview.webp"); --mobile: url("/assets/tour/overview-mobile.webp"); }
#catalog { --desktop: url("/assets/tour/catalog.webp"); --mobile: url("/assets/tour/catalog-mobile.webp"); }
#my-learning { --desktop: url("/assets/tour/my-learning.webp"); --mobile: url("/assets/tour/my-learning-mobile.webp"); }
#practice { --desktop: url("/assets/tour/practice.webp"); --mobile: url("/assets/tour/practice-mobile.webp"); }
#progress { --desktop: url("/assets/tour/progress.webp"); --mobile: url("/assets/tour/progress-mobile.webp"); }
#portals { --desktop: url("/assets/tour/portals.webp"); --mobile: url("/assets/tour/portals-mobile.webp"); }
#community { --desktop: url("/assets/tour/community.webp"); --mobile: url("/assets/tour/community-mobile.webp"); }
.still { flex: 1; background: var(--desktop) center top / 100% auto no-repeat; }
.veil {
  position: absolute;
  inset: var(--bar-height) 0 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: #f2f7f516;
}
.watermark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .36em;
  width: 100%;
  margin: 0;
  padding: .36em .2em .42em;
  border-block: 1px solid #ffffff94;
  color: #183f47;
  background: #f2faf5bd;
  font-size: clamp(2rem, 5vw, 5.4rem);
  font-weight: 640;
  line-height: 1.05;
  letter-spacing: -.055em;
  text-align: center;
}
.watermark svg { width: .72em; height: .72em; color: #326a66; stroke-width: 1.5; }
@media (max-width: 64rem) {
  body { grid-template-columns: 12rem minmax(0, 1fr); }
  .rail { padding-inline: .65rem; }
  .indicator { right: 1.15rem; }
}
@media (max-width: 48rem) {
  :root { --bar-height: 3.8rem; }
  body { grid-template-columns: 7.625rem minmax(0, 1fr); }
  .rail { padding: .9rem .3rem; }
  .brand { flex-direction: column; gap: .35rem; margin: 0 0 1.15rem; text-align: center; font-size: 1rem; }
  .brand img { width: 2rem; height: 2rem; }
  .brand small { margin-top: .1rem; font-size: .64rem; letter-spacing: 0; }
  nav { gap: .12rem; }
  nav p { padding: 0; margin: .9rem 0 .3rem; text-align: center; font-size: .59rem; }
  nav a, .academy { flex-direction: column; justify-content: center; gap: .25rem; padding: .4rem .2rem; text-align: center; font-size: .73rem; }
  nav a { min-height: 2.75rem; }
  nav .portal-return { font-size: .7rem; padding-top: .65rem; margin-top: .55rem; }
  nav svg { width: 1rem; height: 1rem; }
  .academy-links { gap: 0; margin: 0 .15rem .25rem .35rem; padding-left: .15rem; }
  .academy-links a { padding: .32rem .15rem; font-size: .7rem; }
  header { padding-inline: 1rem; }
  header span { display: none; }
  .still { background-image: var(--mobile); }
  .watermark { font-size: clamp(1.5rem, 5.8vw, 2.75rem); }
}
@media (max-width: 33rem) {
  .indicator { display: none; }
}
@media (forced-colors: active) {
  nav a[aria-current="page"] { border-inline-start: 3px solid LinkText; }
  .watermark { background: Canvas; color: CanvasText; border-color: CanvasText; }
}
