/* Readability and interaction pass. Loaded after the compiled stylesheet. */

html {
  color-scheme: light;
  scroll-padding-top: 80px;
}

body,
.syne {
  text-rendering: optimizeLegibility;
}

::selection {
  background: #efd2c6;
  color: #1c1c1c;
}

.syne-nav {
  min-height: 64px;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
}

.syne-brand .brand-logo {
  height: 36px;
}

.syne .syne-nav__links a {
  color: #2a2a2a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  padding: 10px 2px;
}

.syne .syne-nav__links a:hover,
.syne-foot a:hover {
  color: #111;
}

.syne .syne-lang {
  color: #3a3a3a;
  font-size: 14px;
  font-weight: 600;
}

.syne .syne-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 44px;
}

.syne .syne-lang a[aria-current='true'] {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.syne a.syne-nav__cta,
.syne a.syne-cta,
button.syne-nav__cta,
button.syne-cta {
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.syne-nav__menu {
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0 8px;
  font-size: 15px;
  font-weight: 600;
}

body.sheet-open .syne-nav__cta {
  display: none;
}

.syne-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-size: 17px;
}

.story__hero h1,
.story__page h1,
.story__scene h2,
.doc h1 {
  text-wrap: balance;
}

.story p,
.story__hero p,
.story__scene figcaption p,
.story__scene--close p,
.story__page p,
.story__splitpage p,
.doc__lead,
.doc__list p,
.doc__item p,
.syne-close p,
.syne-floor__lead,
.syne-floor__pair figcaption p,
.story__module li,
.syne-module li {
  color: #3e3a36;
}

.story__module li,
.syne-module li {
  font-size: 16px;
  line-height: 1.5;
  padding-top: 12px;
  padding-bottom: 12px;
}

.syne-kicker,
.detail__kicker,
.story__module .syne-kicker {
  color: #8c321c;
}

.syne .headline__line {
  display: block;
}

.syne .dot-word {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  color: #8c321c;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  vertical-align: baseline;
  transform: none;
}

.syne .dot-word .dot-svg {
  display: none;
}

.syne .dot-word::after {
  content: attr(aria-label);
}

.story__hint {
  color: #3e3a36;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.story__dots {
  right: 8px;
  gap: 0;
}

.story__dots button {
  width: 32px;
  height: 28px;
}

.story__dots button::before {
  width: 7px;
  height: 7px;
  top: 10px;
  left: 12px;
}

.story__dots button.is-on {
  height: 40px;
}

.story__dots button.is-on::before {
  height: 18px;
  top: 11px;
  background: #1c1c1c;
}

.story__scene[style*='visibility: hidden'],
.story__scene[style*='visibility:hidden'] {
  content-visibility: hidden;
}

.syne-foot {
  color: #3a3a3a;
  font-size: 15px;
  line-height: 1.5;
}

.syne-foot nav,
.syne-foot nav a {
  display: none !important;
}

.syne-foot a.syne-foot__brand {
  display: inline-flex !important;
  padding: 0;
  line-height: 0;
  text-decoration: none;
}

.syne-foot a {
  padding: 6px 0;
}

.field label,
.fieldset-legend {
  color: #1c1c1c;
  font-size: 15px;
}

.field input,
.field textarea {
  background: #fff;
  border: 1px solid #8f877c;
  color: #1c1c1c;
  font-size: 16px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b6560;
}

.field input:focus,
.field textarea:focus,
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid #8c321c;
  outline-offset: 2px;
  border-color: #8c321c;
}

.field-error {
  color: #9f3a2f;
  font-size: 14px;
  font-weight: 600;
}

.chip {
  background: #fff;
  border-color: #8f877c;
  color: #1c1c1c;
}

.chip:hover {
  border-color: #1c1c1c;
}

.chip[aria-pressed='true'] {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #fff;
}

