:root {
  color-scheme: dark;
  --typ-ink: #f8fbff;
  --typ-muted: #cad7da;
  --typ-dim: #879da4;
  --typ-bg: #0e2a47;
  --typ-bg-2: #16324e;
  --typ-navy: #0e2a47;
  --typ-cyan: #63dfff;
  --typ-blue: #1e6bb8;
  --typ-amber: #e9a24a;
  --typ-green: #74f0ad;
  --typ-red: #ff6d63;
  --typ-line: rgba(153, 223, 239, 0.26);
  --typ-glass: rgba(7, 16, 22, 0.44);
  --typ-blur: blur(18px);
  --typ-header-h: 0px;
  --typ-hero-scrim-opacity: 1;
  --typ-hero-copy-opacity: 0.94;
  --typ-hero-copy-y: 0px;
  --typ-cloud-opacity: 0;
  --typ-cloud-y: 0px;
  --typ-copy-local-opacity: 0.18;
  --typ-copy-local-y: 18px;
  --typ-serif: Georgia, "Times New Roman", serif;
  --typ-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family:
    var(--typ-sans);
  background: var(--typ-bg);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--typ-ink);
  background:
    radial-gradient(circle at 72% 8%, rgba(238, 249, 255, 0.28), transparent 30rem),
    radial-gradient(circle at 42% 42%, rgba(123, 211, 235, 0.18), transparent 42rem),
    linear-gradient(180deg, #3d91bd 0%, #6fb4ce 46%, #28647d 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.typ-lang-switch {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9;
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(232, 246, 247, 0.2);
  background: rgba(8, 22, 31, 0.28);
  box-shadow: 0 16px 42px rgba(4, 14, 20, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.typ-lang-switch a {
  min-width: 36px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(236, 248, 250, 0.62);
  font-family: var(--typ-serif);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease;
}

.typ-lang-switch a:hover,
.typ-lang-switch a[aria-current="true"] {
  color: rgba(9, 24, 31, 0.92);
  background: rgba(245, 250, 250, 0.88);
}

.typ-scene,
.typ-atmosphere {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.typ-scene {
  z-index: 0;
  display: block;
  background:
    radial-gradient(circle at 72% 18%, rgba(241, 250, 255, 0.2), transparent 32rem),
    linear-gradient(180deg, rgba(87, 168, 205, 0.16), rgba(28, 89, 115, 0.2)),
    #5eb3d2;
}

.typ-atmosphere {
  z-index: 1;
  pointer-events: none;
  background: none;
}

.typ-loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 70% 18%, rgba(238, 249, 255, 0.2), transparent 32rem),
    linear-gradient(180deg, rgba(22, 51, 66, 0.98), rgba(26, 62, 75, 0.94)),
    #173a4b;
  transition: opacity 720ms ease, visibility 720ms ease;
}

.typ-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.typ-loader.is-hidden .typ-cable-progress span {
  animation: none;
  transform: translateX(0);
}

.typ-loader__inner {
  width: min(560px, 86vw);
  display: grid;
  place-items: center;
  gap: 20px;
  text-align: center;
}

.typ-cable-progress {
  position: relative;
  width: min(420px, 100%);
  height: 2px;
  overflow: hidden;
  background: rgba(129, 197, 215, 0.18);
}

.typ-cable-progress::before,
.typ-cable-progress::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 7px;
  height: 10px;
  border: 1px solid rgba(98, 230, 255, 0.62);
  background: rgba(98, 230, 255, 0.08);
}

.typ-cable-progress::before {
  left: 24%;
}

.typ-cable-progress::after {
  right: 20%;
}

.typ-cable-progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--typ-cyan), var(--typ-amber));
  animation: typ-load 1.5s ease-in-out infinite;
}

@keyframes typ-load {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}

.typ-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 10;
  width: min(1120px, calc(100vw - 32px));
  min-height: var(--typ-header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(126, 194, 211, 0.18);
  background: rgba(10, 30, 51, 0.58);
  -webkit-backdrop-filter: var(--typ-blur);
  backdrop-filter: var(--typ-blur);
  transform: translateX(-50%);
  transition: min-height 220ms ease, background 220ms ease, border-color 220ms ease;
}

