:root {
    --bg: #fffaf3;
    --surface: #ffffff;
    --surface-dark: #081e2c;
    --surface-soft: #f5ecdc;
    --text: #102a3a;
    --muted: #66747c;
    --line: rgba(8, 30, 44, 0.13);
    --brand: #ff705f;
    --brand-deep: #e94f42;
    --brand-soft: rgba(255, 112, 95, 0.14);
    --lime: #cfe76b;
    --container: 1180px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.page-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(247, 249, 252, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.82);
}
.header-row {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    position: relative;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}
.brand img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}
.main-nav {
    display: flex;
    justify-self: center;
    gap: 28px;
    align-items: center;
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 10px;
}
.main-nav a {
    color: var(--muted);
    font-weight: 700;
}
.main-nav a.is-active,
.main-nav a:hover {
    color: var(--text);
}
.header-actions {
    display: flex;
    gap: 12px;
}
.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
    border-radius: 999px;
}
.btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, #4dd8ca 100%);
    color: #032925;
    box-shadow: 0 16px 28px rgba(20, 184, 166, 0.22);
}
.btn-secondary,
.btn-ghost {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
}
.hero {
    padding: 108px 0 54px;
}
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 28px;
    align-items: center;
}
.eyebrow,
.panel-kicker,
.module-group header span {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-deep);
}
h1, h2, h3, h4, h5 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.05em;
    line-height: 1;
}
h1 {
    font-size: clamp(3rem, 5.6vw, 5rem);
    max-width: 11ch;
}
h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    margin-bottom: 16px;
}
h3 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 12px;
}
h4 {
    font-size: 1.5rem;
    margin-top: 4px;
}
h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.hero-copy p,
.section-heading p,
.hero-panel-head span,
.module-card p,
.panel-header p,
.footer-row {
    color: var(--muted);
    line-height: 1.75;
}
.hero-panel {
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(180deg, #101827 0%, #162032 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}
.hero-panel-head strong {
    display: block;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.hero-stats {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.hero-stats article {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-stats strong {
    display: block;
    color: white;
    font-size: 1.9rem;
    margin-bottom: 8px;
}
.hero-stats span {
    color: rgba(226, 232, 240, 0.72);
}
.section {
    padding: 90px 0;
}
.section-heading {
    max-width: 860px;
    margin-bottom: 34px;
}
.role-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.role-tab {
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}
.role-tab.is-active {
    background: linear-gradient(135deg, var(--brand) 0%, #4dd8ca 100%);
    color: #032925;
    box-shadow: 0 16px 28px rgba(20, 184, 166, 0.16);
}
.role-panel {
    display: none;
}
.role-panel.is-active {
    display: block;
}
.panel-header {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    margin-bottom: 26px;
}
.module-groups {
    display: grid;
    gap: 22px;
}
.module-group {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}
.module-group.dark {
    background: linear-gradient(180deg, #101827 0%, #0d1422 100%);
    border-color: rgba(255, 255, 255, 0.06);
}
.module-group.dark h4,
.module-group.dark h5 {
    color: white;
}
.module-group.dark .module-card p {
    color: rgba(226, 232, 240, 0.74);
}
.module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}
.finance-grid {
    grid-template-columns: repeat(3, 1fr);
}
.compact-grid {
    grid-template-columns: repeat(2, 1fr);
}
.module-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.module-group.dark .module-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}
.cta-section {
    padding-top: 0;
}
.cta-shell {
    padding: 36px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
}
.cta-actions {
    display: grid;
    gap: 12px;
    justify-items: end;
}
.site-footer {
    padding: 36px 0 28px;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* Inner pages share the editorial visual language of the main landing. */
.page-header {
    background: rgba(8, 30, 44, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}
.header-row { min-height: 72px; }
.brand { color: white; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.main-nav a { color: rgba(255, 255, 255, 0.64); }
.main-nav a.is-active,
.main-nav a:hover { color: white; }
.menu-toggle { border-radius: 7px; border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); }
.menu-toggle span { background: white; }
.btn { border-radius: 8px; }
.btn-primary { color: #27100c; background: var(--brand); box-shadow: 0 14px 30px rgba(255, 112, 95, 0.2); }
.btn-secondary,
.btn-ghost { color: white; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); }
.hero {
    position: relative;
    padding: 118px 0 90px;
    overflow: hidden;
    color: white;
    background: radial-gradient(circle at 88% 12%, rgba(255, 112, 95, 0.18), transparent 27%), var(--surface-dark);
}
.hero-copy p { color: rgba(255, 255, 255, 0.66); }
.hero-panel { border-radius: 0; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18); }
.hero-stats article { border-radius: 0; border-color: rgba(255, 255, 255, 0.1); }
.hero-stats article:nth-child(2) strong { color: var(--brand); }
.hero-stats article:nth-child(3) strong { color: var(--lime); }
.role-tab { border-radius: 8px; }
.role-tab.is-active { color: #27100c; background: var(--brand); box-shadow: 0 16px 28px rgba(255, 112, 95, 0.16); }
.module-group { border-radius: 0; }
.module-group.dark { background: var(--surface-dark); }
.module-card { border-radius: 8px; }
.cta-shell { border-radius: 0; color: white; background: var(--surface-dark); border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 22px 55px rgba(8, 30, 44, 0.15); }
.cta-shell h2 { color: white; }
.cta-shell .eyebrow { color: var(--brand); }
.cta-shell .btn-secondary { color: white; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); }
.site-footer { padding-top: 48px; color: rgba(255, 255, 255, 0.7); background: #051722; }
.footer-row { color: rgba(255, 255, 255, 0.48); border-top-color: rgba(255, 255, 255, 0.12); }

@media (max-width: 1100px) {
    .hero-layout,
    .panel-header,
    .cta-shell,
    .header-row {
        grid-template-columns: 1fr;
    }
    .main-nav {
        justify-self: start;
        flex-wrap: wrap;
    }
    .header-actions {
        justify-self: start;
    }
}
@media (max-width: 920px) {
    .hero-stats,
    .module-grid,
    .finance-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .header-actions {
        display: none;
    }
    .header-row { grid-template-columns: auto 1fr; }
    .menu-toggle {
        display: inline-block;
        grid-column: 2;
        justify-self: end;
    }
    .main-nav {
        position: absolute;
        left: 14px;
        right: 14px;
        top: calc(100% + 10px);
        display: none;
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    }
    .main-nav.is-open {
        display: flex;
    }
    .main-nav a { color: var(--text); }
    .container {
        width: min(var(--container), calc(100% - 28px));
    }
    .hero {
        padding-top: 86px;
    }
    .module-group,
    .cta-shell {
        padding: 24px;
        border-radius: 24px;
    }
}
