/*
 * NBHFIX base styles
 * Element defaults only.
 */

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

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100%;
    font-family: var(--font-copy);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text);
    background: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-copy);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: 0;
    color: var(--color-navy);
}

h1 {
    font-size: var(--text-3xl);
}

h2 {
    font-size: var(--text-2xl);
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-3);
    line-height: var(--leading-relaxed);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--color-navy);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

a:hover {
    color: var(--color-gold-2);
}

ul,
ol {
    margin: 0 0 var(--space-4);
    padding-left: var(--space-5);
}

li {
    margin-bottom: var(--space-2);
    line-height: var(--leading-relaxed);
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: var(--space-3);
    border: var(--border-width) solid var(--color-border-soft);
    text-align: left;
    vertical-align: top;
}

th {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 700;
    background: var(--color-navy);
    color: var(--color-cream);
}

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

button,
input,
select,
textarea {
    min-height: 44px;
}

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

[hidden] {
    display: none !important;
}
