/* Base — reset + page background + layout primitives.
   Loaded after tokens.css, before any component or page stylesheet. */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(255, 255, 255, .04), transparent 60%),
    radial-gradient(900px 700px at 85% 30%, rgba(62, 121, 179, .10), transparent 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Default page container — pages may override margin/padding. */
.container {
  position: relative;
}

/* Performance hints for frequently-repainted surfaces. */
.hero,
.card {
  will-change: auto;
  contain: layout style;
}

/* Accessibility: visually hide but keep for screen readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.demo-mode-exit {
  display: inline-flex;
  margin: 0;
}

.demo-mode-exit button {
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: #25344e;
  color: #f4f7fb;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .12s, color .12s;
}

.demo-mode-exit button:hover {
  background: #30415e;
  color: #fff;
}

.demo-mode-exit button:focus-visible {
  outline: 2px solid #9babc0;
  outline-offset: 2px;
}

.client-preview-exit button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.client-preview-exit-text {
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--gold);
  color: #10203a;
  font-weight: 800;
  letter-spacing: .3px;
}

.client-preview-exit button:hover .client-preview-exit-text {
  background: #ffc533;
}
