/* rostra-base.css
   Reset, base elements, primitives. Reads tokens. No theme selectors.
   Generated by scripts/build-css-bundle.mjs — edit sources, not this file. */

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0) 280px),
    linear-gradient(90deg, transparent 0 31px, var(--bg-grid) 32px),
    var(--bg);
  background-size: auto, 32px 32px, auto;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-1);
  line-height: 1.45;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 125, 115, 0.075), transparent 18%, transparent 82%, rgba(47, 110, 203, 0.06));
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  letter-spacing: 0;
}

button,
label,
summary,
.theme-choice {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus-ring) 82%, transparent);
  outline-offset: 2px;
}

button:active:not(:disabled) {
  transform: translateY(1px);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 18ch;
  font-size: var(--step-4);
  font-weight: 760;
  line-height: 1.08;
}

h2 {
  font-size: var(--step-2);
  font-weight: 740;
  line-height: 1.22;
}

h3 {
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 780;
  text-transform: uppercase;
}

.muted {
  max-width: 72ch;
  color: var(--ink-muted);
}

