/* qrstudio.io: the direct build's pages (download, pricing, thanks, license, release notes)
   (tokens, Poppins and buttons from website/assets/site.css). No build step,
   no inline styles (the CSP in .htaccess allows only this file). */
@font-face {
  font-family: Poppins;
  src: url(../fonts/Poppins-Regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url(../fonts/Poppins-Bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #0b0d14;
  --surface: #131722;
  --surface-2: #1a1f2d;
  --line: #ffffff13;
  --line-strong: #ffffff26;
  --text: #f4f2ec;
  --muted: #a6adbd;
  --blue: #7188ff;
  --link: #a9baff;
  --amber: #ffb44a;
  --green: #5fd49a;
  --red: #ff7a7a;
  --radius: 22px;
  --shell: 1120px;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}
main {
  flex: 1;
}
a {
  color: var(--link);
  text-underline-offset: 4px;
}
a:hover {
  color: #fff;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
  border-radius: 4px;
}
::selection {
  background: var(--amber);
  color: var(--bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(38px, 6vw, 64px);
}
h2 {
  font-size: clamp(24px, 3vw, 32px);
}
h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}
p + p {
  margin-top: 14px;
}
code,
kbd {
  font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace;
}
[hidden] {
  display: none !important;
}
.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 32px;
}
.narrow {
  max-width: 760px;
}
.skip {
  position: absolute;
  top: -70px;
  left: 20px;
  z-index: 1000;
  background: var(--text);
  color: var(--bg);
  padding: 10px 20px;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Header and footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0b0d14eb;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -1px;
}
.wordmark:hover {
  color: var(--text);
}
.wordmark img {
  border-radius: 8px;
}
.wordmark-dot {
  color: var(--amber);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
}
.nav-links a {
  color: #c2c6d0;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--amber);
}
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-block: 32px 44px;
  color: var(--muted);
  font-size: 14px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px 32px;
}
.foot-row ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot-row a {
  color: var(--muted);
  text-decoration: none;
}
.foot-row a:hover {
  color: var(--amber);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  background: var(--text);
  color: #11131a;
  border: 0;
  border-radius: 10px;
  padding: 14px 24px;
  font: 700 15px/1.2 Poppins, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  background: var(--amber);
  color: #11131a;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px #0004;
}
.button.quiet {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.button.quiet:hover {
  background: var(--surface-2);
  color: var(--text);
}
.button.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}
.button[aria-disabled="true"],
.button:disabled {
  background: var(--surface-2);
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  transform: none;
  cursor: not-allowed;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 26px;
}

/* Page heads and sections */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-head {
  padding-block: 84px 36px;
}
.lead {
  margin-top: 22px;
  font-size: 19px;
  color: #c9cfdb;
  max-width: 680px;
}
.fine {
  font-size: 14px;
  color: var(--muted);
}
.section {
  padding-block: 28px 48px;
}
.section-title {
  margin-bottom: 22px;
}

/* Home */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-block: 84px 56px;
}
.hero-art {
  justify-self: center;
  width: min(100%, 340px);
  aspect-ratio: 1;
  border-radius: 28%;
  background: radial-gradient(circle at 50% 40%, #7188ff33, transparent 70%);
  display: grid;
  place-items: center;
}
.hero-art img {
  width: 82%;
  filter: drop-shadow(0 30px 60px #0008);
}
.hero-meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h2,
.card h3 {
  margin-bottom: 10px;
}
.card + .card {
  margin-top: 18px;
}
.grid .card + .card {
  margin-top: 0;
}
.card p {
  color: #c9cfdb;
}
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

/* Pricing */
.plan {
  position: relative;
  max-width: 520px;
  border-color: #ffb44a55;
  box-shadow: 0 30px 80px #0006;
}
.plan-kind {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.plan h2 {
  margin-top: 6px;
}
.price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.price strong {
  font-size: 46px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price span {
  color: var(--muted);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.ticks li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.faq details {
  border-top: 1px solid var(--line);
  padding-block: 4px;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 32px 16px 0;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 22px;
  color: var(--amber);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details > div {
  padding: 0 0 18px;
  color: #c9cfdb;
}

/* Thanks and license */
.keybox {
  margin-top: 8px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  font: 600 17px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}
.steps {
  margin: 12px 0 0;
  padding-left: 22px;
}
.steps li {
  margin: 8px 0;
}
.form {
  display: grid;
  gap: 18px;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: 16px/1.4 Poppins, sans-serif;
}
.field input:focus {
  border-color: var(--amber);
  outline: none;
}
.hint {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  background: #ff7a7a1a;
  border: 1px solid #ff7a7a55;
  color: #ffd2d2;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.status-row h2 {
  margin: 0;
}
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line-strong);
}
.badge.active {
  background: #5fd49a1f;
  color: var(--green);
  border-color: #5fd49a55;
}
.badge.expired,
.badge.disabled {
  background: #ff7a7a1a;
  color: var(--red);
  border-color: #ff7a7a55;
}
.usage {
  margin-top: 6px;
}
.status-note {
  margin-top: 12px;
}
.devices {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.devices li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.devices strong,
.devices small {
  display: block;
}
.devices small {
  color: var(--muted);
  font-size: 13px;
}
.empty,
.done {
  margin-top: 16px;
}
.done {
  color: var(--green);
}
.notice {
  margin-top: 16px;
}

/* Release notes */
.release {
  padding-block: 30px;
  border-top: 1px solid var(--line);
}
.release:first-child {
  border-top: 0;
  padding-top: 0;
}
.release h2 {
  font-size: clamp(24px, 3vw, 30px);
}
.release-meta {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.release-intro {
  margin-top: 14px;
  color: #c9cfdb;
}
.release ul {
  margin: 16px 0 0;
  padding-left: 22px;
}
.release li {
  margin: 8px 0;
  color: #d5dae4;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 52px 32px;
  }
  .hero-art {
    grid-row: 1;
    width: 180px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .shell {
    padding-inline: 16px;
  }
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-block: 14px;
  }
  .nav-links {
    gap: 6px 18px;
  }
  .page-head {
    padding-block: 48px 24px;
  }
  .card {
    padding: 22px;
  }
  .devices li {
    flex-direction: column;
    align-items: flex-start;
  }
  .button {
    width: 100%;
  }
  .button.small {
    width: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}
