:root {
    color-scheme: light dark;

    --primary-color: #0077b6;
    --secondary-color: #00b4d8;
    --primary-dark: #023e8a;
    --accent-color: #90e0ef;
    --light-color: #caf0f8;
    --dark-color: #03045e;

    --text-color: #333;
    --text-color: light-dark(#333, #dbe6ee);

    --heading-color: #023e8a;
    --heading-color: light-dark(#023e8a, #7fc9e8);

    --warm-color: #c2410c;
    --warm-color: light-dark(#c2410c, #f97316);
    --warm-dark: #9a3412;
    --warm-dark: light-dark(#9a3412, #fb8b3d);
    --button-text: white;
    --button-text: light-dark(white, #1a0f06);

    --background-color: #f8f9fa;
    --background-color: light-dark(#f8f9fa, #0b1a26);
    --surface-color: white;
    --surface-color: light-dark(white, #16304a);
    --chrome-color: #0077b6;
    --chrome-color: light-dark(#0077b6, #072439);
    --footer-color: var(--chrome-color);

    --link-color: var(--primary-color);
    --link-color: light-dark(#0077b6, #6fc3e8);
    --link-hover: var(--primary-dark);
    --link-hover: light-dark(#023e8a, #a8ddf3);
    --nav-hover-color: var(--primary-dark);
    --nav-hover-color: light-dark(#023e8a, rgba(255, 255, 255, 0.14));

    --table-head-bg: var(--light-color);
    --table-head-bg: light-dark(#caf0f8, #24506f);
    --table-head-color: var(--dark-color);
    --table-head-color: light-dark(#03045e, #d6ecf7);
    --border-color: #ddd;
    --border-color: light-dark(#ddd, rgba(255, 255, 255, 0.14));
    --row-hover-color: #f5f5f5;
    --row-hover-color: light-dark(#f5f5f5, rgba(255, 255, 255, 0.05));
    --drawer-rule: rgba(255, 255, 255, 0.22);
    --focus-color: var(--dark-color);
    --focus-color: light-dark(#03045e, #90e0ef);
    --card-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    --card-shadow: light-dark(0 2px 15px rgba(0, 0, 0, 0.05),
                              0 2px 15px rgba(0, 0, 0, 0.35));

    --hero-scrim-low: rgb(2 62 138 / 0.8);
    --hero-scrim-low: light-dark(rgb(2 62 138 / 0.8), rgb(5 24 38 / 0.86));
    --hero-scrim-mid: rgb(2 62 138 / 0.58);
    --hero-scrim-mid: light-dark(rgb(2 62 138 / 0.58), rgb(5 24 38 / 0.68));
    --hero-scrim-high: rgb(2 62 138 / 0.34);
    --hero-scrim-high: light-dark(rgb(2 62 138 / 0.34), rgb(5 24 38 / 0.5));

    --measure: 38rem;
    --section-padding: 2rem;
    --container-padding: 1.25rem;

    --header-height: 145px;
    --wave-height: 20px;

    --wave-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 156' preserveAspectRatio='none'%3E%3Cpath d='M0,46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47' fill='none' stroke='%2300b4d8' stroke-width='72'/%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%230077b6'/%3E%3C/svg%3E");
    --wave-svg: light-dark(url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 156' preserveAspectRatio='none'%3E%3Cpath d='M0,46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47' fill='none' stroke='%2300b4d8' stroke-width='72'/%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%230077b6'/%3E%3C/svg%3E"),
                           url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 156' preserveAspectRatio='none'%3E%3Cpath d='M0,46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47' fill='none' stroke='%2300b4d8' stroke-width='72'/%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23072439'/%3E%3C/svg%3E"));

    --wave-svg-page: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 156' preserveAspectRatio='none'%3E%3Cpath d='M0,46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47' fill='none' stroke='%2300b4d8' stroke-width='72'/%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23f8f9fa'/%3E%3C/svg%3E");
    --wave-svg-page: light-dark(url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 156' preserveAspectRatio='none'%3E%3Cpath d='M0,46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47' fill='none' stroke='%2300b4d8' stroke-width='72'/%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23f8f9fa'/%3E%3C/svg%3E"),
                                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 156' preserveAspectRatio='none'%3E%3Cpath d='M0,46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47' fill='none' stroke='%2300b4d8' stroke-width='72'/%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%230b1a26'/%3E%3C/svg%3E"));

    --wave-total: calc(var(--wave-height) * 1.3);

    --nav-wave-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 19.97' preserveAspectRatio='none'%3E%3Cpath d='M0.0,9.9L3.2,8.0L6.5,5.3L9.7,3.4L12.9,2.3L16.1,1.4L19.4,0.7L22.6,0.2L25.8,0.0L29.0,0.0L32.3,0.3L35.5,0.8L38.7,1.6L41.9,2.6L45.2,3.8L48.4,5.2L51.6,6.7L54.8,8.2L58.1,9.6L61.3,10.6L64.5,11.1L67.7,11.4L71.0,11.3L74.2,10.8L77.4,10.0L80.6,9.0L83.9,7.7L87.1,6.3L90.3,4.7L93.5,4.0L96.8,4.8L100.0,5.9L100.0,5.9L96.8,8.2L93.5,11.6L90.3,14.1L87.1,15.7L83.9,16.9L80.6,18.0L77.4,18.7L74.2,19.3L71.0,19.8L67.7,20.0L64.5,19.6L61.3,18.9L58.1,18.1L54.8,17.0L51.6,15.7L48.4,14.2L45.2,12.6L41.9,10.9L38.7,9.2L35.5,7.7L32.3,6.5L29.0,5.6L25.8,5.2L22.6,5.1L19.4,5.4L16.1,6.0L12.9,7.0L9.7,8.5L6.5,9.9L3.2,10.3L0.0,9.9Z' fill='%2390e0ef'/%3E%3C/svg%3E");
}

:root[data-theme="light"] {
    color-scheme: light;
}

:root[data-theme="dark"] {
    color-scheme: dark;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 2000;
    background-color: white;
    color: var(--dark-color);
    padding: 12px 20px;
    border-radius: 0 0 4px 4px;
    font-weight: bold;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

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

header :focus-visible,
footer :focus-visible,
.skip-link:focus-visible {
    outline-color: white;
}

main:focus {
    outline: none;
}

main.has-hero {
    padding-top: var(--header-height);
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

main .container {
    max-width: calc(var(--measure) + 2 * var(--section-padding) + 2 * var(--container-padding));
}

header {
    background-color: var(--chrome-color);
    color: white;
    padding: 14px 0 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header::after {
    content: "";
    position: absolute;
    bottom: calc(-1 * var(--wave-total));
    left: 0;
    width: 100%;
    height: var(--wave-total);
    background-image: var(--wave-svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 10;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 140px;
    height: auto;
    display: block;
}

header .container {
    display: flex;
    align-items: center;
    gap: 0.5rem 1.5rem;
    flex-wrap: wrap;
}

@media (min-width: 769px) {
    .header-top {
        margin-bottom: 0;
    }

    .main-nav {
        margin-left: auto;
    }

    .main-nav ul {
        justify-content: flex-end;
    }
}

.theme-toggle {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.theme-toggle[hidden] {
    display: none;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    background-color: var(--nav-hover-color);
}

.theme-icon {
    flex: none;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask: var(--theme-icon) center / contain no-repeat;
    mask: var(--theme-icon) center / contain no-repeat;
}

.theme-toggle[data-icon="moon"] {
    --theme-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79Z'/%3E%3C/svg%3E");
}

.theme-toggle[data-icon="sun"] {
    --theme-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.6'/%3E%3Cg stroke='black' stroke-width='2.1' stroke-linecap='round'%3E%3Cpath d='M12 1.6v2.7M12 19.7v2.7M1.6 12h2.7M19.7 12h2.7M4.6 4.6l1.9 1.9M17.5 17.5l1.9 1.9M19.4 4.6l-1.9 1.9M6.5 17.5l-1.9 1.9'/%3E%3C/g%3E%3C/svg%3E");
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    position: relative;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px 13px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background-color: var(--nav-hover-color);
    color: white;
    text-decoration: none;
}

.main-nav a.is-current::after {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 1px;
    height: 12px;
    background-image: var(--nav-wave-svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

@media (min-width: 769px) and (max-width: 1023px) {
    header .container {
        gap: 0.5rem 1rem;
    }

    .main-nav ul {
        gap: 0.4rem 1rem;
    }

    .main-nav a {
        padding: 5px 8px 13px;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hero {
    position: relative;
    overflow: hidden;
    height: clamp(180px, 26vw, 320px);
    margin-bottom: 2rem;
    background-color: var(--primary-dark);
    display: flex;
    align-items: flex-end;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(to top,
        var(--hero-scrim-low) 0%,
        var(--hero-scrim-mid) 45%,
        var(--hero-scrim-high) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 100%;
    height: var(--wave-total);
    background-image: var(--wave-svg-page);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: scaleY(-1);
}

.hero-text h1 {
    color: white;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    margin: 0 0 0.3rem;
}

.hero-text p {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: normal;
}

.hero-text {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: calc(var(--measure) + 2 * var(--section-padding) + 2 * var(--container-padding));
    margin: 0 auto;
    padding: 0 calc(var(--container-padding) + var(--section-padding))
             calc(var(--wave-total) + 0.5rem);
    color: white;
    font-weight: bold;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

main {
    padding: calc(var(--header-height) + var(--wave-height) + 1.5rem) 0 2.5rem;
    position: relative;
    z-index: 0;
}

.section {
    margin-bottom: 2rem;
    background-color: var(--surface-color);
    border-radius: 8px;
    padding: var(--section-padding);
    box-shadow: var(--card-shadow);
    scroll-margin-top: calc(var(--header-height) + var(--wave-height) + 1rem);
}

.section:last-child {
    margin-bottom: 0;
}

.section img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    color: var(--heading-color);
    line-height: 1.25;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.8rem;
    margin: 0 0 1rem;
}

h3 {
    font-size: 1.35rem;
    margin: 2rem 0 0.5rem;
}

h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.35rem;
}

.section > h1,
.section > h2 {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.4rem;
}

.section > :first-child {
    margin-top: 0;
}

p {
    margin-bottom: 20px;
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.section a:not(.button) {
    text-decoration: underline;
}

.button {
    display: inline-block;
    background-color: var(--warm-color);
    color: var(--button-text);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.button:hover {
    background-color: var(--warm-dark);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--button-text);
}

.table-scroll {
    overflow-x: auto;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.table-scroll table {
    margin-bottom: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--table-head-bg);
    color: var(--table-head-color);
}

tr:hover {
    background-color: var(--row-hover-color);
}

footer {
    background-color: var(--footer-color);
    color: white;
    padding: 40px 0;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: calc(-1 * var(--wave-total));
    left: 0;
    width: 100%;
    height: var(--wave-total);
    background-image: var(--wave-svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-section h2 {
    color: white;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    margin-top: 16px;
    margin-bottom: 4px;
}

.footer-section a {
    color: white;
    text-decoration: underline;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

@media (max-width: 768px) {
    :root {
        --header-height: 84px;
        --section-padding: 1.25rem;
    }

    .logo {
        max-width: 130px;
        transition: max-width 0.3s ease, margin 0.3s ease;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .footer-section {
        flex: 100%;
    }

    header {
        position: fixed;
        top: 0;
        z-index: 1000;
        width: 100%;
    }

    header.scrolled {
        padding: 10px 0;
        --wave-height: 15px;
    }

    footer {
        --wave-height: 15px;
    }

    .header-top {
        flex: 1;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
        order: 1;
    }

    .logo-container {
        order: 3;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--chrome-color);
        padding: 80px 20px 20px;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    }

    .main-nav {
        flex-direction: column;
        gap: 1.25rem;
    }

    .main-nav .theme-toggle {
        width: 100%;
        height: auto;
        gap: 0.6rem;
        padding: 12px 15px;
        border-radius: 4px;
        font: inherit;
        font-size: 1rem;
        font-weight: bold;
        text-align: left;
        border-top: 1px solid var(--drawer-rule);
    }

    .main-nav .theme-toggle .visually-hidden {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }

    .main-nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-nav li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 12px 15px 18px;
        font-size: 1.5rem;
    }

    .main-nav a.is-current::after {
        left: 18%;
        right: 18%;
        bottom: 4px;
        height: 15px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .header-top {
        justify-content: space-between;
    }

    .logo-container {
        max-width: 80px;
    }

    .logo {
        max-width: 100%;
    }

    .menu-toggle {
        transform: scale(0.8);
    }

    header,
    footer {
        --wave-height: 10px;
    }

    header.scrolled {
        --wave-height: 8px;
    }

    header.scrolled .header-top {
        justify-content: space-between;
    }

    :root {
        --section-padding: 1rem;
    }

    .button {
        display: block;
        text-align: center;
    }
}

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