/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; text-wrap: balance; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #101826; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
/* copy that refers to the 3D scene, and its stand-in when there is no 3D */
.without-3d { display: none; }
.no-3d .with-3d { display: none; }
.no-3d .without-3d { display: inline; }
/* keeps a short run of text (a version number, say) on one line */
.nw { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter-l) + var(--gutter-r)); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* ---------- type ---------- */
.mono, .kicker, .eyebrow, .ref, .pill, .meta-k, .tag {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}
.display, .hero-name, .page-title, .sec-title, .ticket-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -.02em;
}
.kicker { color: var(--muted); display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.kicker b { color: var(--accent-ink); font-weight: 600; }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.sec-title { font-size: clamp(2rem, 1.1rem + 2.8vw, 3.375rem); line-height: .98; font-variation-settings: "wdth" 113; letter-spacing: -.025em; margin-bottom: 18px; text-wrap: balance; }
.sec-lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 48ch; text-wrap: pretty; }
.muted { color: var(--muted); }

/* ---------- buttons, pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; background: var(--btn-bg); color: var(--btn-ink);
  transition: transform .15s var(--ease-out), background-color .2s, border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .2s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:not([disabled], [aria-disabled="true"]):hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #101826; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: .875rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }

.pill {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 4px 10px 4px 9px; border-radius: 999px; font-size: .6875rem; font-weight: 600;
  background: var(--surface-3); color: var(--ink-2);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .9; }
.pill--plain::before { display: none; }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--bad { background: var(--bad-soft); color: var(--bad); }
.pill--info { background: var(--info-soft); color: var(--info); }
.pill--accent { background: var(--accent-soft); color: var(--accent-ink); }
.pill--live::before { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.tag { display: inline-block; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: .6875rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }

