:root {
    --s50-blue: #0153A3;
    --s50-blue-dark: #01396f;
    --s50-ink: #07111f;
    --s50-muted: #657287;
    --s50-soft: #f4f7fb;
    --s50-line: rgba(7, 17, 31, .12);
    --s50-radius: 28px;
}

body {
    margin: 0;
    color: var(--s50-ink);
    background: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

.site-nav {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    background: rgba(7, 17, 31, .72);
    backdrop-filter: blur(18px);
}

.navbar-brand img {
    width: 138px;
    height: auto;
}

.nav-link {
    color: rgba(255, 255, 255, .78) !important;
    font-weight: 650;
    font-size: .95rem;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
}

.btn-s50 {
    border: 0;
    border-radius: 999px;
    padding: .85rem 1.2rem;
    background: var(--s50-blue);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 18px 38px rgba(1, 83, 163, .25);
}

.btn-s50:hover {
    background: var(--s50-blue-dark);
    color: #ffffff;
}

.btn-outline-s50 {
    border: 1px solid rgba(7,17,31,.18);
    border-radius: 999px;
    padding: .85rem 1.2rem;
    color: var(--s50-ink);
    font-weight: 800;
    background: #ffffff;
}

.btn-outline-s50:hover {
    border-color: var(--s50-blue);
    color: var(--s50-blue);
}

.hero {
    min-height: 58vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4.5rem;
    color: #ffffff;
    background:
            radial-gradient(circle at 12% 22%, rgba(1,83,163,.48), transparent 28%),
            linear-gradient(100deg, rgba(7,17,31,.94) 0%, rgba(7,17,31,.82) 48%, rgba(7,17,31,.50) 100%),
            url('https://www.share50.no/images/sd/grass.jpg') center center / cover no-repeat;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.2rem;
    padding: .45rem .75rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.88);
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: #65d2ff;
    box-shadow: 0 0 0 6px rgba(101,210,255,.16);
}

.hero h1 {
    max-width: 850px;
    margin: 0 0 1.35rem;
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: .92;
    letter-spacing: -.065em;
    font-weight: 950;
}

.hero .lead {
    max-width: 730px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1.12rem, 2vw, 1.38rem);
    line-height: 1.55;
}

.section {
    padding: 5.5rem 0;
}

.section-soft {
    background: var(--s50-soft);
}

.section-title {
    max-width: 780px;
    margin-bottom: 2rem;
}

.section-title .kicker {
    color: var(--s50-blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 950;
    margin: .65rem 0 1rem;
}

.section-title p {
    color: var(--s50-muted);
    font-size: 1.12rem;
    line-height: 1.65;
}

.period-card {
    border: 1px solid var(--s50-line);
    border-radius: var(--s50-radius);
    background: #ffffff;
    padding: 1.1rem;
    box-shadow: 0 22px 60px rgba(7,17,31,.07);
}

.period-list {
    display: grid;
    gap: .55rem;
}

.period-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    border: 1px solid var(--s50-line);
    border-radius: 18px;
    padding: .9rem 1rem;
    background: #fff;
    text-decoration: none;
    color: var(--s50-ink);
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.period-link:hover {
    border-color: rgba(1,83,163,.35);
    color: var(--s50-blue);
}

.period-link.active {
    color: #fff;
    background: var(--s50-blue);
    border-color: var(--s50-blue);
    box-shadow: 0 16px 38px rgba(1,83,163,.24);
}

.period-link span {
    color: inherit;
    opacity: .78;
    font-size: .85rem;
    font-weight: 800;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-box {
    border: 1px solid var(--s50-line);
    border-radius: 22px;
    background: #fff;
    padding: 1rem;
}

.summary-box .label {
    color: var(--s50-muted);
    font-size: .82rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .35rem;
}

.summary-box .value {
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 950;
    letter-spacing: -.035em;
}

.table-shell {
    border: 1px solid var(--s50-line);
    border-radius: var(--s50-radius);
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(7,17,31,.08);
}

.payout-title-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--s50-line);
    background: #fff;
}

.payout-title-bar h2 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 2.05rem);
    font-weight: 950;
    letter-spacing: -.04em;
}

.payout-title-bar p {
    color: var(--s50-muted);
    margin: .25rem 0 0;
}

.table {
    margin: 0;
    vertical-align: middle;
}

.table thead th {
    color: var(--s50-muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 900;
    background: #fbfcfe;
    border-bottom-color: var(--s50-line);
    padding: 1rem 1.1rem;
    white-space: nowrap;
}

.table tbody td {
    padding: 1rem 1.1rem;
    border-color: var(--s50-line);
}

.org-cell {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 260px;
}

.org-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
    background: #eef2f7;
    border: 1px solid rgba(7,17,31,.12);
    flex: 0 0 auto;
}

.org-name {
    font-weight: 900;
    line-height: 1.2;
}

.org-meta {
    color: var(--s50-muted);
    font-size: .86rem;
    margin-top: .2rem;
}

.amount {
    font-weight: 950;
    white-space: nowrap;
}

.term-note {
    display: block;
    margin-top: .3rem;
    color: var(--s50-muted);
    font-size: .78rem;
    line-height: 1.35;
    max-width: 210px;
}

.empty-state {
    border: 1px solid var(--s50-line);
    border-radius: var(--s50-radius);
    padding: 2rem;
    background: #fff;
    color: var(--s50-muted);
}

.small-cta {
    border-radius: var(--s50-radius);
    background: var(--s50-ink);
    color: #ffffff;
    padding: clamp(1.5rem, 4vw, 2.6rem);
    box-shadow: 0 28px 80px rgba(7,17,31,.16);
}

.small-cta h2 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 1;
    letter-spacing: -.045em;
    font-weight: 950;
    margin-bottom: .75rem;
}

.small-cta p {
    max-width: 680px;
    color: rgba(255,255,255,.76);
    line-height: 1.65;
    margin-bottom: 0;
}

.site-footer {
    padding: 3.5rem 0;
    color: rgba(255, 255, 255, .76);
    background: #07111f;
}

.site-footer-logo {
    width: 145px;
    height: auto;
}

.site-footer p {
    color: rgba(255, 255, 255, .76);
    line-height: 1.65;
    margin-bottom: 0;
}

.site-footer h3 {
    margin-bottom: 1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    font-weight: 700;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer hr {
    opacity: 1;
}

@media (max-width: 991px) {
    .site-nav {
        position: sticky;
    }

    .hero {
        min-height: auto;
        padding: 5rem 0 4rem;
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .payout-title-bar {
        display: block;
    }
}

@media (max-width: 767px) {
    .table-shell {
        border-radius: 22px;
    }

    .table-responsive {
        border: 0;
    }

    .org-cell {
        min-width: 220px;
    }
}