/* Page-scoped presentation for the learning-center home and showcase. */
:root {
  --mv-accent: #5965e8;
  --mv-accent-strong: #3f46c8;
  --mv-cyan: #20b8d8;
  --mv-magenta: #d946ef;
  --mv-ink: #172033;
  --mv-muted: #5e687d;
  --mv-line: rgba(89, 101, 232, 0.16);
  --mv-surface: rgba(255, 255, 255, 0.86);
  --mv-shadow: 0 18px 48px rgba(31, 43, 92, 0.1);
  --mv-shadow-hover: 0 24px 58px rgba(31, 43, 92, 0.16);
}

.mv-home,
.mv-showcase {
  color: var(--mv-ink);
}

.mv-home .mv-hero,
.mv-showcase .mv-showcase-hero {
  box-sizing: border-box;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  margin: 0 auto 1.75rem;
  padding: clamp(1.65rem, 3vw, 2.5rem);
  border: 1px solid rgba(151, 166, 255, 0.22);
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 16% 18%, rgba(32, 184, 216, 0.3), transparent 28%),
    radial-gradient(circle at 84% 82%, rgba(217, 70, 239, 0.25), transparent 30%),
    linear-gradient(135deg, #111a3b 0%, #20275e 52%, #35206a 100%);
  box-shadow: 0 22px 56px rgba(20, 28, 68, 0.17);
  animation: mv-rise 560ms ease-out both;
}

.mv-home .mv-hero {
  max-width: 40rem;
  padding: 1.65rem 2rem 1.45rem;
}

.mv-home .mv-hero::before,
.mv-showcase .mv-showcase-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.mv-showcase .mv-showcase-hero {
  max-width: 34rem;
  padding: 0.9rem 2rem 0.85rem;
}

.mv-home .mv-hero::after,
.mv-showcase .mv-showcase-hero::after {
  position: absolute;
  z-index: -1;
  top: -5rem;
  right: -4rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.5rem rgba(255, 255, 255, 0.025),
    0 0 0 5rem rgba(255, 255, 255, 0.018);
  content: "";
}

.mv-home .mv-hero h1,
.mv-showcase .mv-showcase-hero h1 {
  margin: 0 0 1rem;
  color: #f8faff;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
}

.mv-home .mv-hero h1 {
  font-size: clamp(2.05rem, 3.4vw, 2.5rem);
}

