:root {
  color-scheme: dark;
  font: 16px/1.45 Roboto, Inter, system-ui, sans-serif;
  color: #f7f5ff;
  background: #151427;
  --muted: #bcb8ce;
  --line: #ffffff21;
  --lilac: #c7bcff;
}
* { box-sizing: border-box }
body { margin: 0 auto; width: min(100% - 64px, 940px); min-height: 100svh }
a { color: inherit; text-decoration: none }
button, input { font: inherit }
:focus-visible { outline: 3px solid #e1dbff; outline-offset: 3px }
.mast, footer { display: flex; align-items: center; justify-content: space-between }
.mast { padding: 20px 0; border-bottom: 1px solid var(--line) }
.brand { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 760; letter-spacing: -.055em }
.brand img { border-radius: 11px }
.brand b { color: #c9c5db; font-weight: 430 }
.languages { display: flex; border: 1px solid #534e69; border-radius: 24px; padding: 3px; background: #242237 }
.languages a { min-width: 40px; padding: 7px 9px; color: #d5d2e2; text-align: center; font-weight: 650; font-size: 12px; border-radius: 20px }
.languages [aria-current] { background: var(--lilac); color: #211b38 }
main { padding: 26px 0 0 }
.pass { border: 1px solid #544b71; border-radius: 26px; overflow: hidden; background: #262339 }
.hero { isolation: isolate; position: relative; display: flex; overflow: hidden; align-items: center; min-height: 220px; padding: 30px 36px; background: linear-gradient(110deg,#2b2544 8%,#49406a 55%,#8980aa) }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 43%; pointer-events: none; display: grid; place-items: center }
.hero-art i { position: absolute; height: 210%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #e3daff44; background: #d9cdff07 }
.hero-art i:nth-child(2) { height: 155% }
.hero-art i:nth-child(3) { height: 100% }
.hero-art img { width: auto; height: 106%; max-height: 238px; position: absolute; transform: rotate(6deg); filter: drop-shadow(0 14px 14px #19102b65); animation: hover 5s ease-in-out infinite }
@keyframes hover { 50% { transform: translateY(-5px) rotate(3deg) } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none } }
.hero-copy { width: 61%; position: relative }
.status { display: inline-flex; align-items: center; gap: 7px; color: #d2ffe5; background: #213a35; border: 1px solid #729f86; border-radius: 18px; padding: 3px 11px; font-size: 12px; font-weight: 650 }
.status i { width: 7px; height: 7px; background: #96f1bd; border-radius: 50% }
.status.expired, .status.revoked { background: #483031; color: #ffe5d4; border-color: #9f807b }
.status.expired i, .status.revoked i { background: #ffbe9c }
h1,h2,p,dl,dd { margin: 0 }
h1 { margin: 13px 0 6px; font-size: clamp(38px,5.3vw,66px); font-weight: 680; letter-spacing: -.05em; line-height: 1.04 }
.hero p { color: #e1daef; font-size: 16px }
.metrics { display: flex; padding: 21px 0 }
.metrics div { flex: 1; padding: 0 clamp(15px,3.8vw,36px); min-width: 0 }
.metrics div + div { border-left: 1px solid var(--line) }
dt, .manual label { color: var(--muted); font-size: 13px }
dd { font-size: clamp(17px,2vw,24px); line-height: 1.3; letter-spacing: -.035em; font-weight: 670; margin-top: 4px; font-variant-numeric: tabular-nums }
dd span { font-weight: 450; color: var(--muted) }
.metrics small { color: #c5c1d3; font-size: 12px }
.setup { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 16px; margin-top: 16px }
.card { border: 1px solid var(--line); border-radius: 22px; background: #211f34; padding: clamp(20px,3vw,30px) }
h2 { font-size: clamp(21px,2.6vw,28px); font-weight: 650; line-height: 1.15; letter-spacing: -.045em }
.card p { color: var(--muted); margin-top: 7px; font-size: 15px }
.apps { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px }
.action { min-height: 45px; display: inline-flex; gap: 8px; justify-content: center; align-items: center; padding: 10px 15px; border-radius: 13px; font-size: 14px; font-weight: 660 }
.action img { border-radius: 7px }
.action span { margin-left: 2px }
.primary { background: var(--lilac); color: #211938 }
.secondary { background: #302c46; border: 1px solid #514b67; color: #ebe7f8 }
.action:hover, button:hover { filter: brightness(1.09) }
.manual { margin-top: 19px; border-top: 1px solid var(--line); padding-top: 13px }
.copy-line { display: flex; gap: 8px; align-items: center; margin-top: 4px }
.copy-line input { flex: 1; min-width: 0; background: transparent; color: #e0ddef; border: 0; padding: 7px 0; text-overflow: ellipsis; font-size: 14px }
.copy-line button { min-height: 40px; border: 1px solid #504a63; border-radius: 10px; padding: 6px 12px; color: #e7e0ff; background: #302c44; font-size: 13px; cursor: pointer }
.scan { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 14px }
.qr-frame { border-radius: 15px; background: white; padding: 4px; line-height: 0 }
.qr-frame img { width: 148px; height: 148px; image-rendering: pixelated }
.scan h2 { font-size: 20px }
.scan p { max-width: 27ch; margin-inline: auto; font-size: 14px }
.server-list { padding: 15px 3px; border-bottom: 1px solid var(--line); margin-top: 6px }
summary { cursor: pointer; padding: 8px 0; color: #e4e0ef; font-size: 14px; font-weight: 570 }
.count { color: var(--muted); padding-left: 6px }
.server-list ul { list-style: none; padding: 3px 0; margin: 0 }
.server-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; color: var(--muted); font-size: 13px }
.server-list li b { color: #efebff }
footer { padding: 15px 3px 28px; color: #cac3e4; font-size: 14px }
footer a { display: inline-block; padding: 7px 0 }
.message { margin-top: 16px }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.copy-help { display: block; margin-top: 5px; font-size: 13px; color: var(--muted) }
@media (max-width: 680px) {
  body { width: calc(100% - 32px) }
  .mast { padding: 15px 0 }
  main { padding-top: 16px }
  .hero { min-height: 180px; padding: 21px }
  .hero-copy { width: 65% }
  .hero-art { width: 35% }
  .hero-art img { height: auto; width: 132%; max-height: none }
  .setup { grid-template-columns: 1fr; gap: 12px; margin-top: 12px }
  .scan { flex-direction: row; text-align: left; justify-content: flex-start; gap: 20px }
  .qr-frame img { width: 123px; height: 123px }
  .scan p { margin: 6px 0 0 }
  .metrics { padding: 14px 0 }
  .metrics div { padding: 0 13px }
  .metrics div:first-child { flex: 1.4 }
  .metrics small { font-size: 11px }
}
@media (max-width: 410px) {
  .hero-art img { width: 142% }
  h1 { font-size: 36px }
  .metrics div { padding: 0 9px }
  .metrics div:last-child small { font-size: 10px }
  .apps .action { padding: 9px 11px; gap: 6px; font-size: 13px }
  .scan { gap: 13px }
}
@media (max-width: 480px) {
  .apps { display: grid }
  .apps .action { justify-content: flex-start; padding-inline: 15px }
  .apps .action span { margin-left: auto }
}
