:root {
    --ff-heading: "Raleway", sans-serif;
    --ff-heading-line-height: 1.1;

    --ff-base: system-ui;
    --ff-base-line-height: 1.6;

    --ff-code: "JetBrains Mono", monospace;
    --body-max-width: 75ch;
}

html {
    font-family: var(--ff-base);
    font-optical-sizing: auto;
}

body {
    font-weight: 400;
}

h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: var(--font-family-heading-line-height);
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
    font-family: var(--font-family-heading);
}

p,
li,
figcaption {
    max-width: var(--body-max-width);
    text-wrap: pretty;
}

code {
    font-family: var(--font-family-code);
}

h1 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 0.5em;
}

h2,
h3 {
    font-weight: 500;
    margin-bottom: 0.5em;
}


button {
    font-family: var(--ff-system);
}

.page_wrapper {
    padding: 1em;
    margin: auto;
    max-width: 800px;


    flex-basis: auto;
}

/* Basic button reset */
.action-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid var(--color-gray-700);
    border-radius: 4px;
    background-color: var(--color-gray-50);
    color: var(--color-gray-900);
    fill: var(--color-gray-900);
    font-size: 0.9rem;
    font-weight: 300;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.25s ease, box-shadow 0.15s ease color 0.15s ease;

    outline: none;
}

.action-button.quiet {
    border: none;
    font-weight: 200;
}


/* Hover effect */
.action-button:hover {
    background-color: var(--color-gray-200);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    /* Subtle shadow on hover */
}

/* Focus effect */
.action-button:focus {
    border-color: var(--color-blue-900);
    /* Blue border on focus */
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.5);
    /* Light blue focus ring */
}

/* Active effect */
.action-button:active {
    background-color: var(--color-gray-300);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    /* Slightly smaller shadow */
}

/* Disabled state */
.action-button:disabled {
    background-color: var(--color-gray-200);
    color: var(--color-gray-600);
    cursor: not-allowed;
    box-shadow: none;
}

/* Optional icon styling */
.action-button .icon {
    margin-right: 0.5rem;
    /* Space between icon and text */
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    /* Makes icon color inherit from text */
}

.site_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1em;

    font-family: var(--ff-heading);
}

.site_header-home-link {
    display: flex;
    gap: 0.25em;
}

.site_header-link {
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    fill: var(--color-gray-900);
    color: var(--color-gray-900);
}

.site_header-link:visited {
    color: var(--color-gray-900);
}

.site_header-link:hover {
    color: var(--color-accent);
    fill: var(--color-accent)
}

code {
    background-color: var(--color-code-background);
    color: var(--color-text);
}