@media (max-width: 800px) {
  html,
  body {
    overflow-x: clip;
  }

  .syne {
    overflow-x: clip;
  }

  .syne-nav {
    min-height: 56px;
    padding: max(8px, env(safe-area-inset-top)) 16px 8px;
    gap: 8px;
  }

  .syne-nav__links {
    display: none;
  }

  .syne-brand .brand-logo {
    height: 30px;
  }

  .syne .syne-lang {
    font-size: 14px;
  }

  .syne .syne-lang a {
    min-width: 36px;
    min-height: 44px;
  }

  .syne-nav__cta {
    display: none;
  }

  .syne-menu {
    top: calc(56px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    overflow: auto;
    padding: 8px 20px calc(28px + env(safe-area-inset-bottom));
    box-shadow: none;
    border-top: 1px solid rgba(34, 34, 34, 0.1);
  }

  .story.is-flat {
    height: auto !important;
    padding-top: 64px;
  }

  .story.is-flat .syne-cta,
  .story.is-flat .story__cta {
    width: 100%;
  }

  .story.is-flat .story__pin {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
  }

  .story.is-flat .story__scene,
  .story.is-flat .story__scene[style*='visibility: hidden'],
  .story.is-flat .story__scene[style*='visibility:hidden'] {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    content-visibility: visible !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    padding: 32px 20px;
    text-align: left;
  }

  .story.is-flat .story__scene + .story__scene {
    border-top: 1px solid rgba(34, 34, 34, 0.12);
  }

  .story__dots,
  .story__hint {
    display: none;
  }

  .story__hero,
  .story__page,
  .doc,
  .story__splitpage,
  .story__scene--split,
  .story__module,
  .masthead {
    text-align: left;
    align-items: stretch;
  }

  .story__hero h1,
  .story__page h1,
  .story__scene h2,
  .doc h1,
  .syne .headline {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 14em;
    text-align: left;
  }

  .story__hero p,
  .story__scene figcaption p,
  .story__scene--close p,
  .story__page p,
  .story__splitpage p,
  .doc__lead,
  .doc__item p,
  .syne .intro {
    font-size: 17px;
    line-height: 1.5;
    max-width: 38em;
    text-align: left;
  }

  .story__scene--split,
  .story__splitpage,
  .story__module,
  .syne .masthead {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    max-height: none;
    overflow: visible;
    gap: 16px;
  }

  .story__module ul,
  .story__module li {
    max-height: none;
    overflow: visible;
    text-align: left;
    font-size: 16px;
    line-height: 1.45;
  }

  .story__visual {
    order: -1;
  }

  .syne .story__visual .is-swatch.card,
  .syne .is-swatch.card {
    width: min(100%, 260px);
    margin-inline: auto;
  }

  .story__shot,
  .story__shot--pad,
  .story__shot--phone,
  .syne-hero-devices img,
  .story img {
    width: min(100%, 520px);
    height: auto;
    max-height: none;
    margin-inline: auto;
    object-fit: contain;
  }

  .syne-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: min(100% - 40px, var(--content-max));
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .syne-foot__rest {
    margin-left: 0;
    justify-content: flex-start;
  }

  .syne-foot nav {
    gap: 8px 16px;
  }

  .syne-foot a {
    padding: 8px 0;
  }

  .wait-grid,
  .doc__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .form {
    padding: 16px;
  }

  .syne.entrance-active .stage .headline__line,
  .syne.entrance-active .stage .intro,
  .syne.entrance-active .stage .card,
  .syne.entrance-active .stage .card__title,
  .syne.entrance-active .stage .gauge,
  .syne.entrance-active .stage .context-window,
  .syne.entrance-active .stage .connections-map,
  .syne.entrance-active .stage .metric,
  .syne.entrance-active .stage .caption,
  .syne.entrance-active .stage .learn-more {
    animation: none;
  }
}

@media (max-width: 420px) {
  .syne-nav {
    gap: 6px;
    padding-inline: 14px;
  }

  .syne-brand .brand-logo {
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .story__scene,
  .syne .card,
  .syne .learn-more {
    animation: none;
    transition: none;
  }

  .story__scene {
    content-visibility: visible;
  }
}
