:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --bg-strong: #eef5f1;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-border: rgba(217, 224, 216, 0.9);
  --text: #1f2a27;
  --muted: #66736e;
  --accent: #0f766e;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --shadow: 0 24px 72px rgba(31, 42, 39, 0.10);
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(22, 99, 166, 0.10), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-strong) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.boot-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 118, 110, 0.16), transparent 32%),
    radial-gradient(circle at 80% 78%, rgba(22, 99, 166, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-strong) 100%);
  z-index: 1;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.boot-screen.is-hidden {
  opacity: 0;
  transform: scale(0.985);
  visibility: hidden;
  pointer-events: none;
}

.boot-card {
  width: min(420px, calc(100vw - 48px));
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.boot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.boot-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #000 28%));
  box-shadow: 0 14px 28px var(--accent-soft);
  flex: none;
  overflow: hidden;
}

.boot-mark img {
  display: block;
  width: 26px;
  height: 26px;
}

.boot-copy {
  min-width: 0;
}

.boot-title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.boot-description {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.boot-progress {
  margin-top: 22px;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.boot-progress::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  animation: boot-shimmer 1.15s infinite ease-in-out;
}

.boot-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@keyframes boot-shimmer {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(220%);
  }
}
