@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --fx-canvas: #fafaf7;
  --fx-paper: #ffffff;
  --fx-ink: #0a0a0a;
  --fx-text: #1a1a1a;
  --fx-muted: #737373;
  --fx-subtle: #a3a3a3;
  --fx-rule: #e5e5e0;
  --fx-rule-soft: #f0f0ec;
  --fx-lime: #c7ff3a;
  --fx-lime-deep: #4f6f00;
  --fx-lime-soft: #f4ffce;
  --fx-code-surface: #f4f4ef;
  --fx-code-rule: #d9d9d2;
  --fx-dark: #0a0a0a;
  --fx-dark-raised: #161616;
  --fx-dark-rule: #262626;
  --fx-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --scalar-font: "Geist Mono", ui-monospace, monospace;
  --scalar-font-code: "Geist Mono", ui-monospace, monospace;
  --scalar-color-accent: var(--fx-lime-deep);
  --scalar-color-1: var(--fx-ink);
  --scalar-color-2: var(--fx-text);
  --scalar-color-3: var(--fx-muted);
  --scalar-color-background: var(--fx-canvas);
  --scalar-background-1: var(--fx-canvas);
  --scalar-background-2: var(--fx-paper);
  --scalar-background-3: var(--fx-rule-soft);
  --scalar-border-color: var(--fx-rule);
  --scalar-radius: 0;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--fx-canvas);
}

body,
button,
input,
select,
textarea {
  font-family: "Geist Mono", ui-monospace, monospace !important;
  font-feature-settings: "tnum";
}

body {
  margin: 0;
  color: var(--fx-text);
  background: var(--fx-canvas) !important;
  font-size: 14px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--fx-ink);
  background: var(--fx-lime);
}

a {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--fx-ink) !important;
  outline-offset: 3px !important;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  color: var(--fx-ink) !important;
  font-family: "Geist Mono", ui-monospace, monospace !important;
  font-weight: 680 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

main h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem) !important;
  line-height: 1.02 !important;
}

main h2 {
  letter-spacing: -0.035em !important;
}

p,
li {
  text-wrap: pretty;
}

code,
pre {
  font-family: "Geist Mono", ui-monospace, monospace !important;
  font-feature-settings: "tnum";
}

pre {
  border: 1px solid var(--fx-code-rule) !important;
  color: var(--fx-text) !important;
  background: var(--fx-code-surface) !important;
  box-shadow: none !important;
}

pre code {
  color: inherit !important;
}

/*
 * Code should read as a light work surface when the site is in light mode.
 * Scalar's syntax tokens inherit these values, so highlighted snippets stay
 * legible without turning every example into a black terminal panel.
 */
.t-editor__code,
.t-code {
  --hljs-color: var(--fx-text);
  --hljs-background: var(--fx-code-surface);
  --hljs-comment-quote: var(--fx-muted);
  --hljs-keyword-formula: #6b3bb5;
  --hljs-section-name-deletion-subst: #a13a2a;
  --hljs-literal: #075f94;
  --hljs-string-regexp-meta: #2f6a27;
  --hljs-attr-variable-type-selector: #8a4b00;
  --hljs-bullet-link-title: #075f94;
  --hljs-built_in: #735600;
}

.t-editor__code .language-button,
.t-code .language-button {
  color: var(--fx-muted);
  border: 1px solid var(--fx-code-rule) !important;
  background: var(--fx-paper);
}

.t-editor__code .language-button:hover,
.t-code .language-button:hover {
  color: var(--fx-ink);
  background: var(--fx-lime-soft);
}

table {
  border-collapse: collapse;
  border: 1px solid var(--fx-rule) !important;
}