.mv-showcase .mv-showcase-hero h1 {
  font-size: clamp(1.85rem, 2.8vw, 2.3rem);
  letter-spacing: -0.035em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.mv-showcase .mv-showcase-hero > .mv-showcase-kicker {
  width: max-content;
  margin: 0 auto 0.45rem;
  padding: 0.22rem 0.68rem;
  border: 1px solid rgba(207, 215, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe4ff;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.mv-home .mv-hero h1 .headerlink,
.mv-showcase .mv-showcase-hero h1 .headerlink {
  color: rgba(255, 255, 255, 0.56);
}

.mv-home .mv-hero__media {
  text-align: center;
}

.mv-home .mv-hero__media img {
  width: min(10.5rem, 62vw);
  margin: 0.25rem auto 0.75rem;
  padding: 0.25rem;
  border: 1px solid rgba(177, 190, 255, 0.3);
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(32, 184, 216, 0.32), rgba(217, 70, 239, 0.28));
  box-shadow:
    0 18px 42px rgba(4, 9, 28, 0.38),
    0 0 30px rgba(106, 111, 238, 0.2);
  transform: translateZ(0);
}

.mv-home .mv-hero__media p,
.mv-showcase .mv-showcase-hero > p {
  max-width: 45rem;
  margin-right: auto;
  margin-left: auto;
  color: rgba(240, 244, 255, 0.82);
  text-align: center;
}

.mv-home .mv-hero__media p:first-of-type {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.mv-showcase .mv-showcase-hero > blockquote {
  max-width: 48rem;
  margin: 0 auto 1.25rem;
  border-left: 0;
  color: #cfd7ff;
  font-size: 1rem;
  text-align: center;
}

.mv-showcase .mv-showcase-hero > blockquote p {
  margin: 0;
}

.mv-home .mv-entry-grid,
.mv-showcase .mv-showcase-principles {
  gap: 0.8rem;
}

.md-typeset .mv-showcase .mv-showcase-principles.grid.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mv-home .mv-entry-grid > ul > li,
.mv-showcase .mv-showcase-principles > ul > li {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: 1rem;
  background: var(--mv-surface);
  box-shadow: 0 10px 30px rgba(31, 43, 92, 0.065);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mv-home .mv-entry-grid > ul > li::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mv-accent), var(--mv-cyan), var(--mv-magenta));
  content: "";
}

.mv-home .mv-entry-grid > ul > li:hover {
  border-color: rgba(89, 101, 232, 0.32);
  box-shadow: var(--mv-shadow-hover);
  transform: translateY(-4px);
}

.mv-home .mv-entry-grid > ul > li > p:first-child strong,
.mv-showcase .mv-showcase-principles > ul > li > p:first-child strong {
  color: var(--mv-ink);
  font-size: 1.02rem;
}

.mv-home .mv-entry-grid a {
  color: var(--mv-accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.mv-home .mv-entry-grid > ul > li > p:nth-child(2) {
  font-size: 0.78rem;
  line-height: 1.58;
}

.mv-showcase .mv-showcase-principles > ul > li {
  border-color: rgba(255, 255, 255, 0.16);
  padding: 0.65rem 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: rgba(244, 247, 255, 0.78);
  backdrop-filter: blur(10px);
}

.mv-showcase .mv-showcase-principles > ul > li > p:first-child strong {
  color: #fff;
  font-size: 0.78rem;
  white-space: nowrap;
}

.mv-showcase .mv-showcase-principles > ul > li p {
  font-size: 0.7rem;
  line-height: 1.48;
}

.mv-showcase .mv-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.mv-showcase .mv-showcase-actions > p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 0;
}

.mv-showcase .mv-showcase-actions .md-button {
  margin: 0;
  border-color: rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: #fff;
}

.mv-showcase .mv-showcase-actions .md-button--primary {
  border-color: #fff;
  background: #fff;
  color: #20275e;
}

.mv-showcase .mv-showcase-actions .md-button:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.mv-showcase .mv-showcase-actions .md-button--primary:hover {
  background: #eef1ff;
  color: #171e52;
}

.mv-home > p,
.mv-showcase > p {
  color: var(--mv-muted);
  line-height: 1.85;
}

.mv-home h2,
.mv-showcase h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 3.4rem;
  color: var(--mv-ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.mv-home h2::before,
.mv-showcase h2::before {
  flex: 0 0 auto;
  width: 0.3rem;
  height: 1.25em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mv-cyan), var(--mv-accent), var(--mv-magenta));
  content: "";
}

.mv-home h3,
.mv-showcase h3 {
  margin-top: 2.2rem;
  color: #28334b;
}

.mv-showcase h2[id$="multimodal-document-ai"],
.mv-showcase h2[id$="brain-inspired-adaptive-intelligence"] {
  margin-top: 4rem;
  margin-right: auto;
  margin-left: auto;
  padding: 1.05rem 1.2rem;
  max-width: 44rem;
  border: 1px solid var(--mv-line);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(32, 184, 216, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(89, 101, 232, 0.08), rgba(217, 70, 239, 0.045));
}

.mv-showcase .mv-capability-grid > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.65rem;
  margin: 1rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.mv-showcase .mv-capability-grid > ul > li {
  margin: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--mv-line);
  border-radius: 0.75rem;
  background: rgba(89, 101, 232, 0.035);
  color: #33405e;
  font-weight: 650;
}

.mv-showcase .mv-capability-grid > ul > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 18rem);
  background: linear-gradient(90deg, rgba(32, 184, 216, 0.055), rgba(217, 70, 239, 0.055));
  text-align: center;
}

.mv-home .md-typeset__table,
.mv-showcase .md-typeset__table {
  width: 100%;
  margin: 1.2rem 0 1.8rem;
  overflow: auto;
  border: 1px solid var(--mv-line);
  border-radius: 0.95rem;
  box-shadow: 0 8px 28px rgba(31, 43, 92, 0.055);
}

.mv-home .md-typeset__table table,
.mv-showcase .md-typeset__table table {
  display: table;
  width: 100%;
  min-width: 100%;
  margin: 0;
  border: 0;
}

.mv-home .md-typeset__table th,
.mv-showcase .md-typeset__table th {
  background: rgba(89, 101, 232, 0.075);
  color: #28345a;
  font-weight: 750;
}

.mv-home .md-typeset__table td,
.mv-home .md-typeset__table th,
.mv-showcase .md-typeset__table td,
.mv-showcase .md-typeset__table th {
  border-color: rgba(89, 101, 232, 0.1);
}

