:root {
  color-scheme: dark;
}

.download-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 12%, rgba(34, 191, 118, 0.09), transparent 28rem),
    linear-gradient(180deg, #050606 0%, #070808 56%, #050506 100%);
  color: var(--lf-text);
}

.download-page #navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.download-navbar {
  justify-content: space-between;
}

.download-back-link {
  padding: 8px 0;
  color: var(--lf-text-soft);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.download-back-link:hover {
  color: var(--lf-accent-strong);
}

.download-main {
  flex: 1 0 auto;
  display: grid !important;
  place-items: center;
  min-height: calc(100vh - 96px);
  padding: 118px var(--lf-page-x) 72px;
}

.download-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 680px);
  text-align: center;
}

.download-shell:has(#activation-layout:not([hidden])):not([data-download-view="authorized"]),
.download-shell[data-download-view]:not([data-download-view="authorized"]) {
  width: min(100%, 1040px);
}

.download-shell.has-access {
  width: min(100%, 980px);
}

.download-glow {
  position: absolute;
  top: 40px;
  left: 50%;
  z-index: -1;
  width: min(620px, 95vw);
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(34, 191, 118, 0.085);
  filter: blur(80px);
  pointer-events: none;
}

.download-brand-mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  padding: 7px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lf-border-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.download-brand-mark img {
  transform: scale(2.4);
  transform-origin: 50% 45%;
}

.download-eyebrow {
  margin-bottom: 12px;
  color: var(--lf-accent-strong);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.download-page h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 8vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--lf-text);
}

.download-lede {
  margin-bottom: 34px;
  color: var(--lf-text-soft);
  font-size: 17px;
  line-height: 1.6;
}

.download-card {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--lf-border-strong);
  border-radius: var(--lf-radius-lg);
  background: rgba(14, 17, 15, 0.9);
  box-shadow: var(--lf-shadow-card), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  text-align: left;
}

.download-card:has(> #activation-layout:not([hidden])):not([data-download-view="authorized"]),
.download-card[data-download-view]:not([data-download-view="authorized"]) {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.activation-card-layout[hidden],
.activation-bottom[hidden],
.download-step[hidden],
.download-page button[hidden],
.download-page a[hidden] {
  display: none !important;
}

#activation-status {
  white-space: pre-line;
}

.download-step {
  display: grid;
  gap: 14px;
}

.activation-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 530px) minmax(300px, 350px);
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.purchase-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: grid;
  align-content: start;
  padding: 0;
  border: 1px solid var(--lf-border-strong);
  border-radius: 22px;
  background: rgba(18, 22, 19, 0.92);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.08);
}

.offer-identity {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 32px 22px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.04);
}

.offer-identity img {
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.offer-identity > span {
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(102, 217, 154, 0.12);
  border: 1px solid rgba(102, 217, 154, 0.25);
  color: var(--lf-accent-strong);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.offer-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
}

.offer-wave i {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: rgba(102, 217, 154, 0.45);
}

.offer-wave i:nth-child(3n) {
  height: 24px;
  background: rgba(102, 217, 154, 0.75);
}

.offer-wave i:nth-child(3n + 2) {
  height: 16px;
}

.offer-wave i:nth-child(6) {
  height: 32px;
  background: var(--lf-accent-strong);
}

.purchase-card-main {
  min-width: 0;
  padding: 28px 32px;
}

.purchase-card-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-items: start;
  align-items: center;
  gap: 14px 20px;
  margin-top: 0;
  padding: 25px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(14, 18, 15, 0.95);
  box-shadow: inset 0 1px rgba(102, 217, 154, 0.09);
}

