/* V10.4: clearer entry points and a compact path from plans to use. */
.header-inner { gap: 22px; }
.desktop-nav { gap: 23px; }
.header-actions { gap: 18px; }
.header-download { white-space: nowrap; gap: 8px; }
.header-download .icon { width: 15px; height: 15px; }
.hero-actions .button { min-width: 166px; }
.hero-actions .button-primary,
.header-download.button-primary,
.mobile-action-bar .button-primary {
  background: linear-gradient(145deg, #edf6fffa, #cee3fcf2 65%, #c3dcf4e8);
  border-color: #8aafd7b3;
  color: #204e81;
  box-shadow: inset 0 1px 0 #fff, 0 5px 18px #4d77ac21;
}
.hero-compatibility { gap: 20px; flex-wrap: wrap; color: #526176; }
.hero-compatibility > span { display: inline-flex; align-items: center; gap: 6px; }
.hero-compatibility .icon { width: 14px; height: 14px; }
.hero-price-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 10px;
  padding: 8px 4px;
  color: #626e80;
  font-size: 12px;
  min-height: 40px;
}
.hero-price-link > span { color: #315c8a; display: inline-flex; gap: 5px; align-items: center; }
.hero-price-link .icon { width: 14px; height: 14px; }
.hero-price-link:hover > span { text-decoration: underline; text-underline-offset: 5px; }
.hero-showcase { margin-top: 3px; }
/* Keep the backdrop edge below the caption when the hero copy grows. */
.hero .hero-atmosphere { height: 100%; }
.hero .visual-caption { margin-top: 16px; line-height: 1.8; }
.mobile-menu a.active { color: #185a9f; background: #dcecf966; }

/* A duration changes the rental period, not the device's capabilities. */
.pricing-section .price-card .plan-description { color: #56677c; }
.pricing-section .price { flex-wrap: wrap; }
.pricing-section .plan-points { border-top: 1px solid #b4c9e24d; padding-top: 20px; }
.pricing-section .plan-points li { color: #445970; }
.pricing-guide {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 12px;
  color: #465d76;
}
.pricing-guide > * { display: inline-flex; align-items: center; gap: 7px; }
.pricing-guide .icon { width: 16px; height: 16px; flex-shrink: 0; }
.pricing-guide a { color: #285b92; min-height: 44px; }
.pricing-guide a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pricing-note { margin-top: 10px; color: #5a697e; line-height: 1.85; }

/* Make the intended use visible before asking someone to download. */
.download-platform { position: relative; padding-top: 33px; }
.platform-purpose {
  align-self: center;
  color: #3d5e82;
  background: #e6f0fb;
  border: 1px solid #bcd0e44d;
  border-radius: 20px;
  padding: 3px 11px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
}
.download-platform-web { background: linear-gradient(145deg, #fffffff0, #ecf4ffdf); border-color: #afc8e48c; }
.download-platform-web .platform-purpose { background: #dceaff; color: #315d91; }
.download-platform > p { color: #53657b; }
.release-info { color: #52647a; }
.release-size { color: #60718a; overflow-wrap: anywhere; }
.download-bottom { flex-wrap: wrap; text-align: center; color: #52647b; }
.download-bottom a { color: #285b92; margin-inline-start: 10px; padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; }
.quickstart { gap: clamp(25px, 6vw, 85px); }
.quickstart strong { font-size: 14px; color: #35465c; }
.quickstart p { font-size: 12px; color: #61718a; }
.quickstart li > span { background: #edf3fa; border-color: #cfdeef; color: #37618b; font-weight: 700; }
.mobile-action-bar { display: none; }

@media (min-width: 961px) and (max-width: 1120px) {
  .header-inner { gap: 15px; padding-inline: 20px 14px; }
  .desktop-nav { gap: 16px; }
  .header-actions { gap: 13px; }
  .header-download { padding-inline: 13px; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .download-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-platform-web { grid-column: 1 / -1; }
  .download-platform-web .button { max-width: 340px; align-self: center; }
}
@media (max-width: 640px) {
  html { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .header-inner { gap: 8px; }
  .header-download { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .header-download .icon { display: none; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero { padding-top: 112px; }
  .hero-description { font-size: 14px; line-height: 1.85; letter-spacing: 0; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { min-width: 0; min-height: 48px; padding: 11px 18px; font-size: 13px; }
  .hero-compatibility { gap: 14px; margin-top: 18px; font-size: 11px; }
  .hero-compatibility .icon { width: 13px; height: 13px; }
  .hero-price-link { font-size: 11px; margin-top: 7px; }
  .hero-showcase { margin-top: 15px; }
  .pricing-guide { flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 25px; padding-inline: 6px; }
  .pricing-guide a { min-height: 36px; }
  .pricing-note { text-align: left; font-size: 12px; padding-inline: 6px; }
  .download-platform { padding: 26px 22px 23px; }
  .download-platform .button { min-height: 48px; font-size: 14px; }
  .download-platform > p { font-size: 14px; min-height: 0; }
  .platform-purpose { font-size: 12px; margin-bottom: 14px; }
  .release-info { font-size: 12px; }
  .release-size { font-size: 11px; }
  .download-bottom { font-size: 12px; column-gap: 5px; }
  .download-bottom a { display: block; flex-basis: 100%; margin: 0; }
  .quickstart { flex-direction: column; gap: 22px; padding-inline: 14px; margin-top: 30px; }
  .quickstart li { gap: 15px; }
  .quickstart li > span { width: 36px; height: 36px; flex-shrink: 0; }
  .quickstart strong { font-size: 14px; }
  .quickstart p { font-size: 12px; }
  .mobile-action-bar:not([hidden]) {
    display: flex;
    position: fixed;
    z-index: 70;
    bottom: 0;
    inset-inline: 0;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #f6fafff2;
    border-top: 1px solid #d0dfed;
    box-shadow: 0 -6px 24px #27476c0a;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .mobile-action-bar .button { flex: 1; padding: 11px 8px; min-height: 46px; font-size: 13px; gap: 7px; }
  .mobile-action-bar .icon { width: 16px; height: 16px; }
  .toast { bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 370px) {
  .header-inner { padding-left: 10px; gap: 6px; }
  .brand { font-size: 12px; gap: 4px; }
  .brand img { width: 25px; }
  .header-download { padding-inline: 10px; }
  .hero-description { font-size: 13px; }
  .hero-actions .button { padding-inline: 14px; font-size: 12px; }
  .hero-compatibility { gap: 10px; font-size: 10px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .mobile-action-bar:not([hidden]), .download-platform-web { background: #f2f7ff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-actions .button-primary, .header-download.button-primary, .mobile-action-bar .button-primary { background: #dceaff; }
}
@media (forced-colors: active) {
  .mobile-action-bar:not([hidden]), .download-platform-web, .platform-purpose,
  .hero-actions .button-primary, .header-download.button-primary, .mobile-action-bar .button-primary {
    background: Canvas; color: CanvasText; border-color: ButtonText; box-shadow: none;
  }
}
