/* ==========================================================================
   DESIGN SYSTEM v4 · HOME PAGE SECTIONS
   Loaded on index.html after ds-base.css. Linear GPT-120.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

section.hero-section {
    color: var(--ink);
}

.mainhero-texts {
    gap: 20px;
}

.mainhero-texts h1 {
    font-size: 56px;
    line-height: 60px;
}

.mainhero-texts .mh-text {
    font-size: 18px;
    line-height: 28px;
    color: var(--body);
    max-width: 52ch;
}

.mainhero-ctas {
    gap: 12px;
}

/* Downloads badge: a raised card with a hairline, replacing the notched shape */
.downloads-number {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 12px 12px 16px;
    background-color: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-sizing: border-box;
}

.downloads-number > svg {
    display: none;
}

.clipped-div {
    width: auto;
    height: auto;
    background: none;
    clip-path: none;
    -webkit-clip-path: none;
    border-radius: 0;
    color: var(--ink);
}

.installed-num {
    left: 0;
    top: 0;
    align-items: center;
    gap: 12px;
}

/* Icon tile (radius 8, violet-soft) in place of the stock photo stack */
.in-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background-color: var(--violet-soft);
    color: var(--violet);
    flex-shrink: 0;
}

.in-img svg {
    width: 24px;
    height: 24px;
}

.in-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.in-texts h4 {
    font-size: 28px;
    line-height: 34px;
    font-variant-numeric: tabular-nums;
}

.in-texts span {
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--muted);
}

/* Icon button: 44 circle, primary fill */
.install-link {
    position: static;
}

.install-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-full);
    background-color: var(--primary);
    color: var(--on-primary);
    transition: background-color var(--dur-fast) var(--ease-emphasised),
                transform var(--dur-fast) var(--ease-emphasised);
}

.install-link a:hover {
    background-color: #E7E5EC;
    transform: none;
    box-shadow: none;
}

.install-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1080px) {
    .mainhero-texts h1 {
        font-size: 44px;
        line-height: 48px;
    }

    .mainhero-texts .mh-text {
        font-size: 16px;
        line-height: 26px;
    }

    .mainhero-ctas a {
        min-height: 52px;
        padding: 0 20px;
        font-size: 15px;
        border-radius: var(--r-full);
    }

    .clipped-div {
        width: auto;
        height: auto;
        background: none;
        border-radius: 0;
    }

    .installed-num {
        top: 0;
        left: 0;
    }

    .in-texts h4 {
        font-size: 24px;
        line-height: 30px;
    }

    .in-texts span {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .mainhero-ctas a {
        width: 100%;
        min-height: 56px;
        padding: 0 20px;
    }
}

@media (max-width: 380px) {
    .mainhero-texts h1 {
        font-size: 40px;
        line-height: 44px;
    }
}

/* --------------------------------------------------------------------------
   Partners strip
   -------------------------------------------------------------------------- */

.partners-inner h2 {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
    color: var(--muted);
}

.partners-list {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.partners-list li + li {
    border-left: 1px solid var(--line);
}

.partner-name {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
}

@media (max-width: 600px) {
    .partner-name {
        font-size: 14px;
    }
}

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */

.gptb-head h2,
.wgi-head h2,
.keyfeatures-head h2 {
    font-size: 44px;
    line-height: 48px;
    max-width: 680px;
}

.wgi-head p {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: var(--body);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    text-align: center;
}

@media (max-width: 1080px) {
    .gptb-head h2,
    .wgi-head h2,
    .keyfeatures-head h2 {
        font-size: 36px;
        line-height: 40px;
    }

    .wgi-head p {
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 380px) {
    .gptb-head h2,
    .wgi-head h2,
    .keyfeatures-head h2 {
        font-size: 32px;
        line-height: 36px;
    }
}

/* --------------------------------------------------------------------------
   Benefits and "Why GPT Investor"
   -------------------------------------------------------------------------- */

section.gpt-benefits,
section.why-gptinvestor,
section.key-features {
    color: var(--ink);
}

.indvbenefit-texts {
    gap: 16px;
}

.indvbenefit-texts h3 {
    font-size: 36px;
    line-height: 40px;
}

.indvbenefit-texts > p,
.wgi-texts > p {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: var(--body);
}

.indvbenefit-texts a {
    margin-top: 8px;
    border: 1px solid var(--primary);
}

.indvbenefit-img img,
.wgi-img img {
    display: block;
    border-radius: var(--r-md);
    /* The mockups sit on a raised panel: give it the surface hairline */
    outline: 1px solid var(--line);
    outline-offset: -1px;
}

.wgi-texts h4 {
    font-size: 28px;
    line-height: 34px;
}

.wgi-list {
    gap: 12px;
}

.wgi-list li {
    font-size: 18px;
    line-height: 28px;
    color: var(--body);
}

.wgi-list li::before {
    top: 11px;
    width: 6px;
    height: 6px;
    background-color: var(--violet);
}

@media (max-width: 1080px) {
    .indvbenefit-texts h3 {
        font-size: 28px;
        line-height: 34px;
    }

    .indvbenefit-texts > p,
    .wgi-texts > p,
    .wgi-list li {
        font-size: 16px;
        line-height: 26px;
    }

    .wgi-list li::before {
        top: 10px;
    }

    .indvbenefit-texts a {
        min-height: 52px;
        padding: 0 20px;
    }

    .benefit-cta p {
        font-size: 15px;
        line-height: 22px;
    }

    .wgi-texts h4 {
        font-size: 24px;
        line-height: 30px;
    }
}

/* --------------------------------------------------------------------------
   Key features · raised cards with a hairline, icon in a violet-soft tile
   -------------------------------------------------------------------------- */

.indv-feature {
    gap: 16px;
    padding: 24px;
    background-color: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}

.indv-feature img {
    box-sizing: content-box;
    width: 24px;
    height: 24px;
    padding: 10px;
    background-color: var(--violet-soft);
    border-radius: var(--r-sm);
}

.indv-feature h4 {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ink);
}

.indv-feature p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: var(--body);
}

@media (max-width: 1080px) {
    .indv-feature {
        padding: 20px;
        border-radius: var(--r-md);
    }

    .indv-feature img {
        width: 24px;
        padding: 10px;
    }

    .indv-feature h4 {
        font-size: 18px;
        line-height: 26px;
    }

    .indv-feature p {
        font-size: 15px;
        line-height: 24px;
    }
}

