:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #03050c;
  color: #f4f7ff;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 22px;
  padding: 28px 18px;
  background: radial-gradient(circle at 50% 0, #17314d 0, #0a1020 38%, #03050c 78%);
}
.card {
  width: min(100%, 500px);
  padding: 34px;
  border: 1px solid #25334b;
  border-radius: 26px;
  background: rgb(12 19 34 / 94%);
  box-shadow: 0 24px 80px rgb(0 0 0 / 45%);
}
.brand { color: #6af6d8; font-weight: 760; letter-spacing: .01em; }
.brand-icon { width: 36px; height: 36px; margin-right: 10px; border-radius: 8px; object-fit: contain; }
h1 { margin: 24px 0 10px; font-size: clamp(1.75rem, 6vw, 2.35rem); line-height: 1.08; }
h2 { margin: 24px 0 8px; font-size: 1.15rem; }
p { color: #aeb9cb; line-height: 1.55; }
button, input { width: 100%; border-radius: 12px; font: inherit; }
button {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #36465f;
  background: #121d30;
  color: #f4f7ff;
  cursor: pointer;
  font-weight: 680;
}
button:hover { border-color: #6af6d8; }
button:disabled { cursor: wait; opacity: .55; }
.provider { margin-top: 10px; background: #f8fafc; color: #07101f; border-color: #f8fafc; }
.provider.apple { background: #050505; color: #fff; border-color: #fff; }
.provider-note { margin: 8px 2px 0; font-size: .8rem; color: #91a0b5; }
.primary { background: #6af6d8; color: #07101f; border-color: #6af6d8; }
.danger { margin-top: 12px; border-color: #8c4650; color: #ffb6bf; }
.legal { margin: 24px 0 0; text-align: center; font-size: .86rem; }
a { color: #6af6d8; }
.button { display: grid; place-items: center; min-height: 46px; margin: 10px 0; padding: 10px 14px; border: 1px solid #36465f; border-radius: 12px; background: #121d30; color: #f4f7ff; text-decoration: none; font-weight: 680; }
code { display: block; overflow-wrap: anywhere; margin: 8px 0; padding: 12px; border-radius: 10px; background: #07101f; color: #6af6d8; letter-spacing: .08em; }
.wide { margin: 14px 0; }
label { display: block; margin-top: 12px; color: #cbd5e1; font-size: .88rem; }
input { margin-top: 6px; padding: 13px 14px; border: 1px solid #36465f; background: #07101f; color: #fff; }
input:focus { outline: 2px solid #6af6d8; outline-offset: 1px; }
.divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 8px; color: #8492a7; font-size: .82rem; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: #2a3850; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.text-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.link { width: auto; min-height: auto; padding: 4px 0; border: 0; background: transparent; color: #6af6d8; font-weight: 550; }
.notice { margin: 18px 0; padding: 12px 14px; border: 1px solid #3e5b70; border-radius: 12px; background: #11263a; color: #d9f8f1; line-height: 1.4; }
.notice.error { border-color: #8c4650; background: #381b24; color: #ffd9de; }
.account { padding: 12px 14px; border-radius: 12px; background: #07101f; color: #dbe4f2; }
.nodes { margin: 16px 0; }
.node { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #26354b; }
.node strong, .node small { display: block; }
.node small { margin-top: 3px; color: #91a0b5; }
.node button { width: auto; min-height: 38px; color: #ffb6bf; }
.fallback { margin-top: 20px; color: #9daabd; }
.fallback summary { cursor: pointer; color: #cbd5e1; }
.hidden { display: none !important; }
.brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.desktop-shell { place-items: start center; }
.desktop-card { width: min(100%, 760px); }
.eyebrow { margin: 28px 0 8px; color: #6af6d8; font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
.desktop-lede { max-width: 650px; font-size: 1.06rem; }
.desktop-features { display: grid; gap: 10px; margin: 24px 0; }
.desktop-feature { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; padding: 15px; border: 1px solid #263750; border-radius: 16px; background: #091425; }
.desktop-feature > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgb(106 246 216 / 12%); color: #6af6d8; font-size: 1.35rem; }
.desktop-feature strong, .desktop-feature small { display: block; }
.desktop-feature small { margin-top: 4px; color: #91a0b5; line-height: 1.45; }
.beta-panel { margin-top: 26px; padding: 22px; border: 1px solid #3e5b70; border-radius: 20px; background: #0e2134; }
.beta-panel h2 { margin-top: 14px; }
.status-pill { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: rgb(106 246 216 / 13%); color: #6af6d8; font-size: .78rem; font-weight: 750; }
.desktop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.download-link { display: grid; place-items: center; min-height: 48px; padding: 10px 14px; border: 1px solid #48617c; border-radius: 12px; background: #121d30; color: #f4f7ff; text-align: center; text-decoration: none; font-weight: 680; }
.download-link.primary { background: #6af6d8; border-color: #6af6d8; color: #07101f; }
.share-button { margin-top: 10px; }
.share-status { min-height: 1.4em; margin: 8px 0 0; color: #b8c5d7; font-size: .86rem; }
.setup-steps { display: grid; gap: 14px; margin: 28px 0 0; padding-left: 24px; }
.setup-steps li { padding-left: 6px; color: #6af6d8; }
.setup-steps strong, .setup-steps span { display: block; }
.setup-steps strong { color: #f4f7ff; }
.setup-steps span { margin-top: 3px; color: #91a0b5; line-height: 1.45; }
@media (max-width: 520px) {
  .card { padding: 25px 20px; }
  .actions { grid-template-columns: 1fr; }
  .text-actions { flex-direction: column; }
  .desktop-actions { grid-template-columns: 1fr; }
}
