/* Modulus Seventeen: styles shared by every page (tokens, header, buttons, scroll animations, final CTA, footer).
   Built from Figma "Sell - Dev": Landing Page - Desktop (1890:3864, 1440w) and Landing Page - Mobile (1890:5843, 400w).
   Fluid values interpolate linearly between the 400px and 1440px frames:
   clamp(MIN, calc(MIN + (MAX - MIN) * (100vw - 400px) / 1040), MAX) */

:root {
    --sell: #261f8e;
    --sell-bright: #3f4ee3;
    --buy: #a52226;
    --ink: #232323;
    --black: #000;
    --white: #fff;
    --title: #4c4949;
    --heading: #3c3c3c;
    --muted: #777;
    --muted-2: #8b8b8b;
    --body: #525252;
    --grey-text: #5e5e5e;
    --address: #8c8c8c;
    --sell-tint: rgba(38, 31, 142, 0.1);
    --buy-tint: #f5e8e9;
    --paid: #00bd10;
    --paid-tint: rgba(0, 189, 16, 0.1);
    --line: #cfcfcf;
    --hairline: #d2d2d2;
    --grid-line: #e6e7f3;
    --page-top: #e3e5fa;
    --bg: #fcfcfd;

    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --gutter: clamp(15px, calc(15px + 33 * (100vw - 400px) / 1040), 48px);
    --maxw: 1344px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;   /* no blue flash over a button or link when it is tapped on a phone */
}

/* buttons, the navbar, the hero and the demo are for tapping, not for selecting: a long press there
   used to paint a blue selection box over the logo, the buttons and the badges */
button,
.btn,
.nav,
.mobile-menu,
.store-badges,
.marquee,
.hero-diagram,
.try,
.sync-pill,
.footer-wordmark {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Lenis smooth scrolling */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--bg) linear-gradient(180deg, var(--page-top) 0, #fbfbfe 168px, var(--bg) 200px) no-repeat;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

p,
h1,
h2,
h3,
h4,
ul,
ol {
    margin: 0;
}

img {
    display: block;
    max-width: none;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

.sell {
    color: var(--sell);
}

.buy {
    color: var(--buy);
}

/* italic serif accent words in headings ("Yourself", "Business", "Questions"...) */
.serif-i {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    line-height: 0.75;   /* Cormorant's taller metrics would otherwise stretch the heading's lines */
    color: var(--sell-bright);
}

.serif-sb {
    font-weight: 600;
}

/* desktop vs phone copy (Figma uses different wording in a few places) */
.m-only {
    display: none;
}

.container {
    width: 100%;
    max-width: calc(var(--maxw) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 30px;
    font-weight: 600;
    font-size: clamp(16px, calc(16px + 4 * (100vw - 400px) / 1040), 20px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), background-color 0.25s, color 0.25s;
}

.btn:active {
    transform: scale(0.97);
}

.btn:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--sell-bright);
    outline-offset: 3px;
}

/* paddings are 1px under Figma's because the 1px border sits inside Figma's button sizes */
.btn-dark {
    background: var(--black);
    color: var(--white);
    padding: 15px 31px;
}

.btn-dark:hover {
    box-shadow: 4px 4px 0 var(--sell-bright);
    transform: translate(-2px, -2px);
}

.btn-outline {
    border-color: var(--black);
    color: var(--black);
    padding: 15px 31px;
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn-arrow {
    gap: 24px;
    padding: 7px 7px 7px 31px;
}

.btn-arrow-icon {
    display: flex;
    padding: 8px;
    border-radius: 41px;
    background: var(--white);
    transition: transform 0.45s var(--ease-spring);
}

.btn-arrow-icon img {
    width: 24px;
    height: 24px;
}

.btn-arrow:hover .btn-arrow-icon {
    transform: rotate(-45deg) scale(1.08);
}

/* ---------- Value cards (home Neighborhood 1890:5326 / 1890:7231, About "What We Believe") ---------- */

.value-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, calc(8px + 16 * (100vw - 400px) / 1040), 24px);
}