.typ-header.is-compact {
  min-height: 58px;
  border-color: rgba(233, 162, 74, 0.28);
  background: rgba(10, 30, 51, 0.76);
}

.typ-brand {
  display: inline-grid;
  gap: 3px;
  min-width: 0;
  line-height: 1;
}

.typ-brand strong {
  color: #ffffff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.36rem;
  font-weight: 400;
  letter-spacing: 0;
}

.typ-brand strong span {
  color: var(--typ-blue);
}

.typ-brand small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.typ-brand small {
  color: var(--typ-cyan);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.typ-nav {
  display: flex;
  gap: 6px;
  color: rgba(232, 244, 248, 0.72);
  font-size: 0.9rem;
}

.typ-nav a,
.typ-demo-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid transparent;
}

.typ-nav a:hover {
  color: var(--typ-ink);
  border-color: rgba(98, 230, 255, 0.18);
  background: rgba(98, 230, 255, 0.06);
}

.typ-demo-link {
  border-color: rgba(98, 230, 255, 0.36);
  color: var(--typ-ink);
  background: linear-gradient(90deg, rgba(98, 230, 255, 0.16), rgba(245, 189, 85, 0.1));
  font-weight: 700;
}

.typ-scroll {
  position: relative;
  z-index: 2;
}

.typ-chapter {
  position: relative;
  min-height: 112vh;
  display: flex;
  align-items: center;
  padding: calc(var(--typ-header-h) + 56px) max(24px, 7vw) 12vh;
  overflow: visible;
  --typ-cloud-anchor-x: 24%;
  --typ-copy-cloud-opacity: 0;
  --typ-copy-cloud-y: 0px;
}

.typ-chapter--hero {
  min-height: 116vh;
  --typ-copy-cloud-opacity: var(--typ-hero-scrim-opacity);
  --typ-copy-cloud-y: var(--typ-hero-copy-y);
}

.typ-chapter--hero::before {
  content: none;
  position: absolute;
  inset: -8vh 0 -28vh;
  z-index: 0;
  pointer-events: none;
  opacity: var(--typ-hero-scrim-opacity);
  background:
    linear-gradient(100deg, rgba(244, 248, 252, 0.94) 0%, rgba(244, 248, 252, 0.82) 26%, rgba(244, 248, 252, 0.58) 48%, rgba(244, 248, 252, 0.28) 68%, rgba(244, 248, 252, 0.08) 86%, rgba(244, 248, 252, 0) 100%),
    linear-gradient(0deg, rgba(244, 248, 252, 0.46), rgba(244, 248, 252, 0) 38%);
  transition: opacity 180ms linear;
  will-change: opacity;
}

.typ-chapter:not(.typ-chapter--hero):not(.typ-chapter--final)::before {
  content: none;
  position: absolute;
  inset: -26vh -8vw -30vh;
  z-index: 0;
  pointer-events: none;
  opacity: var(--typ-cloud-opacity);
  transform: translate3d(0, var(--typ-cloud-y), 0);
  background:
    radial-gradient(ellipse at var(--typ-cloud-anchor-x) 48%, rgba(249, 253, 255, 0.9) 0%, rgba(249, 253, 255, 0.74) 24%, rgba(236, 248, 252, 0.36) 48%, rgba(236, 248, 252, 0.1) 66%, rgba(236, 248, 252, 0) 82%),
    radial-gradient(ellipse at calc(var(--typ-cloud-anchor-x) + 10%) 62%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.28) 34%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(90deg, rgba(244, 248, 252, 0.22), rgba(244, 248, 252, 0) 70%);
  transition: opacity 180ms linear, transform 180ms linear;
  will-change: opacity, transform;
}

.typ-chapter--right {
  --typ-cloud-anchor-x: 76%;
}

.typ-chapter--control {
  --typ-cloud-anchor-x: 38%;
}

.typ-chapter:not(.typ-chapter--hero):not(.typ-chapter--final) {
  --typ-copy-cloud-opacity: var(--typ-cloud-opacity);
  --typ-copy-cloud-y: var(--typ-cloud-y);
}

.typ-entry-brand {
  width: min(360px, 100%);
  margin: 0 0 18px;
  pointer-events: none;
  text-align: left;
  text-shadow: 0 2px 18px rgba(4, 14, 22, 0.72), 0 12px 38px rgba(4, 14, 22, 0.5);
}