th {
  color: var(--fx-ink) !important;
  background: var(--fx-rule-soft) !important;
  font-size: 10px !important;
  font-weight: 720 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

th,
td {
  border-color: var(--fx-rule) !important;
}

/* Scalar shell */
.t-header,
.tabs-header {
  box-shadow: none !important;
}

.t-header,
.tabs-header {
  border-bottom: 1px solid var(--fx-rule) !important;
  background: color-mix(in srgb, var(--fx-canvas) 94%, transparent) !important;
  backdrop-filter: blur(16px);
}

.t-header img[alt] {
  width: auto !important;
  max-width: 116px !important;
  max-height: 32px !important;
  object-fit: contain;
}

.t-doc__sidebar {
  border-color: var(--fx-rule) !important;
  box-shadow: none !important;
}

.t-doc__sidebar a,
.t-header a,
.tabs-header a {
  font-size: 12px;
}

[aria-current="page"],
[data-active="true"] {
  color: var(--fx-ink) !important;
}

[aria-current="page"]::before,
[data-active="true"]::before {
  background: var(--fx-lime) !important;
}

button,
[role="button"],
scalar-button a {
  box-shadow: none !important;
  transition:
    color 150ms var(--fx-ease),
    background-color 150ms var(--fx-ease),
    border-color 150ms var(--fx-ease),
    transform 150ms var(--fx-ease),
    box-shadow 150ms var(--fx-ease) !important;
}

.t-header a[href*="auth/sign-up"] {
  color: var(--fx-ink) !important;
  background: var(--fx-lime) !important;
  border: 1px solid var(--fx-ink) !important;
}

.t-header a[href*="auth/sign-up"]:hover {
  transform: translate(-3px, -3px);
  box-shadow: 3px 3px 0 var(--fx-ink) !important;
}

input[type="search"],
[role="search"] input {
  border: 1px solid var(--fx-rule) !important;
  background: var(--fx-paper) !important;
}

/* Narrative components */
scalar-callout,
.t-editor__callout {
  border: 1px solid var(--fx-rule) !important;
  border-left: 4px solid var(--fx-lime-deep) !important;
  background: var(--fx-paper) !important;
  box-shadow: none !important;
}

.t-editor__callout .callout-content,
.t-editor__callout .callout-content__icon,
.t-editor__callout .callout-content__text {
  border: 0 !important;
  background: transparent !important;
}

.fx-callout-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--fx-ink);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

scalar-page-link,
scalar-card,
.t-editor__page-link {
  border-color: var(--fx-rule) !important;
  background: var(--fx-paper) !important;
  box-shadow: none !important;
  transition:
    background-color 150ms var(--fx-ease),
    border-color 150ms var(--fx-ease),
    transform 150ms var(--fx-ease),
    box-shadow 150ms var(--fx-ease) !important;
}

scalar-page-link:hover,
scalar-card:hover,
.t-editor__page-link:hover {
  background: var(--fx-lime-soft) !important;
  border-color: var(--fx-ink) !important;
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--fx-ink) !important;
}

.fx-endpoint {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: stretch;
  margin: 1.4rem 0 0.85rem;
  overflow-x: auto;
  border: 1px solid var(--fx-rule);
  background: var(--fx-paper);
}

.fx-endpoint-method {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  color: var(--fx-ink);
  background: var(--fx-lime);
  border-right: 1px solid var(--fx-rule);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.fx-method-post,
.fx-method-patch,
.fx-method-put,
.fx-method-delete {
  color: rgba(255, 255, 255, 0.92);
  background: var(--fx-ink);
}

.fx-endpoint code {
  display: flex;
  align-items: center;
  min-width: max-content;
  padding: 0.65rem 0.9rem;
  color: var(--fx-text) !important;
  background: transparent !important;
  font-size: 12px;
}

/* Landing page */
.page-mdx__content:has(.fx-landing-hero) {
  width: min(100%, 920px) !important;
  max-width: min(100%, 920px) !important;
  margin-inline: auto;
}

.page-mdx__content:has(.fx-landing-hero) .page-node {
  width: 100% !important;
  max-width: none !important;
}

.fx-landing-hero {
  position: relative;
  margin: 1.25rem 0 3.5rem;
  padding: clamp(2rem, 6vw, 5.5rem) 0 clamp(2rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--fx-rule);
}

.fx-landing-hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(28vw, 260px);
  height: 8px;
  background: var(--fx-lime);
  content: "";
}

.fx-landing-hero h1 {
  max-width: 14ch;
  margin: 0.65rem 0 1.4rem !important;
  font-size: clamp(3rem, 6.4vw, 5.55rem) !important;
  line-height: 0.94 !important;
}

.fx-landing-hero > p:not(.fx-eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--fx-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.fx-eyebrow {
  margin: 0 !important;
  color: var(--fx-muted) !important;
  font-size: 10px !important;
  font-weight: 760 !important;
  letter-spacing: 0.16em;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

.fx-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.fx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  color: var(--fx-ink) !important;
  border: 1px solid var(--fx-ink);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none !important;
  transition:
    color 150ms var(--fx-ease),
    background-color 150ms var(--fx-ease),
    transform 150ms var(--fx-ease),
    box-shadow 150ms var(--fx-ease);
}

.fx-button--primary {
  background: var(--fx-lime);
}

.fx-button--secondary {
  background: transparent;
}

.fx-button:hover {
  transform: translate(-3px, -3px);
}

.fx-button--primary:hover {
  box-shadow: 3px 3px 0 var(--fx-ink);
}

.fx-button--secondary:hover {
  background: var(--fx-paper);
  box-shadow: 3px 3px 0 var(--fx-lime);
}

.fx-quickstart-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  margin: 0 0 1rem;
  border: 1px solid var(--fx-rule);
  background: var(--fx-paper);
}