.value-row {
    display: flex;
    gap: clamp(8px, calc(8px + 16 * (100vw - 400px) / 1040), 24px);
}

.vcard {
    --vp: clamp(8px, calc(8px + 8 * (100vw - 400px) / 1040), 16px);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: var(--vp) clamp(4px, calc(4px + 16 * (100vw - 400px) / 1040), 20px) var(--vp) var(--vp);
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: clamp(15px, calc(15px + 15 * (100vw - 400px) / 1040), 30px);
    box-shadow: clamp(2px, calc(2px + 3 * (100vw - 400px) / 1040), 5px) clamp(2px, calc(2px + 3 * (100vw - 400px) / 1040), 5px) 0 var(--hairline);
    transition: box-shadow 0.4s var(--ease-out), border-color 0.4s, transform 0.5s var(--ease-spring), opacity 1s var(--ease-out);
}

.value-row .vcard:first-child p {
    max-width: 12.1em;
}

.value-cards > .vcard p {
    max-width: 15.55em;
}

.vcard:hover {
    border-color: var(--sell-bright);
    box-shadow: 7px 7px 0 var(--sell-bright);
}

.vc-ic {
    display: flex;
    flex: none;
    padding: clamp(0px, calc(16 * (100vw - 400px) / 1040), 16px);
    border-radius: 49px;
    transition: background 0.4s, transform 0.6s var(--ease-spring);
}

.vc-ic img {
    width: clamp(24px, calc(24px + 24 * (100vw - 400px) / 1040), 48px);
    height: auto;
}

.vcard:hover .vc-ic {
    background: rgba(63, 78, 227, 0.08);
    transform: rotate(-10deg) scale(1.08);
}

.vcard h3 {
    font-weight: 600;
    font-size: clamp(16px, calc(16px + 14 * (100vw - 400px) / 1040), 30px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--title);
}

/* the descriptions wrap at Figma's text-box widths (299px, 242px and 311px at 20px) */
.vcard p {
    max-width: 14.95em;
    margin-top: clamp(4px, calc(4px + 4 * (100vw - 400px) / 1040), 8px);
    font-size: clamp(12px, calc(12px + 8 * (100vw - 400px) / 1040), 20px);
    line-height: 1.4;
    letter-spacing: -0.025em;
    color: var(--muted-2);
}

/* phones: the cards stack full width */
@media (max-width: 719px) {
    .value-cards,
    .value-row {
        width: 100%;
    }

    .value-cards {
        align-items: stretch;
    }

    .value-row {
        flex-direction: column;
    }

    .vcard h3 {
        font-weight: 500;
    }

    .vcard p,
    .value-row .vcard:first-child p,
    .value-cards > .vcard p {
        max-width: none;
    }
}

/* ---------- Header / navbar (1890:3888 desktop, 1890:7443 mobile) ---------- */

.site-header {
    position: relative;
    z-index: 50;
}

.nav {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px var(--gutter) 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-logo {
    width: 64px;
    height: 47px;
    transition: transform 0.6s var(--ease-spring);
}

.nav-brand:hover .nav-logo {
    transform: rotate(-8deg) scale(1.06);
}

.nav-wordmark {
    display: flex;
    gap: 8px;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--black);
    white-space: nowrap;
}

.nav-wordmark .accent {
    color: var(--sell-bright);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    position: relative;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: rgba(0, 0, 0, 0.77);
}

/* underline that sweeps in on hover */
.nav-link::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 4px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.is-active::after,
.nav-link.is-current::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* the page you're on (marked with class="is-current" in the navbar and the phone menu) */
.nav-link.is-current,
.mobile-menu a.is-current {
    color: var(--sell-bright);
}

.nav-link.sell,
.nav-link.buy {
    margin-right: -8px;
    font-weight: 600;
}

.nav-link.sell {
    color: var(--sell);
}

