:root {
    --color-bg: #f6f8fa;
    --color-bg-card: #ffffff;
    --color-bg-alt: #f0f4f9;
    --color-header: hsl(35, 100%, 25%);
    --color-footer: #433820;
    --color-primary: #e36516;
    --color-primary-hover: #af4300;
    --color-shadow: rgba(30, 42, 80, 0.11);
    --color-border: #e3e6ea;
    --color-text: #1a2233;
    --color-text-light: #887464;
    --color-menu-link: #e2e6ea;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-card: 0 4px 24px var(--color-shadow);
    --shadow-header: 0 2px 12px rgba(30, 42, 80, .10);
    --shadow-nav: 0 8px 32px rgba(30, 42, 80, .20);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background: var(--color-bg);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
}

.boxed-layout {
    margin-top: 112px;
    margin-bottom: 38px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

main.site-main img {
    width: 100%;
    border-radius: 20px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-header);
    box-shadow: var(--shadow-header);
    z-index: 1002;
    height: 72px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    height: 40px;
    width: auto;
    display: block;
}

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

.menu-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list li {
    position: relative;
}

.menu-list a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.17s, color 0.17s, box-shadow 0.2s;
    outline: none;
    display: inline-block;
}

.menu-list a:focus-visible {
    box-shadow: 0 0 0 2px var(--color-primary);
    background: var(--color-primary-hover);
}

.menu-list a:hover,
.menu-list li:hover>a,
.menu-list li a.active {
    background: var(--color-primary);
    color: #fff;
}

.menu-list li ul {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: var(--color-bg-card);
    min-width: 180px;
    box-shadow: var(--shadow-nav);
    border-radius: var(--radius-md);
    padding: 10px 0;
    z-index: 1003;
}

.menu-list li:hover>ul {
    display: block;
}

.menu-list li ul li {
    width: 100%;
}

.menu-list li ul a {
    color: var(--color-text);
    padding: 10px 22px;
    background: transparent;
    border-radius: 0;
    transition: background 0.14s;
    font-size: 1rem;
    font-weight: 500;
}

.menu-list li ul a:hover,
.menu-list li ul a:focus-visible {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.nav-toggle {
    background: none;
    border: none;
    padding: 10px;
    margin-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    outline: none;
    z-index: 1102;
}

.nav-toggle[aria-expanded="true"] {
    position: relative;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
}

.burger {
    width: 23px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(.4, 2, .5, 1);
    display: block;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .menu-list {
        display: none;
    }

    .main-nav {
        flex-direction: row-reverse;
    }
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 23, 38, 0.57);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(.4, 2, .5, 1);
    z-index: 1200;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 270px;
    height: 100vh;
    background: var(--color-header);
    box-shadow: 2px 0 18px rgba(30, 42, 80, .10);
    padding: 42px 0 0 0;
    z-index: 1201;
    display: flex;
    flex-direction: column;
    transition: left 0.28s cubic-bezier(.4, 2, .5, 1);
}

.mobile-nav-drawer.active {
    left: 0;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-list li {
    position: relative;
}

.mobile-menu-list>li>a {
    color: #fff;
    text-decoration: none;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    display: block;
    transition: background 0.15s, color 0.15s;
}

.mobile-menu-list>li>a:focus-visible {
    outline: 2px solid var(--color-primary);
    background: var(--color-primary-hover);
}

.mobile-menu-list>li>a:hover,
.mobile-menu-list li a.active {
    background: var(--color-primary);
    color: #fff;
}

.mobile-menu-list li ul {
    display: none;
    flex-direction: column;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    margin-top: 4px;
    margin-bottom: 8px;
    padding: 2px 0 8px 14px;
}

.mobile-menu-list li.open>ul {
    display: flex;
}

.mobile-menu-list li ul a {
    color: var(--color-text);
    padding: 9px 0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.13s;
}

.mobile-menu-list li ul a:hover,
.mobile-menu-list li ul a:focus-visible {
    background: var(--color-bg-card);
    color: var(--color-primary);
}

.mobile-menu-list li.has-submenu>a::after {
    content: "\25BC";
    font-size: 0.8em;
    margin-left: 10px;
    transition: transform 0.2s;
    display: inline-block;
    vertical-align: middle;
}

.mobile-menu-list li.open>a::after {
    transform: rotate(-180deg);
}

.card-section {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 38px 22px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-section {
    background: linear-gradient(115deg, #d9e7fa 30%, #e9edf5 100%);
    align-items: center;
    text-align: center;
    padding-top: 46px;
    padding-bottom: 46px;
    margin-bottom: 0;
}

.hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-header);
    margin-bottom: 18px;
    line-height: 1.18;
}

.hero-cta {
    margin-bottom: 32px;
}

.hero-image {
    margin-top: 10px;
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}

.content-section {
    background: var(--color-bg-card);
    box-shadow: 0 4px 24px rgba(22, 104, 227, 0.03);
    border-radius: var(--radius-md);
    padding: 34px 18px 28px 18px;
}

.content-inner {
    width: 100%;
}

.content-inner img,
.content-inner .content-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 23px 0;
    box-shadow: 0 2px 10px rgba(30, 42, 80, 0.03);
}

