/* Coding-style type, with the hero retaining its original face. */
:root {
  --font-body: 'Consolas', 'Courier New', ui-monospace, monospace;
  --font-display: 'Consolas', 'Courier New', ui-monospace, monospace;
  --font-prev: 'Consolas', 'Courier New', ui-monospace, monospace;
}
body, button, input, select, textarea { font-family: var(--font-body); }
.hero { --font-body: 'Outfit', 'Segoe UI', sans-serif; --font-display: 'Outfit', 'Segoe UI', sans-serif; --font-prev: 'Outfit', 'Segoe UI', sans-serif; }
[hidden] { display: none !important; }
h2, h3, h4, .range-cta .big, .footer__logo,
.ff__label, .ff__item, .ff .ff__label, .ff .ff__item, #ovBig { font-family: var(--font-body); }
h2, h3, h4 { font-weight: 600; }
.about__lead, .carousel__card, .agent-card__pun { font-family: 'Courier New', Courier, ui-monospace, monospace; }
html, body { overflow-x: clip; }
.page { overflow-x: clip; }
/* Contain the deliberately oversized wordmark canvas at the viewport edges. */
.hero { overflow-x: clip; }
main, .section, .spot, .wrap, .gun-card, .agent-card, .agent-card__body { min-width: 0; }
.section, .wrap { width: 100%; }
.section__title, .agent-card__body h4 { overflow-wrap: anywhere; }
.rank-row { flex-wrap: wrap; }
.range-cta .rbtn { max-width: 100%; }
.preview-actions { display: flex; justify-content: center; gap: 12px; }
.preview-actions .rbtn { padding: 15px 12px; letter-spacing: .02em; }
.range-cta { transition: border-color .25s; }
.range-cta:hover, .tool-placeholder:hover { border-color: var(--line-strong); }
.range-cta::before, .range-cta::after, .tool-placeholder::before, .tool-placeholder::after, .rb-card::before { content: none; display: none !important; }
.spot::before, .agent-card::after { display: none !important; }
.range-cta .big { font-weight: 600; }
.range-cta .desc { min-height: 3.3em; }
.section { scroll-margin-top: 28px; }
:focus-visible { outline: 1px solid #fff; outline-offset: 5px; }
.rbtn:focus-visible, .copy-btn:focus-visible { background: #fff; color: #000; }

/* Pointer coordinates are never transitioned or interpolated. */
html.cur-on, html.cur-on body, html.cur-on * { cursor: none !important; }
#cur { transition: none; z-index: 11000; }
#cur.is-hover { background: none; }
#cur::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 4px;
  height: 4px;
  background: #fff;
  opacity: 0;
}
#cur.is-hover::after { opacity: 1; }
#cur::after { border-radius: 50%; }

.ff__front { padding: 0; color: inherit; font: inherit; cursor: pointer; }
.ff__folder:focus-within .ff__front { transform: rotateX(58deg); }
.ff__front:focus-visible { outline: 1px solid #fff; outline-offset: 5px; }
.ff.is-open .ff__front { transform: rotateX(58deg); }
.ff.is-open .ff__items { opacity: 1; transform: none; pointer-events: auto; }
.ff.is-open .ff__item { opacity: 1; transform: none; }
.ff.is-open .ff__items::before, .ff.is-open .ff__item::before { transform: scale(1); }
.ff__item { visibility: hidden; }
.ff:hover .ff__item, .ff:focus-within .ff__item, .ff.is-open .ff__item { visibility: visible; }
.ff__items { gap: 6px; }
.ff__item { padding: 8px 14px; }

.tool-page main { min-height: 75svh; padding-top: 100px; }
.tool-placeholder { min-height: 240px; display: grid; align-content: center; gap: 26px; text-align: center; }
.tool-placeholder__status { color: var(--muted); font-size: 15px; }
.tool-placeholder__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tool-page .section { padding-top: 40px; padding-bottom: 80px; }
.training-page .wrap { padding-top: 130px; }
.training-page .set-row { min-width: 0; }
.training-page .opts { min-width: 0; }
.footer { margin-top: 40px; }
body.is-tab-hidden *, body.is-tab-hidden *::before, body.is-tab-hidden *::after { animation-play-state: paused !important; }
@media (max-width: 560px) {
  .range-cta .big { font-size: 22px; }
  .range-cta .desc { min-height: 4.95em; }
  .agent-grid, .gun-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-placeholder__actions .rbtn { width: 100%; }
  .set-row { grid-template-columns: 1fr; }
  .range-hud { gap: 4px; }
}
@media (hover: none), (pointer: coarse), (any-pointer: coarse), (prefers-reduced-motion: reduce) {
  #cur { display: none; }
}
@media (hover: none), (pointer: coarse) {
  .ff__folder { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .range-cta::before, .tool-placeholder::before, .rb-card::before { display: none !important; }
  .gun-card, .agent-card { rotate: none; }
  .gun-card:hover, .agent-card:hover, .rb-card:hover { transform: none; }
}
