@import url("./pico.min.fbc9a63f.css");

/* Custom overrides */
:root {
    /* Brand color palette */
    --color-primary: #154D71;
    --color-secondary: #1C6EA4;
    --color-tertiary: #33A1E0;
    --color-accent: #FFF9AF;
    --pico-primary: var(--color-primary);
    --pico-primary-hover: var(--color-secondary);
}

[x-cloak] {
    display: none !important;
}

body {
    --brand-color: var(--color-primary);

    color: #1a1a1a;
    background-color: #fff;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px dashed var(--brand-color);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    background: var(--brand-color);
    color: #fff;
    padding: 0.5rem 1rem;
}

.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Site header styling */
.site-header {
    background-color: var(--brand-color);
    color: #fff;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
}

.site-header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-header a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.site-header .active {
    color: var(--color-accent);
    text-decoration: underline;
}

.site-header .brand {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Highlights */
.highlights {
    padding: 2rem 0;
    text-align: center;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.highlights-list li {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.site-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.site-header a:hover,
.site-header a:focus {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #e0f7fa, #fff);
}

.hero figure {
    max-width: 600px;
    margin: 0;
    justify-self: center;
}


.hero .btn {
    margin: 0 0.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 2rem;
}

.hero-copy {
    text-align: left;
}

@media (width <= 600px) {
    .hero-copy {
        text-align: center;
    }
}

.faq-item + .faq-item {
    margin-top: 1rem;
}

.icon {
    width: 1rem;
    height: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
}

.feature-item figure {
    margin: 0 0 1rem;
}

.feature-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Site footer styling */
.site-footer {
    background-color: var(--brand-color);
    color: #fff;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* stylelint-disable-next-line no-descending-specificity */
.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--color-accent);
    text-decoration: underline;
}

.site-footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.site-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.site-footer .footer-copy {
    text-align: center;
    font-size: 0.875rem;
}
