:root {
    --stable: #1c1a46;
    --jumper: #8849d5;
    --tackleaf: #4bb078;
    --rein: #c6d4eb;
    --ink: #111827;
    --muted: #6b7280;
    --line: #eef0f4;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

.site-shell {
    min-height: 100vh;
    background: #ffffff;
}

.topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.topbar-inner,
.page-section,
.cta-inner,
.site-footer-inner {
    width: min(100% - 2rem, 80rem);
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.brand img {
    width: 2rem;
    height: 2rem;
}

.topbar-link,
.outline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255 / 0.3);
    border-radius: 0.5rem;
    padding: 0.7rem 1rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background 180ms ease, border-color 180ms ease;
}

.topbar-link:hover,
.outline-link:hover {
    background: rgb(255 255 255 / 0.1);
    border-color: rgb(255 255 255 / 0.6);
}

.hero {
    position: relative;
    min-height: 88vh;
    overflow: hidden;
    background: #000000;
}

.hero-inner {
    position: relative;
    z-index: 10;
    display: grid;
    align-items: end;
    min-height: 88vh;
    width: min(100% - 2rem, 80rem);
    margin: 0 auto;
    padding: 7rem 0 5rem;
    gap: 2.5rem;
}

.eyebrow {
    display: block;
    margin-bottom: 1rem;
    color: var(--jumper);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    max-width: 48rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: 3rem;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 36rem;
    margin-bottom: 2rem;
    color: rgb(255 255 255 / 0.72);
    font-size: 1.05rem;
    line-height: 1.75;
}

.button-jumper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--jumper);
    border-radius: 0.5rem;
    background: var(--jumper);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    box-shadow: 0 14px 28px rgb(136 73 213 / 0.25);
    transition: background 180ms ease, transform 180ms ease;
}

.button-jumper:hover {
    background: rgb(136 73 213 / 0.86);
    transform: translateY(-1px);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    width: min(100%, 36rem);
}

.featured-tile {
    display: block;
    border: 1px solid rgb(255 255 255 / 0.16);
    border-radius: 0.5rem;
    background: #ffffff;
    padding: 0.85rem;
    box-shadow: 0 24px 60px rgb(0 0 0 / 0.28);
    transition: transform 180ms ease, background 180ms ease;
}

.featured-tile:hover {
    transform: translateY(-0.25rem);
}

.featured-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.page-section {
    padding: 5rem 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-heading h2 {
    margin-bottom: 1rem;
    color: var(--stable);
    font-size: 2.25rem;
    line-height: 1.08;
}

.section-heading p {
    max-width: 42rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.file-count {
    flex: 0 0 auto;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 700;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.emoji-card {
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 4px 18px rgb(17 24 39 / 0.05);
}

.emoji-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 0.5rem;
    background: #f9fafb;
    padding: 1rem;
}

.emoji-card-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.emoji-card-body {
    padding-top: 1rem;
}

.emoji-card h3 {
    color: #111827;
    font-size: 1rem;
    line-height: 1.35;
}

.coat-label {
    margin-top: 0.35rem;
    color: var(--jumper);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    border-radius: 0.5rem;
    background: var(--stable);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background 180ms ease;
}

.download-button:hover {
    background: var(--jumper);
}

.cta {
    background: var(--stable);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 3.5rem 0;
}

.cta h2 {
    margin-bottom: 0.35rem;
    color: #ffffff;
    font-size: 1.5rem;
}

.cta p {
    max-width: 42rem;
    color: rgb(255 255 255 / 0.66);
    line-height: 1.65;
}

.site-footer {
    background: rgb(0 0 0 / 0.9);
}

.site-footer-inner {
    padding: 3.5rem 0 2rem;
}

.site-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.site-footer .brand {
    color: #ffffff;
}

.site-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(255 255 255 / 0.6);
    font-size: 0.875rem;
    transition: color 180ms ease;
}

.site-footer-social:hover {
    color: #ffffff;
}

.site-footer-social svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.site-footer-bottom {
    padding-top: 1.5rem;
    color: rgb(255 255 255 / 0.4);
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .emoji-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .hero-copy-block {
        grid-column: span 6;
    }

    .hero-gallery-block {
        grid-column: span 6;
        justify-self: end;
    }

    .emoji-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }

    h1 {
        font-size: 3.75rem;
    }

    .section-heading h2 {
        font-size: 3.5rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .topbar-inner,
    .hero-inner,
    .page-section,
    .cta-inner {
        width: min(100% - 1.5rem, 80rem);
    }

    .topbar-link {
        padding-inline: 0.85rem;
    }

    .hero-inner {
        padding-bottom: 3.5rem;
    }

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

    .page-section {
        padding: 4rem 0;
    }
}