.mv-home .md-typeset__table tbody tr,
.mv-showcase .md-typeset__table tbody tr {
  transition: background-color 140ms ease;
}

.mv-home .md-typeset__table tbody tr:hover,
.mv-showcase .md-typeset__table tbody tr:hover {
  background: rgba(89, 101, 232, 0.035);
}

.mv-home .admonition,
.mv-showcase .admonition {
  border: 0;
  border-radius: 0.95rem;
  box-shadow: 0 9px 30px rgba(31, 43, 92, 0.07);
}

.mv-showcase .mv-showcase-video {
  max-width: 36rem;
  margin: 1.25rem auto 2rem;
  padding: 0.5rem;
  border: 1px solid var(--mv-line);
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(25, 34, 76, 0.98), rgba(45, 27, 85, 0.98));
  box-shadow: var(--mv-shadow);
}

.mv-showcase .mv-showcase-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
  background: #080d20;
}

.mv-showcase pre {
  border-radius: 0.9rem;
  box-shadow: 0 10px 32px rgba(19, 28, 67, 0.09);
}

.mv-home__closing,
.mv-showcase__closing {
  margin-top: 3.5rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--mv-line);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(32, 184, 216, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(89, 101, 232, 0.08), rgba(217, 70, 239, 0.06));
  color: var(--mv-muted);
  text-align: center;
}

.mv-home__closing p,
.mv-showcase__closing p {
  margin: 0.35rem 0;
}

.mv-home__closing a,
.mv-showcase__closing a {
  color: var(--mv-accent-strong);
  font-weight: 750;
  text-decoration: none;
}

@keyframes mv-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-md-color-scheme="slate"] {
  --mv-ink: #edf0ff;
  --mv-muted: #bdc5dc;
  --mv-line: rgba(151, 166, 255, 0.2);
  --mv-surface: rgba(31, 38, 63, 0.9);
  --mv-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  --mv-shadow-hover: 0 24px 58px rgba(0, 0, 0, 0.28);
}

[data-md-color-scheme="slate"] .mv-home h3,
[data-md-color-scheme="slate"] .mv-showcase h3 {
  color: #dbe1f7;
}

[data-md-color-scheme="slate"] .mv-showcase .mv-capability-grid > ul > li {
  background: rgba(111, 123, 238, 0.08);
  color: #e2e7f7;
}

[data-md-color-scheme="slate"] .mv-home .md-typeset__table th,
[data-md-color-scheme="slate"] .mv-showcase .md-typeset__table th {
  background: rgba(111, 123, 238, 0.15);
  color: #e5e9ff;
}

@media screen and (min-width: 45em) {
  .mv-home .mv-entry-grid > ul > li > p:nth-child(2) {
    white-space: nowrap;
  }
}

@media screen and (max-width: 44.984375em) {
  .mv-home .mv-hero,
  .mv-showcase .mv-showcase-hero {
    margin-right: -0.4rem;
    margin-left: -0.4rem;
    padding: 1.65rem 1.1rem;
    border-radius: 1.1rem;
  }

  .mv-home .mv-hero h1,
  .mv-showcase .mv-showcase-hero h1 {
    font-size: 2rem;
  }

  .mv-showcase .mv-showcase-principles > ul > li > p:first-child strong {
    white-space: normal;
  }

  .mv-home .mv-hero__media img {
    width: min(9.5rem, 62vw);
  }

  .mv-home .mv-entry-grid,
  .md-typeset .mv-showcase .mv-showcase-principles.grid.cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .mv-showcase .mv-showcase-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mv-showcase .mv-showcase-actions > p {
    flex-direction: column;
  }

  .mv-showcase .mv-showcase-actions .md-button {
    width: 100%;
    text-align: center;
  }

  .mv-home h2,
  .mv-showcase h2 {
    margin-top: 2.65rem;
    font-size: 1.45rem;
  }

  .mv-home .md-typeset__table,
  .mv-showcase .md-typeset__table {
    font-size: 0.74rem;
  }

  .mv-home__closing,
  .mv-showcase__closing {
    margin-top: 2.5rem;
    padding: 1.2rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mv-home .mv-hero,
  .mv-showcase .mv-showcase-hero {
    animation: none;
  }

  .mv-home .mv-entry-grid > ul > li,
  .mv-home .md-typeset__table tbody tr,
  .mv-showcase .md-typeset__table tbody tr {
    transition: none;
  }
}
