:root {
    --navy: #060A06;
    --navy-dark: #060A06;
    --orange: #16A34A;
    --orange-hover: #15803D;
    --text: #0A0A0A;
    --muted: #71717A;
    --bg: #FFFFFF;
    --bg-alt: #F7F7F8;
    --border: #E4E4E7;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

form { margin: 0; }

.topbar {
    background: var(--navy);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    position: sticky;
    top: 0;
    z-index: 900;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.brand {
    color: #FFFFFF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .brand img {
        display: block;
        width: 214px;
        height: 70px;
        object-fit: cover;
    }

.nav {
    display: none;
    gap: 22px;
    flex-wrap: wrap;
}

.menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: transparent;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle .bar + .bar { margin-top: 0; }

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1000;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 320px);
    height: 100vh;
    background: #0a0a0ac7;
    transform: translateX(-100%);
    transition: transform .3s ease, visibility .3s ease;
    z-index: 1001;
    box-shadow: 12px 0 32px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    backdrop-filter: blur(50px);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #F8FAFC;
    font-weight: 700;
}

.mobile-nav-close {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    width: 34px;
    height: 34px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: #FFFFFF;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 12px 18px 20px;
    gap: 10px;
    overflow-y: auto;
}

.mobile-nav-links a {
    color: #DCE7F7;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links a:hover { color: #4ADE80; }

.tree-item {
    border: 0;
    border-radius: 8px;
    background: transparent;
    padding: 2px 10px;
    transform: translateX(-10px);
    opacity: 0;
    --stagger: 0s;
    transition: transform .28s ease, opacity .28s ease, background-color .2s ease;
}

.tree-item:nth-child(1) { --stagger: .06s; }
.tree-item:nth-child(2) { --stagger: .12s; }
.tree-item:nth-child(3) { --stagger: .18s; }

.tree-item:hover { background: rgba(255, 255, 255, 0.1); }

.tree-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: #EAF1FB;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: left;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.tree-toggle .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tree-toggle .label i {
    color: #4ADE80;
    font-size: 0.88rem;
    width: 14px;
    text-align: center;
}

.tree-toggle .chevron {
    color: #4ADE80;
    transition: transform .25s ease;
}

.tree-children {
    list-style: none;
    margin: 0;
    padding: 0 0 6px 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height .32s ease, opacity .25s ease, transform .25s ease;
}

.tree-children li {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .24s ease, transform .24s ease;
}

.tree-children li + li { margin-top: 2px; }

.tree-children li:nth-child(1) { transition-delay: .04s; }
.tree-children li:nth-child(2) { transition-delay: .08s; }
.tree-children li:nth-child(3) { transition-delay: .12s; }
.tree-children li:nth-child(4) { transition-delay: .16s; }
.tree-children li:nth-child(5) { transition-delay: .2s; }

.tree-children a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 9px 0;
}

.tree-children a::after {
    content: "\203A";
    margin-left: auto;
    font-size: 1.1rem;
    line-height: 1;
    color: rgba(74, 222, 128, 0.75);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .22s ease, transform .22s ease;
}

.tree-children a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.tree-children a i {
    color: #4ADE80;
    font-size: 0.9rem;
    width: 14px;
    text-align: center;
}

.tree-item.is-open .tree-children {
    max-height: 240px;
    opacity: 1;
    transform: translateY(0);
}

.tree-item.is-open .tree-children li {
    opacity: 1;
    transform: translateX(0);
}

.tree-item.is-open { background: rgba(255, 255, 255, 0.14); }

.tree-item.is-open .tree-toggle .chevron { transform: rotate(90deg); }

body.menu-open { overflow: hidden; }

body.menu-open .mobile-nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open .mobile-nav { transform: translateX(0); visibility: visible; }

body.menu-open .tree-item {
    transform: translateX(0);
    opacity: 1;
    transition-delay: var(--stagger);
}

body:not(.menu-open) .tree-item {
    transition-delay: calc(.24s - var(--stagger));
}

body.menu-open .menu-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }

body.menu-open .menu-toggle .bar:nth-child(2) { opacity: 0; }

body.menu-open .menu-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.86;
}

.nav a:hover { color: #FFFFFF; opacity: 1; text-decoration: underline; }

.hero {
    background:
        radial-gradient(ellipse 900px 600px at 65% -10%, rgba(22, 163, 74, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 700px 500px at 100% 70%, rgba(14, 116, 214, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 500px 350px at 0% 80%, rgba(124, 58, 237, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 400px 300px at 30% 110%, rgba(34, 197, 94, 0.1) 0%, transparent 55%),
        #060A06;
    color: #FFFFFF;
    padding: 96px 24px 88px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.35), transparent);
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-copy { min-width: 0; }

.hero-art {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-art svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 24px 56px rgba(0, 0, 0, 0.5));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4ADE80;
    font-weight: 600;
    margin-bottom: 24px;
}

h1 {
    margin: 0 0 20px;
    font-size: clamp(2.6rem, 5.2vw, 4rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #FFFFFF;
}

.lede {
    margin: 0 0 36px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 540px;
    font-weight: 400;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.97rem;
    line-height: 1;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn-primary {
    background: var(--orange);
    color: #FFFFFF;
    border-color: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(22, 163, 74, 0.35);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    padding: 14px 22px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    text-decoration: none;
}

.section {
    background: var(--bg);
    padding: 88px 24px;
    border-bottom: solid 1px #eaeded;
}

.section-alt { background: var(--bg-alt); }

.section-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.section h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.section .sub {
    margin: 0 0 44px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tile {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: box-shadow .15s ease, transform .15s ease;
}

.tile:hover {
    box-shadow: 0 18px 44px rgba(10, 10, 10, 0.08);
    transform: translateY(-2px);
}

.tile h3 {
    margin: 0 0 10px;
    font-size: 1.16rem;
    font-weight: 800;
    color: var(--text);
}

.tile p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.tile a {
    color: #16A34A;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.tile a:hover { color: #15803D; text-decoration: underline; }

.progress-wrap {
    margin: 28px 0 8px;
    max-width: 520px;
}

.progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    overflow: hidden;
}

.progress > span {
    display: block;
    height: 100%;
    width: 68%;
    background: var(--orange);
    border-radius: inherit;
}

.progress-label {
    margin-top: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.65);
    padding: 54px 24px 34px;
    font-size: 0.92rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.8fr) minmax(220px, 0.85fr);
    gap: 42px;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-logo {
    display: inline-flex;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.footer-logo:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-brand p {
    max-width: 390px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    line-height: 1.5;
}

.footer h2 {
    margin: 0 0 14px;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer a:hover { color: #FFFFFF; text-decoration: underline; }

.mobile-nav .menu-footer {
    margin-top: auto;
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.mobile-nav .menu-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid #16A34A;
    border-radius: 999px;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    background: var(--orange);
}

.mobile-nav .menu-login-btn:hover {
    background: var(--orange-hover);
}

.mobile-nav .menu-login-btn.menu-login-btn-poshub {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    background: transparent;
}

.mobile-nav .menu-login-btn.menu-login-btn-poshub:hover {
    background: rgba(255, 255, 255, 0.24);
}

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-art { order: -1; }
    .hero-art svg { display: none; }
    .topbar-inner {
        flex-direction: row;
        align-items: center;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 34px 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .topbar-inner { padding: 14px 16px; }
    .hero { padding: 56px 24px; }
    .section { padding: 48px 24px; }

    .footer {
        padding: 42px 22px 30px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-links a {
        padding: 2px 0;
    }
}