:root {
  --md-primary-fg-color: #002b49;
  --md-primary-fg-color--light: #007dba;
  --md-primary-fg-color--dark: #001c31;
  --md-accent-fg-color: #41b6e6;
  --ty-primary-light: #41b6e6;
  --ty-primary-medium: #007dba;
  --ty-primary-dark: #002b49;
  --ty-secondary-gray: #5b6770;
  --ty-secondary-orange: #ff8200;
  --ty-secondary-green: #84bd00;
  --ty-surface: #f8fafc;
  --ty-card: #ffffff;
  --ty-border: #d8e3ee;
  --ty-text-soft: #64748b;
  --ty-heading: #1e293b;
  --ty-hero-start: #002b49;
  --ty-hero-end: #002b49;
}

[data-md-color-scheme="default"] {
  --md-default-bg-color: #f8fafc;
}

.md-typeset,
.md-nav,
.md-header,
.md-search__form,
.md-tabs {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-header__title,
.md-nav__title,
.md-nav__link {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.md-header {
  box-shadow: 0 1px 0 rgba(0, 43, 73, 0.08);
  z-index: 12;
}

.md-header .md-logo {
  display: none;
}

.home-page .md-header__title {
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.home-page.hero-condensed .md-header__title {
  opacity: 1;
  visibility: visible;
}

.md-main__inner {
  margin-top: 1rem;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: var(--ty-heading);
  font-weight: 400;
}

.md-typeset p,
.md-typeset li {
  color: #334155;
}

.md-typeset .page-intro {
  font-size: 1.0rem;
  color: var(--ty-text-soft);
  max-width: 52rem;
}

.md-typeset .hero {
  background: linear-gradient(180deg, #002b49 0%, #002b49 100%);
  border-radius: 0;
  color: #fff;
  padding: 2.5rem 2rem 3rem;
  margin: -0.25rem -0.8rem 1.75rem;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.md-typeset .hero h1,
.md-typeset .hero p,
.md-typeset .hero a {
  color: #fff;
}

.md-typeset .hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.72;
  margin-bottom: 0.8rem;
}

.md-typeset .hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.md-typeset .hero .hero-actions a {
  display: inline-block;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.md-typeset .hero .hero-actions a.primary {
  background: #fff;
  color: var(--ty-hero-start);
}

.md-typeset .hero .hero-actions a.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.md-typeset .hero-center {
  text-align: center;
}

.md-typeset .hero-center h1 {
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  color: #fff;
}

.md-typeset .hero-center .hero-lead {
  max-width: 76rem;
  margin: 0 auto;
  font-size: 1.0rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.md-typeset .hero-highlight {
  background: rgba(168, 178, 188, 0.72);
  color: #fff;
  padding: 0.02rem 0.28rem;
}

.md-typeset .hero-pills {
  justify-content: center;
  margin-top: 1.6rem;
}

.md-typeset .hero-actions-center {
  justify-content: center;
  margin-top: 1rem;
}

.md-typeset .hero-grid,
.md-typeset .card-grid,
.md-typeset .stat-grid {
  display: grid;
  gap: 1rem;
}

.md-typeset .hero-grid {
  grid-template-columns: 1.4fr 0.9fr;
  align-items: start;
}

.md-typeset .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.25rem 0 1.75rem;
}

.md-typeset .stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 1rem;
}

.md-typeset .doc-card,
.md-typeset .stat-card,
.md-typeset .callout-panel {
  background: var(--ty-card);
  border: 1px solid var(--ty-border);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(18, 49, 75, 0.06);
}

.md-typeset .hero .callout-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.md-typeset .doc-card h3,
.md-typeset .stat-card h3,
.md-typeset .callout-panel h3 {
  margin-top: 0;
}

.md-typeset .doc-card p,
.md-typeset .stat-card p,
.md-typeset .callout-panel p,
.md-typeset .callout-panel li {
  color: var(--ty-text-soft);
}

.md-typeset .doc-card a {
  font-weight: 700;
  text-decoration: none;
}

.md-typeset .doc-card h3 a {
  color: #007dba;
}

.md-typeset .doc-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 16px 32px rgba(18, 49, 75, 0.1);
}

.md-typeset .stat-card .kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ty-text-soft);
  margin-bottom: 0.25rem;
}

.md-typeset .stat-card .value {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 800;
  color: var(--ty-heading);
}

.md-typeset .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.md-typeset .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--ty-border);
  background: #eef4fb;
  color: var(--ty-heading);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.md-typeset .pill-dark {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.home-page .md-main__inner {
  margin-top: 0;
}

.home-page .md-content__inner > :first-child {
  margin-top: 0;
}

.home-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #002b49 0%, #022038 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
}

