:root {
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  height: 100%;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--color-green-dark);
  background-color: var(--color-background);
  font-family: var(--font-sans);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header {
    padding: 1rem;
}

/* Headings */
h1 {
    font-family: var(--font-serif);
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
    font-weight: var(--font-weight-h1);
    letter-spacing: var(--letter-spacing-h1);
    margin: 1.5rem 0;
    transition:
        font-size 0.2s,
        line-height 0.2s;
}
h2 {
    font-family: var(--font-serif);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
    font-weight: var(--font-weight-h2);
    letter-spacing: var(--letter-spacing-h2);
    margin-bottom: 1rem;
    transition:
        font-size 0.2s,
        line-height 0.2s;
}
h3 {
    font-family: var(--font-sans);
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
    font-weight: var(--font-weight-h3);
    letter-spacing: var(--letter-spacing-h3);
    margin: 1rem 0;
    transition:
        font-size 0.2s,
        line-height 0.2s;
}
h4 {
    font-family: var(--font-sans);
    font-size: var(--font-size-h4);
    line-height: var(--line-height-h4);
    font-weight: var(--font-weight-h4);
    letter-spacing: var(--letter-spacing-h4);
    margin: 0.75rem 0;
    transition:
        font-size 0.2s,
        line-height 0.2s;
}

/* Body text */
p {
    font-family: var(--font-sans);
    font-size: var(--font-size-p1);
    line-height: var(--line-height-p1);
    font-weight: var(--font-weight-p1);
    letter-spacing: var(--letter-spacing-p1);
    margin-bottom: 1rem;
    transition:
        font-size 0.2s,
        line-height 0.2s;
}
.p2 {
    font-family: var(--font-sans);
    font-size: var(--font-size-p2);
    line-height: var(--line-height-p2);
    font-weight: var(--font-weight-p2);
    letter-spacing: var(--letter-spacing-p2);
}
small {
    font-family: var(--font-sans);
    font-size: var(--font-size-p3);
    line-height: var(--line-height-p3);
    font-weight: var(--font-weight-p3);
    letter-spacing: var(--letter-spacing-p3);
}

strong {
    font-weight: bold;
}

/* Responsive overrides */
@media (min-width: 768px) {
    h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }
    h2 {
        font-size: 2.25rem;
        line-height: 1.3;
    }
    h3 {
        font-size: 1.5rem;
    }
    h4 {
        font-size: 1.125rem;
    }
    p {
        font-size: 1.125rem;
    }
    .p2 {
        font-size: 1rem;
    }
    small {
        font-size: 0.875rem;
    }
}

/* Form elements */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button {
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Focus styles */
*:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-green-bright);
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Lists */
ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Images */
img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ghost required classes */
.kg-width-wide {
    max-width: 1200px;
    margin: 0 auto;
}
.kg-width-full {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.kg-width-wide {
    max-width: 1200px;
    margin: 0 auto;
}
.kg-width-full {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}
