
:root {
    --purple: #624788;
    --purple-dark: #4d376d;
    --purple-light: #8064a3;

    --gold: #dd9707;
    --gold-dark: #b97800;
    --gold-light: #f2bd45;
    --gold-deep: #976704;

    --ink: #211b28;
    --ink-soft: #3c3445;
    --slate: #625b68;

    --paper: #f8f6fa;
    --surface: #ffffff;
    --line: #ddd7e3;

    --accent: var(--purple);
    --accent-dark: var(--purple-dark);
    --accent-light: var(--purple-light);

    --fs-900: clamp(2.5rem, 1.6rem + 4.2vw, 4.25rem);
    --fs-700: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
    --fs-600: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
    --fs-500: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
    --fs-400: 1.0625rem;
    --fs-300: 0.9375rem;

    --wrap: 72rem;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-y: clamp(3.5rem, 9vw, 7rem);
    --radius: 4px;

    --font-family-base: "Asap", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --heading: var(--purple-dark);
    --on-accent: #211b28;

    --hero-accent-rgb: 98, 71, 136;
    --hero-accent-2-rgb: 151, 103, 4;
    --hero-heading: #ffffff;
}


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

body,
h1, h2, h3, h4,
p,
ul,
figure {
    margin: 0;
}

ul[class] {
    padding: 0;
    list-style: none;
}

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

a {
    color: inherit;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-family-base);
    font-size: var(--fs-400);
    line-height: 1.6;
    font-synthesis-weight: none;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    color: var(--heading);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 {
    font-size: var(--fs-900);
    font-weight: 700;
}

h2 {
    font-size: var(--fs-700);
    font-weight: 700;
}

h3 {
    font-size: var(--fs-600);
    font-weight: 600;
}

p {
    max-width: 68ch;
}

strong {
    font-weight: 700;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

.section h2 {
    text-align: center;
}

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

.skip-link {
    position: absolute;
    top: 0;
    left: var(--gutter);
    z-index: 10;
    padding: 0.75rem 1.25rem;
    background: var(--ink);
    color: var(--paper);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-120%);
}

.skip-link:focus-visible {
    transform: translateY(0);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding-inline: 1.75rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: var(--fs-400);
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.btn--primary {
    background: var(--purple);
    color: #ffffff;
}

.btn--primary:hover {
    background: var(--purple-dark);
}

.btn--secondary {
    border-color: var(--gold);
    color: var(--heading);
}

.btn--secondary:hover {
    background: var(--gold);
    color: var(--on-accent);
}

/*@media (prefers-reduced-motion: reduce) {*/
/*    *,*/
/*    *::before,*/
/*    *::after {*/
/*        scroll-behavior: auto !important;*/
/*        transition-duration: 0.01ms !important;*/
/*        animation-duration: 0.01ms !important;*/
/*        animation-iteration-count: 1 !important;*/
/*    }*/
/*}*/