@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Manrope-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Manrope-Bold.ttf") format("truetype");
}

:root {
  --md-text-font: "Manrope";
  --his-orange: #ef7b32;
  --his-border: color-mix(in srgb, var(--md-default-fg-color) 14%, transparent);
}

:root > * {
  --md-primary-fg-color: #24424c;
  --md-primary-fg-color--light: #3b6571;
  --md-primary-fg-color--dark: #172126;
  --md-accent-fg-color: var(--his-orange);
}

[data-md-color-scheme="slate"] {
  --md-hue: 196;
  --md-primary-fg-color: #9bc9d4;
  --md-primary-fg-color--light: #c8e4ea;
  --md-primary-fg-color--dark: #5f98a5;
  --his-border: color-mix(in srgb, var(--md-default-fg-color) 20%, transparent);
}

.his-page-title {
  display: none;
}

.md-content__inner:has(.his-blueprint-home) > .md-content__button {
  display: none;
}

.md-content__inner:has(.his-blueprint-home) {
  min-height: 0;
  margin: 0;
  padding: 0;
}

.md-main__inner:has(.his-blueprint-home) > .md-sidebar--primary {
  display: none;
}

.md-main__inner:has(.his-blueprint-home) > .md-content {
  max-width: none;
}

body:has(.his-blueprint-home) {
  overflow: hidden;
}

body:has(.his-blueprint-home) .md-footer {
  display: none;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg,
.md-nav__button.md-logo img,
.md-nav__button.md-logo svg {
  border-radius: 0.7rem;
}

.his-blueprint-home {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: #d9efff;
  background:
    linear-gradient(rgb(111 184 239 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(111 184 239 / 8%) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 48%, #0b3156 0%, #071d34 45%, #03111f 74%, #020812 100%);
  background-position: center;
  background-size: 2rem 2rem, 2rem 2rem, auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  contain: strict;
  isolation: isolate;
}

.his-blueprint-home::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(2 8 18 / 94%) 0%, rgb(2 8 18 / 78%) 27%, rgb(2 8 18 / 28%) 52%, transparent 72%);
  pointer-events: none;
}

.his-blueprint-home::after {
  position: absolute;
  z-index: 4;
  inset: -12%;
  content: "";
  background:
    radial-gradient(circle at 50% 48%, transparent 0 52%, rgb(2 9 19 / 20%) 76%, rgb(1 6 12 / 68%) 100%),
    linear-gradient(180deg, rgb(255 255 255 / 1%) 0, transparent 16%, transparent 88%, rgb(0 0 0 / 10%) 100%);
  pointer-events: none;
}

.his-blueprint-home__copy {
  position: absolute;
  z-index: 5;
  bottom: clamp(2.8rem, 9vh, 4.5rem);
  left: clamp(1.8rem, 3.2vw, 3.2rem);
  width: min(32rem, calc(100vw - 3.6rem));
  color: #f4f8fa;
  pointer-events: auto;
}

.his-blueprint-home__copy h1 {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.his-blueprint-home__copy p {
  max-width: 31rem;
  margin: 1.15rem 0 0;
  color: rgb(232 241 245 / 78%);
  font-size: clamp(0.78rem, 1.35vw, 0.96rem);
  line-height: 1.55;
}

.his-blueprint-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.35rem;
}

.his-blueprint-home__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.58rem 1.05rem 0.58rem 1.2rem;
  overflow: hidden;
  color: #d9edf8 !important;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgb(4 21 36 / 82%);
  border: 1px solid rgb(122 187 229 / 38%);
  border-radius: 0.22rem;
  box-shadow:
    inset 0 0 0 1px rgb(5 14 24 / 55%),
    0 8px 24px rgb(0 0 0 / 14%);
  text-decoration: none !important;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.his-blueprint-home__action::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 0.22rem;
  content: "";
  background: #35b8ff;
}

.his-blueprint-home__action::after {
  width: 0.38rem;
  height: 0.38rem;
  margin-left: 0.68rem;
  content: "";
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.his-blueprint-home__action--primary {
  color: #ffffff !important;
  background: rgb(12 53 84 / 90%);
  border-color: rgb(88 181 238 / 58%);
}

.his-blueprint-home__action--primary::before {
  background: #ff8729;
}

.his-blueprint-home__action:hover,
.his-blueprint-home__action:focus-visible {
  color: #ffffff !important;
  background: rgb(12 48 75 / 94%);
  border-color: rgb(116 201 250 / 74%);
  transform: translateX(2px);
}

.his-blueprint-home__action--primary:hover,
.his-blueprint-home__action--primary:focus-visible {
  background: rgb(16 66 103 / 96%);
}

.md-typeset .his-blueprint-home__scene {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
}

.his-blueprint-house {
  fill: none;
  stroke: #8fc5eb;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

.his-blueprint-house--secondary {
  stroke-width: 3;
  opacity: 0.61;
}

.his-blueprint-house--detail {
  stroke-width: 5;
  opacity: 0.7;
}

.his-blueprint-label {
  fill: #8fbce0;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 8px;
  text-anchor: middle;
  opacity: 0.62;
}

.his-blueprint-micro {
  fill: #6fa1c8;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  letter-spacing: 4px;
  opacity: 0.5;
}

.his-blueprint-route-main {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.his-blueprint-route-main {
  stroke-width: 3.5;
  stroke-dasharray: 18 16;
  opacity: 0.88;
}

.his-blueprint-packet {
  opacity: 0;
}

.his-blueprint-node-core {
  opacity: 0;
}

.his-blueprint-scan {
  opacity: 0.08;
  mix-blend-mode: screen;
  animation: his-blueprint-scan 8s linear infinite;
}

.his-scope-table td:first-child {
  white-space: nowrap;
  font-weight: 700;
}

.md-typeset .his-page-lead {
  margin: 0.35rem 0 2rem;
  padding: 1.05rem 1.15rem 1.1rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--md-primary-fg-color) 10%, transparent), transparent 68%);
  border-top: 1px solid color-mix(in srgb, var(--md-primary-fg-color) 30%, transparent);
  border-bottom: 1px solid var(--his-border);
}