.fx-quickstart-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--fx-rule);
}

.fx-quickstart-copy h2 {
  margin: 0.65rem 0 0.8rem !important;
  font-size: clamp(1.45rem, 3vw, 2.15rem) !important;
}

.fx-quickstart-copy p:not(.fx-eyebrow) {
  color: var(--fx-muted);
}

.fx-inline-link {
  width: fit-content;
  margin-top: 0.8rem;
  color: var(--fx-ink) !important;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
  box-shadow: inset 0 -5px 0 var(--fx-lime);
}

.fx-quickstart-code {
  min-width: 0;
  padding: 1rem;
  color: var(--fx-text);
  background: var(--fx-code-surface);
}

.fx-quickstart-code pre {
  margin: 0 !important;
  border: 0 !important;
  overflow-x: auto;
}

.fx-code-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0.5rem 0.9rem;
  color: var(--fx-muted);
  border-bottom: 1px solid var(--fx-code-rule);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fx-code-label span:last-child {
  color: var(--fx-lime-deep);
}

/*
 * Scalar positions the moving outline marker at the TOC edge. Reserve that
 * edge for every item so the active marker never overlaps (or shifts) labels.
 */
.t-doc__toc ul {
  border-left: 0;
}

.t-doc__toc li {
  padding: 2px 12px 2px 14px;
}

.t-doc__toc li.toc-indent-1 {
  padding-left: calc(var(--scalar-toc-indent-unit) * 1 + 14px);
}

.t-doc__toc li.toc-indent-2 {
  padding-left: calc(var(--scalar-toc-indent-unit) * 2 + 14px);
}

.t-doc__toc li.toc-indent-3 {
  padding-left: calc(var(--scalar-toc-indent-unit) * 3 + 14px);
}

.t-doc__toc li.toc-indent-4 {
  padding-left: calc(var(--scalar-toc-indent-unit) * 4 + 14px);
}

.t-doc__toc li.toc-indent-5 {
  padding-left: calc(var(--scalar-toc-indent-unit) * 5 + 14px);
}

.t-doc__toc li.toc-indent-6 {
  padding-left: calc(var(--scalar-toc-indent-unit) * 6 + 14px);
}

.t-doc__toc .anchor {
  line-height: 20px;
}

.t-doc__toc .outline-marker {
  width: 3px;
  height: 24px;
  background-color: var(--fx-lime);
}

.fx-truth-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: clamp(4rem, 9vw, 7rem);
  border: 1px solid var(--fx-rule);
  border-top: 0;
  background: var(--fx-paper);
}

.fx-truth-strip > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 0.75rem;
  align-content: center;
  min-height: 82px;
  padding: 1rem 1.15rem;
  border-right: 1px solid var(--fx-rule);
}

.fx-truth-strip > div:last-child {
  border-right: 0;
}

.fx-truth-strip span {
  grid-row: 1 / span 2;
  color: var(--fx-subtle);
  font-size: 10px;
}

.fx-truth-strip strong {
  color: var(--fx-ink);
  font-size: 11px;
  font-weight: 720;
}

.fx-truth-strip small {
  color: var(--fx-muted);
  font-size: 10px;
}

.fx-section-heading {
  margin: clamp(3.5rem, 8vw, 6rem) 0 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fx-rule);
}

.fx-section-heading h2 {
  max-width: 22ch;
  margin: 0.55rem 0 0.65rem !important;
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  line-height: 1.05 !important;
}

.fx-section-heading > p:not(.fx-eyebrow) {
  max-width: 760px;
  color: var(--fx-muted);
}

.fx-card-grid {
  display: grid;
  gap: 12px;
  margin: 0 0 1.5rem;
}

.fx-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fx-card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fx-feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 270px;
  padding: 1.4rem;
  color: var(--fx-text) !important;
  border: 1px solid var(--fx-rule);
  background: var(--fx-paper);
  text-decoration: none !important;
  transition:
    background-color 150ms var(--fx-ease),
    border-color 150ms var(--fx-ease),
    transform 150ms var(--fx-ease),
    box-shadow 150ms var(--fx-ease);
}

