/* Base: reset, the page, the shared label, badge and button. Colours come from tokens.css only. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { background: var(--bg); color-scheme: light; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--page) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* small capitals label: Geist 600, 14px, tracked */
.label { font-family: var(--f-body); font-weight: 600; font-size: var(--t-label); line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); }

/* pill badge above a heading. The hero badge's style is the standard for every badge (owner, 05.11):
   Geist 500, 14px, words in title case and never uppercased here; Light gray 5 with a Light gray 1 hairline
   on white, glass on the black cards. An optional leading icon (.badge-icon, the Klaviyo mark in the hero)
   tightens its left side to 12px. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: var(--t-label);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
}
.badge:has(> .badge-icon) { padding-left: 12px; }
.hero-card .badge, .band .badge { background: var(--glass); border-color: var(--glass-line); color: var(--on-sky); }

/* button: a black pill with white Sora capitals (the one place Sora is used); hover changes colour only */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--pill);
  background: var(--press);
  color: var(--on-press);
  font-family: var(--f-button);
  font-weight: 700;
  font-size: var(--t-button);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--hover) ease, color var(--hover) ease;
}
.btn:hover { background: var(--press-hover); }
.btn-lg { min-height: 56px; padding: 17px 32px; font-size: 15px; }

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