:root {
    --bg: #0f1412;
    --bg-elevated: #171e1b;
    --text: #e8eee9;
    --muted: #9aaba0;
    --accent: #d5dcd7;
    --accent-soft: rgba(213, 220, 215, 0.14);
    --line: rgba(232, 238, 233, 0.12);
    --font-sans: "DM Sans", sans-serif;
    --font-display: "Montserrat", "DM Sans", sans-serif;
    --space: clamp(1.25rem, 5vw, 4rem);
    --max: 100rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    scroll-padding-bottom: 9rem;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(180, 190, 184, 0.1), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(120, 130, 124, 0.14), transparent 50%),
        var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    width: 100%;
    background: rgba(15, 20, 18, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 1.25rem var(--space);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand__logo {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: center center;
}

.brand__logo.is-spinning {
    animation: brand-spin-bounce 0.85s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}

@keyframes brand-spin-bounce {
    0% {
        transform: rotate(0deg) scale(1);
    }
    35% {
        transform: rotate(200deg) scale(1.18);
    }
    55% {
        transform: rotate(320deg) scale(0.92);
    }
    75% {
        transform: rotate(360deg) scale(1.08);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand__logo.is-spinning {
        animation: none;
    }
}

.site-nav {
    display: flex;
    gap: 1.25rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--text);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 1.15rem;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

.site-header.is-open .nav-toggle__bars {
    background: transparent;
}

.site-header.is-open .nav-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.is-open .nav-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--space) 10rem;
}

.hero {
    min-height: calc(100vh - 5rem);
    display: grid;
    align-items: center;
    padding: 2rem 0 4rem;
    text-align: left;
}

.hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) auto;
    align-items: center;
    justify-content: space-between;
    column-gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
    max-width: none;
}

.hero__copy {
    min-width: 0;
    padding-right: 0;
}

.hero__logo-wrap {
    margin: 0 0 0 clamp(0.5rem, 3vw, 2.5rem);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero__logo {
    display: block;
    width: clamp(20rem, 42vw, 32rem);
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
    animation: hero-float 4.5s ease-in-out infinite;
    will-change: transform;
}

@keyframes hero-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__logo {
        animation: none;
    }
}

.hero__description {
    max-width: 100%;
    margin: 0 0 1.4rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero__lead {
    max-width: 46rem;
    color: var(--muted);
    margin: 0 0 2rem;
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.9rem;
}

.hero__actions .btn {
    padding: 0.95rem 1.45rem;
    font-size: 1.05rem;
}

@media (max-width: 800px) {
    .hero {
        min-height: auto;
        align-items: start;
        padding: 0.5rem 0 1.25rem;
        text-align: center;
    }

    .hero__content {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 0.35rem;
    }

    .hero__copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__logo-wrap {
        order: -1;
        width: 100%;
        margin: 0 0 -4rem;
        justify-content: center;
    }

    .hero__logo {
        width: min(19rem, 82vw);
        animation: none;
    }

    .hero__actions {
        width: 100%;
        margin-top: 1.15rem;
    }

    .hero__actions .btn--primary {
        display: none;
    }

    .hero__actions .btn--ghost {
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }

    .hero__description {
        max-width: 18rem;
        margin-bottom: 0.7rem;
        font-size: clamp(1.65rem, 7.4vw, 2.05rem);
    }

    .hero__lead {
        max-width: 22rem;
        margin-bottom: 0;
        font-size: 1rem;
        line-height: 1.5;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    border-radius: 0.35rem;
    text-decoration: none;
    border: 1px solid transparent;
    font: inherit;
    cursor: pointer;
}

.btn--primary {
    background: var(--text);
    color: var(--bg);
}

.btn--primary:hover {
    background: #fff;
}

.btn--ghost {
    border-color: var(--line);
    background: transparent;
    color: var(--text);
}

.btn--ghost:hover {
    border-color: rgba(232, 238, 233, 0.35);
    background: var(--accent-soft);
}

.section {
    padding: 3rem 0;
    border-top: 1px solid var(--line);
}

.section h1,
.section h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.section__lead {
    color: var(--muted);
    max-width: 36rem;
    margin: 0 0 1.5rem;
}

.focus-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.section--projects {
    min-height: calc(100vh - 5rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0 7.5rem;
}

.section--projects .section__intro {
    text-align: center;
    margin-bottom: 2rem;
}

.section--projects .section__lead {
    margin-left: auto;
    margin-right: auto;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    justify-content: center;
    max-width: 72rem;
    margin: 0 auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    animation: project-card-float 4.5s ease-in-out infinite;
    animation-delay: var(--card-delay, 0s);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    border-color: rgba(232, 238, 233, 0.28);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
}

.project-card__media {
    aspect-ratio: 16 / 10;
    background: #0b0f0d;
    overflow: hidden;
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.15rem 1.2rem 1.35rem;
    flex: 1;
}

.project-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.project-card__body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.project-card__tech {
    color: var(--accent) !important;
    font-size: 0.85rem !important;
}

.project-card__link {
    margin-top: auto;
    padding-top: 0.55rem;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.project-card__link:hover {
    text-decoration: underline;
}

@keyframes project-card-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-card {
        animation: none;
    }
}

@media (max-width: 960px) {
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .project-grid {
        grid-template-columns: 1fr;
        max-width: 24rem;
    }
}

.empty-state {
    color: var(--muted);
    grid-column: 1 / -1;
    text-align: center;
}

.section--download {
    min-height: calc(100vh - 5rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0 8.5rem;
}

.section--download .section__intro {
    text-align: center;
}

.section--download .section__lead {
    margin-left: auto;
    margin-right: auto;
}

.download-kicker {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin: -0.5rem 0 1.5rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 44rem;
    margin: 0 auto;
}

.download-card {
    padding: 1.35rem 1.4rem 1.1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
}

.download-card__top {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.download-card__mark {
    width: 3.4rem;
    height: 3.4rem;
    object-fit: contain;
    flex-shrink: 0;
}

.download-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.download-card p,
.download-card__subtitle {
    margin: 0;
    color: var(--muted);
}

.download-card__subtitle {
    font-size: 0.95rem;
}

.download-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.download-card__tags span {
    padding: 0.28rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    font-size: 0.82rem;
}

.download-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.35rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--line);
}

.download-card__foot strong {
    display: block;
    font-size: 0.95rem;
}

.download-card__foot span {
    color: var(--muted);
    font-size: 0.88rem;
}

.download-card__more {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.55rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
}

.download-card__more::after {
    content: "→";
    margin-left: 0.45rem;
}

.download-card__more:hover {
    border-color: rgba(232, 238, 233, 0.35);
    background: var(--accent-soft);
}

.product {
    width: 100%;
    padding-top: 2.25rem;
}

.product__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(1.5rem, 4vw, 3rem);
    row-gap: 0.85rem;
    align-items: center;
    margin-top: 1.5rem;
}

.product__back {
    grid-column: 1 / -1;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
}

.product__back:hover {
    color: var(--text);
}

.product__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    animation: product-rise 0.55s ease both;
}

.product__identity img {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: contain;
    flex-shrink: 0;
}

.product__identity h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    letter-spacing: -0.03em;
}

