:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #18324b;
    background: #f4f7fa;
    font-synthesis: none;

    --brand-logo-image: url("/templates/stoorvogel-software/img/ss_logo_small.png");
    --brand-logo-width: 350px;
    --brand-logo-height: 70px;
    --footer-background-color: #102c44;
    --footer-background-image: linear-gradient(110deg, #102c44, #174f70);
    --footer-min-height: 58px;

    --stoorvogel-navy: #102c44;
    --stoorvogel-blue: #176b9a;
    --stoorvogel-cyan: #24a9b6;
    --stoorvogel-orange: #f09a43;
    --stoorvogel-line: #dce5ec;
    --stoorvogel-muted: #64798a;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(ellipse at 8% 0%, #e6f4f7 0, transparent 34rem),
        #f4f7fa;
}

.site-header {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px max(calc((100vw - 1160px) / 2), 24px);
    border-top: 4px solid var(--stoorvogel-cyan);
    border-bottom: 1px solid var(--stoorvogel-line);
    background: rgba(255, 255, 255, .96);
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--stoorvogel-navy);
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -.025em;
    text-decoration: none;
}

.brand-logo {
    width: var(--brand-logo-width);
    height: var(--brand-logo-height);
}

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    flex-wrap: wrap;
}

.site-header nav a,
.link-button {
    color: #31536a;
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.link-button:hover,
.link-button:focus-visible {
    color: var(--stoorvogel-blue);
}

.site-header nav span {
    color: var(--stoorvogel-muted);
    font-size: .9rem;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 38px auto 68px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 68px 32px;
    border: 1px solid #d9e9ef;
    border-radius: 18px;
    background:
        radial-gradient(circle at 87% 16%, #ffffff9c 0 7rem, transparent 7.1rem),
        linear-gradient(125deg, #e3f3f5, #f3f7fb 58%, #e8f1f7);
    text-align: center;
}

.hero::after {
    position: absolute;
    right: 8%;
    bottom: -90px;
    width: 250px;
    height: 150px;
    border: 22px solid #24a9b613;
    border-radius: 50%;
    content: "";
    transform: rotate(-24deg);
}

.hero h1 {
    max-width: 820px;
    margin: 8px auto 14px;
    color: var(--stoorvogel-navy);
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.hero p {
    max-width: 740px;
    margin: 0 auto;
    color: #4e687b;
    line-height: 1.65;
}

.eyebrow {
    color: var(--stoorvogel-blue) !important;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 17px;
    border: 1px solid var(--stoorvogel-blue);
    border-radius: 7px;
    background: var(--stoorvogel-blue);
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.button:hover,
.button:focus-visible {
    border-color: #10557f;
    background: #10557f;
}

.button:active {
    transform: translateY(1px);
}

.button.secondary {
    border-color: #cbd9e2;
    background: #fff;
    color: #28485e;
}

.button.secondary:hover,
.button.secondary:focus-visible {
    border-color: var(--stoorvogel-cyan);
    background: #f0fafb;
    color: var(--stoorvogel-navy);
}

.card {
    margin: 22px 0;
    padding: 25px;
    border: 1px solid var(--stoorvogel-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px #18324b0a;
}

.card h1,
.card h2,
.card h3 {
    margin-top: 0;
    color: var(--stoorvogel-navy);
    letter-spacing: -.025em;
}

.card form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 6px;
    color: #29475c;
    font-weight: 650;
}

input,
select,
textarea {
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #c8d6df;
    border-radius: 6px;
    background: #fff;
    color: #18324b;
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--stoorvogel-blue);
    outline: 3px solid #176b9a24;
}

small {
    color: var(--stoorvogel-muted);
    font-weight: 400;
}

.notice {
    padding: 14px 17px;
    border: 1px solid #b8dfd9;
    border-left: 4px solid var(--stoorvogel-cyan);
    border-radius: 7px;
    background: #eaf7f5;
    color: #205b59;
    overflow-wrap: anywhere;
}

.form-error:not(:empty) {
    color: #a23a39;
}

.inline {
    display: inline;
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

.filters,
.stats,
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.filters {
    margin: 20px 0;
}

.stats {
    margin: 20px 0;
}

.stats > div {
    flex: 1 1 150px;
    min-width: 130px;
    padding: 18px;
    border: 1px solid var(--stoorvogel-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px #18324b08;
}

.stats strong,
.stats span {
    display: block;
}

.stats strong {
    color: var(--stoorvogel-navy);
    font-size: 1.45rem;
}

.stats span {
    color: var(--stoorvogel-muted);
}

.stats .storage-stat {
    position: relative;
    padding-right: 150px;
}

.stats .storage-quota {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    color: #718493;
    font-size: .72rem;
    line-height: 1.35;
    text-align: right;
}

.stats .storage-quota span {
    color: inherit;
    font-size: inherit;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--stoorvogel-line);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    text-align: left;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid #e7edf1;
}

th {
    background: #eff5f8;
    color: #28485e;
    font-size: .86rem;
    font-weight: 750;
}

tbody tr:hover {
    background: #f5fafb;
}

td {
    color: #385366;
}

a {
    color: var(--stoorvogel-blue);
}

a:hover,
a:focus-visible {
    color: #0d537e;
}

.danger {
    padding: 7px 11px;
    border: 1px solid #c9534d;
    border-radius: 6px;
    background: #c9534d;
    color: #fff;
    cursor: pointer;
}

.admin-tabs {
    border-color: var(--stoorvogel-line);
}

.admin-tab {
    color: #385366;
}

.admin-tab[aria-selected="true"] {
    border-color: var(--stoorvogel-line);
    background: #fff;
    color: var(--stoorvogel-blue);
}

.admin-tab:focus-visible {
    outline-color: #24a9b655;
}

.delivery-terms-text {
    border-color: var(--stoorvogel-line);
    border-radius: 7px;
}

.narrow {
    max-width: 540px;
    margin: 42px auto;
}

footer.site-footer {
    display: flex;
    min-height: var(--footer-min-height);
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    color: #e3eff5;
    text-align: center;
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 14px 20px;
    }

    .site-header nav {
        justify-content: flex-start;
        gap: 14px;
    }

    .container {
        width: calc(100% - 28px);
        margin-top: 24px;
    }

    .hero {
        padding: 48px 20px;
    }

    .card {
        padding: 19px;
    }

    .stats .storage-stat {
        padding-top: 60px;
        padding-right: 18px;
    }

    .stats .storage-quota {
        right: 18px;
        left: 18px;
        align-items: flex-end;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 205px;
        height: 40px;
    }

    .site-header nav {
        gap: 10px 14px;
    }

    .hero {
        padding: 40px 16px;
        border-radius: 12px;
    }

    .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .stats > div {
        flex-basis: calc(50% - 8px);
    }
}