.home-hero__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.25rem 1.5rem 3rem;
}

.home-page .home-hero h1,
.home-page .home-hero p,
.home-page .home-hero a,
.home-page .home-hero .eyebrow,
.home-page .home-hero .hero-highlight,
.home-page .home-hero .pill {
  color: #fff;
}

.home-page .hero-center h1 {
  font-size: clamp(1.0rem, 2.0vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.home-page .hero-center .hero-lead {
  max-width: 62rem;
  font-size: 0.7rem;
  line-height: 1.45;
  margin-left: auto;
  margin-right: auto;
}

.home-page .hero .eyebrow {
  font-size: 0.58rem;
  margin-bottom: 0.6rem;
}

.home-page .hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.15rem;
  gap: 0.4rem;
}

.home-page .pill {
  padding: 0.28rem 0.58rem;
  font-size: 0.62rem;
  font-weight: 500;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
}

.home-page .hero .hero-actions {
  margin-top: 0.95rem;
  justify-content: center;
}

.home-page .hero .hero-actions a {
  padding: 0.55rem 0.85rem;
  font-size: 0.68rem;
}

.home-hero-mini {
  display: none;
}

.home-hero-mini__inner {
  display: none;
}

.md-typeset .section-label {
  color: #47627a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.md-typeset .steps {
  counter-reset: steps;
  padding-left: 0;
}

.md-typeset .steps li {
  list-style: none;
  position: relative;
  padding-left: 2.75rem;
  margin: 1rem 0;
}

.md-typeset .steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #0f3d62;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.md-typeset .md-button {
  border-radius: 999px;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 1rem;
  overflow: hidden;
}

.md-typeset .admonition-title,
.md-typeset summary {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.md-typeset .callout-panel a {
  font-weight: 600;
  text-decoration: none;
}

.md-sidebar--primary {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid #e2e8f0;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
}

.md-sidebar--primary .md-sidebar__scrollwrap {
  padding-top: 0;
  padding-bottom: 2.5rem;
  overflow-y: auto;
}

.md-sidebar--primary .md-nav__title {
  font-size: 1.05rem;
  font-weight: 700;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.md-sidebar--primary .md-nav__title::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.15rem;
  vertical-align: -0.12rem;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23007dba' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
}

.md-sidebar--primary .md-nav__item--section > .md-nav__link,
.md-sidebar--primary .md-nav__item--section > label.md-nav__link {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b6770;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.md-sidebar--primary .md-nav__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.md-sidebar--primary .md-nav .md-nav__link {
  color: #334155;
}

.md-sidebar--primary .md-nav .md-nav__item .md-nav__link {
  font-size: 0.95rem;
}

.md-sidebar--primary .md-nav .md-nav__link:hover {
  background-color: rgba(59, 130, 246, 0.08);
  color: #2563eb;
  border-radius: 0.5rem;
}

.md-sidebar--primary .md-nav__link--active,
.md-sidebar--primary .md-nav__link[href]:focus {
  color: #2563eb;
}

.md-sidebar--primary .md-nav__item--section > .md-nav__link::before,
.md-sidebar--primary .md-nav__item--section > label.md-nav__link::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 0.9rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.md-sidebar--primary .md-nav__item--section:nth-of-type(2) > .md-nav__link::before,
.md-sidebar--primary .md-nav__item--section:nth-of-type(2) > label.md-nav__link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E");
}

.md-sidebar--primary .md-nav__item--section:nth-of-type(3) > .md-nav__link::before,
.md-sidebar--primary .md-nav__item--section:nth-of-type(3) > label.md-nav__link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23007dba' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.746 0 3.332.477 4.5 1.253v13C20.832 18.477 19.246 18 17.5 18c-1.746 0-3.332.477-4.5 1.253'/%3E%3C/svg%3E");
}