.product__identity p,
.product__lead,
.product__note {
    margin: 0;
    color: var(--muted);
}

.product__lead {
    max-width: 40rem;
    font-size: 1.05rem;
    line-height: 1.55;
    animation: product-rise 0.55s ease 0.08s both;
}

.product__download {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
    margin: 0;
    padding: 0.9rem 1.4rem;
    white-space: nowrap;
}

.product__split {
    display: grid;
    grid-template-columns: minmax(18rem, 0.85fr) minmax(22rem, 1.25fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
    margin-top: 2.4rem;
}

.product__label {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.product-features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.product-features li {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    animation: product-rise 0.5s ease both;
}

.product-features li:nth-child(1) { animation-delay: 0.12s; }
.product-features li:nth-child(2) { animation-delay: 0.18s; }
.product-features li:nth-child(3) { animation-delay: 0.24s; }
.product-features li:nth-child(4) { animation-delay: 0.3s; }
.product-features li:nth-child(5) { animation-delay: 0.36s; }

.product-features strong {
    color: var(--text);
}

.product-features span {
    color: var(--muted);
}

.plan-group {
    margin-top: 1.15rem;
}

.plan-group h3 {
    margin: 0 0 0.7rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.plan-card {
    padding: 1rem 1rem 0.85rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    animation: product-rise 0.55s ease both;
}

.plan-group:nth-of-type(1) .plan-card { animation-delay: 0.15s; }
.plan-grid .plan-card:nth-child(1) { animation-delay: 0.18s; }
.plan-grid .plan-card:nth-child(2) { animation-delay: 0.26s; }
.plan-grid .plan-card:nth-child(3) { animation-delay: 0.34s; }

.plan-card header strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.plan-card header span,
.product__note {
    color: var(--muted);
    font-size: 0.88rem;
}

.plan-card ul {
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.plan-card li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.4rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

.plan-card b {
    color: var(--text);
    font-weight: 600;
}

.plan-card--wide ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.plan-card--wide li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0 0 0 1rem;
    border-top: 0;
    border-left: 1px solid var(--line);
}

.plan-card--wide li:first-child {
    padding-left: 0;
    border-left: 0;
}

.product__note {
    margin: -0.35rem 0 0.2rem;
}

@keyframes product-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product__identity,
    .product__lead,
    .product-features li,
    .plan-card {
        animation: none;
    }
}

@media (max-width: 960px) {
    .product__hero,
    .product__split {
        grid-template-columns: 1fr;
    }

    .product__lead,
    .product__download {
        grid-column: 1;
        grid-row: auto;
    }

    .product__download {
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .download-card__foot {
        flex-direction: column;
        align-items: stretch;
    }

    .download-card__more {
        justify-content: center;
    }

    .product__split,
    .product-features li,
    .plan-grid,
    .plan-card--wide ul {
        grid-template-columns: 1fr;
    }

    .plan-card--wide li {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.4rem 0 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .plan-card--wide li:first-child {
        padding-left: 0;
    }
}

.section--contact {
    min-height: calc(100vh - 5rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0 8.5rem;
}

.section--contact .section__intro {
    text-align: center;
    margin-bottom: 1.75rem;
}

.section--contact .section__lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 40rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
    max-width: 64rem;
    width: 100%;
    margin: 0 auto;
}

.contact-block {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.4rem 1.45rem 1.5rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.contact-block--info {
    gap: 1.15rem;
    justify-content: flex-start;
}

.contact-block h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0 0 0.55rem;
}

.contact-block__text {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.contact-channels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.contact-channels li {
    display: grid;
    gap: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.contact-channels span {
    color: var(--muted);
    font-size: 0.85rem;
}

.contact-channels a,
.contact-channels strong {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.contact-channels a:hover {
    text-decoration: underline;
}

.contact-block--form .contact-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.85rem;
    max-width: none;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.contact-form__full {
    grid-column: 1 / -1;
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background-color: #101412;
    background: #101412;
    color: var(--text);
    font: inherit;
    color-scheme: dark;
    caret-color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(154, 171, 160, 0.7);
    opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(232, 238, 233, 0.35);
    background: #101412;
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px #101412 inset;
    box-shadow: 0 0 0 1000px #101412 inset;
    transition: background-color 9999s ease-in-out 0s;
    caret-color: var(--text);
}

.contact-form textarea {
    min-height: 4.75rem;
    max-height: 7rem;
    resize: vertical;
}

.contact-form__actions {
    margin-top: auto;
    display: grid;
    gap: 0.45rem;
    padding-top: 0.25rem;
}

.contact-form__actions .btn {
    justify-self: start;
}

.form-status {
    min-height: 1.25rem;
    margin: 0;
    color: var(--muted);
}

.form-status.is-error {
    color: #e07a7a;
}

.form-status.is-ok {
    color: var(--ok, #8fbf9a);
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 0.15rem var(--space) 0.7rem;
        background: rgba(15, 20, 18, 0.98);
        border-bottom: 1px solid var(--line);
    }

    .site-header.is-open .site-nav {
        display: flex;
    }

    .site-nav a {
        padding: 0.9rem 0;
        border-top: 1px solid var(--line);
        font-size: 1.05rem;
    }

    .section--projects,
    .section--download,
    .section--contact {
        min-height: auto;
        padding: 3rem 0 8rem;
        justify-content: flex-start;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 1.1rem;
    z-index: 30;
    display: flex;
    justify-content: center;
    padding: 0 var(--space);
    pointer-events: none;
}

.footer-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 999px;
    background: #f4f6f5;
    color: #1a1f1c;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.footer-pill:active {
    transform: translateY(0);
}

.footer-pill__chevron {
    position: absolute;
    top: -1.85rem;
    left: 50%;
    width: 0.7rem;
    height: 0.7rem;
    border-right: 2px solid rgba(244, 246, 245, 0.85);
    border-bottom: 2px solid rgba(244, 246, 245, 0.85);
    transform: translateX(-50%) rotate(45deg);
    animation: footer-chevron-float 4.5s ease-in-out infinite;
    will-change: transform;
    opacity: 0.9;
}

.footer-pill.is-at-contact .footer-pill__chevron {
    animation-name: footer-chevron-float-up;
}

.footer-pill__label {
    line-height: 1;
}

@keyframes footer-chevron-float {
    0%,
    100% {
        transform: translateX(-50%) translateY(0) rotate(45deg);
    }
    50% {
        transform: translateX(-50%) translateY(-14px) rotate(45deg);
    }
}

@keyframes footer-chevron-float-up {
    0%,
    100% {
        transform: translateX(-50%) translateY(0) rotate(225deg);
    }
    50% {
        transform: translateX(-50%) translateY(-14px) rotate(225deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-pill__chevron {
        animation: none;
    }

    .footer-pill.is-at-contact .footer-pill__chevron {
        transform: translateX(-50%) rotate(225deg);
    }
}

@media (max-width: 640px) {
    .footer-pill {
        max-width: calc(100vw - 2rem);
        padding: 0.8rem 1.2rem;
    }
}
