:root {
    --red: #f04b4f;
    --red-dark: #d83c40;

    --yellow: #ffd94a;
    --blue: #93c9ff;
    --pink: #ffb4ce;

    --black: #151515;
    --cream: #f6f1e8;
    --white: #fffdf8;
    --grey: #696969;

    --border: 2px solid var(--black);

    --shell: 1180px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--cream);
    color: var(--black);

    font-family:
            Arial,
            Helvetica,
            sans-serif;

    line-height: 1.5;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


.shell {
    width: min(calc(100% - 42px), var(--shell));
    margin: 0 auto;
}


/* HEADER */

.topbar {
    background: var(--cream);
    border-bottom: var(--border);

    position: sticky;
    top: 0;
    z-index: 100;
}


.nav {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 1.3rem;
    font-weight: 900;

    letter-spacing: -0.04em;
}


.brand-mark {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: var(--red);
    color: white;

    display: grid;
    place-items: center;

    border: var(--border);

    transform: rotate(-7deg);
}


nav {
    display: flex;
    align-items: center;
    gap: 27px;

    font-size: 0.9rem;
    font-weight: 700;
}


nav > a {
    transition: transform 0.15s ease;
}


nav > a:hover {
    transform: translateY(-2px);
}


.login-link {
    margin-left: 16px;
}


.join-button,
.primary-button,
.dark-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: var(--border);

    font-weight: 900;

    box-shadow: 4px 4px 0 var(--black);

    transition:
            transform 0.15s ease,
            box-shadow 0.15s ease;
}


.join-button:hover,
.primary-button:hover,
.dark-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--black);
}


.join-button {
    background: var(--red);
    color: white;

    padding: 11px 18px;
}


.menu-button {
    display: none;

    border: 0;
    background: transparent;

    width: 44px;
    height: 44px;
}


.menu-button span {
    width: 25px;
    height: 2px;

    display: block;

    background: var(--black);

    margin: 5px auto;
}


/* HERO */

.hero {
    border-bottom: var(--border);
    overflow: hidden;
}


.hero-layout {
    min-height: 690px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 60px;

    padding-top: 70px;
    padding-bottom: 70px;
}


.hero-kicker {
    display: inline-block;

    background: var(--yellow);

    border: var(--border);

    padding: 7px 11px;

    font-size: 0.85rem;
    font-weight: 900;

    margin-bottom: 27px;

    transform: rotate(-1deg);
}


.hero h1 {
    max-width: 680px;

    font-size: clamp(4rem, 7vw, 7.5rem);

    letter-spacing: -0.075em;
    line-height: 0.83;

    font-weight: 950;
}


.hero h1 span {
    color: var(--red);
}


.hero-copy > p {
    max-width: 570px;

    font-size: 1.18rem;

    margin-top: 35px;
}


.hero-buttons {
    margin-top: 35px;

    display: flex;
    align-items: center;

    gap: 25px;
}


.primary-button {
    background: var(--red);
    color: white;

    padding: 17px 25px;
}


.text-button {
    font-weight: 900;
    border-bottom: 2px solid var(--black);
}


.tiny-note {
    margin-top: 26px;

    font-size: 0.78rem;
    color: var(--grey);
}


/* HERO ART */

.hero-art {
    min-height: 530px;

    position: relative;
}


.card {
    background: var(--white);
    border: var(--border);

    box-shadow: 7px 7px 0 var(--black);
}


.person-card {
    width: 285px;

    padding: 14px;

    display: flex;
    align-items: center;

    gap: 14px;

    position: absolute;
}


.person-one {
    top: 20px;
    right: 20px;

    transform: rotate(3deg);
}


.person-two {
    bottom: 20px;
    left: 15px;

    transform: rotate(-3deg);
}


.person-photo {
    width: 72px;
    height: 72px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border: var(--border);

    font-size: 1.8rem;
    font-weight: 900;
}


.pink {
    background: var(--pink);
}


.blue {
    background: var(--blue);
}


.person-info {
    display: flex;
    flex-direction: column;
}


.person-info strong {
    font-size: 1.05rem;
}


.person-info span {
    color: var(--grey);
    font-size: 0.8rem;
    margin-top: 3px;
}


.conversation-card {
    width: 360px;

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
            translate(-50%, -50%)
            rotate(-2deg);

    background: white;

    border: var(--border);

    box-shadow: 9px 9px 0 var(--black);

    padding: 25px;
}


.conversation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 0.82rem;
    font-weight: 900;

    margin-bottom: 25px;
}


.dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;
    background: #33b864;
}


