/* Self-hosted webfonts. Propshaft rewrites the url() references to digested
 * asset paths.
 *
 * Inter sets everything, which is what the Bitmap product does. The site and
 * the product are one brand, and a visitor moves between them: a second text
 * face on the marketing site would announce the seam.
 *
 * One variable file carries every weight from 100 to 900, so the headline's
 * Black and the body's Regular are the same download. The licence is
 * app/assets/fonts/LICENSE-Inter.txt. */
@font-face {
  font-family: "Inter";
  src: url("/assets/inter-variable-884c49a1.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/inter-variable-italic-0aa7a4b3.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* The brand's checker pattern in the top right corner of a navy section, as
 * the product draws it behind its sign-in card. It is one layer with the dot
 * grid, because a later background-image rule would replace the earlier one
 * rather than add to it; the pattern sits above the dots, and it is hidden on a
 * phone, where it would cover the headline. */
.bg-checker {
  background-image: url("/assets/illustrations/bitmap-pattern-b709eda7.svg");
  background-repeat: no-repeat;
  background-position: right -90px top -70px;
  background-size: 440px auto;
}

.bg-checker.bg-dots {
  background-image: url("/assets/illustrations/bitmap-pattern-b709eda7.svg"),
    radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-repeat: no-repeat, repeat;
  background-position: right -90px top -70px, 0 0;
  background-size: 440px auto, 34px 34px;
}

@media (max-width: 767px) {
  .bg-checker,
  .bg-checker.bg-dots {
    background-image: none;
  }

  .bg-checker.bg-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
    background-repeat: repeat;
    background-position: 0 0;
    background-size: 34px 34px;
  }
}

/* Subtle dot grid used on navy sections. */
.bg-dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
}

/* FAQ accordion (native details/summary, no JavaScript). */
.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .faq-marker {
  transition: transform 150ms ease;
}

.faq-item[open] .faq-marker {
  transform: rotate(45deg);
}

/* Long-form article text (blog posts, privacy policy). */
.prose-site {
  color: var(--color-ink);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.prose-site > * + * {
  margin-top: 1.1em;
}

.prose-site h2 {
  margin-top: 2em;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
}

.prose-site h3 {
  margin-top: 1.6em;
  font-size: 1.15rem;
  font-weight: 700;
}

.prose-site ul,
.prose-site ol {
  padding-left: 1.4em;
}

.prose-site ul {
  list-style: disc;
}

.prose-site ol {
  list-style: decimal;
}

.prose-site li + li {
  margin-top: 0.45em;
}

.prose-site a {
  color: var(--color-orange-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--color-orange-deep);
  text-underline-offset: 3px;
}

.prose-site a:hover {
  color: var(--color-orange-dark);
}

.prose-site strong {
  font-weight: 700;
}

.prose-site table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose-site th,
.prose-site td {
  border-bottom: 1px solid var(--color-line);
  padding: 0.6em 0.9em;
  text-align: left;
  vertical-align: top;
}

.prose-site th {
  color: var(--color-ink);
  font-weight: 700;
}

.prose-site td {
  color: var(--color-ink-muted);
}

.prose-site .table-scroll {
  overflow-x: auto;
}

.prose-site blockquote {
  border-left: 3px solid var(--color-orange-deep);
  padding-left: 1.1em;
  color: var(--color-ink-muted);
  font-weight: 500;
}

.prose-site code {
  border: 1px solid var(--color-line);
  border-radius: 0.35em;
  background: var(--color-paper);
  padding: 0.15em 0.45em;
  font-size: 0.9em;
}
