:root {
  color-scheme: light;
  --bg: #f5f6f6;
  --surface: #ffffff;
  --surface-2: #edeff0;
  --text: #12161a;
  --text-muted: rgba(18, 22, 26, 0.64);
  --text-faint: rgba(18, 22, 26, 0.43);
  --border: rgba(18, 22, 26, 0.13);
  --border-strong: rgba(18, 22, 26, 0.27);
  --accent: #2f5fe0;
  --accent-strong: #1f47b8;
  --accent-tint: rgba(47, 95, 224, 0.08);
  --accent-ink: #ffffff;
  --success: #1c8d63;
  --warning: #a06f08;
  --danger: #b8443a;
  --grid-line: rgba(18, 22, 26, 0.05);
  --header-bg: rgba(245, 246, 246, 0.94);
}

html[data-kf-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0c0e;
  --surface: #101315;
  --surface-2: #16191c;
  --text: #e8ebec;
  --text-muted: rgba(232, 235, 236, 0.66);
  --text-faint: rgba(232, 235, 236, 0.42);
  --border: rgba(232, 235, 236, 0.11);
  --border-strong: rgba(232, 235, 236, 0.23);
  --accent: #4f8ef7;
  --accent-strong: #82b3ff;
  --accent-tint: rgba(79, 142, 247, 0.13);
  --accent-ink: #071a38;
  --success: #45b784;
  --warning: #d9a446;
  --danger: #d9695e;
  --grid-line: rgba(232, 235, 236, 0.045);
  --header-bg: rgba(10, 12, 14, 0.94);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  text-wrap: pretty;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 3px;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus {
  transform: none;
}

.topbar {
  height: 3px;
  background: linear-gradient(90deg, #8fdcff 0%, #3b6bf0 45%, #1e93fb 75%, #8fdcff 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 65px;
  padding: 13px clamp(20px, 5vw, 48px);
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  margin-right: auto;
}

.brand img {
  display: block;
  width: auto;
  height: 28px;
  border-radius: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.site-footer a {
  color: var(--text-muted);
  font-size: 14.5px;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.icon-button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: transparent;
  color: var(--text-muted);
}

.icon-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.icon-button svg,
.chevron {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button,
.menu-close-icon {
  display: none;
}

.theme-button {
  position: relative;
  overflow: hidden;
}

.theme-button svg {
  position: absolute;
  display: block;
  transform-origin: center;
}

.theme-button .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-button .sun-icon {
  opacity: 0;
  transform: rotate(-50deg) scale(0.72);
}

html[data-kf-theme="dark"] .theme-button .moon-icon {
  opacity: 0;
  transform: rotate(50deg) scale(0.72);
}

html[data-kf-theme="dark"] .theme-button .sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.container {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.container-narrow {
  max-width: 800px;
}

.grid-background {
  background-image: repeating-linear-gradient(to bottom, var(--grid-line) 0 1px, transparent 1px 40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  min-height: min(690px, calc(100vh - 68px));
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(56px, 7vw, 84px);
}

.tagline {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border-strong));
  border-radius: 3px;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: 0;
}

h1,
h2,
h3,
.hero-title,
.footer-brand {
  font-family: "IBM Plex Sans Condensed", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  margin: 20px 0 0;
  font-size: clamp(42px, 5.6vw, 66px);
  line-height: 1.04;
}

h2 {
  margin: 10px 0 24px;
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.18;
}

h3 {
  margin: 0;
  font-size: 18px;
}

.hero-title {
  margin: 8px 0 0;
  color: var(--accent);
  font-size: clamp(21px, 2.5vw, 26px);
  line-height: 1.3;
}

.hero-description {
  max-width: 56ch;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.button-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 32px;
}

.hero-copy > .tag-row {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-family: "IBM Plex Sans Condensed", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, opacity 120ms ease;
}

.button:active {
  opacity: 0.82;
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--accent-ink);
}

.button-secondary {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button-block {
  width: 100%;
}

.card {
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface);
}

.hero-media {
  min-width: 0;
  margin: 0;
}

.app-frame {
  overflow: hidden;
}

.frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

.mono,
.section-number,
.metric-code,
.plan-name,
.file-meta,
.activation-grid span {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.frame-bar .mono {
  color: var(--text-faint);
  font-size: 11px;
}

.theme-screenshot {
  position: relative;
  aspect-ratio: 1440 / 940;
  overflow: hidden;
  background: var(--surface-2);
}

.app-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1440 / 940;
  object-fit: cover;
  object-position: top left;
}

.screenshot-light {
  opacity: 1;
}

.screenshot-dark {
  opacity: 0;
}

html[data-kf-theme="dark"] .screenshot-light {
  opacity: 0;
}

html[data-kf-theme="dark"] .screenshot-dark {
  opacity: 1;
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition-property: color, background-color, border-color, box-shadow, opacity, transform, fill, stroke;
  transition-duration: 320ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

figcaption {
  margin: 12px 4px 0;
  color: var(--text-faint);
  font-size: 13px;
}

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--border);
}

.section {
  padding-block: clamp(60px, 8vw, 96px);
}

.section-number,
.metric-code {
  margin: 0;
  color: var(--accent);
  font-size: 12.5px;
  text-transform: uppercase;
}

.section-intro {
  max-width: 60ch;
  margin: -12px 0 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin: -4px 0 28px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.legend span,
.warning-heading {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend .legend-note {
  color: var(--text-faint);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
}

.status-success {
  background: var(--success);
}

.status-warning {
  background: var(--warning);
}

.status-danger {
  background: var(--danger);
}

.ruled-grid {
  display: grid;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.ruled-grid > article {
  min-width: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.metric-grid article {
  min-height: 148px;
  padding: 20px;
}

.metric-grid h3 {
  margin: 6px 0 8px;
  font-size: 17px;
}

.ruled-grid article > p:last-child,
.warning-grid article > p,
.activation-grid p,
.purchase-note > p:last-child,
.legal-grid article > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.subsection {
  margin-top: clamp(60px, 7vw, 80px);
}

.advantage-grid {
  grid-template-columns: repeat(3, 1fr);
}

.advantage-grid article {
  min-height: 138px;
  padding: 22px;
}

.advantage-grid h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.early-bird {
  display: flex;
  max-width: 680px;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 16px 18px;
}

.early-bird .mono {
  flex: none;
  margin-top: 2px;
  color: var(--accent);
  font-size: 12px;
}

.early-bird p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.pricing-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
}

.pricing-grid article {
  padding: 28px;
}

.pricing-grid .recommended-plan {
  border-color: var(--accent);
}

.plan-name {
  margin: 0;
  color: var(--text-faint);
  font-size: 12px;
  text-transform: uppercase;
}

.plan-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--accent-tint);
  color: var(--accent);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 11.5px;
  font-weight: 600;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 20px;
}

.price strong {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 38px;
  font-weight: 500;
}

.price span {
  color: var(--text-muted);
  font-size: 14px;
}

.benefits {
  max-width: 800px;
  margin-top: 28px;
}

.benefits ul,
.activation ul,
.install-details ol {
  margin: 10px 0 0;
  padding-left: 1.25em;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
}

.purchase-note {
  max-width: 800px;
  margin-top: 32px;
  padding: 20px;
}

.purchase-note h3 {
  margin: 7px 0;
}

.purchase-dialog {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  max-height: min(90vh, 940px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.purchase-dialog::backdrop {
  background: rgba(4, 8, 12, 0.7);
  backdrop-filter: blur(4px);
}

.purchase-dialog-shell {
  max-height: min(90vh, 940px);
  overflow-y: auto;
}

.purchase-dialog-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px);
}

.purchase-dialog-header h2 {
  margin: 6px 0 0;
  font-size: 26px;
}

.purchase-dialog-close {
  flex: 0 0 36px;
}

.purchase-dialog-body {
  padding: 24px;
}

.purchase-plan-bar {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1.2fr);
  border: 1px solid var(--border);
}

.purchase-plan-options {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--border);
}

.purchase-plan-options button {
  min-height: 50px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font: 600 14px/1.4 "IBM Plex Sans Condensed", "Microsoft YaHei", sans-serif;
  text-align: left;
}

.purchase-plan-options button:last-child {
  border-bottom: 0;
}

.purchase-plan-options button:hover,
.purchase-plan-options button.is-selected {
  background: var(--accent-tint);
  color: var(--accent);
}

.purchase-order {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0;
  padding: 16px 18px;
}

.purchase-order > div {
  min-width: 0;
}

.purchase-order dt {
  margin-bottom: 4px;
  color: var(--text-faint);
  font: 11.5px/1.4 "IBM Plex Mono", Consolas, monospace;
}

.purchase-order dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.purchase-order .purchase-total {
  color: var(--accent);
  font: 500 22px/1.2 "IBM Plex Mono", Consolas, monospace;
}

.purchase-order-code {
  grid-column: 1 / -1;
}

.purchase-order-code dd {
  display: flex;
  gap: 10px;
  align-items: center;
}

.purchase-order-code code,
.purchase-steps code {
  font-family: "IBM Plex Mono", Consolas, monospace;
}

.purchase-order-code code {
  overflow-wrap: anywhere;
  color: var(--accent);
  font-size: 15px;
}

.purchase-lead {
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.payment-card {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.payment-card-heading {
  display: flex;
  min-height: 42px;
  align-items: baseline;
  gap: 9px;
}

.payment-card-heading h3 {
  font-size: 16px;
}

.payment-index {
  color: var(--accent);
  font: 12px/1 "IBM Plex Mono", Consolas, monospace;
}

.qr-link {
  display: flex;
  height: 310px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
}

.qr-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-original-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 12.5px;
  text-decoration: none;
}

.qr-original-link:hover {
  color: var(--accent);
}

.purchase-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 20px 0 0;
  padding-left: 1.4em;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.purchase-safety {
  margin: 18px 0 0;
  padding: 13px 15px;
  border-left: 3px solid var(--warning);
  background: color-mix(in srgb, var(--warning) 8%, transparent);
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.purchase-safety strong {
  color: var(--text);
}

.download-grid,
.warning-grid {
  grid-template-columns: repeat(2, 1fr);
}

.download-grid article {
  padding: 28px;
}

.download-grid h3 {
  font-size: 19px;
}

.download-grid .tag-row {
  margin: 12px 0 20px;
}

.file-meta {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.55;
}

.file-meta > div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 8px;
}

.file-meta dt,
.file-meta dd {
  margin: 0;
}

.file-meta dd {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.file-meta .hash-row {
  grid-template-columns: 66px minmax(0, 1fr) auto;
  align-items: start;
}

.copy-button {
  min-width: 44px;
  padding: 3px 7px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
}

.copy-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.integrity-note {
  margin: 18px 0 0;
  color: var(--text-faint);
  font-size: 12.5px;
  line-height: 1.65;
}

.warning-grid {
  margin-bottom: 28px;
}

.warning-grid article {
  padding: 20px;
}

.warning-heading {
  margin-bottom: 8px;
}

.warning-heading h3 {
  font-size: 16px;
}

details summary {
  cursor: pointer;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] .chevron {
  transform: rotate(180deg);
}

.chevron {
  flex: 0 0 auto;
  transition: transform 150ms ease;
}

.install-details {
  margin-bottom: 36px;
  padding: 16px 20px;
}

.install-details summary,
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "IBM Plex Sans Condensed", "Microsoft YaHei", sans-serif;
  font-weight: 600;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.activation h3 {
  margin: 10px 0 20px;
  font-size: 22px;
}

.activation-grid {
  grid-template-columns: repeat(4, 1fr);
}

.activation-grid article {
  min-height: 128px;
  padding: 18px;
}

.activation-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
}

.activation ul {
  margin: 20px 0;
}

.faq-list details {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  min-height: 48px;
  padding: 12px 0;
  font-size: 16.5px;
}

.faq-list details > p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.legal-section {
  padding: 42px 0;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 6vw, 80px);
}

.legal-grid .section-number {
  margin-bottom: 10px;
}

.site-footer {
  padding-block: 38px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(190px, 0.7fr) minmax(260px, 1.6fr);
  gap: 28px;
  align-items: start;
  color: var(--text-faint);
  font-size: 12.5px;
  line-height: 1.75;
}

.footer-grid p {
  margin: 0 0 6px;
}

.footer-brand {
  color: var(--text);
  font-size: 16px;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer nav a {
  font-size: 12.5px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: min(360px, calc(100vw - 36px));
  padding: 10px 14px;
  transform: translateY(24px);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  transform: none;
  opacity: 1;
}

@media (max-width: 1020px) {
  .site-header {
    gap: 12px;
  }

  .site-nav {
    gap: 17px;
  }

  .header-download {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 9fr) minmax(0, 10fr);
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-card {
    grid-column: 1 / -1;
  }

  .support-card .qr-link {
    max-width: 300px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    min-height: 61px;
  }

  .brand img {
    height: 26px;
  }

  .menu-button {
    display: inline-flex;
    order: 2;
  }

  .theme-button {
    order: 1;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    display: none;
    width: 100%;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  }

  .site-header.is-menu-open .site-nav {
    display: grid;
  }

  .site-header.is-menu-open .menu-open-icon {
    display: none;
  }

  .site-header.is-menu-open .menu-close-icon {
    display: block;
  }

  .site-nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .hero-media {
    margin-top: 6px;
  }

  .advantage-grid,
  .pricing-grid,
  .download-grid,
  .warning-grid,
  .install-grid,
  .activation-grid,
  .legal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .activation-grid article,
  .metric-grid article,
  .advantage-grid article {
    min-height: 0;
  }

  .footer-grid {
    gap: 20px;
  }

  .purchase-dialog {
    width: calc(100vw - 20px);
    max-height: 94vh;
  }

  .purchase-dialog-shell {
    max-height: 94vh;
  }

  .purchase-dialog-header,
  .purchase-dialog-body {
    padding: 18px;
  }

  .purchase-plan-bar,
  .payment-grid,
  .purchase-steps {
    grid-template-columns: 1fr;
  }

  .purchase-plan-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .purchase-plan-options button {
    border-right: 1px solid var(--border);
    border-bottom: 0;
    text-align: center;
  }

  .purchase-plan-options button:last-child {
    border-right: 0;
  }

  .support-card {
    grid-column: auto;
  }

  .qr-link,
  .support-card .qr-link {
    width: min(100%, 320px);
    height: 350px;
    margin-inline: auto;
  }
}

@media (max-width: 460px) {
  .container {
    padding-inline: 18px;
  }

  .site-header {
    padding-inline: 14px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-actions .button,
  .hero-actions + .tag-row {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-copy > .tag-row .tagline {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
    text-align: center;
  }

  .pricing-grid article,
  .download-grid article {
    padding: 22px 18px;
  }

  .file-meta > div,
  .file-meta .hash-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .copy-button {
    width: fit-content;
    margin-top: 3px;
  }

  .purchase-dialog-header h2 {
    font-size: 22px;
  }

  .purchase-order {
    grid-template-columns: 1fr;
  }

  .purchase-order-code {
    grid-column: auto;
  }

  .purchase-order-code dd {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
