/* =========================================================
   HOSTVERO — BASE STYLES
   ========================================================= */

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

html {
  min-height: 100%;
  background: var(--hv-page-background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;

  color: var(--hv-text);
  background: var(--hv-page-background);

  font-family: var(--hv-font);
  font-size: var(--hv-font-size-md);
  line-height: 1.5;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* =========================================================
   FORM CONTROLS
   ========================================================= */

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

input,
select,
textarea {
  color: var(--hv-text);
}

::placeholder {
  color: var(--hv-text-light);
}


/* =========================================================
   LINKS
   ========================================================= */

a {
  color: var(--hv-deep-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}


/* =========================================================
   FOCUS
   ========================================================= */

:focus-visible {
  outline: 2px solid var(--hv-teal);
  outline-offset: 3px;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--hv-text);
  font-weight: 700;
}

h1 {
  margin-bottom: .45rem;

  font-size: clamp(1.75rem, 2.2vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

h2 {
  margin-bottom: .4rem;

  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -.018em;
}

h3 {
  margin-bottom: .35rem;

  font-size: 1rem;
  line-height: 1.35;
}

p {
  margin-bottom: 1rem;
}

strong {
  font-weight: 700;
}


/* =========================================================
   TEXT UTILITIES
   ========================================================= */

.muted {
  color: var(--hv-text-muted);
}

.eyebrow {
  margin-bottom: .4rem;

  color: var(--hv-text-muted);

  font-size: .7rem;
  font-weight: 700;

  letter-spacing: .08em;
  text-transform: uppercase;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

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

.skip-link {
  position: fixed;

  top: -4rem;
  left: 1rem;

  z-index: 100;

  padding: .7rem 1rem;

  border-radius: var(--hv-radius-sm);

  background: var(--hv-deep-blue);
  color: #ffffff;

  font-size: .875rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}