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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: var(--font-features);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
video { height: auto; }
a { color: inherit; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

.display { font-family: var(--font-display); font-feature-settings: var(--font-features); }
.sans    { font-family: var(--font-sans);    font-feature-settings: var(--font-features); }
.mono    { font-family: var(--font-mono);    font-variant-numeric: tabular-nums; font-weight: 300; }

.kicker {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}

.lead-text { text-wrap: pretty; }

.grad-text {
  background: var(--grad-spectrum);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-inline: var(--shell-pad-x);
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--dur-base) var(--ease-smooth),
              color var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth),
              opacity var(--dur-base) var(--ease-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--on-dark);
}
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--accent); }

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: 0.85;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  opacity: 1;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-arrow::after {
  content: '→';
  font-size: 13px;
  line-height: 1;
}

.section-head { margin-bottom: 56px; }

h1.display,
h2.display,
h3.display {
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

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