:root {
    --background: #fff7f9;
    --paper: #fffdfd;
    --pink: #f8e5eb;
    --pink-dark: #edcbd7;
    --ink: #211d20;
    --muted: #71666c;
    --border: #282328;
    --accent: #d9a8bd;

    --hand: "Caveat", cursive;
    --body: "Inter", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    background: var(--background);
    color: var(--ink);
    font-family: var(--body);
    overflow-x: hidden;
}

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

button {
    font: inherit;
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 247, 249, .94);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border);
}

.navbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-family: var(--hand);
    font-size: 34px;
    font-weight: 700;
    white-space: nowrap;
}

.logo span {
    background: var(--ink);
    color: var(--background);
    padding: 0 9px;
    border-radius: 5px;
    margin-right: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-family: var(--hand);
    font-size: 23px;
    font-weight: 600;
}

.nav-links a {
    transition: color .2s;
}

.nav-links a:hover {
    color: #b46d8d;
}

.nav-socials {
    display: flex;
    gap: 10px;
}

.nav-socials a {
    border: 1.5px solid var(--border);
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s, color .2s;
}

.nav-socials a:hover {
    background: var(--ink);
    color: white;
}

/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border: 2px solid var(--border);
    background: var(--paper);
    font-family: var(--hand);
    font-size: 22px;
    font-weight: 700;
    transition: transform .2s, background .2s;
    cursor: pointer;
}

.button:hover {
    transform: translate(-3px, -3px);
    background: var(--pink);
    box-shadow: 4px 4px 0 var(--border);
}

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

.button.primary:hover {
    background: #4a3942;
}

/* HERO */

.hero {
    min-height: 570px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding-block: 75px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    font-family: var(--hand);
    font-size: 23px;
    color: var(--muted);
    margin-bottom: 15px;
}

.hero h1 {
    font-family: var(--hand);
    font-size: clamp(70px, 9vw, 112px);
    font-weight: 700;
    line-height: .78;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.hero h1 span {
    display: block;
    color: #b47c96;
}

.hero-description {
    max-width: 470px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-art {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
}

.hero-art::before {
    content: "";
    position: absolute;
    width: 85%;
    height: 85%;
    background: var(--pink);
    border: 2px solid var(--border);
    border-radius: 48% 52% 42% 58%;
    transform: rotate(-8deg);
}

.hero-art::after {
    content: "RANDOMNESS IS A CHALLENGE";
    position: absolute;
    bottom: 5%;
    right: -5%;
    font-family: var(--hand);
    font-size: 20px;
    transform: rotate(-7deg);
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 340px;
    object-fit: contain;
}

.hero-stamp {
    position: absolute;
    z-index: 2;
    top: 8%;
    right: 2%;
    border: 2px solid var(--border);
    background: var(--paper);
    padding: 8px 15px;
    font-family: var(--hand);
    font-size: 24px;
    transform: rotate(9deg);
}

/* SECTIONS */

section {
    padding-block: 85px;
    border-top: 1px solid var(--pink-dark);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.section-heading h2 {
    font-family: var(--hand);
    font-size: clamp(42px, 6vw, 65px);
    line-height: 1;
}

.section-heading p {
    max-width: 400px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
}

.gallery-card {
    position: relative;
    background: var(--paper);
    border: 2px solid var(--border);
    padding: 9px;
    overflow: hidden;
    box-shadow: 5px 5px 0 var(--pink-dark);
}

.gallery-card img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: saturate(.8);
    transition: transform .4s;
}

.gallery-card:hover img {
    transform: scale(1.025);
}

.gallery-card figcaption {
    padding: 12px 5px 5px;
    font-family: var(--hand);
    font-size: 23px;
    font-weight: 600;
}

.gallery-side {
    display: grid;
    gap: 24px;
}

.gallery-side .gallery-card img {
    aspect-ratio: 16 / 9;
}

/* FEATURES */

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

.feature {
    min-height: 205px;
    background: var(--paper);
    border: 2px solid var(--border);
    padding: 25px;
    position: relative;
    transition: transform .2s;
}

.feature:hover {
    transform: translateY(-5px) rotate(-.5deg);
}

.feature-number {
    font-family: var(--hand);
    font-size: 25px;
    color: #b47c96;
}

.feature h3 {
    font-family: var(--hand);
    font-size: 29px;
    margin: 15px 0 8px;
}

.feature p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* HOW IT WORKS */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.step {
    counter-increment: step;
    padding: 20px;
    border-left: 2px solid var(--border);
}

.step::before {
    content: "0" counter(step);
    font-family: var(--hand);
    font-size: 35px;
    color: #b47c96;
}

.step h3 {
    font-family: var(--hand);
    font-size: 25px;
    margin: 10px 0;
}

.step p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* TECHNOLOGY & STATUS */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.info-panel {
    border: 2px solid var(--border);
    background: var(--paper);
    padding: 30px;
}

.info-panel h2 {
    font-family: var(--hand);
    font-size: 38px;
    margin-bottom: 25px;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    border: 1.5px solid var(--border);
    padding: 10px 15px;
    background: var(--pink);
    font-size: 13px;
    font-weight: 600;
}

.status-label {
    display: inline-block;
    padding: 7px 15px;
    background: var(--pink);
    border: 1.5px solid var(--border);
    font-family: var(--hand);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.platform {
    border: 1.5px solid var(--border);
    padding: 15px;
    font-size: 13px;
}

.platform strong {
    display: block;
    margin-bottom: 5px;
}

/* FINAL CTA */

.final-cta {
    text-align: center;
    padding: 90px 20px;
    background: var(--pink);
    border-block: 2px solid var(--border);
}

.final-cta h2 {
    font-family: var(--hand);
    font-size: clamp(45px, 7vw, 75px);
    margin-bottom: 15px;
}

.final-cta p {
    color: var(--muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* FOOTER */

footer {
    padding: 35px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    font-family: var(--hand);
    font-size: 27px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-family: var(--hand);
    font-size: 22px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    color: var(--muted);
    font-size: 11px;
    margin-top: 20px;
}

/* MOBILE NAV */

.menu-toggle {
    display: none;
    border: 2px solid var(--border);
    background: transparent;
    padding: 6px 12px;
    font-family: var(--hand);
    font-size: 22px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .nav-links {
        gap: 15px;
        font-size: 19px;
    }

    .nav-socials {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-block: 55px;
    }

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

    .hero-image {
        height: 300px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        width: calc(100% - 30px);
    }

    .navbar {
        min-height: 60px;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 28px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0 18px;
    }

    .nav-links.open {
        display: flex;
    }

    .hero h1 {
        font-size: 76px;
    }

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

    .hero-image {
        height: 260px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .features-grid,
    .steps,
    .info-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }

    section {
        padding-block: 60px;
    }
}
