/* Render-blocking first-paint contract: never expose intermediate legacy layers. */
html[data-app-state="loading"],
html[data-app-state="error"] {
  background: #f5f6fa;
}
html[data-launch-theme="dark"] {
  background: #151b2a;
  color-scheme: dark;
}
html[data-app-state]:not([data-app-state="ready"]) body > :not(#launchScreen) {
  visibility: hidden !important;
  pointer-events: none !important;
}
html[data-app-state]:not([data-app-state="ready"]) body {
  overflow: hidden;
  margin: 0;
}
#launchScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: auto;
  background: #f5f6fa;
  color: #172139;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    sans-serif;
  box-sizing: border-box;
  padding: 40px max(28px, calc((100vw - 1120px) / 2));
}
#launchScreen[hidden],
#launchRetry[hidden] {
  display: none !important;
}
.launch-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  letter-spacing: -0.7px;
  font-weight: 650;
}
.launch-brand > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #202d50;
  color: white;
  font-size: 23px;
}
.launch-brand small {
  margin-left: auto;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #687791;
}
.launch-copy {
  margin: 12vh 0 36px;
  max-width: 620px;
}
.launch-eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #687791;
}
.launch-copy h1 {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.35;
  font-weight: 560;
  margin: 16px 0;
  letter-spacing: -0.8px;
}
.launch-copy p {
  color: #657189;
  font-size: 14px;
  line-height: 1.8;
}
#launchRetry {
  border: 1px solid #3f55c8;
  color: white;
  background: #4359d3;
  border-radius: 9px;
  padding: 11px 18px;
  font: inherit;
  cursor: pointer;
  margin: 12px 0;
}
#launchRetry:focus-visible {
  outline: 3px solid #a1b1ff;
  outline-offset: 4px;
}
.launch-preview {
  display: grid;
  grid-template-columns: 150px 1fr;
  max-width: 850px;
  height: 280px;
  background: #fff;
  border: 1px solid #e4e8f1;
  border-radius: 17px;
  padding: 24px;
  gap: 30px;
  box-shadow: 0 16px 44px #1b2a5006;
}
.launch-lines {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid #edf0f6;
  padding: 12px 25px 0 0;
}
.launch-lines i,
.launch-canvas > i,
.launch-stats i {
  display: block;
  background: #edf0f7;
  border-radius: 5px;
  height: 12px;
}
.launch-lines i:nth-child(2) {
  width: 75%;
}
.launch-lines i:nth-child(3) {
  width: 85%;
}
.launch-canvas > i {
  width: 25%;
  margin: 12px 0 24px;
}
.launch-hero {
  height: 120px;
  border-radius: 10px;
  background: linear-gradient(115deg, #e7ecf6, #f5f7fc 60%, #e9edfa);
}
.launch-stats {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}
.launch-stats i {
  flex: 1;
  height: 30px;
}
.launch-noscript {
  font-size: 14px;
  color: #4359d3;
}
html[data-launch-theme="dark"] #launchScreen {
  background: #151b2a;
  color: #e6ebf5;
}
html[data-launch-theme="dark"] .launch-preview {
  background: #1c2538;
  border-color: #2c3650;
}
html[data-launch-theme="dark"] .launch-copy p,
html[data-launch-theme="dark"] .launch-eyebrow,
html[data-launch-theme="dark"] .launch-brand small {
  color: #a6b3cd;
}
html[data-launch-theme="dark"] .launch-lines {
  border-color: #2c3650;
}
html[data-launch-theme="dark"] .launch-lines i,
html[data-launch-theme="dark"] .launch-canvas > i,
html[data-launch-theme="dark"] .launch-stats i {
  background: #303c56;
}
html[data-launch-theme="dark"] .launch-hero {
  background: linear-gradient(115deg, #263350, #303d60);
}
@media (max-width: 760px) {
  #launchScreen {
    padding: 28px 24px;
  }
  .launch-brand small {
    display: none;
  }
  .launch-copy {
    margin-top: 12vh;
  }
  .launch-preview {
    grid-template-columns: 1fr;
    height: 235px;
    padding: 20px;
  }
  .launch-lines {
    display: none;
  }
  .launch-hero {
    height: 100px;
  }
}