.typ-entry-brand strong {
  display: block;
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--typ-serif);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.typ-entry-brand span {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 7px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--typ-serif);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
}

.typ-entry-brand i {
  color: rgba(202, 215, 218, 0.62);
  font-size: 0.72rem;
  font-weight: 400;
}

.typ-entry-brand b {
  color: rgba(233, 162, 74, 0.92);
}

.typ-inline-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--typ-serif);
  line-height: 1;
  white-space: nowrap;
}

.typ-inline-brand strong {
  font-size: 1.08em;
  font-weight: 500;
}

.typ-inline-brand span {
  display: inline;
  font-size: 0.92em;
  font-weight: 500;
}

.typ-inline-brand i {
  color: rgba(202, 215, 218, 0.68);
  font-size: 0.78em;
  font-weight: 400;
  margin-right: 4px;
}

.typ-inline-brand b {
  color: rgba(233, 162, 74, 0.92);
}

.typ-entry-brand--loader {
  width: min(560px, 100%);
  margin: 0;
  text-align: center;
}

.typ-entry-brand--loader strong {
  font-size: 2.72rem;
  line-height: 1;
}

.typ-entry-brand--loader span {
  justify-content: center;
  margin-top: 10px;
  font-size: 1.24rem;
}

.typ-entry-brand--loader i {
  font-size: 0.9rem;
}

.typ-entry-brand--hero {
  width: min(500px, 100%);
  margin: 0;
}

.typ-entry-brand--hero strong {
  font-size: 2.48rem;
  line-height: 1;
}

.typ-entry-brand--hero span {
  margin-top: 10px;
  font-size: 1.14rem;
}

.typ-entry-brand--hero i {
  font-size: 0.84rem;
}

.typ-chapter--right {
  justify-content: flex-end;
}

.typ-chapter--control {
  align-items: flex-end;
  min-height: 125vh;
}

.typ-chapter--final {
  min-height: 118vh;
  align-items: flex-end;
}

.typ-copy {
  position: relative;
  width: min(440px, 92vw);
  padding: 0;
  filter: drop-shadow(0 18px 34px rgba(9, 25, 31, 0.34));
  opacity: 0.18;
  transform: translateY(18px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.typ-chapter.is-active .typ-copy {
  opacity: 0.94;
  transform: translateY(0);
}

.typ-chapter.is-active .typ-copy--final {
  opacity: 0.98;
}

.typ-chapter.is-active .typ-copy--hero {
  opacity: var(--typ-hero-copy-opacity);
  transform: translateY(var(--typ-hero-copy-y));
}

.typ-chapter:not(.typ-chapter--hero):not(.typ-chapter--final) .typ-copy {
  z-index: 1;
  opacity: var(--typ-copy-local-opacity);
  transform: translateY(var(--typ-copy-local-y));
}

.typ-copy--narrow {
  width: min(430px, 90vw);
}

.typ-copy--hero {
  position: relative;
  z-index: 1;
  width: min(440px, 92vw);
  padding: 0;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.typ-chapter:not(.typ-chapter--final) .typ-copy::before,
.typ-chapter:not(.typ-chapter--final) .typ-copy::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, var(--typ-copy-cloud-y), 0);
  transition: opacity 180ms linear, transform 180ms linear;
  will-change: opacity, transform;
}

.typ-chapter:not(.typ-chapter--final) .typ-copy::before {
  inset: -84px -168px -94px -122px;
  border-radius: 48% 52% 56% 44% / 42% 46% 54% 58%;
  opacity: calc(var(--typ-copy-cloud-opacity) * 0.76);
  background:
    radial-gradient(ellipse 42% 34% at 24% 34%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.58) 25%, rgba(246, 252, 255, 0.22) 52%, rgba(246, 252, 255, 0) 78%),
    radial-gradient(ellipse 34% 28% at 56% 44%, rgba(244, 250, 253, 0.72) 0%, rgba(244, 250, 253, 0.36) 32%, rgba(244, 250, 253, 0.1) 58%, rgba(244, 250, 253, 0) 80%),
    radial-gradient(ellipse 48% 30% at 42% 72%, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.2) 34%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(ellipse 28% 24% at 78% 62%, rgba(226, 245, 251, 0.38) 0%, rgba(226, 245, 251, 0.16) 38%, rgba(226, 245, 251, 0) 74%);
  filter: blur(10px);
}

