/* ============================================================
 * Craft Tools · 介绍页（Hero + Bento + 最近收录）
 * ============================================================ */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: clamp(20px, 4vw, 44px);
    align-items: center;
    padding: clamp(8px, 2vw, 24px) 0 clamp(26px, 5vw, 52px);
}
@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; gap: 26px; }
}

.hero__copy { min-width: 0; }
.group { min-width: 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.22rem 0.65rem;
    border-radius: var(--r-pill);
    border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
    background: var(--gold-wash);
    color: var(--gold);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.display {
    margin-top: 14px;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.02;
}
.display .gold {
    background: linear-gradient(120deg, var(--gold-pale), var(--gold-bright) 45%, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.lede {
    margin-top: 14px;
    max-width: 34rem;
    font-size: clamp(0.95rem, 2.4vw, 1.0625rem);
    line-height: 1.7;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.statrow {
    display: flex;
    align-items: stretch;
    gap: clamp(14px, 3vw, 30px);
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.stat { min-width: 0; }
.stat__num {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 4vw, 1.9rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text);
}
.stat__num .unit {
    font-size: 0.9rem;
    color: var(--faint);
    margin-left: 2px;
}
.stat__label {
    margin-top: 5px;
    font-size: var(--fs-xs);
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* Hero 右侧的锤子徽标 */
.hero__mark {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    border-radius: 34%;
    color: var(--gold);
}
/* 中等宽度：缩小摆放 */
@media (max-width: 859px) {
    .hero__mark {
        max-width: 132px;
        margin: 4px 0 0;
        border-radius: 32%;
    }
    .hero__mark svg { width: 54%; height: 54%; }
}
/* 手机上一个大方块没有信息量，直接不显示，首屏留给文字 */
@media (max-width: 640px) {
    .hero__mark { display: none; }
    .hero { padding-bottom: 20px; }
}
.hero__mark svg { width: 58%; height: 58%; }

/* ===== Bento ===== */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    padding-bottom: clamp(24px, 4vw, 40px);
}
@media (max-width: 860px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
}

.bento__cell {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 1.15rem;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.bento__cell:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.bento__cell--wide { grid-column: span 2; }
@media (max-width: 860px) {
    .bento__cell--wide { grid-column: span 2; }
}

.bento__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: var(--gold-wash);
    color: var(--gold);
}
.bento__title { font-size: 0.9375rem; font-weight: 650; letter-spacing: -0.01em; }
.bento__desc { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }

/* ===== 区块 ===== */
.section { padding-bottom: clamp(24px, 4vw, 40px); }
.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.section__title {
    font-size: 1.125rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}
.section__more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--fs-sm);
    color: var(--muted);
    transition: color var(--fast) var(--ease), gap var(--fast) var(--ease);
}
.section__more:hover { color: var(--text); gap: 0.45rem; }

/* 关于条 */
.aboutstrip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 1.3rem;
    border-radius: var(--r-lg);
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.aboutstrip__text { flex: 1 1 320px; }
.aboutstrip__title {
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}
.aboutstrip__desc {
    margin-top: 4px;
    font-size: var(--fs-sm);
    color: var(--muted);
    line-height: 1.7;
}

/* 关于页 */
.aboutpage { max-width: 640px; margin: 0 auto; }
.aboutpage h1 { font-size: 1.75rem; letter-spacing: -0.03em; }
.aboutpage p {
    margin-top: 12px;
    font-size: var(--fs-md);
    line-height: 1.85;
    color: var(--muted);
}
.aboutpage hr {
    margin: 22px 0;
    border: none;
    border-top: 1px solid var(--line);
}
.aboutpage .foot {
    margin-top: 28px;
    font-size: var(--fs-xs);
    color: var(--faint);
    letter-spacing: 0.04em;
}

/* 进场 */
.rise { animation: rise 0.6s var(--ease) both; }
.rise-2 { animation-delay: 0.08s; }
.rise-3 { animation-delay: 0.16s; }
.rise-4 { animation-delay: 0.24s; }
@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
