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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pnp-bg);
  color: var(--pnp-text);
  font-family: var(--pnp-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--pnp-space-3);
  color: var(--pnp-text);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin: 0 0 var(--pnp-space-3); }
small { font-size: 0.875rem; }

a {
  color: var(--pnp-red);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--pnp-dark); }

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

button,
a {
  transition: color var(--pnp-transition), background-color var(--pnp-transition), border-color var(--pnp-transition);
}

:focus-visible {
  outline: 3px solid var(--pnp-red);
  outline-offset: 3px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: var(--pnp-space-2);
  padding: var(--pnp-space-1) var(--pnp-space-2);
  top: var(--pnp-space-2);
  width: auto;
  z-index: 100000;
}

