/* Preserve the existing article and form layouts on Abstract's light canvas. */
html:root body.ab-subpage {
  color-scheme: light;
  --fp-bg: #f8f9f9;
  --fp-bg-2: #e9eded;
  --fp-surface: #f8f9f9;
  --fp-surface-2: #edf2f5;
  --fp-dark: #f8f9f9;
  --fp-dark-2: #edf2f5;
  --fp-dark-3: #e9eded;
  --fp-ink: #0c2340;
  --fp-ink-2: #526374;
  --fp-ink-3: #667786;
  --fp-on-dark: #0c2340;
  --fp-on-dark-2: #526374;
  --fp-on-dark-3: #667786;
  --fp-accent: #0c2340;
  --fp-accent-rgb: 12, 35, 64;
  --fp-accent-ink: #0c2340;
  --fp-accent-contrast: #f8f9f9;
  --fp-accent-hover: #163b62;
  --fp-line: #dce2e5;
  --fp-line-on-dark: #dce2e5;
  --rl-bg: #f8f9f9;
  --rl-bg-2: #edf2f5;
  --rl-card: #edf2f5;
  --rl-card-2: #edf2f5;
  --rl-ink: #0c2340;
  --rl-ink-2: #526374;
  --rl-ink-3: #667786;
  --rl-orange: #0c2340;
  --rl-orange-2: #0c2340;
  --rl-line: #dce2e5;
  --rl-line-2: #cad6e0;
  --dark-grey: #0c2340;
  background: #f8f9f9 !important;
  color: #0c2340 !important;
}
html:root body.ab-subpage .site-header,
html:root body.ab-subpage .site-footer {
  background: #f8f9f9 !important;
  border: 0 !important;
}
body.ab-subpage .site-footer__curves {
  display: none;
}
body.ab-subpage .site-header__nav a {
  text-shadow: none;
}
body.ab-subpage :is(.rl-article, .ct-hero) {
  padding-top: clamp(36px, 5vw, 72px);
}
body.ab-subpage .ct-hero {padding-top:64px}
body.ab-subpage .ct-wrap {width:calc(100% - 112px);max-width:1320px;margin-inline:auto;padding-inline:0}
@media(max-width:1199px) {body.ab-subpage .ct-wrap {width:calc(100% - 64px)}}
body.ab-subpage :is(.rl-stat, .ct-form, .ct-cta__inner) {
  background: #edf2f5 !important;
  border-color: #dce2e5;
  box-shadow: none !important;
}
body.ab-subpage .ct-social a {
  background: transparent;
  border-color: #dce2e5;
}
body.ab-subpage .ct-social__ico {
  background: #d0e8ff;
  color: #0c2340;
}
html:root body.ab-subpage .ct-field :is(input, select, textarea) {
  background: #f8f9f9;
  color: #0c2340;
  border-color: #cad6e0;
}
html:root body.ab-subpage .ct-field :is(input, select, textarea):focus {
  background: #ffffff;
  border-color: #497da9;
  box-shadow: 0 0 0 3px #d0e8ff;
}
body.ab-subpage .dl-hero {
  padding-top: clamp(45px, 7vw, 95px);
  background: #f8f9f9 !important;
}
body.ab-subpage .dl-hero :is(.lp-hero__scrim, .lp-hero__field) {
  display: none;
}
body.ab-subpage .dl-hero::before,
body.ab-subpage .dl-hero::after {
  display: none;
}
html:root body.ab-subpage .dl-hero :is(h1, p) {
  color: #0c2340;
  -webkit-text-fill-color: currentColor;
}
body.ab-subpage .dl-card__badge {
  filter: none;
}
body.ab-subpage .fp-reveal,
body.ab-subpage .rl-reveal {
  opacity: 1;
  transform: none;
}
body.ab-subpage :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #497da9;
  outline-offset: 4px;
}