.md-typeset .his-page-lead p {
  max-width: 52rem;
  margin: 0.55rem 0 0;
  color: var(--md-default-fg-color--light);
  font-size: 0.92rem;
  line-height: 1.65;
}

.md-typeset .his-section-id {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--his-orange);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.md-typeset .his-section-id::before {
  width: 1.6rem;
  height: 0.16rem;
  content: "";
  background: currentColor;
}

.md-typeset .his-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 2.2rem;
}

.md-typeset .his-feature-card {
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  padding: 1rem 1.05rem;
  color: var(--md-default-fg-color) !important;
  background: color-mix(in srgb, var(--md-primary-fg-color) 5%, transparent);
  border: 1px solid var(--his-border);
  border-radius: 0.35rem;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.md-typeset .his-feature-card strong {
  margin-top: 0.7rem;
  font-size: 0.95rem;
}

.md-typeset .his-feature-card small {
  margin-top: 0.38rem;
  color: var(--md-default-fg-color--light);
  font-size: 0.72rem;
  line-height: 1.55;
}

.md-typeset .his-feature-card:hover,
.md-typeset .his-feature-card:focus-visible {
  background: color-mix(in srgb, var(--md-primary-fg-color) 9%, transparent);
  border-color: color-mix(in srgb, var(--md-primary-fg-color) 42%, transparent);
  transform: translateY(-2px);
}

.md-typeset .his-doc-media-pair {
  display: grid;
  gap: 1.25rem;
  margin: 1.8rem 0 2.4rem;
}

.md-typeset .his-doc-media {
  position: relative;
  margin: 1.8rem 0 2.4rem;
  padding: 0.45rem;
  overflow: hidden;
  background: linear-gradient(145deg, rgb(12 43 67 / 8%), rgb(12 43 67 / 2%));
  border: 1px solid rgb(45 121 171 / 34%);
  border-radius: 0.3rem;
  box-shadow: 0 0.7rem 2rem rgb(4 20 32 / 10%);
}

.md-typeset .his-doc-media-pair .his-doc-media {
  margin: 0;
}

.md-typeset .his-doc-media--wide {
  width: min(100%, 62rem);
}

.md-typeset .his-doc-media::before {
  position: absolute;
  z-index: 1;
  top: 0.45rem;
  left: 0.45rem;
  width: 3.5rem;
  height: 0.18rem;
  content: "";
  background: #ff7626;
}

.md-typeset .his-doc-media--motion::before {
  background: #35b8ff;
}

.md-typeset .his-doc-media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  background: #10191f;
  border-radius: 0.16rem 0.16rem 0 0;
}

.md-typeset .his-doc-media figcaption {
  padding: 0.78rem 0.82rem 0.42rem;
  color: var(--md-default-fg-color--light);
  font-size: 0.72rem;
  line-height: 1.55;
}

.md-typeset .his-doc-media figcaption strong {
  color: var(--md-default-fg-color);
}

@keyframes his-blueprint-scan {
  from {
    transform: translateY(-1250px);
  }

  to {
    transform: translateY(1250px);
  }
}

@media screen and (max-width: 44rem) {
  .his-blueprint-home::before {
    background: linear-gradient(0deg, rgb(2 8 18 / 96%) 0%, rgb(2 8 18 / 72%) 40%, transparent 74%);
  }

  .his-blueprint-home__copy {
    right: 1.25rem;
    bottom: 2rem;
    left: 1.25rem;
    width: auto;
  }

  .his-blueprint-home__copy h1 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .his-blueprint-home__copy p {
    font-size: 0.78rem;
  }

  .md-typeset .his-doc-media-pair {
    gap: 1rem;
  }

  .md-typeset .his-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .his-blueprint-home__action {
    transition: none;
  }

  .md-typeset .his-feature-card {
    transition: none;
  }

  .his-blueprint-scan {
    animation: none;
  }
}
