.free-download-page .fd-hero { padding-block: clamp(56px, 7vw, 88px); }
.free-download-page .fd-hero .section-actions { margin-top: 28px; gap: 20px; align-items: center; }
.free-download-page .fd-hero .fd-hero__note { margin-top: 20px; font-size: .9375rem; color: var(--atube-text); }
.free-download-page .fd-text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.free-download-page .download-card h3 { margin: 12px 0 18px; color: var(--atube-navy); font-size: 1.75rem; }
.free-download-page .download-card .download-price strong { font-size: clamp(2.25rem, 4vw, 3rem); }
.free-download-page .download-price { flex-wrap: wrap; }
.free-download-page .fd-two-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.free-download-page .fd-two-columns h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; }
.free-download-page .fd-surface { padding: clamp(22px, 4vw, 36px); border: 1px solid var(--atube-line); border-radius: var(--atube-radius); background: #fff; }
.free-download-page .fd-steps { padding-left: 1.3rem; margin: 24px 0; }
.free-download-page .fd-steps li { padding-left: 8px; margin-bottom: 18px; }
.free-download-page .fd-steps li::marker { color: var(--atube-orange-dark); font-weight: 700; }
.free-download-page .fd-narrow { max-width: 920px; }
.free-download-page .fd-support { margin: 30px 0 0; text-align: center; }
.free-download-page .fd-file-name { overflow-wrap: anywhere; }
.free-download-page .fd-preserve-lines { white-space: pre-line; overflow-wrap: anywhere; }
.free-download-page .fd-ready-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 18px; color: #fff; background: var(--atube-orange); font-size: 1.5rem; }
.free-download-page .fd-hero .fd-retry { margin-top: 24px; max-width: 760px; }
.free-download-page .fd-retry a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.free-download-page .fd-download-guide { max-width: 820px; margin: 28px auto 0; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--atube-line); border-radius: 16px; background: #fff; text-align: left; }
.free-download-page .fd-download-guide h2 { font-size: 1.375rem; line-height: 1.4; margin: 0 0 16px; }
.free-download-page .fd-download-guide ol { padding-left: 1.4rem; margin: 0; }
.free-download-page .fd-download-guide li { padding-left: 6px; margin-bottom: 14px; color: var(--atube-navy); }
.free-download-page .fd-download-guide li::marker { color: var(--atube-orange-dark); font-weight: 700; }
.free-download-page .fd-download-guide p { margin-top: 18px; font-size: 1rem; }
.free-download-page .fd-download-guide kbd { white-space: nowrap; padding: 2px 6px; border: 1px solid var(--atube-line); border-radius: 5px; background: #f5f6f9; color: var(--atube-navy); }
.free-download-page .fd-retry-button { margin-top: 14px; }
.free-download-page .fd-retry-button:disabled, .free-download-page .fd-retry-button:disabled:hover { background: #edf0f5; border-color: #cbd2df; color: #596579; cursor: not-allowed; box-shadow: none; }
.free-download-page .fd-retry [data-download-countdown] { margin-top: 12px; font-size: 1rem; }
.free-download-page .fd-retry-button[hidden], .free-download-page [data-download-countdown][hidden] { display: none; }
.free-download-page .fd-file-card__heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.free-download-page .fd-file-card__heading .eyebrow { font-size: .875rem; }
.free-download-page .fd-file-card__heading h2 { margin: 4px 0 0; font-size: 1.625rem; }
.free-download-page .fd-file-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; color: var(--atube-orange-dark); background: var(--atube-orange-soft); font-size: 1.25rem; }
.free-download-page .fd-facts { margin: 0; }
.free-download-page .fd-facts > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-top: 1px solid var(--atube-line); }
.free-download-page .fd-facts dt { color: var(--atube-navy); font-weight: 600; }
.free-download-page .fd-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.free-download-page .fd-source { margin: 16px 0 0; font-size: .9375rem; overflow-wrap: anywhere; }
.free-download-page .fd-release-notes { border-top: 1px solid var(--atube-line); padding-top: 20px; margin-top: 24px; }
.free-download-page .fd-release-notes h3 { font-size: 1.25rem; }
.free-download-page .fd-notice { padding: 18px; border: 1px solid #e8c29d; border-radius: 12px; background: #fff7ef; color: #643b1f; }
.free-download-page a:focus-visible, .free-download-page button:focus-visible { outline: 3px solid var(--atube-blue); outline-offset: 5px; }
@media (max-width: 767px) {
  .free-download-page .fd-two-columns { grid-template-columns: minmax(0, 1fr); }
  .free-download-page .fd-hero h1 { font-size: 2.25rem; }
  .free-download-page .fd-file-card__heading { gap: 12px; }
  .free-download-page .fd-file-card__heading h2 { font-size: 1.4rem; }
  .free-download-page .fd-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .free-download-page .fd-file-card { padding: 22px 18px; }
  .free-download-page .fd-hero .section-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .free-download-page .download-card { transition: none; transform: none; }
}

/* Comparação das opções: regras limitadas aos dois cards da página de download. */
.free-download-page .download-grid--compare { max-width: 1080px; gap: 24px; }
.free-download-page .download-grid--compare .download-card { padding: 30px; border-radius: 24px; }
.free-download-page .download-grid--compare .download-card::after { display: none; }
.free-download-page .download-grid--compare .download-card--free { background: #fff; }
.free-download-page .download-grid--compare .download-card--featured { background: linear-gradient(155deg, #fff 0%, #fff8f2 100%); }
.free-download-page .download-grid--compare .download-card__top { margin-bottom: 24px; gap: 12px; }
.free-download-page .download-grid--compare .download-card__icon { width: 48px; height: 48px; border-radius: 14px; box-shadow: none; flex: 0 0 48px; }
.free-download-page .download-grid--compare .download-badge { font-size: .6875rem; padding: 7px 11px; text-align: center; }
.free-download-page .download-grid--compare .download-card__eyebrow { font-size: .8125rem; line-height: 1.5; font-weight: 600; }
.free-download-page .download-grid--compare h3 { font-size: clamp(1.5rem, 2.3vw, 1.875rem); line-height: 1.2; margin: 8px 0 14px; }
.free-download-page .download-grid--compare .download-card__description { min-height: 0; margin-bottom: 24px; font-size: .9375rem; line-height: 1.7; }
.free-download-page .download-grid--compare .download-price { margin: 0 0 24px; padding: 0 0 24px; align-items: center; }
.free-download-page .download-grid--compare .download-price strong { font-size: clamp(2.25rem, 4vw, 2.75rem); font-weight: 600; line-height: 1.1; }
.free-download-page .download-grid--compare .download-price span { font-size: .8125rem; }
.free-download-page .download-file-info { background: #f7f8fa; border: 1px solid var(--atube-line); border-radius: 16px; padding: 20px; }
.free-download-page .download-file-info h4 { font-size: .9375rem; color: var(--atube-navy); margin: 0 0 14px; }
.free-download-page .download-file-info dl { margin: 0; font-size: .8125rem; line-height: 1.6; }
.free-download-page .download-file-info dl > div { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 12px; margin-top: 10px; }
.free-download-page .download-file-info dt { font-weight: 500; color: var(--atube-muted); }
.free-download-page .download-file-info dd { margin: 0; color: var(--atube-navy); min-width: 0; }
.free-download-page .download-pro-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)); row-gap: 18px; border-radius: 16px; background: var(--atube-navy); color: #fff; padding: 20px 12px; margin: 0 0 22px; }
.free-download-page .download-pro-highlights > div { text-align: center; padding: 0 8px; }
.free-download-page .download-pro-highlights > div + div { border-left: 1px solid #596070; }
.free-download-page .download-pro-highlights strong { display: block; font-size: 2.125rem; line-height: 1.15; font-weight: 600; color: #ffb273; }
.free-download-page .download-pro-highlights small { font-size: .8125rem; color: #fff; font-weight: 400; }
.free-download-page .download-pro-highlights span { display: block; margin-top: 8px; font-size: .75rem; line-height: 1.5; color: #fff; }
.free-download-page .download-feature-list { list-style: none; padding: 0; margin: 0; }
.free-download-page .download-feature-list li { display: flex; gap: 12px; margin: 0 0 18px; align-items: flex-start; }
.free-download-page .download-feature-list li > span { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; background: var(--atube-orange-soft); color: var(--atube-orange-dark); font-size: .9375rem; }
.free-download-page .download-feature-list strong { display: block; font-size: .9375rem; line-height: 1.5; color: var(--atube-navy); font-weight: 600; }
.free-download-page .download-feature-list p { font-size: .8125rem; line-height: 1.6; margin: 3px 0 0; }
.free-download-page .download-pro-gift { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #efc8a9; border-radius: 14px; background: #fff0e4; }
.free-download-page .download-pro-gift > span { color: var(--atube-orange-dark); font-size: 1.5rem; }
.free-download-page .download-pro-gift small, .free-download-page .download-pro-gift strong, .free-download-page .download-pro-gift div > span { display: block; line-height: 1.5; }
.free-download-page .download-pro-gift small { color: #8a3300; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.free-download-page .download-pro-gift strong { color: var(--atube-navy); font-size: .9375rem; font-weight: 600; }
.free-download-page .download-pro-gift div > span { font-size: .75rem; color: #5f493b; }
.free-download-page .download-grid--compare .download-card__availability { font-size: .75rem; line-height: 1.6; margin: 16px 0 0; color: #626773; }
.free-download-page .download-grid--compare .download-card__footer { padding-top: 26px; }
.free-download-page .download-grid--compare .download-card__footer .download-price { border-top: 1px solid #efcfb7; border-bottom: 0; margin: 0 0 20px; padding: 22px 0 0; }
.free-download-page .download-grid--compare .theme-btn { font-size: .9375rem; padding-inline: 18px; gap: 8px; }
@media (max-width: 767px) {
  .free-download-page .download-grid--compare { grid-template-columns: minmax(0, 1fr); }
  .free-download-page .download-grid--compare .download-card { padding: 24px; }
}
@media (max-width: 359px) {
  .free-download-page .download-grid--compare .download-card { padding: 20px; }
  .free-download-page .download-file-info { padding: 16px; }
  .free-download-page .download-file-info dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .free-download-page .download-grid--compare .download-card__top { flex-wrap: wrap; }
}

/* Confirmação: escopo exclusivo da página do arquivo, sem alterar a transferência. */
.fd-confirmation-page .fd-hero--file { padding-block: 44px 48px; }
.fd-confirmation-page .page-hero__inner { max-width: 1120px; }
.fd-confirmation-page .fd-confirm-heading { max-width: 760px; margin: 0 auto 30px; }
.fd-confirmation-page .fd-ready-icon { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px; font-size: 1.25rem; }
.fd-confirmation-page .fd-confirm-heading .eyebrow { font-size: .8125rem; }
.fd-confirmation-page .fd-confirm-heading h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); margin-bottom: 14px; }
.fd-confirmation-page #download-status { font-size: 1rem; line-height: 1.7; max-width: 680px; margin: 0 auto; }
.fd-confirmation-page .fd-confirm-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); max-width: 1060px; gap: 24px; margin: 0 auto; text-align: left; align-items: start; }
.fd-confirmation-page .fd-download-guide { max-width: none; margin: 0; padding: 28px; border-radius: 22px; box-shadow: 0 12px 35px rgba(26,33,48,.04); }
.fd-confirmation-page .fd-confirm-label { display: block; color: var(--atube-orange-dark); font-size: .6875rem; text-transform: uppercase; font-weight: 600; letter-spacing: .04em; margin-bottom: 6px; }
.fd-confirmation-page .fd-guide-heading h2 { font-size: 1.375rem; margin: 0 0 20px; line-height: 1.35; }
.fd-confirmation-page .fd-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--atube-navy); border-radius: 14px; color: #fff; padding: 18px; margin-bottom: 24px; }
.fd-confirmation-page .fd-shortcut strong { font-size: .9375rem; display: block; color: #fff; line-height: 1.5; }
.fd-confirmation-page .fd-shortcut small { font-size: .75rem; display: block; color: #d4d9e2; margin-top: 4px; line-height: 1.5; }
.fd-confirmation-page .fd-shortcut__keys { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.fd-confirmation-page .fd-shortcut kbd { background: #fff; border-color: #fff; color: #1c2230; padding: 6px 8px; font-size: .875rem; box-shadow: 0 3px 0 #a9afba; }
.fd-confirmation-page .fd-download-guide .fd-confirm-steps { list-style: none; counter-reset: download-step; margin: 0; padding: 0; }
.fd-confirmation-page .fd-confirm-steps li { counter-increment: download-step; display: flex; gap: 14px; margin: 0 0 20px; padding: 0; }
.fd-confirmation-page .fd-confirm-steps li::before { content: counter(download-step); display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--atube-orange-soft); color: var(--atube-orange-dark); font-size: .8125rem; font-weight: 700; }
.fd-confirmation-page .fd-confirm-steps h3 { font-size: .9375rem; margin: 3px 0 5px; line-height: 1.5; color: var(--atube-navy); }
.fd-confirmation-page .fd-confirm-steps p { font-size: .875rem; line-height: 1.7; margin: 0; }
.fd-confirmation-page .fd-confirm-file { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--atube-line); border-radius: 12px; background: #f7f8fa; }
.fd-confirmation-page .fd-confirm-file > i { color: var(--atube-orange-dark); font-size: 1.125rem; margin-top: 4px; }
.fd-confirmation-page .fd-confirm-file div { min-width: 0; }
.fd-confirmation-page .fd-confirm-file small { display: block; color: var(--atube-muted); font-size: .6875rem; line-height: 1.5; margin-bottom: 4px; }
.fd-confirmation-page .fd-confirm-file strong { display: block; color: var(--atube-navy); font-size: .8125rem; line-height: 1.6; font-weight: 600; }
.fd-confirmation-page .fd-hero .fd-retry { margin: 0; max-width: none; border: 1px solid #edcdb4; border-radius: 22px; padding: 26px; background: #fffaf6; text-align: left; }
.fd-confirmation-page .fd-retry-icon { display: grid; place-items: center; width: 42px; height: 42px; background: #fff0e4; color: var(--atube-orange-dark); border-radius: 12px; font-size: 1.125rem; margin-bottom: 18px; }
.fd-confirmation-page .fd-retry h2 { font-size: 1.25rem; line-height: 1.4; margin: 0 0 10px; }
.fd-confirmation-page #download-retry-hint { font-size: .875rem; line-height: 1.7; margin: 0; }
.fd-confirmation-page .fd-retry-button { width: 100%; margin-top: 22px; min-height: 52px; font-size: .9375rem; padding-inline: 12px; background: #fff; }
.fd-confirmation-page #download-retry-countdown { font-size: .75rem; line-height: 1.7; margin: 12px 0 0; color: #626773; }
.fd-confirmation-page .fd-retry-note { display: flex; align-items: flex-start; gap: 9px; padding-top: 18px; margin-top: 22px; border-top: 1px solid #ecd8c8; }
.fd-confirmation-page .fd-retry-note i { color: var(--atube-orange-dark); margin-top: 3px; font-size: .875rem; }
.fd-confirmation-page .fd-retry-note p { font-size: .75rem; line-height: 1.7; margin: 0; }
.fd-confirmation-page .fd-file-section { padding-top: 44px; }
@media (max-width: 767px) {
  .fd-confirmation-page .fd-hero--file { padding-block: 32px; }
  .fd-confirmation-page .fd-confirm-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .fd-confirmation-page .fd-download-guide, .fd-confirmation-page .fd-hero .fd-retry { padding: 22px; }
  .fd-confirmation-page .fd-shortcut { flex-wrap: wrap; }
  .fd-confirmation-page .fd-confirm-heading { margin-bottom: 24px; }
}

/* Installer choices stay scoped to the free-download card. */
.free-download-page .fd-architecture-title { margin: 20px 0 12px; color: var(--atube-navy); font-size: .875rem; font-weight: 600; }
.free-download-page .fd-architectures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.free-download-page .fd-architectures .theme-btn { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; min-height: 64px; padding: 12px; font-size: .875rem; line-height: 1.5; }
.free-download-page .fd-architectures small { font-size: .75rem; font-weight: 400; }
.free-download-page .fd-architectures button:disabled { color: #596579; border-color: #cbd2df; background: #edf0f5; cursor: not-allowed; box-shadow: none; transform: none; }
.free-download-page .fd-architecture-note { margin: 12px 0 0; font-size: .8125rem; line-height: 1.6; }
.fd-confirmation-page .fd-selected-installer { font-size: .9375rem; margin: 0 0 12px; color: var(--atube-navy); font-weight: 600; }
@media (max-width: 575px) {
  .free-download-page .fd-architectures { grid-template-columns: minmax(0, 1fr); }
}

/* Architecture hints only change emphasis; download destinations stay server-defined. */
.free-download-page .fd-architectures .is-recommended { border-color: var(--atube-orange); background: var(--atube-orange-soft); box-shadow: inset 0 0 0 1px var(--atube-orange); }
.free-download-page .fd-architectures .fd-recommendation-badge { color: #862f00; background: #fff2ea; padding: 3px 6px; border-radius: 6px; font-size: .6875rem; line-height: 1.5; font-weight: 700; white-space: normal; }
.free-download-page .fd-recommendation-badge[hidden] { display: none; }