.purchase-kicker {
  margin: 0 0 10px;
  color: var(--lf-accent-strong);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.purchase-card h2 {
  max-width: 560px;
  color: var(--lf-text);
  font-size: clamp(23px, 4vw, 29px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.purchase-price {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: start;
  column-gap: 5px;
  text-align: left;
}

.purchase-price-original {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--lf-text-faint);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  opacity: 0.7;
}

.purchase-price-amount {
  color: var(--lf-text);
  font-size: 48px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.055em;
}

.purchase-price-currency {
  margin-right: 2px;
  color: var(--lf-text-soft);
  font-size: 22px;
  font-weight: 650;
  vertical-align: 8px;
}

.purchase-price-cents {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.035em;
  vertical-align: baseline;
}

.purchase-price-unit {
  color: var(--lf-text-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.purchase-price-note {
  grid-column: 1 / -1;
  margin-top: 7px;
  color: var(--lf-text-soft);
  font-size: 12px;
  font-weight: 550;
}

.purchase-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.purchase-features li {
  position: relative;
  padding-left: 24px;
  color: var(--lf-text-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.purchase-features li::before {
  content: "";
  position: absolute;
  top: 0.25em;
  left: 1px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(102, 217, 154, 0.35);
  border-radius: 50%;
  background: rgba(34, 191, 118, 0.1);
}

.purchase-features li::after {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 5px;
  width: 6px;
  height: 3px;
  border: solid var(--lf-accent-strong);
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
}

.purchase-reassurance {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  color: var(--lf-text-faint);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.purchase-legal-notice {
  grid-column: 1 / -1;
  width: 100%;
  margin: -6px 0 0;
  color: var(--lf-text-faint);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.purchase-legal-notice a {
  color: var(--lf-text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.purchase-legal-notice a:hover {
  color: var(--lf-accent-strong);
  text-decoration-color: currentColor;
}

.purchase-access {
  width: 100%;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 32px;
  align-content: start;
  border: 1px solid var(--lf-border-strong);
  border-radius: 22px;
  background: rgba(16, 20, 17, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.access-key {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: rgba(34, 191, 118, 0.09);
  border: 1px solid rgba(102, 217, 154, 0.25);
  color: var(--lf-accent-strong);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.access-key svg {
  width: 22px;
  height: 22px;
}

.purchase-access-heading {
  margin-bottom: 8px;
}

.purchase-access-heading h2 {
  margin: 0 0 4px;
  color: var(--lf-text);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.purchase-access-heading p {
  margin: 0;
  color: var(--lf-text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.purchase-access input[type="email"] {
  background: rgba(9, 11, 10, 0.95);
  border-color: var(--lf-border-strong);
}

.purchase-access-unverified {
  display: grid;
  gap: 14px;
}

.purchase-access-unverified[hidden] {
  display: none !important;
}

.purchase-access-verified {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: accessFadeIn 220ms ease-out;
}

.purchase-access-verified[hidden] {
  display: none !important;
}

.access-verified-header {
  display: flex;
  align-items: center;
  margin-top: -4px;
}

.access-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(102, 217, 154, 0.12);
  border: 1px solid rgba(102, 217, 154, 0.28);
  color: var(--lf-accent-strong);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.access-verified-check {
  width: 13px;
  height: 13px;
}

.access-verified-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.access-verified-title {
  margin: 0;
  color: var(--lf-text);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.access-verified-desc {
  margin: 0;
  color: var(--lf-text-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.access-verified-sub-card {
  margin-top: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--lf-border-strong);
  display: flex;
  align-items: center;
  gap: 10px;
}

.access-verified-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lf-accent-strong);
  box-shadow: 0 0 8px rgba(102, 217, 154, 0.7);
  flex-shrink: 0;
}

.access-verified-sub {
  margin: 0;
  color: #c7d2cb;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

@keyframes accessFadeIn {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

.download-step label,
.otp-fieldset legend {
  margin-bottom: 2px;
  color: var(--lf-text);
  font-size: 13px;
  font-weight: 650;
}

.download-step input[type="email"] {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--lf-border-strong);
  border-radius: 12px;
  outline: 0;
  background: rgba(9, 11, 10, 0.95);
  color: var(--lf-text);
  font: 500 15px/1 var(--lf-font-body);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.download-step input::placeholder {
  color: var(--lf-text-faint);
}

.download-step input:focus {
  border-color: rgba(102, 217, 154, 0.65);
  background: rgba(12, 16, 14, 1);
  box-shadow: 0 0 0 3px rgba(34, 191, 118, 0.12);
}

.download-primary {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 11px;
  background: #26bd73;
  color: #04140c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.18);
  font: 700 15px/1 var(--lf-font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.download-primary:hover {
  transform: translateY(-1px);
  background: #35cd82;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(38, 189, 115, 0.15);
}

.download-primary:disabled {
  transform: none;
  background: #3a4b41;
  color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
  cursor: wait;
}

.purchase-access-submit {
  width: auto;
  max-width: 100%;
  justify-self: center;
  margin-inline: auto;
  padding-inline: 15px;
  white-space: nowrap;
  background: #F3F4F1;
  color: #0B0D0C;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.purchase-access-submit:hover {
  background: #E7E9E5;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.purchase-access-submit:disabled {
  transform: none;
  background: #d8dad6;
  color: rgba(11, 13, 12, 0.45);
  box-shadow: none;
  cursor: wait;
}

.download-message {
  min-height: 20px;
  margin: 0;
  color: #fca5a5;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.download-message:empty {
  min-height: 0;
}

.download-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.download-step-heading {
  margin-bottom: 6px;
  text-align: center;
}

.download-step-heading h2,
.download-result h2 {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--lf-text);
}

.download-step-heading p,
.download-result > p {
  margin-bottom: 6px;
  color: var(--lf-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.download-step-heading strong {
  color: var(--lf-text);
  overflow-wrap: anywhere;
}

.download-secondary {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(102, 217, 154, 0.32);
  border-radius: 11px;
  background: rgba(34, 191, 118, 0.08);
  color: var(--lf-accent-strong);
  font: 700 14px/1 var(--lf-font-body);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.download-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(102, 217, 154, 0.52);
  background: rgba(34, 191, 118, 0.15);
}

.purchase-cta.download-secondary {
  width: 200px;
  margin-top: 0;
  min-height: 52px;
  border: 0;
  background: #26bd73;
  color: #04140c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.18);
  font-size: 15px;
}

.purchase-cta.download-secondary:hover {
  background: #35cd82;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(38, 189, 115, 0.15);
}

.otp-fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 6px 0;
}

.otp-fieldset legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.otp-inputs input {
  width: 100%;
  min-width: 0;
  aspect-ratio: 0.88;
  border: 1px solid var(--lf-border-strong);
  border-radius: 12px;
  outline: 0;
  background: rgba(9, 11, 10, 0.95);
  color: var(--lf-text);
  font: 700 clamp(20px, 5vw, 26px)/1 var(--lf-font-body);
  text-align: center;
  caret-color: var(--lf-accent);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.otp-inputs input:focus {
  border-color: rgba(102, 217, 154, 0.65);
  background: rgba(12, 16, 14, 1);
  box-shadow: 0 0 0 3px rgba(34, 191, 118, 0.12);
}

.download-text-button {
  justify-self: center;
  padding: 6px 10px;
  background: transparent;
  color: var(--lf-text-soft);
  font: 600 13px/1.2 var(--lf-font-body);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.download-text-button:hover:not(:disabled) {
  color: var(--lf-text);
  text-decoration-color: currentColor;
}

.download-text-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  text-decoration: none;
}

.download-result {
  justify-items: center;
  text-align: center;
}

.download-result-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border: 1px solid rgba(102, 217, 154, 0.32);
  border-radius: 50%;
  background: rgba(34, 191, 118, 0.1);
  color: var(--lf-success);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(34, 191, 118, 0.12);
}

.download-result-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-result-icon--quiet {
  border-color: var(--lf-border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--lf-text-soft);
  box-shadow: none;
}

.download-result .download-primary {
  margin-top: 8px;
}

/* Verified customer portal layout */
.download-shell.has-access,
.download-shell[data-download-view="authorized"] {
  width: min(100%, 960px);
}

.download-shell.has-access .download-card,
.download-shell[data-download-view="authorized"] .download-card {
  padding: clamp(26px, 4vw, 38px);
}

.download-access {
  gap: 24px;
  justify-items: stretch;
  text-align: left;
}

.download-access:focus {
  outline: none;
}

.download-access-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 2px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.download-access .download-result-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-color: rgba(102, 217, 154, 0.3);
  background: rgba(34, 191, 118, 0.09);
}

.download-access-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--lf-text);
}

.download-access-kicker {
  margin: 4px 0 0 !important;
  color: var(--lf-accent-strong) !important;
  font-size: 12px !important;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-access .download-group {
  display: grid;
  gap: 12px;
}

.download-access .download-group h3 {
  color: var(--lf-text-faint);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.download-access .platform-grid {
  display: grid;
  gap: 14px;
}

.platform-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-access .platform-card,
.download-access .license-card {
  border: 1px solid var(--lf-border-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.download-access .platform-card {
  min-height: 180px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 22px;
}

.download-access .platform-card--primary {
  border-color: rgba(102, 217, 154, 0.32);
  background: linear-gradient(145deg, rgba(34, 191, 118, 0.11) 0%, rgba(18, 22, 19, 0.95) 100%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.08);
}

.download-access .platform-card--unavailable {
  background: rgba(255, 255, 255, 0.018);
}

.download-access .platform-name {
  display: block;
  margin-bottom: 6px;
  color: var(--lf-text-faint);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-access .platform-card h4 {
  margin: 0 0 2px;
  color: var(--lf-text);
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.download-access .platform-card p,
.download-access .license-card p {
  margin: 0;
  color: var(--lf-text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.download-access .platform-card .download-primary,
.download-access .platform-card .download-secondary {
  margin-top: auto;
}

.download-access .platform-card .download-primary {
  min-height: 46px;
  margin-top: 4px;
}

.download-access .platform-status {
  align-self: start;
  width: fit-content;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--lf-text-faint);
  font-size: 11px;
  font-weight: 650;
}

.download-access .download-placeholder:disabled {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(211, 222, 215, 0.52);
  box-shadow: none;
}

.verified-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.verified-support-grid .platform-card--wide,
.verified-support-grid .license-card {
  min-height: 148px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: 14px;
  padding: 20px;
}

.verified-support-grid .platform-card--wide .download-secondary,
.verified-support-grid .license-card .download-secondary {
  width: fit-content;
  min-width: 148px;
  min-height: 42px;
}

.download-access-helper {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--lf-text-faint);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.download-access .download-back-purchase {
  margin: -4px auto 0;
  color: var(--lf-text-faint);
}

.download-footer {
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .download-page #navbar {
    padding-inline: 20px;
  }

  .download-navbar {
    padding-block: 14px !important;
  }

  .download-back-link {
    font-size: 12px;
  }

  .download-main {
    padding: 104px 18px 56px;
  }

  .download-card {
    border-radius: 20px;
  }

  .purchase-features {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .purchase-card-checkout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .purchase-cta.download-secondary,
  .purchase-reassurance {
    width: 100%;
  }

  .purchase-cta.download-secondary {
    width: min(100%, 240px);
    margin-top: 0;
  }

  .purchase-access {
    padding: 24px;
    border-radius: 16px;
  }

  .otp-inputs {
    gap: 6px;
  }

  .otp-inputs input {
    border-radius: 8px;
  }

  .platform-grid--two,
  .platform-card--wide,
  .license-card {
    grid-template-columns: 1fr;
  }

  .verified-support-grid {
    grid-template-columns: 1fr;
  }

  .verified-support-grid .platform-card--wide .download-secondary,
  .verified-support-grid .license-card .download-secondary {
    width: 100%;
  }

  .platform-card--wide .download-secondary,
  .license-actions .download-secondary {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .activation-card-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 530px;
    margin-inline: auto;
  }

  .purchase-card {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-primary,
  .download-secondary,
  .download-back-link,
  .download-text-button,
  .download-step input {
    transition: none;
  }
}

.activation-bottom {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.activation-footer-link {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  cursor: pointer;
}

/* Initial display only. Live DOM/attributes and download guards keep updating
   underneath; cached card controls stay inert until live bootstrap resolves. */
.download-card[data-download-view] .download-step {
  display: none !important;
}
.download-card[data-download-view] #activation-layout {
  display: grid !important;
}
.download-card[data-download-view="authorized"] #activation-layout {
  display: none !important;
}
.download-card[data-download-view="authorized"] > [data-step="authorized"],
.download-card[data-download-view="email"] [data-step="email"],
.download-card[data-download-view="device-limit"] [data-step="device-limit"],
.download-card[data-download-view="status-unavailable"] [data-step="status-unavailable"],
.download-card[data-download-view="not-found"] [data-step="not-found"] {
  display: grid !important;
}
.download-card[data-download-view] #download-desktop-status {
  display: none !important;
}
#download-presence-presentation {
  display: none;
}
.download-card[data-download-view="authorized"] #download-presence-presentation:not([hidden]) {
  display: block;
}