.content-inner table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    margin: 30px 0;
    box-shadow: 0 1px 6px rgba(30, 42, 80, 0.07);
    overflow: hidden;
}

.content-inner table th,
.content-inner table td {
    border: 1px solid var(--color-border);
    padding: 13px 14px;
    text-align: left;
    font-size: 1rem;
}

.content-inner table th {
    background: #e7f0fc;
    font-weight: 700;
    color: var(--color-header);
}

.content-inner table tr:nth-child(even) td {
    background: #f5f8fc;
}

.content-inner table tr:nth-child(odd) td {
    background: var(--color-bg-alt);
}

.content-inner h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-header);
    margin: 34px 0 14px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.content-inner h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin: 28px 0 10px 0;
    line-height: 1.2;
}

.content-inner p {
    font-size: 1rem;
    color: var(--color-text);
    margin: 17px 0;
    line-height: 1.5;
}

.card-section:not(:first-child) {
    background: var(--color-bg-alt);
    box-shadow: 0 4px 24px rgba(30, 42, 80, 0.07);
}

.showcase-section {
    background: linear-gradient(120deg, #f9fbff 60%, #eaeffd 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 34px rgba(22, 104, 227, 0.07);
    gap: 0;
    padding-top: 26px;
    padding-bottom: 26px;
}

.showcase-images {
    display: flex;
    gap: 18px;
    width: 100%;
    justify-content: center;
    margin: 0 auto;
}

.showcase-image {
    width: 130px;
    max-width: 40vw;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 8px rgba(30, 42, 80, 0.10);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-btn {
    display: flex;
    width: fit-content;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 12px 32px;
    box-shadow: 0 2px 8px rgba(22, 104, 227, 0.04);
    cursor: pointer;
    transition: background 0.17s, box-shadow 0.22s, transform 0.14s;
    margin: 0 auto 14px auto;
    outline: none;
    text-align: center;
    min-width: 138px;
}

.cta-btn:focus-visible {
    box-shadow: 0 0 0 2px var(--color-primary);
    background: var(--color-primary-hover);
}

.cta-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 16px rgba(22, 104, 227, 0.13);
}

.site-footer {
    background: var(--color-footer);
    color: #c2cbe0;
    text-align: center;
    font-size: 1rem;
    padding: 28px 0 22px 0;
    width: 100%;
    letter-spacing: 0.01em;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin: 0 auto;
}

.footer-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
}


/* Scrollbar and focus-visible tweaks */

::-webkit-scrollbar {
    width: 11px;
    background: #e6eaf3;
}

::-webkit-scrollbar-thumb {
    background: #d2daee;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b9c5db;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.13s;
}

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


/* Responsive styles */

@media (max-width: 767.98px) {
    .boxed-layout {
        margin-top: 85px;
        margin-bottom: 20px;
        gap: 28px;
    }

    .card-section {
        padding: 24px 7px;
        border-radius: 14px;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .hero-cta {
        padding: 11px 22px;
        font-size: 1rem;
        min-width: 120px;
    }

    .showcase-images {
        gap: 8px;
    }

    .showcase-image {
        width: 34vw;
        min-width: 90px;
    }

    .content-inner h2 {
        font-size: 1.05rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .content-inner h3 {
        font-size: 0.96rem;
        margin-top: 18px;
        margin-bottom: 7px;
    }

    .content-inner table th,
    .content-inner table td {
        font-size: 0.97rem;
        padding: 10px 8px;
    }
}

@media (min-width: 768px) {
    .boxed-layout {
        gap: 44px;
        margin-top: 105px;
        margin-bottom: 44px;
    }

    .card-section {
        padding: 48px 36px;
        border-radius: var(--radius-lg);
    }

    .hero-title {
        font-size: 2.55rem;
    }

    .hero-cta {
        font-size: 1.08rem;
        min-width: 142px;
    }

    .showcase-images {
        gap: 32px;
    }

    .showcase-image {
        width: 180px;
        max-width: 200px;
    }

    .content-inner h2 {
        font-size: 1.4rem;
        margin-top: 38px;
        margin-bottom: 14px;
    }
}

@media (min-width: 1024px) {
    .boxed-layout {
        max-width: 1180px;
        gap: 56px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .content-inner {
        font-size: 1.08rem;
    }
}


/* Subtle fade-up animation for cards and images */

[data-animate],
.card-section,
.showcase-image,
.content-inner img {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.42s cubic-bezier(.6, .05, .46, .8), transform 0.48s cubic-bezier(.4, 2, .5, 1);
}

[data-animate].visible,
.card-section.visible,
.showcase-image.visible,
.content-inner img.visible {
    opacity: 1;
    transform: none;
}