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

:root {
    --bg: #0f1420;
    --surface: #161d2e;
    --primary: #1e9e4a;
    --primary-dark: #157a39;
    --accent: #ffd400;
    --text: #e8ecf3;
    --text-muted: #a9b2c3;
    --white: #fff;
    --radius: 12px;
    --shadow: 0 8px 30px rgba(0, 0, 0, .18);
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, .10)
}

html {
    scroll-behavior: smooth
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    color: #1c2230;
    background: #f4f6fb;
    -webkit-font-smoothing: antialiased
}

body.no-scroll {
    overflow: hidden
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}


/* TABLES */

table {
    display: block;
    max-width: fit-content;
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    margin: 10px auto 20px;
    border-collapse: collapse;
    border-radius: 18px;
    background: #f1fbf4;
    border: 1px solid rgba(30, 158, 74, .24);
    box-shadow: 0 18px 42px rgba(30, 158, 74, .17), inset 0 1px 0 rgba(255, 255, 255, .9);
    scrollbar-width: thin;
    scrollbar-color: #1e9e4a #d9f2e1;
}

table tbody {
    display: block;
    width: fit-content;
    min-width: max-content;
    background: #f1fbf4;
}

table tr {
    display: flex;
    width: fit-content;
    min-width: max-content;
    background: linear-gradient(90deg, #ffffff 0%, #f7fcf8 100%);
    transition: .25s ease;
}

table tr:nth-child(even) {
    background: linear-gradient(90deg, #eaf8ee 0%, #f6fcf8 100%);
}

table tr:hover {
    background: linear-gradient(90deg, rgba(30, 158, 74, .15) 0%, rgba(30, 158, 74, .05) 100%);
    box-shadow: inset 5px 0 0 #1e9e4a, inset 0 1px 0 rgba(255, 255, 255, .7);
}

table th,
table td {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
    box-sizing: border-box;
    padding: 16px 19px;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    word-break: break-word;
    border-right: 1px solid rgba(30, 158, 74, .16);
    border-bottom: 1px solid rgba(30, 158, 74, .13);
}

table th {
    background: linear-gradient(145deg, #32bd64 0%, #1e9e4a 48%, #126d33 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: .25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -14px 24px rgba(5, 79, 31, .18);
}

table td {
    color: #164426;
    background: transparent;
}

table th:last-child,
table td:last-child {
    border-right: 0;
}

table tr:last-child td {
    border-bottom: 0;
}

table::-webkit-scrollbar {
    height: 11px;
}

table::-webkit-scrollbar-track {
    background: #d9f2e1;
    border-radius: 999px;
    box-shadow: inset 0 1px 3px rgba(30, 158, 74, .12);
}

table::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #45c974 0%, #1e9e4a 52%, #126d33 100%);
    border: 2px solid #d9f2e1;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(30, 158, 74, .24);
}

table::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #54d582 0%, #22ad51 50%, #0f5d2a 100%);
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    box-shadow: var(--shadow-soft)
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffc000;
    letter-spacing: -.5px
}

.logo span {
    color: var(--primary)
}

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

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: flex-end
}

.nav-list>li {
    position: relative
}

.nav-list>li>a {
    display: inline-block;
    padding: 8px 12px;
    color: var(--text);
    font-size: .92rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background .25s, color .25s
}

.nav-list>li>a:hover {
    background: rgba(30, 158, 74, .18);
    color: var(--white)
}

.nav-list li ul {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s;
    z-index: 120
}

.nav-list li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.nav-list li ul li a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: .88rem;
    transition: .2s
}

.nav-list li ul li a:hover {
    background: rgba(30, 158, 74, .2);
    color: var(--white)
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px
}

.burger span {
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: .3s
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 90
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible
}


/* HERO */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0f1420 0%, #153a24 100%);
    overflow: hidden
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(30, 158, 74, .28), transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    max-width: 820px
}

.hero h1 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 32px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .4)
}


/* CTA */

.cta-btn {
    display: flex;
    width: fit-content;
    background: linear-gradient(135deg, var(--accent), #ffb800);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 44px;
    border-radius: 50px;
    box-shadow: 0 10px 26px rgba(255, 184, 0, .4);
    transition: transform .25s, box-shadow .25s, filter .25s;
    letter-spacing: .3px
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 34px rgba(255, 184, 0, .55);
    filter: brightness(1.05)
}

.hero-cta {
    font-size: 1.2rem;
    padding: 18px 56px;
    margin: 15px auto 20px !important;
}

.burger {
    position: relative;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger::before,
.burger::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.burger::before {
    top: 12px;
}

.burger::after {
    bottom: 12px;
}

.burger {
    background-image: linear-gradient(#ffffff, #ffffff);
    background-size: calc(100% - 16px) 2px;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-wrap {
    text-align: center;
    margin: 48px 0 20px
}


/* CONTENT */

.content-section {
    padding: 64px 0
}

.content-section .container>* {
    margin-bottom: 22px
}

.content-section h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #111827;
    margin: 12px 0 20px;
    text-align: center
}

.content-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin: 28px 0 14px
}

.content-section p {
    color: #3d4657;
    line-height: 1.7;
    font-size: 1.02rem
}

.content-section ul,
.content-section ol {
    padding-left: 24px;
    color: #3d4657;
    line-height: 1.7
}

.content-section li {
    margin-bottom: 8px
}

.content-section img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin: 12px 0
}

.content-section a {
    color: var(--primary-dark);
    font-weight: 600
}

nav.main-nav a.active {
    text-decoration: underline !important;
    font-weight: 700;
}

.content-section a:hover {
    text-decoration: underline
}


/* FOOTER */

.site-footer {
    background: var(--bg);
    color: var(--text-muted);
    text-align: center;
    padding: 32px 0
}

.site-footer p {
    font-size: .9rem
}


/* FOCUS */

a:focus-visible,
button:focus-visible,
.cta-btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px
}


/* RESPONSIVE */

@media(max-width:767px) {
    .burger {
        display: flex;
        z-index: 130
    }
    .nav-list {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 78%;
        max-width: 320px;
        background: var(--surface);
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 80px 10px 30px;
        transform: translateX(105%);
        transition: transform .35s ease;
        overflow-y: auto;
        z-index: 110;
        box-shadow: -6px 0 30px rgba(0, 0, 0, .4)
    }
    .nav-list.active {
        transform: translateX(0)
    }
    .nav-list>li {
        width: 100%
    }
    .nav-list>li>a {
        padding: 14px 12px;
        border-radius: 8px
    }
    .nav-list li ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, .2);
        max-height: 0;
        overflow: hidden;
        padding: 0 8px;
        transition: max-height .3s
    }
    .nav-list li.open>ul {
        max-height: 500px;
        padding: 6px 8px
    }
    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg)
    }
    .burger.active span:nth-child(2) {
        opacity: 0
    }
    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg)
    }
}

@media(min-width:768px) {
    .hero h1 {
        font-size: 3rem
    }
    .content-section h2 {
        font-size: 2rem
    }
}

@media(min-width:1024px) {
    .hero h1 {
        font-size: 3.6rem
    }
    .hero {
        min-height: 85vh
    }
}