/* Font Face Definitions */
@font-face {
    font-family: 'DieGrotesk';
    src: url('fonts/DieGrotesk-A-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DieGrotesk';
    src: url('fonts/DieGrotesk-A-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    width: 100%;
    font-family: 'DieGrotesk', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background-color: #f9faf5; /* requested page body color */
    color: #111111;
    position: relative;
    min-height: 100vh;
}

/* Top-right floating card */
.top-right-card {
    position: absolute;
    top: 3vh;
    right: 3vw; /* moved to top-right */
    left: auto;
    width: 45vw;
    max-width: 900px;
    min-width: 750px;
    background: #ffffff;
    border-radius: 60px;
    padding: 40px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin: 0 0 18px 0;
    font-weight: 350;
}

.hero-sub {
    font-size: 34px;
    margin: 50px 15% 18px 0;
    font-weight: 400;
    color: #949494;
    line-height: 1.2;
}
.hero-sub strong {
    font-weight: 400;
    color:#1a1a1a;
}

.hero-strap {
    font-size: 22px;
    margin: 50px 0 0 0;
    display: flex;
    align-items: center;
    gap: 18px;
}
.hero-strap bullet {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #00fea7;
    border-radius: 50%;
    margin:8px 20px 8px 0;
    top:9px;
    position: relative;
}

.cta-row { display: inline-flex; gap: 15px; margin-left:25px; }

.btn {
    background: #00fea7;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 999px; /* lozenge */
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:active { transform: translateY(1px); }

/* Bottom-left logo */
.logo-bottom-left {
    position: absolute;
    left: 4vw;
    bottom: 2vh;
    width: 40vw;
    height: auto;
    max-width: 400px;
}

/* Bottom-right copyright */
.copyright {
    position: absolute;
    right: 4vw;
    bottom: 2vh;
    font-size: 1em;
    color: #949494;
    letter-spacing: 0.02em;
}
/* Reduce sizes when viewport is less than 1200px to avoid overlap with logo */
@media (max-width: 1300px) {
    .top-right-card {
        width: 42vw;           /* ~30% smaller */
        max-width: 630px;      /* 900 * 0.7 */
        padding: 28px;         /* reduced padding */
        border-radius: 42px;
        min-width: 500px;
    }

    .hero-title { font-size: 32px; }
    .hero-sub { font-size: 22px; margin: 36px 18% 14px 0; }
    .hero-strap { font-size: 15px; }
    .cta-row { gap: 15px; }
    .cta-row .btn { font-size:16px; }

    .hero-strap bullet { top:3px; margin-right:10px; }

    /* make the logo a bit smaller so it doesn't collide */
    .logo-bottom-left { width: 34vw; max-width: 320px; }
}

/* Responsiveness */
@media (max-width: 600px) {
    /* adapt for narrower viewports */
    .hero-title { font-size: 40px; }
    .hero-sub { font-size: 26px; }
    .hero-strap { font-size: 18px; flex-direction: column; align-items: flex-start; gap: 10px; }

    .top-right-card {
        width: auto; left: 0; right: 0; top: 0; padding: 28px; border-radius: 24px; margin: 20px!important;
        position: static;              /* remove absolute float */
    }

    /* Place the logo inline in the flow beneath the card */
    .logo-bottom-left {
        position: static;
        display: block;
        margin: 50px 6vw 0 6vw;
        width: 85vw!important;
        max-width: 400px!important;
        height: auto;
    }

    /* Move copyright below and center it */
    .copyright {
        position: static;
        display: block;
        text-align: center;
        margin: 20px 0 40px 0;
        font-size: 16px;
        max-width: 500px!important;
    }

    /* Tidy typography for smaller, taller screens */
    .hero-title { font-size: 32px; line-height: 1.06; }
    .hero-sub { font-size: 18px; margin: 12px 0 12px 0; color: #1a1a1a; }
    .hero-strap { font-size: 16px; gap: 12px; flex-direction: column; align-items: flex-start; }
    .cta-row { margin-left: 0; }
}