.chat-bubble {
    width: fit-content;
    max-width: 80%;

    padding: 10px 13px;

    margin-bottom: 12px;

    font-size: 0.86rem;

    border: 2px solid var(--black);
}


.incoming {
    background: var(--cream);
}


.outgoing {
    background: var(--red);
    color: white;

    margin-left: auto;
}


.sticker {
    position: absolute;

    border: var(--border);

    font-weight: 950;

    box-shadow: 4px 4px 0 var(--black);
}


.sticker-heart {
    width: 65px;
    height: 65px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    right: 5px;
    bottom: 90px;

    background: var(--yellow);

    font-size: 1.7rem;

    transform: rotate(10deg);
}


.sticker-hello {
    left: 10px;
    top: 140px;

    background: var(--blue);

    padding: 8px 12px;

    transform: rotate(-8deg);
}


/* TICKER */

.ticker {
    overflow: hidden;

    background: var(--black);
    color: white;

    border-bottom: var(--border);

    padding: 15px 0;
}


.ticker-track {
    width: max-content;

    display: flex;
    align-items: center;

    gap: 24px;

    font-weight: 950;

    letter-spacing: 0.04em;

    animation: ticker 30s linear infinite;
}


.ticker b {
    color: var(--red);
}


@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-45%);
    }
}


/* SECTIONS */

.section {
    padding: 110px 0;
}


.section-label {
    font-size: 0.78rem;
    font-weight: 900;

    letter-spacing: 0.08em;
}


.about-layout {
    display: grid;
    grid-template-columns: 180px 1fr;

    gap: 60px;
}


.about-main {
    max-width: 820px;
}


.about h2,
.how h2,
.conversation-copy h2,
.safety h2 {
    font-size: clamp(2.8rem, 5vw, 5rem);

    line-height: 0.95;

    letter-spacing: -0.055em;
}


.big-copy {
    font-size: 1.5rem;

    max-width: 750px;

    margin-top: 38px;

    font-weight: 700;
}


.about-main > p:last-child {
    max-width: 670px;

    margin-top: 23px;

    color: var(--grey);
}


/* FEATURE BOARD */

.feature-board {
    border-top: var(--border);
    border-bottom: var(--border);
}


.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);
}


.feature-card {
    min-height: 390px;

    padding: 38px;

    border-right: var(--border);

    display: flex;
    flex-direction: column;
}


.feature-card:first-child {
    border-left: var(--border);
}


.yellow-card {
    background: var(--yellow);
}


.white-card {
    background: var(--white);
}


.red-card {
    background: var(--red);
    color: white;
}


.number {
    font-size: 0.75rem;
    font-weight: 900;
}


.feature-card h3 {
    margin-top: auto;

    font-size: 2rem;
    line-height: 1;

    letter-spacing: -0.04em;

    max-width: 280px;
}


.feature-card p {
    margin-top: 18px;
    font-size: 0.93rem;
}


/* HOW */

.section-header {
    display: grid;
    grid-template-columns: 180px 1fr;

    gap: 60px;

    margin-bottom: 70px;
}


.steps {
    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr;

    gap: 25px;

    align-items: center;
}


.step {
    display: flex;
    gap: 17px;
    align-items: flex-start;
}


.step-circle {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    border: var(--border);

    border-radius: 50%;

    background: white;

    display: grid;
    place-items: center;

    font-weight: 900;
}


.step h3 {
    font-size: 1.2rem;
}


.step p {
    color: var(--grey);
    margin-top: 5px;
}


.step-arrow {
    font-size: 2rem;
}


/* CONVERSATION */

.conversation-section {
    background: var(--red);
    color: white;

    border-top: var(--border);
    border-bottom: var(--border);
}


.conversation-layout {
    min-height: 700px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

    padding-top: 90px;
    padding-bottom: 90px;
}


.conversation-copy p {
    max-width: 550px;

    margin-top: 30px;

    font-size: 1.05rem;
}


.phone {
    max-width: 400px;

    margin-left: auto;
    margin-right: auto;

    background: var(--white);
    color: var(--black);

    border: var(--border);

    border-radius: 32px;

    padding: 18px;

    box-shadow: 10px 10px 0 var(--black);

    transform: rotate(2deg);
}


.phone-top {
    display: flex;
    align-items: center;

    gap: 12px;

    border-bottom: 2px solid var(--black);

    padding: 7px 5px 18px;
}


.mini-face {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: var(--yellow);

    border: var(--border);

    display: grid;
    place-items: center;

    font-weight: 900;
}


