:root {
    --bg: #f7f8fa;
    --bg-soft: #ffffff;
    --panel: #ffffff;
    --panel-strong: #ffffff;
    --text: #101114;
    --muted: #60636f;
    --line: rgba(16, 17, 20, 0.08);
    --line-strong: rgba(16, 17, 20, 0.14);
    --accent: #ee0055;
    --shadow: 0 24px 72px rgba(16, 17, 20, 0.08);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
    background: var(--bg);
    color-scheme: light;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

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

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0 22px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--bg);
    margin-bottom: 24px;
}

.topbar::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    height: 1px;
    background: var(--line);
    transform: translateX(-50%);
    pointer-events: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.brand img {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
}

.topnav {
    display: none;
    gap: 24px;
    color: var(--text);
    font-size: 0.95rem;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.menu-toggle span {
    position: absolute;
    width: 16px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
    transform: translateY(-5px);
}

.menu-toggle span:nth-child(2) {
    transform: translateY(0);
}

.menu-toggle span:nth-child(3) {
    transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.mobile-menu a {
    padding: 14px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
}

.mobile-menu a:hover {
    border-color: var(--line);
    color: var(--accent);
}

.topnav a:focus-visible,
.mobile-menu a:focus-visible,
.footer a:focus-visible,
.feature-card h3 a:focus-visible,
.hodler-card a:focus-visible,
.address a:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(238, 0, 85, 0.14);
}

.topnav a,
.footer a,
.feature-card a,
.hodler-card a {
    transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.topnav a,
.footer a {
    font-weight: 600;
    color: #101114;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease,
        box-shadow 160ms ease;
}

.button-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(238, 0, 85, 0.16);
}

.button-ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
}

.button:hover {
    transform: translateY(-1px);
}

.button-accent:hover {
    box-shadow: 0 14px 28px rgba(238, 0, 85, 0.22);
}

.button-ghost:hover {
    background: rgba(238, 0, 85, 0.04);
    color: var(--accent);
    box-shadow: 0 10px 22px rgba(16, 17, 20, 0.06);
}

.hero-actions .button-ghost {
    background: rgba(255, 255, 255, 0.92);
}

.topbar-cta {
    min-height: 40px;
    padding: 0 14px;
}

.hero {
    display: grid;
    gap: 28px;
    padding: 28px 0 16px;
}

.hero-copy {
    position: relative;
}

.hero-copy,
.hero-visual,
.feature-card,
.hodler-card,
.ticker,
.footer,
.section-head {
    animation: rise-in 700ms ease both;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1,
.section-head h2 {
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 0.95;
    font-weight: 600;
}

.hero h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 7.2vw, 5.8rem);
}

.hero-brand-word {
    position: relative;
    color: var(--accent);
    display: inline-block;
    animation: brand-pulse 3.6s ease-in-out infinite;
    isolation: isolate;
}

.hero-brand-word::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.2em;
    height: 1.2em;
    background: url("./logo.png") center / contain no-repeat;
    opacity: 0.12;
    transform: translate(-52%, -54%);
    filter: saturate(1.1);
    z-index: -1;
    animation: brand-mark-drift 6s ease-in-out infinite;
}

.section-head h2 {
    max-width: 14ch;
    font-size: clamp(1.7rem, 4vw, 2.65rem);
}

.lede {
    margin: 18px 0 0;
    max-width: 56ch;
    color: var(--text);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.55;
}

.supporting {
    margin: 14px 0 0;
    max-width: 58ch;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-points,
.ticker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-points {
    margin-top: 18px;
}

.hero-points span {
    padding: 8px 12px;
    background: rgba(16, 17, 20, 0.04);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-points span,
.ticker span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--muted);
    font-size: 0.92rem;
    background: #fff;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.ticker span {
    box-shadow: 0 1px 0 rgba(16, 17, 20, 0.02) inset;
}

.ticker span:hover {
    border-color: var(--line-strong);
    background: rgba(16, 17, 20, 0.015);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.visual {
    display: block;
    width: 100%;
    max-width: 620px;
    filter: drop-shadow(0 28px 42px rgba(16, 17, 20, 0.12));
    animation: float 7s ease-in-out infinite;
}

.visual-wallet {
    margin: 0 auto;
}

.visual-wallet img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ticker {
    margin-top: 18px;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
}

.features,
.community {
    padding-top: 80px;
}

.section-head {
    margin-bottom: 22px;
}

.feature-grid,
.hodler-grid {
    display: grid;
    gap: 16px;
}

.feature-card,
.hodler-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--panel);
    box-shadow: 0 1px 0 rgba(16, 17, 20, 0.02) inset;
}

.feature-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: flex-start;
    padding: 24px;
    gap: 0;
}

.feature-card h3,
.hodler-card h3 {
    margin: 0;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.feature-card h3 {
    font-size: 1.15rem;
}

.feature-card p,
.hodler-card p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.feature-card-cta {
    margin-top: auto;
    min-width: 100%;
    justify-content: center;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.76);
}

.feature-card p {
    max-width: 26ch;
}

.feature-card:hover,
.hodler-card:hover,
.button:hover {
    border-color: var(--line-strong);
}

.feature-card:hover a,
.hodler-card:hover a,
.topnav a:hover,
.footer a:hover {
    color: var(--accent);
}

.hodler-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.hodler-card {
    padding: 20px;
    background: #fff;
}

.address {
    font-size: 0.84rem;
    line-height: 1.45;
    word-break: break-word;
}

.address a {
    border-bottom: 1px dotted currentColor;
}

.address a:hover {
    border-bottom-color: var(--accent);
}

.footer {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 48px 0 18px;
    color: var(--text);
    border-top: 1px solid var(--line);
    margin-top: 86px;
    font-size: 0.95rem;
}

@keyframes float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -10px, 0);
    }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes brand-pulse {
    0%,
    100% {
        opacity: 0.7;
        transform: translate3d(0, 0, 0);
    }
    50% {
        opacity: 1;
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes brand-mark-drift {
    0%,
    100% {
        transform: translate(-52%, -54%) scale(0.96);
        opacity: 0.1;
    }
    50% {
        transform: translate(-48%, -50%) scale(1.02);
        opacity: 0.16;
    }
}

@media (min-width: 760px) {
    .topnav-desktop {
        display: flex;
    }

    .topnav-desktop a {
        padding: 8px 10px;
    }

    .menu-toggle,
    .mobile-menu {
        display: none !important;
    }

    .hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: center;
        gap: 36px;
        padding-top: 42px;
    }

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

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

@media (min-width: 1080px) {
    .hero-visual {
        min-height: 560px;
    }

    .visual {
        max-width: 660px;
    }

    .feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hodler-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
}

@media (max-width: 759px) {
    .topbar {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .topbar-actions {
        margin-left: auto;
    }

    .topbar-cta {
        display: none;
    }

    .menu-toggle {
        flex: 0 0 auto;
    }

    .mobile-menu.is-open {
        display: flex;
    }

    .hero-visual {
        min-height: 360px;
    }

    .visual {
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 28px;
    }

    .hero-actions .button-ghost {
        width: 100%;
        justify-content: center;
    }

    .hero-actions .button-accent {
        width: 100%;
        justify-content: center;
    }

    .hero-points {
        display: none;
    }

    .feature-card {
        aspect-ratio: 1 / 1;
        min-height: min(84vw, 320px);
        padding: 20px;
    }

    .feature-card p {
        max-width: none;
    }

    .footer {
        flex-wrap: wrap;
        gap: 14px 22px;
    }
}
