:root {
  --bg: #12141c;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.012);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f7f7f8;
  --text-2: #98979f;
  --violet: #8f6cff;
  --green: #7ff0a1;
  --radius: 20px;
  --header: 68px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  background: linear-gradient(160deg, #241838 0%, #141822 46%, #10201c 100%);
  color: var(--text);
  font: 16px/1.68 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, a { font-family: inherit; }
.mono { font-family: var(--mono); }

.header {
  position: sticky;
  top: 0;
  z-index: 2;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  background: rgba(16, 14, 24, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}
.mark { display: grid; place-items: center; color: #fff; }
.brand { font-size: 15px; font-weight: 680; letter-spacing: -0.02em; }

.page {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: center;
  padding: 48px 16px;
}
.card {
  position: relative;
  width: min(480px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(143, 108, 255, 0.1), transparent 70%);
}
.body { position: relative; padding: 32px 28px 28px; }
h1 {
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 680;
}
.lead { margin: 12px 0 22px; color: var(--text-2); max-width: 42ch; }
.file {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #c9c6d0;
  font-size: 13px;
  font-weight: 650;
}
.file b { color: #d6c8ff; font-weight: 650; }
.dl {
  position: relative;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #7851ff 0%, #a58cff 48%, #d9d6de 100%);
  box-shadow: 0 10px 32px rgba(122, 79, 255, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.01em;
}
.dl:hover { transform: translateY(-2px); }
.dl:focus-visible, .copy:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.pass {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pass small { display: block; color: var(--text-2); font-size: 12px; }
.pass strong {
  color: #d6c8ff;
  font-size: 16px;
  font-weight: 680;
  padding: 0.1em 0.35em;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
}
.copy {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 13px;
  padding: 8px 14px;
  font-weight: 680;
  cursor: pointer;
}
.copy:hover { border-color: rgba(143, 108, 255, 0.45); color: #fff; }
h2 {
  margin: 26px 0 10px;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -0.02em;
}
.steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--text-2);
}
.steps li::marker { color: var(--violet-2, #b79bff); font-weight: 680; }
.steps .mono {
  color: #d6c8ff;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
  .header { padding: 0 16px; }
  .body { padding: 24px 18px 20px; }
}