.typ-chapter:not(.typ-chapter--final) .typ-copy::after {
  inset: -54px -112px -62px -86px;
  border-radius: 42% 58% 48% 52% / 56% 44% 58% 42%;
  opacity: calc(var(--typ-copy-cloud-opacity) * 0.56);
  background:
    radial-gradient(ellipse 30% 22% at 18% 62%, rgba(232, 247, 252, 0.54) 0%, rgba(232, 247, 252, 0.2) 40%, rgba(232, 247, 252, 0) 78%),
    radial-gradient(ellipse 24% 18% at 82% 26%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.18) 36%, rgba(255, 255, 255, 0) 74%),
    radial-gradient(ellipse 36% 24% at 58% 74%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0) 78%);
  filter: blur(17px);
}

.typ-chapter:not(.typ-chapter--final) .typ-copy > * {
  position: relative;
  z-index: 1;
}

.typ-copy--hero > * {
  position: relative;
  z-index: 1;
}

.typ-copy.typ-copy--hero h1 {
  color: var(--typ-navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58), 0 10px 38px rgba(225, 238, 250, 0.9);
}

.typ-copy.typ-copy--hero p {
  color: rgba(14, 42, 71, 0.78);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 34px rgba(225, 238, 250, 0.74);
}

.typ-copy.typ-copy--hero .typ-inline-brand {
  color: var(--typ-navy);
}

.typ-copy.typ-copy--hero .typ-inline-brand i {
  color: rgba(94, 118, 140, 0.72);
}

