html[data-layout='container']:has(.math-case.on) main {
  background: #081117;
}
.math-case {
  --ink: #eaf3f5;
  --muted: #a9bcc3;
  --hair: #29414a;
  --paper: #081117;
  --fill: #10232b;
  --mp-accent: #75d2ec;
  color: var(--ink);
  font-family: var(--sans);
  overflow-wrap: anywhere;
}
.mini-case.math-case,
.math-case .cs-backbar {
  background: transparent;
}
.math-case .wrap,
.math-case .mini-wrap {
  max-width: 1120px;
  margin-inline: auto;
}
.math-case figure {
  margin: 0;
  min-width: 0;
}
.math-case img,
.math-case video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border: 0;
  background: transparent;
}
.math-case h1,
.math-case h2,
.math-case h3 {
  font-family: var(--sans);
  color: var(--ink);
  text-wrap: balance;
}
.math-case h1 {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 24px 0 0;
}
.math-case h1 em {
  font-style: normal;
  color: var(--mp-accent);
}
.math-case h2 {
  font-size: clamp(34px, 4.7vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 20px 0 0;
}
.math-case h3 {
  font-size: 24px;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 15px;
}
.math-case p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 68ch;
}
.math-case .mp-label {
  display: block;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: 0.015em;
  text-transform: none;
  color: var(--mp-accent);
}
.math-case .mp-hero .mp-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.math-case .mp-hero {
  display: grid;
}
.math-case .mp-hero > * {
  min-width: 0;
}
.math-case .mp-lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  margin: 0 0 6px;
  max-width: 42ch;
}
.math-case .mp-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 26px 0 45px;
  border-top: 1px solid var(--hair);
  margin-bottom: 25px;
}
.math-case .mp-facts span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 9px;
}
.math-case .mp-facts b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}
.math-case .mp-act {
  padding: 80px 0;
  border-top: 1px solid var(--hair);
}
.math-case .mp-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8%;
  align-items: start;
  margin-bottom: 42px;
}
.math-case .mp-head > p {
  margin-top: 30px;
}
.math-case .mp-product,
.math-case .mp-motion {
  margin: 40px 0 50px;
}
.math-case figcaption,
.math-case .mp-note {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 80ch;
}
.math-case figcaption {
  margin-top: 20px;
}
.math-case figcaption b,
.math-case figcaption span {
  display: block;
}
.math-case figcaption b {
  font-size: 15px;
  font-weight: 550;
  color: var(--ink);
  margin-bottom: 6px;
}
.math-case .mp-note {
  margin-top: 28px;
}
.math-case .mp-decisions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 48px;
}
.math-case .mp-decisions article {
  border-top: 1px solid var(--hair);
  padding-top: 25px;
  min-width: 0;
}
.math-case .mp-decisions p {
  font-size: 16px;
  margin-bottom: 0;
}
.math-case .mp-pause {
  margin-inline: auto;
  max-width: 940px;
}
.math-case .mp-pause p {
  color: var(--ink);
  margin: 0 auto;
  text-wrap: balance;
}
.math-case .mp-light-section {
  --ink: #10232b;
  --muted: #47616c;
  --hair: #cbdce2;
  --paper: #eef4f5;
  --fill: #e3edf0;
  --mp-accent: #0b7897;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  margin-block: 30px;
  padding-block: 85px;
}
.math-case .mp-theme-pair,
.math-case .mp-visual-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 45px 0;
}
.math-case .mp-theme-pair > *,
.math-case .mp-visual-pair > * {
  min-width: 0;
}
.math-case .mp-craft-grid {
  display: grid;

  margin-top: 45px;
}
.math-case .mp-craft-grid > figure:last-child {
  grid-column: 1/-1;

  margin: 20px auto 0;
  width: 100%;
}
.math-case .mp-ending {
  padding: 90px 0 110px;
  border-top: 1px solid var(--hair);
  max-width: 850px;
}
.math-case .mp-ending h2 {
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.math-case .cs-backbar,
.math-case .cs-backbar .back,
.math-case .cs-nav,
.math-case .cs-nav h3,
.math-case .cs-nav .eyb {
  color: var(--ink);
}
.math-case .cs-navcell,
.math-case .cs-backbar .back {
  cursor: pointer;
}
.math-case .cs-navcell:hover h3,
.math-case .cs-backbar .back:hover {
  color: var(--mp-accent);
}
.math-case .cs-navcell:hover {
  background: #10232b;
  border-color: #29414a;
  box-shadow: none;
  transform: none;
}
.math-case .cs-navcell:focus-visible,
.math-case .cs-backbar .back:focus-visible {
  outline: 2px solid var(--mp-accent);
  outline-offset: 5px;
}

@media (max-width: 900px) {
  .math-case .mp-lead {
    max-width: 58ch;
  }
  .math-case .mp-head {
    gap: 5%;
  }
  .math-case .mp-decisions {
    gap: 30px;
  }
  .math-case .mp-act {
    padding: 65px 0;
  }
}
@media (max-width: 720px) {
  html[data-layout='container'] .math-case .mp-light-section {
    margin-inline-start: calc(-1 * max(20px, env(safe-area-inset-left)));
    margin-inline-end: calc(-1 * max(20px, env(safe-area-inset-right)));
    padding-inline-start: max(20px, env(safe-area-inset-left));
    padding-inline-end: max(20px, env(safe-area-inset-right));
  }
  .math-case .mp-light-section {
    padding-block: 55px;
  }
  .math-case .mp-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
  }
  .math-case .mp-head > p {
    margin: 0;
  }
  .math-case .mp-facts {
    gap: 20px;
  }
  .math-case .mp-product,
  .math-case .mp-motion {
    margin: 30px 0 40px;
  }
}
@media (max-width: 560px) {
  .math-case h1 {
    font-size: clamp(42px, 11.5vw, 64px);
    letter-spacing: -0.03em;
  }
  .math-case h2 {
    font-size: 34px;
    letter-spacing: -0.025em;
  }
  .math-case h3 {
    font-size: 22px;
  }
  .math-case p {
    font-size: 16px;
  }

  .math-case .mp-facts {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0 30px;
    margin-bottom: 10px;
  }
  .math-case .mp-act {
    padding: 50px 0;
  }
  .math-case .mp-decisions,
  .math-case .mp-theme-pair,
  .math-case .mp-visual-pair,
  .math-case .mp-craft-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .math-case .mp-craft-grid > figure:last-child {
    grid-column: auto;
  }

  .math-case .mp-ending {
    padding: 55px 0 75px;
  }
  .math-case figcaption,
  .math-case .mp-note {
    font-size: 14px;
    line-height: 1.65;
  }
  .math-case .mp-theme-pair figcaption {
    margin-top: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .math-case *,
  .math-case *::before,
  .math-case *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.mini-case.math-case .cs-backbar {
  background: transparent;
  background-image: none;
  border: 0;
  padding: 22px 0 0;
  margin: 0;
  max-width: none;
}
.mini-case.math-case .cs-backbar .back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.mini-case.math-case .cs-backbar .back:hover {
  color: var(--mp-accent);
  background: none;
}
.math-case .mp-motion video {
  pointer-events: none;
  user-select: none;
}
.math-case .cs-navcell {
  text-decoration: none;
}
.math-case .cs-navcell:active {
  background: var(--fill);
}
.math-case p,
.math-case figcaption {
  text-wrap: pretty;
}
.math-case .cs-navcell:hover .eyb {
  color: var(--mp-accent);
}
.math-case .cs-navcell:hover h3 {
  text-decoration-color: var(--mp-accent);
}
.mini-case.math-case .cs-backbar .back:hover,
.mini-case.math-case .cs-backbar .back:active {
  transform: none;
  box-shadow: none;
  border: 0;
}
.math-case .mp-head > * {
  min-width: 0;
}
.math-case .mp-hero {
  grid-template-columns: 1fr;

  align-items: start;
}
.math-case .mp-hero h1 {
  max-width: 18ch;
  font-size: clamp(48px, 8.1vw, 96px);
}
.math-case .mp-hero .mp-lead {
  max-width: 52ch;
  margin: 0 0 0 auto;
}
.math-case .mp-opening {
  width: 100%;
}
.math-case .mp-opening img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.math-case .mp-opening figcaption {
  max-width: 65ch;
  margin-top: 16px;
}
.math-case .mp-library-act .mp-head {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 10%;
  margin-bottom: 50px;
}
.math-case .mp-library-act .mp-product {
  width: 100%;
  margin-block: 0 60px;
}
.math-case .mp-library-act .mp-decisions {
  width: 82%;
  margin-left: auto;
  gap: 50px;
}
.math-case .mp-inspiration-act .mp-head {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10%;
  margin-bottom: 55px;
}
.math-case .mp-inspiration-act .mp-head > p {
  max-width: 46ch;
  margin-left: auto;
}
.math-case .mp-inspiration-act .mp-product:first-of-type {
  margin: 0 0 65px auto;
}
.math-case .mp-inspiration-act .mp-visual-hero {
  width: 100%;
  margin: 0 0 35px;
}
.math-case .mp-inspiration-act > .mp-note {
  max-width: 54ch;
  margin-left: auto;
}
@media (max-width: 900px) {
  .math-case .mp-opening {
    margin-bottom: 70px;
  }
  .math-case .mp-library-act .mp-decisions {
    width: 100%;
    gap: 30px;
  }
  .math-case .mp-library-act .mp-head,
  .math-case .mp-inspiration-act .mp-head {
    gap: 5%;
  }
}
@media (max-width: 720px) {
  .math-case .mp-library-act .mp-head,
  .math-case .mp-inspiration-act .mp-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
  }
  .math-case .mp-inspiration-act .mp-head > p {
    max-width: none;
    margin-left: 0;
  }
  .math-case .mp-hero .mp-lead {
    margin-left: 0;
  }
  .math-case .mp-library-act .mp-product {
    margin-bottom: 40px;
  }
  .math-case .mp-inspiration-act .mp-product:first-of-type {
    margin-bottom: 40px;
  }
  .math-case .mp-inspiration-act > .mp-note {
    margin-left: 0;
  }
}
@media (max-width: 560px) {
  .math-case .mp-hero h1 {
    font-size: clamp(42px, 11.5vw, 64px);
  }

  .math-case .mp-library-act .mp-decisions {
    gap: 28px;
  }
}
.math-case .mp-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  margin: 55px 0 20px;
}
.math-case .mp-detail-grid > * {
  min-width: 0;
}
.math-case .mp-detail-grid figure {
  margin: 0;
}
.math-case .mp-detail-grid video {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.math-case .mp-detail-notes {
  margin: 0;
}
.math-case .mp-detail-notes dt {
  line-height: 1.3;

  color: var(--ink);
  margin: 28px 0 12px;
}
.math-case .mp-detail-notes dt:first-child {
  margin-top: 0;
}
.math-case .mp-detail-notes dd {
  color: var(--muted);
  margin: 0;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--hair);
}
.math-case .mp-detail-notes dd:last-child {
  padding-bottom: 0;
  border: 0;
}
@media (max-width: 720px) {
  .math-case .mp-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 35px;
  }
  .math-case .mp-detail-notes {
    max-width: 65ch;
  }
}
.math-case .mp-materials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin: 45px 0 10px;
}
.math-case .mp-materials article {
  min-width: 0;
  border-top: 1px solid var(--hair);
  padding-top: 24px;
}
.math-case .mp-materials h3 {
  font-size: 22px;
  margin-bottom: 24px;
}
.math-case .mp-materials dl,
.math-case .mp-materials ul,
.math-case .mp-materials .mp-tokens {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.math-case .mp-materials dt,
.math-case .mp-materials dd,
.math-case .mp-materials span,
.math-case .mp-materials b {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
  color: var(--muted);
}
.math-case .mp-materials li,
.math-case .mp-materials .mp-tokens > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.math-case .mp-materials [style*='--swatch'] {
  display: inline-block;
  flex: none;
  width: 22px;
  height: 22px;
  background: var(--swatch);
  border: 1px solid #82969e;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 9px;
}
.math-case .mp-design-signature {
  padding: 100px 0 110px;
  max-width: 1000px;
  margin: 0;
}
.math-case .mp-design-signature p,
.math-case .mp-design-signature h2 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 550;
  line-height: 1.13;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: none;
  margin: 0;
  text-wrap: balance;
}
.math-case .mp-design-signature em,
.math-case .mp-design-signature span {
  color: var(--mp-accent);
  font-style: normal;
}
.math-case .cs-navcell {
  transition:
    background-color 0.18s ease,
    color 0.18s ease !important;
}
.math-case .cs-navcell:hover h3 {
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
@media (max-width: 720px) {
  .math-case .mp-materials {
    gap: 25px;
  }
  .math-case .mp-design-signature {
    padding: 65px 0 75px;
  }
}
@media (max-width: 560px) {
  .math-case .mp-materials {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .math-case .mp-materials dl,
  .math-case .mp-materials ul,
  .math-case .mp-materials .mp-tokens {
    gap: 20px;
  }
  .math-case .mp-design-signature {
    padding: 55px 0 65px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .math-case .cs-navcell {
    transition: none !important;
  }
}
html:has(.math-case.on) header.site .nav-in {
  padding-block: 9px;
  min-height: 64px;
  box-sizing: border-box;
}
html:has(.math-case.on) header.site .brand {
  min-height: 44px;
  gap: 8px;
}
html:has(.math-case.on) header.site .brand .mk {
  width: 24px;
  height: 24px;
}
html:has(.math-case.on) header.site .brand .mk svg {
  width: 24px;
  height: 24px;
}
html:has(.math-case.on) header.site .brand .wordmark {
  font-size: 18px;
}
html:has(.math-case.on) header.site nav.links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 10px;
  box-sizing: border-box;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  font-size: 13px;
  letter-spacing: 0.02em;
}
html:has(.math-case.on) header.site nav.links a:hover,
html:has(.math-case.on) header.site nav.links a:active {
  background: #e7edf0;
  color: #10232b;
  transform: none;
  box-shadow: none;
}
html:has(.math-case.on) header.site nav.links a.active {
  background: #10232b;
  color: #eaf3f5;
  border-color: transparent;
  box-shadow: none;
}
.math-case .mp-hero {
  padding: 45px 0 30px;
  gap: 24px;
}
.math-case .mp-hero .mp-lead {
  font-size: 18px;
  line-height: 1.6;
}
.math-case .mp-opening {
  margin: 10px 0 40px;
}
.math-case .mp-pause {
  padding: 28px 0 38px;
  text-align: left;
}
.math-case .mp-pause p {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.math-case .mp-detail-notes dt {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 9px;
}
.math-case .mp-detail-notes dd {
  font-size: 15px;
  line-height: 1.7;
}
.math-case .mp-visual-decision {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 65ch;
  margin: 0 0 20px;
}
@media (max-width: 560px) {
  html:has(.math-case.on) header.site nav.links a:not(.always) {
    display: none;
  }
  html:has(.math-case.on) header.site .nav-in {
    gap: 12px;
  }
  .math-case .mp-hero {
    padding: 28px 0 24px;
    gap: 22px;
  }
  .math-case .mp-hero .mp-lead {
    font-size: 16px;
  }
  .math-case .mp-opening {
    margin: 5px 0 30px;
  }
  .math-case .mp-pause p {
    font-size: 24px;
  }
}
.math-case .mp-inspiration-act .mp-product:first-of-type {
  width: 100%;
  margin-inline: 0;
}
.math-case .mp-light-section .mp-product img,
.math-case .mp-light-section .mp-product video {
  background: var(--paper);
  object-fit: contain;
  height: auto;
  max-height: none;
  clip-path: none;
}
.math-case .mp-light-section .mp-product figcaption {
  max-width: 68ch;
  margin-left: auto;
  margin-right: 0;
}
.math-case .mp-light-section .mp-visual-decision {
  max-width: 68ch;
  margin-left: auto;
  margin-right: 0;
}
@media (max-width: 720px) {
  .math-case .mp-light-section .mp-product figcaption,
  .math-case .mp-light-section .mp-visual-decision {
    margin-left: 0;
  }
}
.math-case .mp-route-detail {
  margin-top: 35px;
  border-block: 1px solid var(--hair);
}
.math-case .mp-route-detail .mp-route-heading {
  padding: 22px 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0;
}
.math-case .mp-route-detail .mp-product {
  margin-top: 15px;
}

.math-case .mp-enlarge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 10px 14px;
  border-radius: 4px;
  background: #081117;
  color: #eaf3f5;
  border: 1px solid #4e6872;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.math-case .mp-craft-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}
.math-case .mp-craft-grid > figure:last-child {
  max-width: none;
  margin-top: 30px;
}
.math-case .mp-atmosphere img {
  filter: contrast(1.04) saturate(0.92);
  border-radius: 2px;
}
.math-case .mp-atmosphere figcaption {
  max-width: none;
  padding-top: 12px;
  border-top: 1px solid var(--hair);
}

@media (hover: none) {
  .math-case .mp-enlarge {
    opacity: 1;
  }
}
@media (max-width: 560px) {
  .math-case .mp-craft-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .math-case .mp-enlarge {
    right: 8px;
    bottom: 8px;
    padding: 8px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .math-case .mp-enlarge {
    transition: none;
  }
}

.math-case .mp-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.math-case .mp-workspace > * {
  min-width: 0;
}
.math-case .mp-workspace .mp-product {
  margin: 0;
}
.math-case .mp-workspace-decision {
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}
.math-case .mp-workspace-decision h3 {
  font-size: 22px;
  line-height: 1.3;
}
.math-case .mp-workspace-decision p {
  font-size: 16px;
}
.math-case .mp-workspace-decision .mp-note {
  font-size: 14px;
}
@media (max-width: 720px) {
  .math-case .mp-workspace {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .math-case .mp-workspace-decision {
    max-width: 65ch;
  }
}

.math-case .mp-console-showcase figcaption {
  margin-inline: 0;
  text-align: left;
}
.math-case .mp-console-showcase img {
  filter: none;
  clip-path: none;
  mask-image: none;
}
.math-case .mp-craft-grid>figure:nth-child(-n+2) {
  outline: 1px solid transparent;
  outline-offset: 7px;
}
.math-case .mp-demo-loop video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  box-sizing: border-box;
  clip-path: none;
  mask-image: none;
}
@media (prefers-reduced-motion: no-preference) {
  .math-case.on .mp-craft-grid>figure:nth-child(-n+2) {
    animation: mp-atlas-arrive 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: outline-color 0.2s ease;
  }
  .math-case.on .mp-craft-grid > figure:nth-child(2) {
    animation-delay: 0.12s;
  }
  .math-case .mp-craft-grid>figure:nth-child(-n+2):hover {
    outline-color: var(--hair);
  }
  @keyframes mp-atlas-arrive {
    from {
      opacity: 0.85;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .math-case .mp-craft-grid > figure {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1;
  }
}
.math-case .mp-progress-study {
  max-width: 600px;
  margin: 30px 0 50px auto;
  padding: 28px;
  background: #17262d;
  border: 1px solid #40555e;
  border-radius: 12px;
  color: #dce8ec;
}
.math-case .mp-progress-study .mp-label {
  font-size: 12px;
  margin-bottom: 22px;
  color: #9aaeb5;
}
.math-case .mp-progress-readout {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
}
.math-case .mp-progress-readout strong {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: #91cee0;
  font-variant-numeric: tabular-nums;
}
.math-case .mp-progress-readout > span {
  font-size: 14px;
  color: #b4c2c7;
}
.math-case .mp-progress-rail {
  height: 6px;
  background: #0a161d;
  border: 1px solid #334952;
  border-radius: 4px;
  margin-top: 20px;
}
.math-case .mp-progress-ticks {
  display: flex;
  justify-content: space-between;
  font: 14px/1.5 monospace;
  color: #b4c2c7;
  margin: 8px 0 22px;
}
.math-case .mp-progress-ticks span:first-child {
  color: #91cee0;
}
.math-case .mp-progress-focus {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #526b74;
  border-radius: 11px;
  padding: 14px;
  background: linear-gradient(#2b444e, #192b33);
}
.math-case .mp-progress-focus > i {
  width: 30px;
  height: 78px;
  border: 1px solid #59717a;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 15px,
      #657980 16px,
      transparent 17px
    ),
    #07171e;
}
.math-case .mp-progress-focus strong,
.math-case .mp-progress-focus b,
.math-case .mp-progress-focus span {
  display: block;
}
.math-case .mp-progress-focus strong {
  font-size: 28px;
  line-height: 1.1;
  color: #dce8ec;
}
.math-case .mp-progress-focus small {
  font-size: 15px;
}
.math-case .mp-progress-focus b {
  font: 600 14px/1.5 monospace;
  color: #b4c2c7;
  margin-top: 4px;
}
.math-case .mp-progress-focus span {
  font-size: 14px;
  line-height: 1.6;
  color: #b4c2c7;
}
.math-case .mp-progress-study .mp-note {
  font-size: 14px;
  color: #9aaeb5;
  margin: 20px 0 0;
}
@media (max-width: 560px) {
  .math-case .mp-progress-study {
    padding: 22px;
    margin: 25px 0 35px;
  }
  .math-case .mp-progress-readout {
    flex-wrap: wrap;
    gap: 8px;
  }
  .math-case .mp-progress-readout strong {
    font-size: 27px;
  }
}
.math-case .mp-progress-rail {
  overflow: hidden;
}
.math-case .mp-progress-rail > i {
  display: block;
  height: 100%;

  background: #91cee0;
  border-radius: 3px;
}
.math-case .mp-progress-focus > i {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: none;
  isolation: isolate;
}
.math-case .mp-progress-focus > i::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  background: linear-gradient(#91cee0, #4e91a5);
  opacity: 0.75;
  z-index: -1;
}
.math-case .mp-progress-focus [data-progress-focus],
.math-case .mp-progress-focus [data-progress-week-lessons] {
  display: inline;
  font: inherit;
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.math-case .mp-light-section .mp-motion video {
  box-sizing: border-box;
  padding: clamp(10px, 2vw, 24px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  overflow: visible;
  background: var(--paper);
}
.math-case .mp-inspiration-act .mp-console-showcase:first-of-type {
  width: min(100%, 340px);
  margin: 0 auto 40px;
}

.math-case .mp-console-showcase img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  max-height: none;
}
@media (max-width: 720px) {
  .math-case .mp-inspiration-act .mp-console-showcase:first-of-type {
    width: min(100%, 280px);
  }
  .math-case .mp-light-section .mp-motion figcaption {
    margin-top: 14px;
  }
}
.math-case .mp-launch {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: 70px 0 60px;
  position: relative;
  isolation: isolate;
}
.math-case .mp-launch::before {
  content: '';
  position: absolute;
  inset: 0 -44px;
  background:
    linear-gradient(90deg, #081117 8%, #081117b8 65%, #081117ed),
    url('math-room.png') center/cover;
  opacity: 0.32;
  z-index: -1;
  pointer-events: none;
}
.math-case .mp-launch h1 {
  letter-spacing: -0.055em;
  margin: 27px 0;
}
.math-case .mp-launch .mp-label {
  color: #a9bcc3;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.math-case .mp-launch .mp-lead {
  max-width: 33ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}
.math-case .mp-launch .mp-opening {
  margin: 0;
  align-self: center;
}
.math-case .mp-launch .mp-opening video {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.math-case .mp-launch .mp-opening figcaption {
  margin-top: 18px;
}
.math-case .mp-launch-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  margin-top: 22px;
  color: #75d2ec;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid #437687;
}
.math-case .mp-launch-link:hover {
  color: #eaf3f5;
  border-color: #eaf3f5;
}
.math-case .mp-launch-link:focus-visible {
  outline: 2px solid #75d2ec;
  outline-offset: 6px;
}
.math-case #mp-control {
  scroll-margin-top: 110px;
}
.math-case .mp-proposition {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 25px 8%;
  position: relative;
  background: #75d2ec;
  --ink: #081117;
  --muted: #173d49;
  color: var(--ink);
  padding: 65px 44px;
  margin: 35px -44px 15px;
  border: 0;
}
.math-case .mp-proposition > .mp-label {
  grid-column: 1/-1;
  color: #173d49;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.math-case .mp-proposition h2 {
  letter-spacing: -0.055em;
  margin: 12px 0;
  max-width: none;
}
.math-case .mp-proposition h2 em {
  font-style: normal;
  color: #081117;
  text-decoration: underline;
  text-decoration-thickness: 0.055em;
  text-underline-offset: 0.09em;
}
.math-case .mp-proposition-copy {
  align-self: end;
  max-width: 38ch;
}
.math-case .mp-proposition-copy p:first-child {
  font-size: clamp(25px, 3vw, 37px);

  font-weight: 550;
  letter-spacing: -0.025em;
  color: #081117;
}
.math-case .mp-proposition-copy p:last-child {
  font-size: 17px;
  line-height: 1.65;
  margin: 24px 0 12px;
  color: #173d49;
}
.math-case .mp-head h2 {
  font-size: clamp(38px, 5.5vw, 72px);

  max-width: 15ch;
}
.math-case .mp-head > p {
  font-size: 18px;
  max-width: 44ch;
}
.math-case .mp-library-act .mp-product {
  margin-top: 25px;
}
.math-case .mp-ending h2 {
  max-width: 13ch;
  color: #75d2ec;
}
@media (max-width: 720px) {
  .math-case .mp-launch {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 30px;
  }

  .math-case .mp-launch .mp-lead {
    font-size: 17px;
    max-width: 36ch;
  }
  .math-case .mp-launch::before {
    inset: 0 -20px;
  }
  .math-case .mp-launch .mp-opening {
    margin: 0;
  }
  .math-case .mp-proposition {
    grid-template-columns: 1fr;
    padding: 45px 20px;
    margin-inline: -20px;
    gap: 20px;
  }

  .math-case .mp-proposition-copy {
    max-width: 38ch;
  }
  .math-case .mp-proposition-copy p:last-child {
    margin-bottom: 0;
  }
  .math-case .mp-head > p {
    font-size: 17px;
  }
}
.math-case .mp-workspace:has(.mp-demo-loop) {
  grid-template-columns: 1fr;
  gap: 24px;
}
.math-case .mp-workspace:has(.mp-demo-loop) .mp-workspace-decision {
  max-width: 52ch;
  margin-left: auto;
  padding-top: 18px;
}
.math-case .mp-workspace:has(.mp-demo-loop) .mp-workspace-decision p:last-child {
  display: none;
}
.math-case .mp-inspiration-act .mp-product.mp-demo-loop:first-of-type {
  width: 100%;
  max-width: none;
  margin: 0 0 40px;
}
@media (max-width: 720px) {
  .math-case .mp-workspace:has(.mp-demo-loop) .mp-workspace-decision {
    margin-left: 0;
  }
}

.math-case .mp-icon-keyboard {
  grid-column: 1/-1;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: linear-gradient(145deg, #18313b, #0b1b23);
  box-shadow:
    inset 0 1px #ffffff0d,
    0 24px 60px #0002;
}
.math-case .mp-keyboard-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.math-case .mp-keyboard-header > span:last-child {
  color: var(--muted);
  font: 12px/1.5 var(--sans);
}
.math-case .mp-keyboard-keys {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.math-case .mp-icon-key {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #cde3eb;
  font: 500 13px/1.4 var(--sans);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.math-case .mp-icon-key-face {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #4e6c77;
  border-radius: 12px;
  background: linear-gradient(145deg, #274753, #132b34);
  box-shadow:
    inset 0 1px #bfd7df38,
    inset 0 -2px #07151bcc,
    0 5px 0 #06131a,
    0 8px 16px #0004;

  transform: translateY(0);
}
.math-case .mp-icon-key svg {
  display: block;
  width: 44px;
  height: 44px;
  max-width: 55%;
  overflow: visible;
}
.math-case .mp-icon-key-label {
  display: block;
  text-align: center;
  overflow-wrap: anywhere;
}
.math-case .mp-icon-key:hover .mp-icon-key-face {
  color: #92e4fa;
  box-shadow:
    inset 0 1px #bfd7df50,
    inset 0 -2px #07151bcc,
    0 9px 0 #06131a,
    0 13px 24px #0005;
}
.math-case .mp-icon-key:active .mp-icon-key-face,
.math-case .mp-icon-key[aria-pressed='true'] .mp-icon-key-face {
  transform: translateY(4px);
  color: #081117;
  background: linear-gradient(145deg, #9edcee, #5cb7d1);
  box-shadow:
    inset 0 1px #ffffff80,
    inset 0 -1px #08242e50,
    0 1px 0 #06131a,
    0 3px 7px #0003;
}
.math-case .mp-icon-key:focus-visible {
  outline: 0;
}
.math-case .mp-icon-key:focus-visible .mp-icon-key-face {
  outline: 3px solid #a3e8fb;
  outline-offset: 5px;
}
.math-case .mp-icon-keyboard figcaption {
  margin-top: 28px;
  max-width: 75ch;
}
@media (max-width: 720px) {
  .math-case .mp-keyboard-keys {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  .math-case .mp-icon-key {
    font-size: 12px;
    gap: 12px;
  }
  .math-case .mp-icon-key svg {
    width: 34px;
    height: 34px;
  }
  .math-case .mp-icon-key-face {
    border-radius: 8px;
  }
}
@media (max-width: 480px) {
  .math-case .mp-keyboard-keys {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
  .math-case .mp-icon-key {
    font-size: 13px;
  }
  .math-case .mp-icon-key svg {
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .math-case .mp-icon-key:active .mp-icon-key-face,
  .math-case .mp-icon-key[aria-pressed='true'] .mp-icon-key-face {
    transform: none;
  }
}

.math-case .mp-progress-rail > i {
  width: 100%;
  transform-origin: left center;
  transform: scaleX(var(--journey-scale, 0.25));
}
.math-case .mp-progress-focus > i::before {
  height: 100%;
  transform-origin: center bottom;
  transform: scaleY(var(--focus-scale, 0.75));
}
.math-case .mp-icon-key-face {
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 160ms ease-out,
    background 160ms ease-out;
}
.math-case .mp-icon-key:hover .mp-icon-key-face {
  transform: translateY(-3px);
}
.math-case .mp-icon-key:active .mp-icon-key-face {
  transition-duration: 80ms;
  transform: translateY(3px);
}
.math-case .mp-icon-key[aria-pressed='true'] .mp-icon-key-face {
  transform: translateY(3px);
}
@media (prefers-reduced-motion: reduce) {
  .math-case .mp-icon-key-face {
    transition: none !important;
  }
  .math-case .mp-icon-key:hover .mp-icon-key-face,
  .math-case .mp-icon-key:active .mp-icon-key-face,
  .math-case .mp-icon-key[aria-pressed='true'] .mp-icon-key-face {
    transform: none;
  }
}

.math-case {
  --mp-caption-size: 0.875rem;
}
.math-case .mp-launch h1 {
  font-size: clamp(48px, 6.6vw, 96px);
  max-width: 13ch;
  line-height: 1.1;
}
.math-case .mp-proposition h2 {
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: 1.4;
}
.math-case .mp-ending h2 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.4;
}
.math-case .mp-head h2 {
  line-height: 1.4;
}
.math-case .mp-launch .mp-opening figcaption {
  font-size: var(--mp-caption-size);
  line-height: 1.65;
  max-width: 44ch;
}
.math-case .mp-proposition-copy p:first-child {
  line-height: 1.4;
  text-wrap: pretty;
}
.math-case .mp-progress-readout > span,
.math-case .mp-progress-ticks {
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.math-case h1,
.math-case h2,
.math-case h3 {
  overflow-wrap: break-word;
}
@media (max-width: 720px) {
  .math-case .mp-launch h1 {
    font-size: clamp(42px, 11vw, 72px);
    line-height: 1.4;
    max-width: 13ch;
  }
  .math-case .mp-proposition h2 {
    font-size: clamp(38px, 10vw, 66px);
    line-height: 1.4;
  }
  .math-case .mp-head h2 {
    font-size: clamp(32px, 7.8vw, 48px);
    line-height: 1.4;
    max-width: 18ch;
  }
  .math-case .mp-ending h2 {
    font-size: clamp(36px, 9vw, 62px);
    line-height: 1.4;
  }
}
