/* $SHRPY token section + dock chip for sharpy.baby.
   Everything here is scoped to classes the site's own bundle never renders, and it
   reuses the site's design tokens (index-BqGPExZ_.css :root) so the section reads as
   part of the page: black, one blue, hairline rules, radius 0 on buttons. */

.sharpy-token { scroll-margin-top: 96px; }

.sharpy-token__head { max-width: 64ch; }
.sharpy-token__head .label { display: block; margin: 0; }
.sharpy-token__lede {
    margin: 18px 0 0;
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.6;
    color: var(--fg-2);
    max-width: 62ch;
}
.sharpy-token__lede b { color: var(--fg); font-weight: 600; }

.sharpy-token__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: clamp(32px, 4vw, 52px) 0 0;
}
.sharpy-token__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 24px 28px;
    background: var(--surface);
    border: 1px solid var(--hair);
    border-radius: var(--r-card);
}
.sharpy-token__n {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--muted);
}
.sharpy-token__card h3 {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 21px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -.02em;
    text-wrap: balance;
}
.sharpy-token__card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--fg-2);
}

.sharpy-token__ca {
    display: grid;
    gap: 16px;
    margin: clamp(24px, 3vw, 36px) 0 0;
    padding: 26px 24px 28px;
    background: var(--bg-2);
    border: 1px solid var(--hair);
    border-radius: var(--r-card);
}
.sharpy-token__ca .label { margin: 0; }
.sharpy-token__ca-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.sharpy-token__mint {
    flex: 1 1 320px;
    min-width: 0;
    padding: 15px 16px;
    background: var(--surface-2);
    border: 1px solid var(--hair);
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.3;
    color: var(--fg);
    overflow-wrap: anywhere;
    user-select: all;
}
.sharpy-token__copy {
    flex: none;
    height: 52px;
    padding: 0 22px;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--rule);
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    cursor: not-allowed;
    white-space: nowrap;
}
.sharpy-token__copy[data-ready="1"] {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
    cursor: pointer;
}
.sharpy-token__copy[data-ready="1"]:hover { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }

.sharpy-token__chain {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--fg-2);
    max-width: 70ch;
}
.sharpy-token__chain b { color: var(--fg); font-weight: 600; }
.sharpy-token__chain a,
.sharpy-token__card a {
    color: var(--blue-2);
    text-decoration: underline;
    text-decoration-color: var(--rule);
    text-underline-offset: 3px;
}
.sharpy-token__chain a:hover { text-decoration-color: var(--blue-2); }

.sharpy-token__foot {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.sharpy-token__buy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 24px;
    background: var(--fg);
    color: var(--bg) !important;
    border: 1px solid var(--fg);
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    white-space: nowrap;
}
.sharpy-token__buy:hover { background: var(--blue); border-color: var(--blue); color: var(--on-blue) !important; }
.sharpy-token__fine { font-size: 13px; color: var(--muted); }

/* the floating dock gets one more chip, so $SHRPY is reachable from anywhere on the page */
.dock__token {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--hair);
    border-radius: var(--r-pill);
    color: var(--blue-2);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}
.dock__token:hover { border-color: var(--blue); color: var(--blue); }

@media (max-width: 900px) {
    .sharpy-token__grid { grid-template-columns: 1fr; }
    .dock__token { display: none; }
}
