@charset "utf-8";

body.public-home {
    min-height: 100%;
    letter-spacing: 0;
}

.public-home .mainBox,
.home-shell {
    width: 100%;
    max-width: none;
    min-height: 100%;
    margin: 0;
    background: var(--color-background);
}

.public-home h1 {
    max-width: 780px;
    font-size: clamp(2.6rem, 6vw, 5.25rem);
    letter-spacing: -0.055em;
}

.public-home h2 {
    font-size: clamp(2rem, 4vw, 3.45rem);
    letter-spacing: -0.04em;
}

.public-home h3 {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

/* Hero */
.home-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 9vw, 118px) 0;
    color: var(--color-white);
    background:
        linear-gradient(90deg, rgba(39, 13, 21, 0.95) 0%, rgba(74, 20, 35, 0.89) 48%, rgba(74, 20, 35, 0.60) 100%),
        url("../pic/zwag-home-bg-fast-1366.webp") center 34% / cover no-repeat;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: auto -120px -180px auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.home-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    align-items: center;
    gap: clamp(38px, 7vw, 86px);
}

.home-hero h1,
.home-hero h2,
.home-hero h3 {
    color: var(--color-white);
}

.home-hero .eyebrow {
    color: #ffc5bd;
}

.home-hero__lead {
    max-width: 690px;
    margin-top: 25px !important;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.public-home .button {
    min-height: 54px;
    padding-inline: 25px;
    font-weight: 760;
    transition-duration: 160ms;
}

.home-button--secondary,
.home-button--secondary:visited {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.08);
}

.home-button--secondary:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.16);
}

.home-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
}

.home-trust-list li {
    position: relative;
    padding-left: 21px;
}

.home-trust-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #a6f0c4;
    font-weight: 900;
}

.founder-card {
    padding: clamp(28px, 4vw, 42px);
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.founder-card h2 {
    margin-top: 20px;
    color: var(--color-text);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.founder-card > p {
    margin-top: 16px;
    color: var(--color-muted);
}

.founder-card__badge {
    display: inline-flex;
    padding: 8px 13px;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--color-accent-soft);
    border-radius: var(--radius-pill);
}

.founder-card ul {
    display: grid;
    gap: 11px;
    margin-top: 22px;
}

.founder-card li {
    position: relative;
    padding-left: 25px;
    color: #3b3336;
}

.founder-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 900;
}

.founder-card .founder-card__note {
    padding-top: 17px;
    border-top: 1px solid var(--color-border);
    font-size: 0.88rem;
}

.home-text-link {
    margin-top: 20px;
}

/* Trust cards */

.home-proof {
    position: relative;
    z-index: 2;
    padding: 0 0 30px;
    background: var(--color-background);
}

.home-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    transform: translateY(-28px);
}

.proof-card {
    padding: 26px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(50, 28, 34, 0.08);
}

.proof-card__icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    place-items: center;
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 900;
    background: var(--color-primary);
    border-radius: 13px;
}

.proof-card h2 {
    font-size: 1.1rem;
}

.proof-card p {
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 0.94rem;
}

/* Sections */

.home-section {
    padding: clamp(72px, 9vw, 120px) 0;
}

.home-section--light {
    background: var(--color-white);
}

.home-section__heading {
    max-width: 730px;
    margin: 0 auto 48px;
    text-align: center;
}

.home-section__heading > p:last-child {
    margin-top: 18px;
    color: var(--color-muted);
    font-size: 1.08rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.step-card {
    position: relative;
    padding: 34px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 18px;
}

.step-card__number {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    place-items: center;
    color: var(--color-white);
    font-weight: 850;
    background: var(--color-primary);
    border-radius: 50%;
}

.step-card p {
    margin-top: 13px;
    color: var(--color-muted);
}

/* Safety */

.safety-section {
    color: var(--color-white);
    background: var(--color-primary-dark);
}

.safety-section h2,
.safety-section h3 {
    color: var(--color-white);
}

.safety-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(45px, 8vw, 96px);
}

.safety-section__lead {
    max-width: 560px;
    margin: 22px 0 30px !important;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.1rem;
}

.safety-section .button--outline,
.safety-section .button--outline:visited {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.65) !important;
}

.safety-section .button--outline:hover {
    color: var(--color-primary-dark);
    background: var(--color-white);
}

.safety-list {
    display: grid;
    gap: 14px;
}

.safety-list li {
    padding: 23px 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
}

.safety-list strong,
.safety-list span {
    display: block;
}

.safety-list strong {
    color: var(--color-white);
    font-size: 1.05rem;
}

.safety-list span {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
}

/* Founding programme */

.founding-programme {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    align-items: center;
    gap: clamp(48px, 8vw, 100px);
}

.founding-programme > div:first-child > p:last-child {
    margin-top: 23px;
    color: var(--color-muted);
    font-size: 1.08rem;
}

.founding-programme__details {
    padding: 34px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 28px;
}

.founding-programme__details ul {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.founding-programme__details li {
    position: relative;
    padding-left: 27px;
    color: var(--color-muted);
}

.founding-programme__details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 900;
}


/* Final CTA */

.home-final-cta {
    padding: clamp(75px, 10vw, 120px) 0;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(219, 101, 95, 0.35), transparent 35%),
        var(--color-primary);
}

.home-final-cta h2 {
    color: var(--color-white);
}

.home-final-cta p:not(.eyebrow) {
    max-width: 620px;
    margin: 20px auto 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}


/* Responsive */

@media (max-width: 980px) {

    .home-hero__grid,
    .safety-section__grid,
    .founding-programme {
        grid-template-columns: 1fr;
    }

    .home-hero__content {
        max-width: 780px;
    }

    .founder-card {
        max-width: 650px;
    }

    .home-proof__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .home-hero {
        padding-top: 65px;
        background-position: 40% center;
    }

    .home-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-actions .button {
        width: 100%;
    }

    .home-proof__grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .home-proof__grid {
        transform: translateY(-18px);
    }
}

@media (max-width: 420px) {

    .home-hero h1 {
        font-size: 2.5rem;
    }

    .founder-card,
    .proof-card,
    .step-card,
    .founding-programme__details {
        padding: 24px;
    }
}
