:root {
  color-scheme: light dark;
  --page: #f7fafb;
  --card: #ffffff;
  --ink: #152d40;
  --muted: #526675;
  --accent: #007780;
  --line: #dfe9ee;
}
#startup, #startup * { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; }
body { background: var(--page); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
#startup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: auto; padding: 24px; background: var(--page); }
.startup-card { width: min(100%, 460px); margin: auto; padding: 40px 30px 26px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 28px #152d4007; }
.brand-mark { background: white; padding: 6px; display: block; width: min(100%, 240px); height: 66px; margin: 0 auto 24px; object-fit: contain; border-radius: 17px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--accent); }
#startup h1 { font-size: clamp(24px, 6vw, 32px); letter-spacing: -1px; margin: 12px 0; }
.intro { font-size: 16px; line-height: 1.8; margin: 0 0 30px; color: var(--muted); }
.progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 0 24px 22px; }
.progress span { display: block; height: 100%; width: 40%; background: var(--accent); border-radius: 4px; animation: loading 1.6s ease-in-out infinite alternate; }
#startup-status { font-size: 15px; font-weight: 600; line-height: 1.7; }
.detail { color: var(--muted); font-size: 12px; line-height: 1.8; }
#startup button { border: 0; border-radius: 12px; padding: 12px 18px; margin: 10px 0; background: var(--accent); color: white; font: inherit; cursor: pointer; }
#startup button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.platforms { border-top: 1px solid var(--line); padding-top: 22px; margin: 28px 0 0; font-size: 11px; color: var(--muted); }
.no-script { font-size: 16px; line-height: 1.8; color: #b83d38; }
#startup [hidden] { display: none !important; }
@keyframes loading { from { transform: translateX(70%); } to { transform: translateX(-150%); } }
@media (prefers-reduced-motion: reduce) { .progress span { animation: none; width: 100%; } }
@media (prefers-color-scheme: dark) {
  :root { --page: #0b1724; --card: #122337; --ink: #e5f0f7; --muted: #9aafc1; --accent: #007780; --line: #263d50; }
}
@media (max-width: 380px) { #startup { padding: 14px; } .startup-card { padding: 28px 18px 22px; } }
