*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 16px;
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
}
body {
font-family: var(--font-family-sans);
font-size: var(--font-size-base);
line-height: var(--line-height-normal);
color: var(--color-text-main);
background-color: var(--color-bg);
min-height: 100vh;
display: flex;
flex-direction: column;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
:focus-visible {
outline: 2px solid var(--color-accent-500);
outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
outline: 2px solid var(--color-accent-500);
outline-offset: 3px;
}
.skip-link {
position: absolute;
top: -9999px;
left: 1rem;
background-color: var(--color-primary-900);
color: var(--color-text-inverse);
padding: var(--space-3) var(--space-5);
font-weight: var(--font-weight-semibold);
font-size: var(--font-size-sm);
border-radius: var(--radius-md);
z-index: 9999;
text-decoration: none;
box-shadow: var(--shadow-lg);
transition: top var(--transition-fast);
}
.skip-link:focus {
top: 1rem;
}
.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;
}
h1, h2, h3, h4, h5, h6 {
color: var(--color-primary-900);
font-weight: var(--font-weight-bold);
line-height: var(--line-height-tight);
}
h1 {
font-size: var(--font-size-3xl);
margin-bottom: var(--space-4);
}
@media (min-width: 768px) {
h1 {
font-size: var(--font-size-4xl);
}
}
h2 {
font-size: var(--font-size-2xl);
margin-bottom: var(--space-3);
}
@media (min-width: 768px) {
h2 {
font-size: var(--font-size-3xl);
}
}
h3 {
font-size: var(--font-size-xl);
margin-bottom: var(--space-2);
}
p {
margin-bottom: var(--space-4);
color: var(--color-text-muted);
}
p:last-child {
margin-bottom: 0;
}
a {
color: var(--color-accent-600);
text-decoration: none;
transition: color var(--transition-fast);
}
a:hover {
color: var(--color-accent-500);
text-decoration: underline;
}
ul, ol {
padding-left: var(--space-6);
margin-bottom: var(--space-4);
}
li {
margin-bottom: var(--space-1);
}
img, svg {
display: block;
max-width: 100%;
height: auto;
}
button, input, select, textarea {
font: inherit;
color: inherit;
}
hr {
border: 0;
border-top: 1px solid var(--color-border);
margin: var(--space-6) 0;
}
