/* Base: reset, canvas wash, type primitives. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  background-color: var(--neutral-b);
  background-image:
    radial-gradient(70% 85% at 100% 100%, var(--wash) 0%, transparent 70%),
    radial-gradient(45% 60% at 70% 0%, color-mix(in srgb, var(--wash) 60%, transparent) 0%, transparent 70%),
    linear-gradient(135deg, var(--neutral-a) 0%, var(--neutral-b) 55%, var(--wash) 130%);
  background-attachment: fixed;
  accent-color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}

h1,
h2,
h3,
p {
  margin: 0;
  font-weight: 400;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: progress;
}

code,
pre,
.mono {
  font-family: var(--font-mono);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.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;
}

[hidden] {
  display: none !important;
}

/* Type scale */
.t-greeting {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.t-greeting em {
  font-style: italic;
}

.t-kpi {
  font-size: 64px;
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.t-metric-lg {
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.t-metric-md {
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.t-card-title {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.t-dark-title {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.t-segment-label {
  font-size: 12.5px;
  color: var(--ink-70);
}

.t-caption {
  font-size: 11.5px;
  color: var(--ink-55);
}

.t-micro {
  font-size: 11px;
  color: var(--ink-55);
}

.t-meta {
  font-size: 10.5px;
}

.frac {
  opacity: 0.45;
}

.num {
  font-variant-numeric: tabular-nums;
}
