/* Solar Split design system: base element styles (reset, type scale, focus). */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-3); line-height: 1.5; font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: var(--fs-7); }
h2 { font-size: var(--fs-6); }
h3 { font-size: var(--fs-5); }
h4 { font-size: var(--fs-4); }
h5 { font-size: var(--fs-3); }
h6 { font-size: var(--fs-1); letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { a:hover { color: var(--color-accent-600); } }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption { font-size: var(--fs-1); margin-top: var(--space-1); color: var(--ink-3); }
.text-muted { color: var(--ink-3); }
.grayscale { filter: grayscale(1) contrast(1.08); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

button, [role="button"] { touch-action: manipulation; user-select: none; -webkit-user-select: none; }
input, select, textarea { font-size: var(--fs-3); }

.hatch { background: var(--energy-solar-export); }
.hatch-ink { background: var(--hatch-ink); }

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