.fx-feature-card:hover {
  color: var(--fx-ink) !important;
  border-color: var(--fx-ink);
  background: var(--fx-lime-soft);
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--fx-ink);
}

.fx-card-index {
  margin-bottom: 2.7rem;
  color: var(--fx-muted);
  font-size: 9px;
  font-weight: 740;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.fx-feature-card strong {
  margin-bottom: 0.8rem;
  color: var(--fx-ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.fx-feature-card > span:not(.fx-card-index) {
  color: var(--fx-muted);
  font-size: 12px;
  line-height: 1.65;
}

.fx-feature-card em {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--fx-ink);
  font-size: 10px;
  font-style: normal;
  font-weight: 740;
  letter-spacing: 0.02em;
}

.fx-feature-card--api {
  min-height: 250px;
}

.fx-card-grid--compact .fx-feature-card {
  min-height: 245px;
}

.fx-notice {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin: 1.25rem 0 0;
  padding: 1.15rem 1.25rem;
  color: var(--fx-text);
  border: 1px solid var(--fx-rule);
  border-left: 6px solid var(--fx-lime);
  background: var(--fx-paper);
  font-size: 11px;
  line-height: 1.65;
}

.fx-notice strong {
  color: var(--fx-ink);
  font-weight: 760;
  text-transform: uppercase;
}

.fx-notice span {
  color: var(--fx-muted);
}

/* API reference: carry the same instrument-panel vocabulary into Scalar. */
.scalar-api-reference,
.api-reference {
  --scalar-color-accent: var(--fx-lime-deep);
  --scalar-background-1: var(--fx-canvas);
  --scalar-background-2: var(--fx-paper);
  --scalar-background-3: var(--fx-rule-soft);
  --scalar-border-color: var(--fx-rule);
}

.scalar-api-reference [class*="badge"],
.api-reference [class*="badge"] {
  border: 1px solid var(--fx-rule) !important;
}

.scalar-api-reference [class*="http-method"],
.api-reference [class*="http-method"] {
  font-weight: 780 !important;
}

.scalar-mcp-layer {
  display: none !important;
}

/*
 * Scalar adds `dark-mode` directly to <body>. Keep every Scalar token in this
 * exact selector: the hosted editor reads these values when it renders the
 * colour-mode toggle, and partial overrides leave the shell in light colours.
 */
.dark-mode {
  color-scheme: dark;

  --fx-canvas: #0a0a0a;
  --fx-paper: #161616;
  --fx-ink: rgba(255, 255, 255, 0.94);
  --fx-text: rgba(255, 255, 255, 0.86);
  --fx-muted: rgba(255, 255, 255, 0.58);
  --fx-subtle: rgba(255, 255, 255, 0.4);
  --fx-rule: #2a2a2a;
  --fx-rule-soft: #1f1f1f;
  --fx-lime-deep: #c7ff3a;
  --fx-lime-soft: rgba(199, 255, 58, 0.12);

  --scalar-color-1: var(--fx-ink);
  --scalar-color-2: var(--fx-text);
  --scalar-color-3: var(--fx-muted);
  --scalar-color-disabled: var(--fx-subtle);
  --scalar-color-ghost: var(--fx-subtle);
  --scalar-color-accent: var(--fx-lime);
  --scalar-color-green: #6ee7a5;
  --scalar-color-red: #fb7185;
  --scalar-color-yellow: #fde047;
  --scalar-color-blue: #7dd3fc;
  --scalar-color-orange: #fdba74;
  --scalar-color-purple: #c4b5fd;
  --scalar-color-alert: #fdba74;
  --scalar-color-danger: #fb7185;

  --scalar-color-background: var(--fx-canvas);
  --scalar-background-1: var(--fx-canvas);
  --scalar-background-2: var(--fx-paper);
  --scalar-background-3: var(--fx-rule-soft);
  --scalar-background-4: rgba(255, 255, 255, 0.08);
  --scalar-background-accent: var(--fx-lime-soft);
  --scalar-background-alert: rgba(253, 186, 116, 0.12);
  --scalar-background-danger: rgba(251, 113, 133, 0.12);
  --scalar-border-color: var(--fx-rule);

  --scalar-button-1: var(--fx-ink);
  --scalar-button-1-hover: #ffffff;
  --scalar-button-1-color: var(--fx-dark);
  --scalar-link-color: var(--fx-ink);
  --scalar-link-color-hover: var(--fx-lime);
  --scalar-tooltip-background: #252525;
  --scalar-tooltip-color: var(--fx-ink);
  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
  --scalar-shadow-1: 0 1px 3px rgba(0, 0, 0, 0.3);
  --scalar-shadow-2: 0 0 0 1px var(--fx-rule), 0 12px 28px rgba(0, 0, 0, 0.34);
  --scalar-lifted-brightness: 1.2;
  --scalar-backdrop-brightness: 0.5;

  --scalar-sidebar-background-1: var(--fx-canvas);
  --scalar-sidebar-color-1: var(--fx-ink);
  --scalar-sidebar-color-2: var(--fx-muted);
  --scalar-sidebar-border-color: var(--fx-rule);
  --scalar-sidebar-item-hover-background: var(--fx-paper);
  --scalar-sidebar-item-hover-color: var(--fx-ink);
  --scalar-sidebar-item-active-background: var(--fx-lime-soft);
  --scalar-sidebar-color-active: var(--fx-lime);
  --scalar-sidebar-indent-border: var(--fx-rule);
  --scalar-sidebar-indent-border-hover: var(--fx-muted);
  --scalar-sidebar-indent-border-active: var(--fx-lime);
  --scalar-sidebar-search-background: var(--fx-paper);
  --scalar-sidebar-search-color: var(--fx-muted);
  --scalar-sidebar-search-border-color: var(--fx-rule);

  --scalar-header-background-1: var(--fx-canvas);
  --scalar-header-background-2: var(--fx-paper);
  --scalar-header-border-color: var(--fx-rule);
  --scalar-header-color-1: var(--fx-ink);
  --scalar-header-color-2: var(--fx-muted);
  --scalar-header-background-toggle: var(--fx-muted);
  --scalar-header-call-to-action-color: var(--fx-lime);
}

/* The viewport is outside Scalar's body class, so give it the same canvas. */
html:has(body.dark-mode) {
  background: #0a0a0a;
}

body.dark-mode {
  background: var(--fx-canvas) !important;
  color: var(--fx-text);
}

/*
 * The light design uses a solid lime CTA. On a dark shell that becomes an
 * oversized fluorescent block, so retain the brand colour as an outline and
 * reserve the fill for the interaction state.
 */
body.dark-mode .t-header a[href*="auth/sign-up"] {
  color: var(--fx-lime) !important;
  background: var(--fx-paper) !important;
  border-color: var(--fx-lime) !important;
}

body.dark-mode .t-header a[href*="auth/sign-up"]:hover {
  color: var(--fx-dark) !important;
  background: var(--fx-lime) !important;
  border-color: var(--fx-lime) !important;
  transform: none;
  box-shadow: none !important;
}

body.dark-mode .fx-button--primary {
  color: var(--fx-lime) !important;
  background: var(--fx-paper);
  border-color: var(--fx-lime);
}

body.dark-mode .fx-button--primary:hover {
  color: var(--fx-dark) !important;
  background: var(--fx-lime);
  box-shadow: none;
}

body.dark-mode img[src*="fictix-logo-light"] {
  filter: invert(1);
}

body.dark-mode .fx-quickstart-code {
  border: 1px solid var(--fx-dark-rule);
}

@media (max-width: 860px) {
  .fx-quickstart-panel {
    grid-template-columns: 1fr;
  }

  .fx-quickstart-copy {
    border-right: 0;
    border-bottom: 1px solid var(--fx-rule);
  }

  .fx-truth-strip {
    grid-template-columns: 1fr;
  }

  .fx-truth-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--fx-rule);
  }

  .fx-truth-strip > div:last-child {
    border-bottom: 0;
  }

  .fx-card-grid--3 {
    grid-template-columns: 1fr;
  }

  .fx-feature-card,
  .fx-card-grid--compact .fx-feature-card {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .fx-landing-hero {
    padding-top: 1.5rem;
  }

  .fx-landing-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.35rem) !important;
  }

  .fx-action-row,
  .fx-action-row .fx-button {
    width: 100%;
  }

  .fx-card-grid--2 {
    grid-template-columns: 1fr;
  }

  .fx-notice {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .fx-endpoint {
    grid-template-columns: 64px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .t-header,
  .tabs-header,
  .t-doc__sidebar,
  .fx-action-row {
    display: none !important;
  }

  body {
    color: #000 !important;
    background: #fff !important;
  }

  main {
    width: 100% !important;
    max-width: none !important;
  }
}
