@import url('../assets/fonts/fonts.css');
@import url('./tokens.css');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: var(--leading-normal);
  font-variant-numeric: tabular-nums;
  transition: background-color var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}

img, svg { display: block; max-width: 100%; }

a { color: var(--link); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
p { margin: 0 0 var(--space-md); color: var(--text-muted); }

.italic-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-text);
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-text);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}
.eyebrow .num { color: var(--text-faint); font-variant-numeric: tabular-nums; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.icon, .icon-lg {
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  flex-shrink: 0;
}
.icon-lg { width: 1.6em; height: 1.6em; stroke-width: 1.5; }

/* visible, gold-glow keyboard focus everywhere */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-gold-glow);
  border-radius: var(--radius-sm);
}

::selection { background: var(--gold-light); color: var(--text-on-ink); }

/* thin gold hairline — the system's recurring signature, echoing the logo's linework */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  border: none;
  margin: var(--space-xl) 0;
}
.hairline-solid { height: 1px; background: var(--border); border: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: var(--space-sm);
  background: var(--surface-raised); color: var(--text);
  padding: var(--space-xs) var(--space-md); border-radius: var(--radius-sm); z-index: 1000;
}
.skip-link:focus { left: var(--space-sm); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-mid); }

/* sample-data watermark — every placeholder number/name in the prototype carries this */
.sample-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1px 6px; vertical-align: middle;
}
