/* Loaded by the Download product page. */
body {
  --paper: #f4f7f6;
  --paper-deep: #e7eeed;
  --ink: #182e35;
  --muted: #4b6268;
  --rule: #cbd8d7;
  --fern-black: #0b171c;
  --fern-light: #9ce4e8;
  --hero-white: #f4f9f9;
  --night-muted: #c2d1d4;
  --night-rule: #5a777d;
  background: var(--paper);
  color: var(--ink);
}

.wrap { width: min(1280px, calc(100% - clamp(40px, 9vw, 144px))) }
.site-nav { min-height: 68px; border-bottom-color: #cce8eb24 }
.wordmark { font: 800 23px/1 var(--body); letter-spacing: -.055em }
.language-menu li a:focus-visible { outline-color: #235d69 }
body :focus-visible { outline-color: #235d69 }
body :is(.nav-shell, .download-hero, .download-cta, .site-footer) :focus-visible { outline-color: var(--fern-light) }

.download-hero {
  isolation: isolate;
  position: relative;
  overflow: clip;
}
.download-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 75px;
  background:
    linear-gradient(0deg, #0b171c 2%, #0b171c09 40%, #0b171c55 81%, #0b171c 100%),
    linear-gradient(90deg, #09171be8 0%, #09171baf 33%, #09171b00 67%),
    url("download-coast.webp") center 51% / cover no-repeat;
}
html[dir="rtl"] .download-hero::before { transform: scaleX(-1) }
.download-layout {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(20px, 3vw, 56px);
  padding-block: clamp(62px, 7vw, 112px) clamp(48px, 6vw, 84px);
  min-height: clamp(470px, 44vw, 680px);
}
.product-label { gap: 10px; margin-bottom: 23px; font-weight: 750; font-size: 14px }
.product-label .app-icon { width: 29px; height: 29px }
.download-hero h1.display {
  font-family: var(--body);
  font-size: clamp(46px, 5.9vw, 86px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.068em;
  white-space: pre-line;
  text-wrap: balance;
}
html[lang="en"] .download-hero h1.display { font-size: clamp(43px, 4.85vw, 72px) }
html:is([lang="zh-Hans"], [lang="zh-Hant"], [lang="ja"], [lang="ko"]) .download-hero h1.display {
  font-size: clamp(44px, 5.65vw, 84px);
  letter-spacing: -.058em;
  line-height: 1.12;
}
html:is([dir="rtl"], [lang="th"], [lang="ml"], [lang="hi"], [lang="bn"]) .download-hero h1.display {
  letter-spacing: normal;
  font-size: clamp(44px, 4.6vw, 72px);
  line-height: 1.2;
}
.download-lede { max-width: 39ch; color: #e0e9e9 }
.download-actions { gap: 6px 19px }
.download-actions .primary-button { border-radius: 8px; min-height: 50px }
.purchase-link { text-decoration-thickness: 1px; font-size: 14px; font-weight: 700 }
.purchase-link:hover { color: var(--hero-white) }
.release-detail { margin-top: 15px }
.release-trial { margin-top: 4px }
.download-stage {
  aspect-ratio: auto;
  width: 94%;
  justify-self: end;
  overflow: visible;
  padding: 0;
  background: none;
}
.download-stage::before { content: none }
.download-stage picture { display: block; width: 100% }
.download-stage img {
  border: 1px solid #c8e7e04d;
  border-radius: 13px;
  transform: none;
  filter: brightness(1.12);
  box-shadow: 0 34px 62px #0009, 0 8px 22px #050c0f8c;
}
.download-proof {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 26px clamp(20px, 3vw, 56px);
  padding-block: 34px 42px;
  border-top-color: #cce8eb3d;
}
.speed-benchmark { margin: 0; padding: 0; max-width: 54ch; border: 0 }
.benchmark-result { gap: 6px 16px; align-items: baseline }
.benchmark-result strong { font-size: clamp(47px, 5vw, 72px); font-weight: 800; letter-spacing: -.075em }
.benchmark-sample { margin-top: 10px }
.speed-benchmark small { margin-top: 7px }
.proof-result { color: var(--hero-white); font-size: clamp(22px, 2.7vw, 37px); margin-bottom: 8px; text-wrap: wrap }
.download-proof > :last-child { padding-block-start: 5px }

.download-section, .download-features { padding-block: clamp(50px, 7vw, 99px) }
.download-section h2, .download-features h2, .download-cta h2 {
  font-family: var(--body);
  font-weight: 800;
  font-size: clamp(34px, 4.1vw, 61px);
  line-height: 1.13;
  letter-spacing: -.055em;
  text-wrap: wrap;
}
:is(.download-uses, .download-features, .download-steps, .download-faq) h2 { max-width: 15ch }
.use-cases { margin-top: 30px }
.use-cases article { padding-block-start: 18px; border-top-color: #7a989b }
.feature-list > div { padding-block: 19px }
.download-steps li + li { border-top: 1px solid var(--rule) }
.download-steps li::marker { color: #27636d }
.download-steps ol { margin-block-start: 18px }
.browser-demo { margin: 0; min-inline-size: 0 }
.browser-demo video {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 1024 / 626;
  background: var(--fern-black);
  border: 1px solid #b4c9ca;
  border-radius: 12px;
}
.browser-demo figcaption {
  display: flex;
  justify-content: flex-end;
  font-size: 13px;
}
.browser-demo a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 750;
}
.browser-demo a:hover { text-decoration: underline }
.download-uses { border-top: 1px solid var(--rule) }
.download-cta { background: #11282e; padding-block: clamp(46px, 6.5vw, 90px) }
.download-cta h2 { max-width: 24ch }

@media (prefers-reduced-motion: no-preference) {
  .download-stage img { animation: window-arrive 620ms cubic-bezier(.18,.65,.27,1) both }
  @supports (animation-timeline: view()) {
    @media (min-width: 821px) {
      .download-hero::before {
        animation: coast-drift linear both;
        animation-timeline: view();
        animation-range: exit 0% exit 100%;
        scale: 1.08;
      }
    }
  }
}
@keyframes window-arrive {
  from { translate: 0 12px; opacity: .76 }
}
@keyframes coast-drift {
  to { translate: 0 80px }
}

@media (max-width: 820px) {
  .download-layout { grid-template-columns: 1fr; gap: 36px; padding-block: 52px 42px; min-height: auto }
  .download-hero::before {
    inset: 0;
    background:
      linear-gradient(0deg, #0b171c 21%, #0b171c88 34%, #0b171c26 50%, #0b171ce3 80%, #0b171c 100%),
      url("download-coast-small.webp") 69% center / cover no-repeat;
  }
  .download-stage { width: min(100%, 620px); margin-inline: 0 }
  .download-proof { grid-template-columns: 1fr; padding-block: 26px 36px }
  .download-proof > :last-child { border-top: 1px solid #cce8eb24; padding-block-start: 20px }
}

@media (max-width: 575px) {
  .site-nav { min-height: 59px }
  .download-layout { padding-block-start: 40px; gap: 28px }
  .product-label { margin-bottom: 17px }
  .download-lede { font-size: 16px }
  .download-stage img { border-radius: 9px }
  .use-cases { gap: 22px }
}
