/* Lightweight launch surface. No second WebGL canvas or theme preference. */
:root {
  color-scheme: light;
  --lp-bg: #eef1f7; --lp-surface: #fff; --lp-soft: #f3f5fa;
  --lp-ink: #15213a; --lp-muted: #5e6b82; --lp-line: #d9e0ed;
  --lp-accent: #3454d8; --lp-error: #ad3049;
  --lp-hero: radial-gradient(ellipse at 50% 0%, #d4e5ff99, transparent 65%), linear-gradient(140deg, #f8faff, #ececfa);
  --lp-spectrum: linear-gradient(100deg, #6b73ff, #4bc5da 28%, #8ccfb0 48%, #e9bb84 69%, #b28fea);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --lp-bg: #0d1220; --lp-surface: #171f30; --lp-soft: #1e293e;
  --lp-ink: #f0f3fc; --lp-muted: #a8b7d1; --lp-line: #34415c;
  --lp-accent: #b2c1ff; --lp-error: #ffb4c4;
  --lp-hero: radial-gradient(ellipse at 50% 0%, #37558a66, transparent 65%), linear-gradient(140deg, #171e33, #20243e);
}
* { box-sizing: border-box; }
html { background: var(--lp-bg); }
body.launchpad { width: 360px; max-width: 100vw; margin: 0; background: var(--lp-bg); color: var(--lp-ink); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: 13px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
header { display: flex; align-items: center; gap: 10px; padding: 18px 20px 15px; }
header strong { display: block; font-size: 17px; line-height: 1.35; letter-spacing: -.035em; }
header small { display: block; margin-top: 3px; font-size: 8px; letter-spacing: .12em; color: var(--lp-muted); }
.brand-mark { position: relative; width: 36px; height: 38px; border: 1px solid #283659; border-radius: 11px; background: #18233e; color: #fff; display: grid; place-items: center; box-shadow: inset 0 1px 0 #ffffff20; }
.brand-mark::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--lp-spectrum); }
.brand-mark svg { width: 24px; height: 24px; }
main { padding: 0 16px; text-align: center; }
.launch-intro { position: relative; padding: 12px 20px 22px; border: 1px solid var(--lp-line); border-radius: 20px; background: var(--lp-hero); overflow: hidden; }
.launch-intro::before { content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px; background: var(--lp-spectrum); }
.launch-art { position: relative; display: grid; place-items: center; height: 120px; isolation: isolate; }
.launch-art::before { content: ""; position: absolute; width: 118px; height: 28px; bottom: 0; border: 1px solid var(--lp-line); border-radius: 50%; background: var(--lp-surface); opacity: .55; z-index: -1; transform: rotate(-8deg); }
.launch-art .launch-companion { display: block; width: 148px; height: 123px; }
.launch-companion svg { display: block; width: 100%; height: 100%; }
.eyebrow { font-size: 8px; letter-spacing: .16em; color: var(--lp-muted); font-weight: 700; margin: 17px 0 5px; }
h1 { font-size: 28px; font-weight: 740; line-height: 1.5; letter-spacing: -.05em; margin: 5px 0 10px; }
.description { font-size: 11px; color: var(--lp-muted); line-height: 1.9; margin: 0; }
.launch-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 15px 0; margin: 0; list-style: none; }
.launch-steps li { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--lp-muted); font-size: 10px; font-weight: 600; }
.launch-steps li + li { border-left: 1px solid var(--lp-line); }
.launch-steps span { font-size: 9px; color: var(--lp-accent); font-variant-numeric: tabular-nums; }
button { font: inherit; width: 100%; min-height: 48px; border: 1px solid #ffffff14; border-radius: 12px; background: linear-gradient(110deg, #3152d6, #5548c8); color: #fff; cursor: pointer; font-weight: 650; font-size: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 15px; box-shadow: inset 0 1px 0 #ffffff20, 0 3px 8px #334ecc1a; transition: filter .15s, transform .15s; }
button span { font-size: 18px; line-height: 1; }
button:hover { filter: brightness(1.1); }
button:active { transform: translateY(1px); }
button:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 3px; }
button:disabled { opacity: .6; cursor: wait; }
#result { font-size: 11px; color: var(--lp-error); min-height: 18px; margin: 9px 2px 5px; overflow-wrap: anywhere; }
footer { display: flex; justify-content: center; align-items: flex-start; gap: 6px; border-top: 1px solid var(--lp-line); font-size: 9px; color: var(--lp-muted); margin: 0 16px; padding: 12px 0 15px; }
footer svg { flex: 0 0 13px; width: 13px; height: 13px; margin-top: 1px; }
@media (max-width: 330px) {
  header { padding: 16px 16px 13px; }
  main { padding: 0 12px; }
  .launch-intro { padding-left: 12px; padding-right: 12px; }
  h1 { font-size: 26px; }
  .launch-steps li { font-size: 9px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) {
  .launch-intro::before, .brand-mark::after, .launch-art::before { display: none; }
  button { border-color: ButtonText; }
}