.nav-link.buy {
    color: var(--buy);
}

.nav-cta {
    font-size: 20px;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 2;
    width: 24px;
    height: 24px;
    padding: 4px 3px;
    border: 0;
    background: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--black);
    transition: transform 0.35s var(--ease-out), opacity 0.2s;
}

.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

/* The navbar is always a compact floating pill pinned to the top of the window.
   The header keeps the space the full-width navbar took (Figma: 48px + 56px), so the page starts in the same place. */
.site-header {
    height: 104px;
}

.site-header .nav {
    position: fixed;
    top: 12px;
    left: 50%;
    width: min(calc(100% - 24px), 1200px);
    padding: 10px 10px 10px 20px;
    border: 1px solid rgba(63, 78, 227, 0.18);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(38, 31, 142, 0.08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
    animation: header-drop 0.6s var(--ease-out);
}

.site-header .nav-logo {
    width: 44px;
    height: 32px;
}

.site-header .nav-wordmark {
    font-size: 26px;
}

.site-header .nav-link {
    font-size: 17px;
}

.site-header .nav-cta {
    padding: 12px 24px;
    font-size: 17px;
}

@keyframes header-drop {
    from { transform: translate(-50%, -140%); }
}

/* ---------- Scroll reveals (js/site.js) ---------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: var(--d, 0s);
}

[data-reveal="left"] {
    transform: translateX(-50px);
}

[data-reveal="right"] {
    transform: translateX(50px);
}

[data-reveal="zoom"] {
    transform: scale(0.92);
}

/* on phones a block waiting off to the side would stretch the page wider than the screen,
   and the browser then zooms out and crops everything: rise in from below instead */
@media (max-width: 899px) {
    [data-reveal="left"],
    [data-reveal="right"] {
        transform: translateY(40px);
    }
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* headings rise in word by word; each word is masked so it slides up from behind the line */
.split-words .w {
    display: inline-block;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
    overflow: hidden;
    vertical-align: top;
}

.split-words .w > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1s var(--ease-out);
    transition-delay: calc(var(--i) * 45ms + var(--d, 0s));
}

.split-words.is-in .w > span {
    transform: none;
}

/* ---------- Final CTA (1890:3915 desktop, 1890:7384 mobile) ---------- */

.cta-final {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    /* a modest gap above the footer; Figma's phone frame leaves 157px there, which looked like a hole */
    padding: clamp(60px, calc(60px + 42 * (100vw - 400px) / 1040), 102px) var(--gutter) clamp(44px, calc(60px - 16 * (100vw - 400px) / 1040), 60px);
    text-align: center;
}

.cta-ornament {
    width: 62px;
    height: auto;
    animation: ornament 3.6s ease-in-out infinite;
}

@keyframes ornament {
    50% { transform: translateY(-6px); }
}

.cta-title {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: clamp(25px, calc(25px + 33.32 * (100vw - 400px) / 1040), 58.32px);
    line-height: clamp(30px, calc(30px + 27.2 * (100vw - 400px) / 1040), 57.2px);
    letter-spacing: clamp(-2.33px, calc(-0.625px - 1.705 * (100vw - 400px) / 1040), -0.625px);
    color: var(--black);
    padding-bottom: clamp(3px, calc(3px + 3 * (100vw - 400px) / 1040), 6px);   /* Figma's title box runs a little past its lines */
}

.cta-title .serif-i {
    font-weight: 500;
    line-height: inherit;   /* it is a line of its own */
}

.cta-sub {
    margin-top: clamp(-8px, calc(-8px + 8 * (100vw - 400px) / 1040), 0px);   /* 8px under the title on phones */
    font-size: clamp(12px, calc(12px + 1 * (100vw - 400px) / 1040), 13px);
    line-height: 19.5px;
    color: #a8a7af;
}

/* ---------- Footer (1890:3930 + 1890:5797 desktop, 1890:7400 + 1890:5844 mobile) ---------- */

/* The footer row sits on top of a huge faded "Modulus Seventeen" that starts at the footer's top edge and is cut
   off by the bottom of the page (desktop); on phones it sits behind the last row of links. */
.site-footer {
    position: relative;
    padding: clamp(16px, calc(16px + 42 * (100vw - 400px) / 1040), 58px) 0 clamp(24px, calc(24px + 25 * (100vw - 400px) / 1040), 49px);
    overflow: hidden;
}

/* js/site.js sizes it to span the full width and lets it rise into place as the footer scrolls in */
.footer-wordmark {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    gap: 0.25em;
    font-weight: 600;
    font-size: 176px;
    line-height: 1;
    letter-spacing: -0.03em;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    pointer-events: none;
    transform: translateY(var(--wm, 30px));
}

.footer-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    max-width: calc(var(--maxw) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 clamp(17px, calc(17px + 31 * (100vw - 400px) / 1040), 48px);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: clamp(8px, calc(8px + 10 * (100vw - 400px) / 1040), 18px);
}

.footer-brand img {
    width: clamp(51px, calc(51px + 31 * (100vw - 400px) / 1040), 82px);
    height: auto;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.1;
}

.footer-brand-name {
    font-weight: 600;
    font-size: clamp(20px, calc(20px + 10 * (100vw - 400px) / 1040), 30px);
    letter-spacing: -0.03em;
    word-spacing: 4px;
    color: #252525;
}

.footer-brand-tag {
    font-size: clamp(12px, calc(12px + 2 * (100vw - 400px) / 1040), 14px);
    letter-spacing: -0.03em;
    color: #838383;
}

.footer-links {
    display: flex;
    gap: 16px;
    padding-top: 4px;   /* the links start 4px below the logo's top edge */
}

.footer-group {
    display: flex;
    gap: 16px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    width: clamp(80px, calc(80px + 80 * (100vw - 900px) / 540), 160px);   /* 160px columns at 1440 (Figma) */
    min-width: max-content;
}

.footer-col a {
    padding-bottom: 2px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    font-size: clamp(14px, calc(14px + 2 * (100vw - 400px) / 1040), 16px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #171717;
    white-space: nowrap;
    transition: background-size 0.4s var(--ease-out), color 0.2s;
}

.footer-col a:hover {
    background-position: 100% 100%;
    background-size: 0 1px;
    color: var(--sell-bright);
}

/* ---------- Toast ---------- */

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 100;
    padding: 14px 22px;
    border-radius: 30px;
    background: var(--black);
    box-shadow: 4px 4px 0 var(--sell-bright);
    font-weight: 500;
    font-size: 15px;
    color: var(--white);
    transform: translate(-50%, 140%);
    transition: transform 0.5s var(--ease-spring);
}

.toast.show {
    transform: translate(-50%, 0);
}

/* ---------- Tablet / small laptop ---------- */

@media (max-width: 1100px) {
    .nav-logo {
        width: 48px;
        height: 35px;
    }

    .nav-wordmark {
        font-size: 30px;
    }

    .nav-menu {
        gap: 8px;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 18px;
    }

    .nav-cta {
        padding: 14px 24px;
        font-size: 18px;
    }

}

/* ---------- Phones (navbar 1890:7443, footer 1890:7400) ---------- */

@media (max-width: 899px) {
    .d-only {
        display: none;
    }

    .m-only {
        display: inline;
    }

    .nav {
        padding-top: 21px;
    }

    .nav-brand {
        gap: 8px;
    }

    .nav-logo {
        width: 40px;
        height: 30px;
    }

    .nav-wordmark {
        gap: 4px;
        font-size: 20px;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .site-header {
        height: 51px;
    }

    .site-header .nav {
        padding: 8px 12px 8px 16px;
    }

    .site-header .nav-logo {
        width: 30px;
        height: 22px;
    }

    .site-header .nav-wordmark {
        font-size: 18px;
    }

    /* Figma 400px frame: 42px arrow button with a 22px circle, 39px plain buttons */
    .btn-arrow {
        gap: 8px;
        padding: 9px 7px 9px 31px;
    }

    .btn-arrow-icon {
        padding: 4px;
    }

    .btn-arrow-icon img {
        width: 14px;
        height: 14px;
    }

    .btn-dark,
    .btn-outline {
        padding: 9px 19px;
    }

    /* full-screen menu that opens in a circle from the menu button */
    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 92px 24px calc(28px + env(safe-area-inset-bottom));
        background: var(--bg);   /* solid, so the page behind never ghosts through the menu */
        clip-path: circle(0 at calc(100% - 28px) 36px);
        visibility: hidden;
        transition: clip-path 0.7s var(--ease-out), visibility 0s 0.7s;
    }

    .menu-open .mobile-menu {
        clip-path: circle(150% at calc(100% - 28px) 36px);
        visibility: visible;
        transition: clip-path 0.7s var(--ease-out);
    }

    /* quiet rows with hairline dividers and a small chevron, the call to action pinned to the bottom */
    .mobile-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 17px 2px;
        border-bottom: 1px solid #ececf1;
        font-weight: 500;
        font-size: 17px;
        letter-spacing: -0.02em;
        color: var(--ink);
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.5s, transform 0.5s var(--ease-out);
    }

    .mobile-menu a:first-child {
        border-top: 1px solid #ececf1;
    }

    .mobile-menu a:not(.btn)::after {
        content: "";
        width: 7px;
        height: 7px;
        border-top: 1.5px solid currentColor;
        border-right: 1.5px solid currentColor;
        opacity: 0.35;
        transform: rotate(45deg);
    }

    /* the two apps read as small brand labels */
    .mobile-menu a.sell,
    .mobile-menu a.buy {
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 0.1em;
    }

    .mobile-menu a.sell {
        color: var(--sell);
    }

    .mobile-menu a.buy {
        color: var(--buy);
    }

    .mobile-menu a.btn {
        justify-content: center;
        margin-top: auto;
        padding: 15px 24px;
        border: 0;
        font-weight: 600;
        font-size: 16px;
        color: var(--white);
    }

    .menu-open .mobile-menu a {
        opacity: 1;
        transform: none;
    }

    .menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.05s; }
    .menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.1s; }
    .menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.15s; }
    .menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.2s; }
    .menu-open .mobile-menu a:nth-child(6) { transition-delay: 0.25s; }
    .menu-open .mobile-menu a:nth-child(7) { transition-delay: 0.3s; }

    .menu-open {
        overflow: hidden;
    }

    /* footer links: site links on the left, socials on the right (Figma mobile order) */
    .footer-links {
        justify-content: space-between;
    }

    .footer-group {
        flex-direction: column;
        gap: 16px;
    }

    .footer-group-site .footer-col {
        align-items: flex-start;
    }

    .footer-group-site .footer-col:last-child {
        order: -1;   /* Modulus Sell / Buy first */
    }

    /* footer: links drop under the brand */
    .footer-row {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .footer-links {
        padding-top: 0;
    }

    .footer-col {
        width: auto;
    }

    .footer-col {
        gap: 16px;
    }

    .footer-col a {
        color: #595959;
    }

    /* the CTA button is a smaller pill with a Medium label on phones */
    .cta-final .btn {
        font-weight: 500;
    }

    /* the wordmark peeks out behind the last rows of links, a little darker than on desktop */
    .footer-wordmark {
        top: auto;
        bottom: 0;
        line-height: 1.1;
        color: rgba(0, 0, 0, 0.05);
    }
}

/* Reduced motion: animations finish instantly instead of being switched off, so anything that animates
   into its final state (printed receipts, popping badges) still ends up visible. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        transition-delay: 0s !important;
    }

    [data-reveal],
    .split-words .w > span {
        opacity: 1;
        transform: none;
    }
}
