@import url("/vendor/blades/blades.min.css");
@import url("/brand/brand.css");

@font-face {
  font-family: Inter;
  src: url("/vendor/inter/inter-latin-wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root,
:root:not([data-theme]) {
  color-scheme: light;
  --pico-font-family: var(--brand-font);
  --pico-background-color: var(--brand-paper);
  --pico-color: var(--brand-ink);
  --pico-muted-color: var(--brand-olive);
  --pico-h1-color: var(--brand-ink);
  --pico-h2-color: var(--brand-ink);
  --pico-primary: var(--brand-olive);
  --pico-primary-hover: var(--brand-ink);
  --pico-primary-underline: currentColor;
  --pico-primary-hover-underline: currentColor;
  --pico-primary-background: var(--brand-ink);
  --pico-primary-hover-background: var(--brand-olive);
  --pico-primary-border: var(--brand-ink);
  --pico-primary-hover-border: var(--brand-olive);
  --pico-primary-inverse: var(--brand-paper);
  --pico-primary-focus: transparent;
  --pico-form-element-background-color: var(--brand-paper);
  --pico-form-element-border-color: var(--brand-olive);
  --pico-form-element-color: var(--brand-ink);
  --pico-form-element-focus-color: var(--brand-olive);
  --pico-accordion-active-summary-color: var(--brand-ink);
  --pico-accordion-open-summary-color: var(--brand-ink);
  --pico-accordion-close-summary-color: var(--brand-ink);
  --pico-text-selection-color: var(--brand-sand);
}
body > main,
body > footer {
  width: min(100% - 2.5rem, 40rem);
  margin-inline: auto;
  padding-inline: 0;
}
body > main {
  padding-block: clamp(2rem, 8vw, 5rem) 2rem;
}
main > header {
  margin-bottom: 2rem;
}
h1 {
  font-size: 2rem;
  letter-spacing: -0.055em;
  line-height: 1.02;
}
h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}
section label,
footer {
  font-size: 0.85rem;
}
fieldset[role="group"] {
  margin-bottom: 0;
}
[data-copy-group] + small {
  margin: 0.5rem 0 0;
  min-height: 1lh;
}
[data-endpoint] {
  font-family: ui-monospace, monospace;
  font-size: 0.86rem;
  min-width: 0;
}
[data-copy] {
  white-space: nowrap;
}
.privacy-note > strong:first-child {
  display: block;
}
.privacy-note,
[data-unavailable] {
  border-inline-start: 2px solid var(--brand-clay);
  padding-inline-start: 0.8rem;
  font-size: 0.9rem;
}
details {
  border-bottom: 1px solid var(--brand-sand);
  padding-block: 0.9rem;
  margin: 0;
}
details summary {
  font-weight: 650;
}
.landing > main,
.landing > footer {
  width: min(calc(100% - 2.5rem), 36rem);
}
.example-link {
  font-size: 0.82rem;
}
@media (prefers-reduced-motion: no-preference) {
  html:has(> body.landing) {
    scroll-behavior: smooth;
  }
}
#marathon-example {
  border-top: 1px solid #d8cec1;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  scroll-margin-top: 1.5rem;
}
#marathon-example iframe {
  display: block;
  width: 100%;
  border: 0;
}
.wordmark {
  display: block;
  margin-bottom: 1.25rem;
}
.history-file {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  margin-block: 0.5rem;
  border: 1px dashed currentColor;
}
@media (max-width: 32rem) {
  [data-copy-group] {
    display: block;
  }
  [data-copy-group] input {
    width: 100%;
    border-radius: 0.2rem;
  }
  [data-copy-group] button {
    width: auto;
    margin-top: 0.4rem;
    border-radius: 0.2rem;
  }
}
.app-nav a::after {
  content: "›";
  margin-left: auto;
  color: var(--brand-olive);
}
label {
  font-weight: 500;
}
.app-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 25rem;
  margin: 0 0 0.8rem;
}
.app-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.8rem;
  margin: 0;
  padding: 0.45rem 0.25rem;
  color: var(--brand-ink);
  font-weight: 550;
  text-decoration: none;
  border-bottom: 1px solid var(--brand-sand);
}
.app-nav a:hover {
  text-decoration: underline;
}
.docs-sidebar {
  display: none;
}
.docs-content {
  min-width: 0;
}
.docs-content pre code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
[data-copy-group]:has(textarea) {
  display: block;
}
[data-copy-group] textarea {
  display: block;
  width: 100%;
  min-width: 0;
  resize: vertical;
}
[data-copy-group]:has(textarea) button {
  width: auto;
  margin-top: 0.4rem;
}
@media (min-width: 54rem) {
  body > main.docs-shell {
    width: min(calc(100% - 5rem), 58rem);
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
    column-gap: 3rem;
    align-items: start;
  }
  .docs-shell header {
    grid-column: 1/-1;
  }
  .docs-sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    font-size: 0.84rem;
    border-right: 1px solid var(--brand-sand);
    padding-right: 1rem;
  }
  .docs-sidebar strong {
    margin: 1rem 0 0.45rem;
  }
  .docs-sidebar strong:first-child {
    margin-top: 0;
  }
  .docs-sidebar a {
    display: block;
    padding: 0.25rem 0.45rem;
    margin: 0;
    color: var(--brand-ink);
    text-decoration: none;
  }
  .docs-sidebar a:hover {
    text-decoration: underline;
  }
  .docs-sidebar a[aria-current] {
    background: var(--brand-sand);
  }
  .docs-sidebar img,
  .docs-content .back-link {
    display: none;
  }
  .docs-shell .setup-title {
    margin-top: 0;
  }
}
.back-link {
  font-size: 0.88rem;
}
.history-links {
  margin-top: 2rem;
}
.app-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: grayscale(1);
  flex-shrink: 0;
}
.setup-title {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-top: 2rem;
}
h2 .app-logo,
a:not(.app-nav a) .app-logo {
  margin-inline-end: 0.5rem;
  vertical-align: middle;
}
.coding-link {
  font-size: 0.85rem;
}
ol li {
  padding-block: 0.2rem;
}
ol li label {
  margin-top: 0.65rem;
}
body > footer {
  border-top: 1px solid var(--brand-sand);
  padding-block: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--brand-olive);
}
footer a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand-olive);
  outline-offset: 3px;
}
