@font-face {
  font-family: "Instrument Sans";
  src: url(assets/fonts/instrument-sans-latin.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

body {
  --rail: 0px;
  --header: clamp(56px, 7svh, 72px);
  --masthead-gutter: clamp(26px, 4.6vw, 84px);
  --identity-type: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-gutter: clamp(18px, 4.5vw, 72px);
  --site-width: 1240px;
}

.site-binding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 2 * var(--masthead-gutter)), 1640px);
  height: var(--header);
  margin-inline: auto;
  padding: 0;
  color: var(--brand-ink);
  background-color: var(--page-surface);
  border: 0;
  font-family: var(--reader-ui);
}

.site-binding .brand {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  gap: 9px;
  white-space: nowrap;
  color: inherit;
  font: 610 1.37rem/1 var(--identity-type);
  letter-spacing: -.036em;
  text-decoration: none;
}

/* The mark is sized from the wordmark's font and centred on its capitals in every engine:
   the name's box is trimmed to cap height and baseline, so flex centring lines the two up. */
.site-binding .mark {
  width: 1.45em;
  height: 1.45em;
  object-fit: contain;
}
.site-binding .brand-name { text-box: trim-both cap alphabetic; }
@supports not (text-box: trim-both cap alphabetic) {
  .site-binding .mark { transform: translateY(-.047em); }
}

.site-binding nav {
  display: flex;
  align-self: stretch;
  gap: clamp(20px, 2.25vw, 36px);
}

.site-binding nav a {
  display: inline-flex;
  align-items: center;
  min-width: 28px;
  color: #525963;
  font: 560 .85rem/1 var(--identity-type);
  letter-spacing: -.019em;
  text-decoration: none;
}

.site-binding nav a[aria-current="page"] {
  color: #244f7d;
}

.site-binding a:hover { color: var(--brand-action); }
.site-binding a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--brand-action);
  outline-offset: -2px;
}

body > .skip:focus {
  top: 4px;
  left: 4px;
  z-index: 20;
  color: #152639;
}

@media (max-width: 760px), (max-width: 850px) and (orientation: portrait) {
  body {
    --header: 46px;
    --masthead-gutter: clamp(12px, 3.9vw, 26px);
  }
  .site-binding { gap: 8px; }
  .site-binding .brand { gap: 6px; font-size: clamp(.94rem, 4.05vw, 1.14rem); }
  .site-binding nav { gap: clamp(10px, 3vw, 18px); }
  .site-binding nav a { min-width: 26px; font-size: clamp(.73rem, 3.16vw, .84rem); }
}

@media (max-width: 760px) {
  body { --site-gutter: clamp(12px, 3.8vw, 26px); }
}

@media (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
  body {
    --header: 44px;
    --masthead-gutter: clamp(12px, 2.1vw, 22px);
  }
}

@media (forced-colors: active) {
  .site-binding nav a[aria-current="page"] { color: CanvasText; }
  .site-binding a:focus-visible { outline-color: Highlight; }
}

.store-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.65em;
  border-radius: 7px;
  background: var(--brand-ink);
  color: var(--reader-paper);
  padding: 0.65em 0.95em;
  font-weight: 600;
  text-decoration: none;
}
.extension-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding: clamp(22px, 4vw, 42px) 0;
  border-top: 1px solid var(--reader-line);
}
.session-page .extension-invite h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
}
.extension-invite p {
  max-width: 59ch;
  margin: 0;
  color: var(--reader-soft);
  font: 400 1rem/1.55 var(--reader-ui);
}
.store-action {
  flex: none;
  min-height: 44px;
}
.phone-store { display: none; }
.no-script { padding: 2rem 0; }
.no-script a { color: var(--brand-action-light); }
@media (max-width: 850px) {
  .desktop-store { display: none; }
  .phone-store { display: inline; }
  .extension-invite { align-items: start; flex-direction: column; gap: 16px; }
}

.outbound-arrow {
  position: relative;
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  flex: none;
  color: inherit;
}
.outbound-arrow::before,
.outbound-arrow::after {
  position: absolute;
  top: 0.04em;
  right: 0.04em;
  content: "";
}
.outbound-arrow::before {
  width: 0.46em;
  height: 0.46em;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
}
.outbound-arrow::after {
  width: 0.83em;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}
