:root {
    --brand-primary: #fdaa38;
    --brand-soft: rgba(253, 170, 56, 0.08);
    --brand-gradient: linear-gradient(135deg, #ffd051 0%, #fdaa38 100%);
    --bg: #ffffff;
    --surface-light: #f8fafc;
    --surface-muted: #f1f5f9;
    --text: #1e293b;
    --muted: #64748b;
    --border: #edf2f7;
    --radius: 32px;
    --container-max: 1100px;
    --section-gap: 160px;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 32px 0;
}

.container.nav-container {
    padding: 0 20px;
    max-width: 1120px !important;
}

.container .hero {
    padding-top: 0;
}

.page-content {
    padding: 0;
}

section {
    padding: var(--section-gap) 0;
}

/* Typography */
h1 {
    /* font-size: clamp(2.8rem, 7vw, 3.2rem); */
    font-size: clamp(2.4rem, 7vw, 3.0rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 40px;
}

h1.pms-page-header {
    margin-top: 0;
}

h2 {
    /* font-size: clamp(2rem, 4vw, 2.6rem); */
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    margin: 24px 0;
    line-height: 1.25;
    letter-spacing: -0.04em;
    color: #0f172a;
}

h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

p.sub-heading {
    font-size: 1.35rem;
    color: var(--muted);
    margin-bottom: 0;
    line-height: 1.25;
}

/* Layout Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Hero Specifics */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 48px;
    flex-wrap: wrap;
}

/* Hero Specific */

/* What is */
.what-is-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 20px;
    align-items: flex-start;
}

/* What is */

/* How Works Cards */
.how-works-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.how-works-card-wrapper .card {
    max-width: 340px;
    width: 100%;
    padding: 32px 24px;
}

/* How Works Cards */

/* Risks grid */
.risks-flex {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 12px;
}

.risks-flex .card {
    padding: 10px 18px;
    width: 264px;
}

.risks-flex .card h3 {
    margin-bottom: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

/* Risks grid */

/* FAQs */

.accordions-wrapper .acc {
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
    transition: 0.4s;
}

.accordions-wrapper .accordion {
    color: #444;
    background-color: transparent;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.accordions-wrapper .acc:hover {
    border-color: var(--brand-primary);
    background: var(--surface-light);
}

.accordions-wrapper .accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.accordions-wrapper .active:after {
    content: "\2212";
}

.accordions-wrapper .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* FAQs */



/* Tabs */
.tabs-nav {
    padding: 20px 0;
}

.pill-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: wrap;
    justify-content: center;
}

.pill-row::-webkit-scrollbar {
    display: none;
}

.pill {
    padding: 12px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pill:hover {
    border-color: var(--brand-primary);
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Cards */
.card {
    background: var(--surface-light);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.04);
}

.card-brand {
    background: var(--brand-soft);
    border-color: transparent;
}

.card-accent {
    background: #f8fafc;
    border-color: var(--brand-primary);
}

.card h3:first-child {
    margin-top: 0;
}

/* Icons */
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #fff;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Checkbox Lists */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 16px;
}

.check-list i {
    color: var(--brand-primary);
    margin-top: 6px;
    font-size: 14px;
}

/* Interactive Cards */
.interactive-section {
    padding-top: 20px;
    padding-bottom: 40px;
}

.interactive-card {
    background: #fff;
    padding: 48px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.interactive-card:hover {
    border-color: var(--brand-primary);
    background: var(--surface-light);
}

.interactive-card span {
    font-size: 40px;
    margin-bottom: 24px;
    display: block;
}

.interactive-card .arrow {
    margin-top: 24px;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: 0.5px;
}

/* CTA */
.cta-wrapper {
    background: var(--surface-muted);
    padding: 40px 20px;
    border-radius: 48px;
    text-align: center;
    border: 1px solid var(--border);
}

.cta-wrapper p {
    color: var(--muted);
    font-size: 19px;
    max-width: 650px;
    margin: 0 auto 24px;
}

.cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 10px 30px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand-gradient);
    color: #000;
    box-shadow: 0 10px 20px -5px rgba(253, 170, 56, 0.3);
}

.btn-secondary {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn:hover {
    transform: translateY(-3px);
    opacity: 0.95;
}

/* Section-Specific overrides */
#how-works .card .icon-box {
    margin-bottom: 0;
}

#how-works .card h3 {
    margin: 8px 0;
    font-size: 20px;
    line-height: 1.25;
}

#how-works .card p {
    margin: 0;
    line-height: 1.25;
}

#goalstox .btn-primary {
    margin-top: 24px;
}

#fees .btn-secondary,
#taxation .btn-primary {
    margin-top: 24px;
}

@media (max-width: 900px) {
    :root {
        --section-gap: 100px;
    }

    .hero-grid,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero {
        text-align: center;
        /* padding-top: 80px; */
        padding-top: 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .cta-wrapper {
        padding: 20px 10px;
    }
}

@media screen and (max-width: 512px) {
    .check-list li {
        flex-direction: column;
        row-gap: 0;
    }
    .check-list li i {
        /* margin-bottom: 4px; */
        width: max-content;
        padding: 4px;
        background-color: var(--brand-soft);
        border-radius: 4px;
    }

    .hero-grid, .grid-2, .grid-3 {
        gap: 32px;
    }

    .how-works-card-wrapper .card {
        max-width: unset;
    }

    .cta-wrapper h2 {
        font-size: 24px;
    }
    .cta-wrapper p {
        font-size: 18px;
        line-height: 1.5;
    }
}