@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
    --clean: #FCFDFF;
    --calm-white: #FFFFFFD9;
    --light-lavanda: #EDE5F1;
    --white-80: #ffffffca;
    --white-65: #ffffffa6;
    --white-50: #ffffff80;
    --air: #EFF5FE;
    --rain: #eef1f588;
    --cloud: #C6CDD7;
    --steel: #A0ABBD;
    --asphalt: #8C96A7;
    --slate: #52617A;
    --abyss: #122648;
    --abyss-80: #122648cc;
    --darker-opacity-light: #1616160c; 
    --darker-opacity-medium: #16161612;
    --darker-opacity-half-dark: #1616163c;
    --darker-opacity-dark: #1616163c; 
    --mint: #05B77D;
    --apricot: #E0944E;
    --fog: #B1C7EC;
    --sky: #3676CA;
    --royal: #225EAD;
    --lilac: #8F52C5;
    --brand-blue-50: #EFF5FE;
    --brand-blue-100: #E5EEFB;
    --brand-blue-200: #C9DCF5;
    --brand-blue-300: #A4C3EE;
    --brand-blue-400: #7DA7E6;
    --brand-blue-500: #4F8ADF; 
    --brand-pink-50: #fefcf2;
    --brand-pink-100: #fff0f8;
    --brand-pink-200: #ffd9ed;
    --brand-pink-300: #e5639c;
    --brand-pink-500: #C24A7D;  
}
html {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body {
    background-color: hsla(214.09090909090907, 68%, 87%, 1);
    margin: 0px;
}
h1 {
    font-size: clamp(2.25rem, 5vw + 0.5rem, 4rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--abyss);
    margin: 0.25em 0 0.5em;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw + 0.5rem, 3rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--abyss);
    margin: 0.4em 0 0.5em;
}

h3 {
    font-size: clamp(1.25rem, 2vw + 0.75rem, 2rem);
    line-height: 1.25;
    letter-spacing: -0.005em;
    color: var(--abyss);
    margin: 0.4em 0 0.4em;
}

h4 {
    font-size: clamp(1.1rem, 1.5vw + 0.9rem, 2rem);
    margin: 0.35em 0 0.35em;
    color: var(--abyss);
}

h5,
h6 {
    color: var(--abyss);
}

p {
    font-size: clamp(1rem, 0.6vw + 0.8rem, 1.25rem);
    line-height: 1.65;
    color: var(--slate);
    margin: 0.75em 0;
}

ul,
ol {
    margin: 1em 0;
    padding-left: 1.25em;
}

li {
    font-size: clamp(1rem, 0.6vw + 0.8rem, 1.25rem);
    line-height: 1.65;
    color: var(--slate);
    margin: 0.5em 0;
}

a {
    color: var(--brand-blue-500);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--lilac);
}

blockquote {
    background-color: var(--brand-blue-200);
    border-left: 4px solid var(--brand-blue-500);
    margin: 1.5em 0;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    position: relative;
    font-style: italic;
}
main {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw + 0.5rem, 2rem);
    box-sizing: border-box;
}

section {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

/* Global table styles */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

th,
td {
    text-align: left;
    padding: 0.875rem 1rem;
    vertical-align: top;
    font-size: 0.975rem;
    color: var(--abyss);
}

thead th {
    background: var(--brand-blue-50);
    color: var(--abyss);
    font-weight: 700;
}

tr + tr td {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.col-context {
    width: 22%;
}

.col-before,
.col-after {
    width: 39%;
}

label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--abyss);
    margin-bottom: 0.5rem;
    display: block;
}

button {
    background-color: var(--brand-blue-500);
    color: var(--clean);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

button:hover {
    background-color: var(--royal);
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

select {
    background-color: var(--clean);
    border: 1px solid var(--rain);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--abyss);
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23374151' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.5rem;
}

select:hover {
    border-color: var(--darker-opacity-medium);
    background-color: var(--clean);
}

select:focus {
    outline: none;
    border-color: var(--darker-opacity-dark);
    box-shadow: 0 0 0 3px rgba(79, 138, 223, 0.1);
}

textarea {
    background-color: var(--clean);
    border: 1px solid var(--rain);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--abyss);
    transition: all 0.2s ease;
    resize: vertical;
    min-height: 100px;
}

textarea:hover {
    border-color: var(--darker-opacity-medium);
}

textarea:focus {
    outline: none;
    border-color: var(--darker-opacity-dark);
    box-shadow: 0 0 0 3px rgba(79, 138, 223, 0.1);
}

textarea::placeholder {
    color: var(--steel);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--rain);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--brand-blue-500);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--brand-blue-500);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        background-color: hsla(214.09090909090907, 68%, 87%, 1);
        background-image: radial-gradient(circle at 49% 81%, hsla(210, 74%, 84%, 1) 10%, transparent 54%), radial-gradient(circle at 63% 45%, hsla(307.05882352941165, 25%, 86%, 1) 13.851429516956863%, transparent 54%), radial-gradient(circle at 37% 27%, hsla(259.4117647058824, 51%, 87%, 1) 23.21692833533654%, transparent 54%);
        background-blend-mode: normal, normal, normal;
        background-size: 100vw 100vh;
        background-repeat: no-repeat;
    }
}

@media (min-width: 769px) {
    body {
        background-image: radial-gradient(circle at 49% 81%, hsla(210, 74%, 84%, 1) 10%, transparent 54%), radial-gradient(circle at 63% 45%, hsla(307.05882352941165, 25%, 86%, 1) 13.851429516956863%, transparent 54%), radial-gradient(circle at 37% 27%, hsla(259.4117647058824, 51%, 87%, 1) 23.21692833533654%, transparent 54%);
        background-blend-mode: normal, normal, normal;
        background-attachment: fixed;
        background-size: 100vw 100vh;
        background-repeat: no-repeat;
    }
}