/* ============================================================
   Solar Bridge — Base element defaults & brand utilities
   (Tokens live in tokens/*.css; this applies them to bare HTML.)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings default to the brand display face */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--weight-regular);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 0.5em;
}
h1 { font-size: var(--text-5xl); line-height: var(--leading-tight); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { margin: 0 0 1em; text-wrap: pretty; }

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

strong, b { font-weight: var(--weight-semibold); }

small { font-size: var(--text-sm); }

code, kbd, samp, pre { font-family: var(--font-mono); font-size: 0.92em; }

hr { border: 0; border-top: 1px solid var(--border-subtle); margin: var(--space-8) 0; }

::selection { background: var(--sun-gold); color: var(--ink-900); }

:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-xs);
}

/* ---- Brand utilities ---- */

/* Eyebrow / overline label — wide-tracked uppercase, brand voice */
.sb-eyebrow {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-size: var(--text-sm);
  color: var(--brand);
  font-weight: var(--weight-medium);
}

/* Hero display lockup */
.sb-hero {
  font-family: var(--font-hero);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-none);
  font-size: var(--text-7xl);
  color: var(--text-strong);
}

/* Solar gradient filled text */
.sb-gradient-text {
  background: var(--gradient-solar);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* The signature solar bar — thin energy strip */
.sb-solar-bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--gradient-solar);
}

/* Layout container */
.sb-container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