.md-sidebar--primary .md-nav__item--section:nth-of-type(4) > .md-nav__link::before,
.md-sidebar--primary .md-nav__item--section:nth-of-type(4) > label.md-nav__link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238b5cf6' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
}

.md-sidebar--primary .md-nav__item--section:nth-of-type(5) > .md-nav__link::before,
.md-sidebar--primary .md-nav__item--section:nth-of-type(5) > label.md-nav__link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2384bd00' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z'/%3E%3C/svg%3E");
}

.md-sidebar--primary .md-nav__item--section:nth-of-type(6) > .md-nav__link::before,
.md-sidebar--primary .md-nav__item--section:nth-of-type(6) > label.md-nav__link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ff8200' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
}

@media screen and (max-width: 960px) {
  .md-typeset .hero-grid {
    grid-template-columns: 1fr;
  }

  .md-typeset .hero {
    padding: 1.5rem;
    margin: 0 0 1.5rem;
  }

  .md-sidebar--primary {
    box-shadow: none;
  }
}

body,
.md-typeset,
.md-nav,
.md-header,
.md-search__form,
.md-tabs,
.md-search__input {
  font-size: 0.9rem;
}

.md-typeset {
  font-size: 0.72rem;
}

.md-typeset h1 {
  font-size: 1.75em;
}

.md-typeset h2 {
  font-size: 1.4em;
}

.md-typeset h3 {
  font-size: 1.12em;
}

.md-typeset .page-intro {
  font-size: 0.75rem;
}

.md-typeset .hero .eyebrow,
.md-typeset .stat-card .kicker,
.md-typeset .section-label {
  font-size: 0.6rem;
}

.md-typeset .hero-center h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.md-typeset .hero-center .hero-lead {
  font-size: 1rem;
}

.md-typeset .hero .hero-actions a,
.md-typeset .pill {
  font-size: 0.76rem;
}

.md-typeset .stat-card .value {
  font-size: 1.0rem;
}

.md-header__title,
.md-nav__title,
.md-nav__link,
.md-search__input {
  font-size: 0.85rem;
}

.md-sidebar--primary .md-nav__title {
  font-size: 0.8rem;
}

.md-sidebar--primary .md-nav__item--section > .md-nav__link,
.md-sidebar--primary .md-nav__item--section > label.md-nav__link {
  font-size: 0.56rem;
  font-weight: 600;
}

.md-sidebar--primary .md-nav .md-nav__item .md-nav__link {
  font-size: 0.64rem;
}

.md-sidebar--secondary,
.md-nav--secondary,
[data-md-component="toc"] {
  display: none !important;
}

.md-nav--primary > .md-nav__title {
  font-size: 0;
}

.md-sidebar--primary .md-nav__link,
.md-sidebar--primary .md-nav__title,
.md-sidebar--primary .md-ellipsis {
  white-space: nowrap;
}

.md-sidebar--primary .md-nav__link .md-ellipsis,
.md-sidebar--primary .md-nav__title .md-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
}

.md-nav--primary > .md-nav__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.md-nav--primary > .md-nav__title::after {
  content: "Documentation";
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
}

.md-footer {
  display: none;
}

@media screen and (min-width: 60em) {
  .md-sidebar--primary .md-sidebar__scrollwrap {
    max-height: calc(100vh - 3rem);
  }
}

@media screen and (max-width: 960px) {
  .home-hero__inner {
    padding: 2.2rem 1rem 2rem;
  }

  .home-page .hero-center h1 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .home-page .hero-center .hero-lead {
    font-size: 0.78rem;
  }

}