.typ-copy--hud,
.typ-copy--module,
.typ-copy--control,
.typ-copy--final {
  width: min(460px, 92vw);
  padding: 18px 20px;
  border: 1px solid rgba(226, 242, 244, 0.12);
  border-left-color: rgba(235, 246, 246, 0.28);
  background: rgba(8, 21, 27, 0.24);
  box-shadow: 0 20px 52px rgba(4, 14, 18, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.typ-chapter:not(.typ-chapter--final) .typ-copy--hud,
.typ-chapter:not(.typ-chapter--final) .typ-copy--module,
.typ-chapter:not(.typ-chapter--final) .typ-copy--control {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.typ-copy--final {
  width: min(500px, 92vw);
  padding: 24px 28px 26px;
  border-color: rgba(236, 248, 248, 0.2);
  background: rgba(7, 19, 26, 0.58);
  font-family: var(--typ-serif);
  box-shadow: 0 28px 76px rgba(2, 10, 14, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.typ-copy--control {
  margin-bottom: 12vh;
}

.typ-copy h1,
.typ-copy h2,
.typ-copy p {
  margin: 0;
}

.typ-copy h1 {
  max-width: 10.5ch;
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--typ-serif);
  font-weight: 400;
  font-size: clamp(2.85rem, 4.9vw, 5.55rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.typ-copy h2 {
  max-width: 13ch;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--typ-serif);
  font-weight: 400;
  font-size: clamp(1.78rem, 3.1vw, 3.55rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.typ-copy p {
  max-width: 62ch;
  margin-top: 20px;
  color: rgba(236, 246, 247, 0.74);
  font-size: clamp(0.98rem, 1.08vw, 1.12rem);
  line-height: 1.72;
}

.typ-chapter:not(.typ-chapter--final) .typ-copy:not(.typ-copy--hero) h2 {
  color: var(--typ-navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58), 0 12px 38px rgba(225, 238, 250, 0.88);
}

.typ-chapter:not(.typ-chapter--final) .typ-copy:not(.typ-copy--hero) p {
  color: rgba(14, 42, 71, 0.78);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 34px rgba(225, 238, 250, 0.72);
}

.typ-actions,
.typ-signal-list,
.typ-status-line,
.typ-flow,
.typ-module-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.typ-button,
.typ-signal-list span,
.typ-status-line span,
.typ-flow span,
.typ-module-cloud span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(232, 246, 247, 0.16);
  background: rgba(9, 24, 31, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.typ-chapter:not(.typ-chapter--final) .typ-signal-list span,
.typ-chapter:not(.typ-chapter--final) .typ-status-line span,
.typ-chapter:not(.typ-chapter--final) .typ-flow span,
.typ-chapter:not(.typ-chapter--final) .typ-module-cloud span {
  color: rgba(14, 42, 71, 0.68);
  border-color: rgba(30, 107, 184, 0.16);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 12px 30px rgba(225, 238, 250, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.typ-button {
  position: relative;
  overflow: hidden;
  justify-content: center;
  min-width: 116px;
  padding: 0 18px;
  color: rgba(242, 249, 249, 0.86);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease, transform 220ms ease;
}

.typ-button::after {
  content: "";
  position: absolute;
  inset: auto 10px 7px;
  height: 1px;
  background: rgba(244, 249, 248, 0.4);
  transform: translateX(-120%);
  opacity: 0.48;
  transition: transform 260ms ease;
}

.typ-button:hover::after {
  transform: translateX(120%);
}

.typ-button:hover {
  border-color: rgba(244, 249, 248, 0.32);
  background: rgba(244, 249, 248, 0.1);
  transform: translateY(-1px);
}

.typ-button--primary {
  color: #07151a;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(235, 240, 236, 0.94);
}

.typ-button--ghost {
  color: rgba(242, 249, 249, 0.86);
  border-color: rgba(232, 246, 247, 0.22);
  background: rgba(236, 246, 246, 0.07);
}

.typ-actions--final {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.typ-actions--final .typ-button {
  min-width: 0;
  font-family: var(--typ-serif);
  font-size: 0.96rem;
  font-weight: 600;
}

.typ-signal-list span,
.typ-status-line span,
.typ-flow span,
.typ-module-cloud span {
  padding: 0 11px;
  color: rgba(229, 242, 243, 0.72);
  font-size: 0.78rem;
  font-weight: 560;
}

.typ-status-line span:first-child {
  border-color: rgba(232, 246, 247, 0.18);
  color: rgba(229, 242, 243, 0.76);
}

.typ-status-line span:nth-child(2) {
  border-color: rgba(232, 246, 247, 0.18);
  color: rgba(229, 242, 243, 0.72);
}

.typ-status-line span:nth-child(3) {
  border-color: rgba(232, 246, 247, 0.18);
  color: rgba(229, 242, 243, 0.68);
}

.typ-chapter:not(.typ-chapter--final) .typ-signal-list span,
.typ-chapter:not(.typ-chapter--final) .typ-status-line span,
.typ-chapter:not(.typ-chapter--final) .typ-flow span,
.typ-chapter:not(.typ-chapter--final) .typ-module-cloud span {
  color: rgba(14, 42, 71, 0.68);
  border-color: rgba(30, 107, 184, 0.16);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 12px 30px rgba(225, 238, 250, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.typ-module-cloud {
  max-width: 460px;
  opacity: 0.72;
}

.typ-flow {
  counter-reset: typ-flow;
}

.typ-flow span {
  position: relative;
}

.typ-flow span::before {
  counter-increment: typ-flow;
  content: "0" counter(typ-flow);
  margin-right: 8px;
  color: rgba(232, 246, 247, 0.5);
  font-size: 0.68rem;
}

.typ-chapter:not(.typ-chapter--final) .typ-flow span::before {
  color: rgba(30, 107, 184, 0.42);
}

.typ-contact {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 246, 247, 0.12);
  color: rgba(226, 239, 240, 0.6);
  font-family: var(--typ-serif);
  font-size: 0.94rem;
  font-style: normal;
  line-height: 1.62;
}

.typ-contact a {
  color: rgba(226, 239, 240, 0.68);
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 239, 240, 0.22);
  transition: color 180ms ease, border-color 180ms ease;
}

.typ-contact a:hover {
  color: rgba(246, 250, 250, 0.86);
  border-bottom-color: rgba(246, 250, 250, 0.36);
}

.typ-telemetry {
  position: fixed;
  left: 24px;
  bottom: 22px;
  z-index: 8;
  padding: 0;
  color: rgba(246, 250, 250, 0.62);
  font-size: 0.74rem;
  line-height: 1;
  text-shadow: 0 1px 12px rgba(9, 25, 31, 0.48);
}

.typ-telemetry b {
  color: var(--typ-cyan);
  font-weight: 700;
}

.typ-footer {
  position: relative;
  z-index: 3;
  min-height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding: 8px 20px;
  color: rgba(223, 239, 244, 0.46);
  background: rgba(15, 32, 39, 0.36);
  font-family: var(--typ-serif);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.18;
}

@media (max-width: 820px) {
  :root {
    --typ-header-h: 0px;
  }

  .typ-header {
    top: 10px;
    width: calc(100vw - 20px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
  }

  .typ-brand strong {
    max-width: 38vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.16rem;
  }

  .typ-brand small {
    font-size: 0.62rem;
  }

  .typ-nav {
    display: none;
  }

  .typ-demo-link {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .typ-lang-switch {
    top: 12px;
    right: 12px;
  }

  .typ-entry-brand {
    width: min(320px, 100%);
    margin-bottom: 14px;
  }

  .typ-entry-brand strong {
    font-size: 1.24rem;
    line-height: 1.05;
  }

  .typ-entry-brand span {
    gap: 7px;
    margin-top: 5px;
    font-size: 0.9rem;
  }

  .typ-entry-brand i {
    font-size: 0.68rem;
  }

  .typ-entry-brand--loader {
    width: min(340px, 100%);
    margin: 0;
  }

  .typ-entry-brand--loader strong {
    font-size: 2rem;
  }

  .typ-entry-brand--loader span {
    margin-top: 8px;
    font-size: 1.05rem;
  }

  .typ-entry-brand--loader i {
    font-size: 0.78rem;
  }

  .typ-entry-brand--hero strong {
    font-size: 2rem;
  }

  .typ-entry-brand--hero span {
    margin-top: 8px;
    font-size: 1.02rem;
  }

  .typ-entry-brand--hero i {
    font-size: 0.76rem;
  }

  .typ-chapter,
  .typ-chapter--hero,
  .typ-chapter--control,
  .typ-chapter--final {
    min-height: 104vh;
    align-items: flex-end;
    justify-content: flex-start;
    padding: calc(var(--typ-header-h) + 34px) 18px 13vh;
  }

  .typ-chapter--hero::before {
    inset: -6vh 0 -24vh;
    background: linear-gradient(180deg, rgba(244, 248, 252, 0.95) 0%, rgba(244, 248, 252, 0.84) 38%, rgba(244, 248, 252, 0.56) 62%, rgba(244, 248, 252, 0.22) 82%, rgba(244, 248, 252, 0.06) 94%, rgba(244, 248, 252, 0) 100%);
  }

  .typ-chapter:not(.typ-chapter--final) .typ-copy::before {
    inset: -56px -48px -64px -42px;
    border-radius: 48% 52% 56% 44% / 42% 46% 54% 58%;
    filter: blur(9px);
  }

  .typ-chapter:not(.typ-chapter--final) .typ-copy::after {
    inset: -34px -34px -42px -28px;
    border-radius: 42% 58% 48% 52% / 56% 44% 58% 42%;
    filter: blur(15px);
  }

  .typ-copy,
  .typ-copy--narrow,
  .typ-copy--hero,
  .typ-copy--hud,
  .typ-copy--module,
  .typ-copy--control,
  .typ-copy--final {
    width: 100%;
  }

  .typ-copy--hero {
    padding: 0;
    background: none;
  }

  .typ-inline-brand {
    flex-wrap: wrap;
    white-space: normal;
  }

  .typ-copy--final {
    padding: 18px 16px;
    background: rgba(7, 19, 26, 0.42);
  }

  .typ-chapter:not(.typ-chapter--final) .typ-copy--hud,
  .typ-chapter:not(.typ-chapter--final) .typ-copy--module,
  .typ-chapter:not(.typ-chapter--final) .typ-copy--control {
    padding: 0;
    background: none;
  }

  .typ-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.55rem, 12vw, 3.45rem);
  }

  .typ-copy h2 {
    max-width: 13ch;
    font-size: clamp(1.85rem, 9.2vw, 2.75rem);
  }

  .typ-copy p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .typ-actions--final {
    grid-template-columns: 1fr;
  }

  .typ-telemetry {
    left: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