/* The download page is a product portrait, with no redundant marketing intro. */
body.ab-download-page {font-family: var(--ab-body)}
.ab-download__actions {min-width: 0}
body.ab-download-page .ab-download__title {
  margin: 0 0 38px;
  color: #0c2340;
  font: 400 clamp(46px, 4.9vw, 72px)/1.04 var(--ab-serif);
  letter-spacing: -.035em;
  text-align: center;
  text-wrap: initial;
}
.ab-download__title span {display: block; white-space: nowrap}
.ab-download {
  width: min(1220px, calc(100% - 112px));
  margin: 0 auto;
  padding: 50px 0 88px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}
.ab-download__stores {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}
.ab-download__store {display: grid; justify-items: center; gap: 24px; min-width: 0}
.ab-download__badge {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 54px;
  width: 176px;
  line-height: 0;
  touch-action: manipulation;
}
.ab-download__badge .is-appstore {display: block; width: 160px; height: auto}
.ab-download__badge .is-gplay {display: block; width: 185px; max-width: none; height: auto}
.ab-download__qr {display: block; padding: 12px; background: #fff; border-radius: 12px}
.ab-download__qr img {display: block; width: 152px; height: 152px}
.ab-download__previews {min-width: 0}
.ab-download__previews.ap-pair .ap-pair-track {padding: 6px 6px 18px}
.ab-download__previews.ap-pair .ap-phone--2 {margin-top: 0}
/* Native captures remain available when JavaScript is disabled. */
.ab-download__screens {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start}
.ab-download__screens figure {margin: 0; min-width: 0}
.ab-download__shot {
  display: block;
  width: 100%;
  padding: 4px;
  border: 1px solid #a9b9c5;
  border-radius: 36px;
  background: #102337;
  box-shadow: 0 20px 36px -24px #0c23404d;
  overflow: hidden;
}
.ab-download__shot img {display: block; width: 100%; height: auto; border-radius: 31px}
.ab-download__screens figcaption {
  margin-top: 18px;
  color: #0c2340;
  font: 500 14px/1.5 var(--ab-sans);
  text-align: center;
}
@media (max-width: 1199px) {
  .ab-download {width: calc(100% - 64px); gap: 32px}
  .ab-download__stores {gap: 12px}
  .ab-download__badge {width: 152px}
  .ab-download__badge .is-appstore {width: 144px}
  .ab-download__badge .is-gplay {width: 166px}
  .ab-download__qr img {width: 128px; height: 128px}
}
@media (max-width: 900px) {
  body.ab-download-page .ab-download__title {font-size: 64px; margin-bottom: 28px}
  .ab-download {width: min(620px, calc(100% - 40px)); grid-template-columns: 1fr; gap: 34px; padding: 22px 0 64px}
  .ab-download__qr {display: none}
  .ab-download__store {gap: 0}
  .ab-download__stores {gap: 18px}
  .ab-download__screens {gap: 20px}
}
@media (max-width: 600px) {
  body.ab-download-page .ab-download__title {font-size: clamp(42px, 11.5vw, 62px); margin-bottom: 24px}
  .ab-download {padding-top: 8px; gap: 26px}
  .ab-download__stores {gap: 10px}
  .ab-download__badge {width: 142px; height: 48px}
  .ab-download__badge .is-appstore {width: 140px}
  .ab-download__badge .is-gplay {width: 162px}
  .ab-download__previews.ap-pair {width: calc(100% + 20px); margin-inline: -10px}
  .ab-download__screens {gap: 12px}
  .ab-download__shot {border-radius: 24px; padding: 3px}
  .ab-download__shot img {border-radius: 20px}
  .ab-download__screens figcaption {margin-top: 13px; font-size: 12px}
}
@media (max-width: 359px) {
  .ab-download__stores {gap: 6px}
  .ab-download__badge {width: 132px}
  .ab-download__badge .is-appstore {width: 128px}
  .ab-download__badge .is-gplay {width: 148px}
}
@media (hover: none) and (pointer: coarse) {
  .ab-download__qr {display: none}
}

/* Legacy Logbook posts keep their prose, inline figures, related posts and share tools. */
body.ab-subpage .blog-post-wrapper {
  padding-top: 40px;
}
body.ab-subpage .article-wrapper {
  color: #0c2340;
}
html.w-mod-js:not(.w-mod-ix3) body.ab-subpage :is(h1, h2, [word], [line]) {
  visibility: visible !important;
}
body.ab-subpage .h1-article .gsap_split_word {
  opacity: 1 !important;
  transform: none !important;
}
body.ab-subpage
  :is(.h1-article, .article-body h2, .article-body h3, .back-link) {
  color: #0c2340;
}
body.ab-subpage .article-body {
  color: #526374;
}
body.ab-subpage .article-body a {
  color: #0c2340;
}
body.ab-subpage .footer-wrapper {
  background: #edf2f5;
  color: #0c2340;
}
body.ab-subpage .footer-wrapper :is(a, p, h2, h3, h4) {
  color: #0c2340;
}

/* One quiet closing section shared by the library, articles and contact page. */
body .ab-explore {
  padding: 65px 40px;
  border: 0;
  border-radius: 10px;
  background: #eaf3fa;
  color: #0c2340;
  box-shadow: none;
  text-align: center;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}
body .ab-explore h2 {
  margin: 0 auto;
  color: #0c2340;
  font: 400 clamp(42px, 5vw, 64px)/1.1 "Instrument Serif", Georgia, serif;
  letter-spacing: -1.4px;
  text-transform: none;
  text-wrap: initial;
}
body .ab-explore p {
  max-width: none;
  margin: 18px auto 0;
  color: #667786;
  font: 400 14px/1.65 "Raleway", Arial, sans-serif;
  text-wrap: initial;
}
body .ab-explore__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
html:root body .ab-explore .fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 19px;
  border: 1px solid #cdddea;
  border-radius: 7px;
  background: transparent;
  color: #0c2340;
  box-shadow: none;
  font: 500 13px/1.5 "Space Grotesk", Arial, sans-serif;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
html:root body .ab-explore .fp-btn:last-child {
  background: #0c2340;
  border-color: #0c2340;
  color: #f8f9f9;
}
html:root body .ab-explore .fp-btn:hover {
  background: #d0e8ff;
  color: #0c2340;
  transform: none;
}
body .ab-explore a:focus-visible {
  outline: 2px solid #4076a5;
  outline-offset: 5px;
}
body.ab-subpage .rl-article > .ab-explore {margin-top: 56px}
body.ab-subpage .rl-article__meta + .rl-article__body {margin-top: 32px}
body.ab-subpage .ab-explore-wrap {
  width: min(1320px, calc(100% - 112px));
  margin: 0 auto;
  padding: 0 0 100px;
}
@media (min-width: 900px) {
  body .ab-explore p {white-space: nowrap}
}
@media (max-width: 1199px) {
  body.ab-subpage .ab-explore-wrap {width: calc(100% - 64px)}
}
@media (max-width: 700px) {
  html:root body.ab-subpage .ct-field :is(input, select, textarea) {font-size: 16px}
  html:root body.rl .rl-chip {min-height: 44px}
  body .ab-explore {padding: 42px 22px}
  body .ab-explore__actions {gap: 8px}
  html:root body .ab-explore .fp-btn {padding: 11px 15px; font-size: 12px}
  body.ab-subpage .rl-article > .ab-explore {margin-top: 40px}
  body.ab-subpage .ab-explore-wrap {width: calc(100% - 40px); padding-bottom: 60px}
}

@media (max-width: 600px) {
  body.ab-subpage :is(.rl-article, .ct-hero) {
    padding-top: 28px;
  }
  body.ab-subpage .ct-hero {padding-top:40px}
  body.ab-subpage .ct-wrap {width:calc(100% - 40px)}
  body.ab-subpage .blog-post-wrapper {
    padding-top: 24px;
  }
  body.ab-subpage .dl-hero {
    padding-top: 36px;
  }
}