.phone-top > div:last-child {
    display: flex;
    flex-direction: column;
}


.phone-top span {
    font-size: 0.73rem;
    color: #368d56;
}


.phone-chat {
    padding: 25px 5px;
}


.message-box {
    border: var(--border);

    padding: 12px 14px;

    display: flex;
    justify-content: space-between;

    color: #999;

    font-size: 0.85rem;
}


.message-box span {
    color: var(--black);
    font-weight: 900;
}


/* SAFETY */

.safety-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;
}


.safety-copy {
    max-width: 570px;
}


.safety-copy > p {
    font-size: 1.1rem;
}


.safety-links {
    display: flex;
    flex-direction: column;

    margin-top: 30px;
}


.safety-links a {
    border-top: 2px solid var(--black);

    padding: 14px 0;

    font-weight: 900;
}


.safety-links a:last-child {
    border-bottom: 2px solid var(--black);
}


/* CTA */

.final-cta {
    background: var(--yellow);

    border-top: var(--border);
    border-bottom: var(--border);
}


.final-cta-inner {
    min-height: 560px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;
}


.cta-smiley {
    width: 80px;
    height: 80px;

    border: var(--border);

    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--red);
    color: white;

    font-size: 1.5rem;
    font-weight: 950;

    transform: rotate(-6deg);

    margin-bottom: 30px;
}


.final-cta h2 {
    max-width: 800px;

    font-size: clamp(3rem, 6vw, 6rem);

    line-height: 0.9;

    letter-spacing: -0.06em;
}


.dark-button {
    margin-top: 38px;

    padding: 16px 27px;

    background: var(--black);
    color: white;

    box-shadow: 5px 5px 0 var(--red);
}


/* FOOTER */

footer {
    background: var(--black);
    color: white;

    padding-top: 70px;
}


.footer-layout {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    padding-bottom: 60px;
}


.footer-brand {
    margin-bottom: 17px;
}


.footer-layout p {
    color: #aaa;
}


.footer-links {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 35px;
}


.footer-links > div {
    display: flex;
    flex-direction: column;

    gap: 9px;
}


.footer-links strong {
    margin-bottom: 7px;
}


.footer-links a {
    color: #aaa;
    font-size: 0.85rem;
}


.footer-links a:hover {
    color: white;
}


.footer-bottom {
    min-height: 70px;

    border-top:
            1px solid #393939;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #777;

    font-size: 0.78rem;
}


/* TABLET */

@media (max-width: 950px) {

    .menu-button {
        display: block;
    }


    nav {
        display: none;

        position: absolute;

        top: 76px;
        left: 20px;
        right: 20px;

        padding: 24px;

        flex-direction: column;
        align-items: stretch;

        background: var(--cream);

        border: var(--border);

        box-shadow: 6px 6px 0 var(--black);
    }


    nav.open {
        display: flex;
    }


    .login-link {
        margin-left: 0;
    }


    .hero-layout,
    .conversation-layout,
    .safety-layout {
        grid-template-columns: 1fr;
    }


    .hero-copy {
        text-align: center;
    }


    .hero-copy > p {
        margin-left: auto;
        margin-right: auto;
    }


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


    .hero-art {
        max-width: 600px;
        width: 100%;

        margin: 0 auto;
    }


    .feature-grid {
        grid-template-columns: 1fr;
    }


    .feature-card,
    .feature-card:first-child {
        border-left: var(--border);
        border-right: var(--border);
        border-bottom: var(--border);
    }


    .feature-card:last-child {
        border-bottom: 0;
    }


    .feature-card {
        min-height: 290px;
    }


    .steps {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .step-arrow {
        display: none;
    }


    .phone {
        margin-top: 15px;
    }


    .footer-layout {
        grid-template-columns: 1fr;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }


    .hero-layout {
        min-height: auto;

        padding-top: 55px;
        padding-bottom: 60px;
    }


    .hero h1 {
        font-size: 4rem;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .primary-button {
        width: 100%;
    }


    .hero-art {
        min-height: 480px;
    }


    .conversation-card {
        width: 290px;
    }


    .person-card {
        width: 235px;
    }


    .person-photo {
        width: 58px;
        height: 58px;
    }


    .about-layout,
    .section-header {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .section {
        padding: 75px 0;
    }


    .feature-card {
        padding: 28px;
    }


    .conversation-layout {
        padding-top: 70px;
        padding-bottom: 70px;
    }


    .footer-links {
        grid-template-columns: 1fr 1fr;
    }


    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        gap: 5px;
    }

}