:root {
    --bg: #f5f7fa;
    --panel: #ffffff;
    --ink: #111827;
    --muted: #5b6472;
    --line: rgba(17, 24, 39, .12);
    --brand: #0f172a;
    --accent: #00b386;
    --accent-2: #2563eb;
    --soft: #e9f8f3;
    --shadow: 0 18px 50px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.template-custody { --accent: #0fba81; --accent-2: #0ea5e9; --soft: #e6f8f1; }
.template-defi { --accent: #d99a21; --accent-2: #15a66a; --soft: #fff5df; }
.template-onchain { --accent: #2f6fed; --accent-2: #e05b7f; --soft: #eaf1ff; }
.template-research { --accent: #ea6b53; --accent-2: #237b74; --soft: #fff0ec; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 54px);
    background: rgba(255, 255, 255, .86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0;
}
.brand span { font-size: 24px; }
.brand small { color: var(--muted); font-weight: 700; }
nav { display: flex; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 700; }
nav a:hover { color: var(--ink); }

main { overflow: hidden; }
.hero {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
    gap: clamp(26px, 5vw, 70px);
    align-items: center;
    padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 54px) 36px;
    min-height: calc(100svh - 64px);
}
.hero-copy { max-width: 680px; }
.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
h1, h2 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(38px, 5.4vw, 78px); }
h2 { font-size: clamp(28px, 3.4vw, 46px); }
.lead {
    margin: 22px 0 0;
    max-width: 620px;
    color: var(--muted);
    font-size: clamp(16px, 1.6vw, 20px);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 900;
}
.btn.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn.ghost { background: #fff; color: var(--ink); }
.proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.proof-row span {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.hero-media {
    margin: 0;
    position: relative;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    background: #111827;
}
.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 45%);
    pointer-events: none;
}
.hero-media img { aspect-ratio: 16 / 9; object-fit: cover; }

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0 clamp(18px, 4vw, 54px);
    border: 1px solid var(--line);
    background: var(--line);
}
.metrics article {
    min-height: 132px;
    padding: 24px;
    background: var(--panel);
}
.metrics strong { display: block; font-size: 22px; }
.metrics span { display: block; margin-top: 8px; color: var(--muted); }

.split, .product-band, .cta-panel {
    display: grid;
    gap: clamp(24px, 4vw, 54px);
    align-items: center;
    padding: clamp(54px, 8vw, 108px) clamp(18px, 4vw, 54px);
}
.split { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); }
.split p, .product-band p, .cta-panel p { color: var(--muted); }
.check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.check-list li {
    padding: 14px 16px;
    border-left: 4px solid var(--accent);
    background: var(--soft);
    border-radius: 6px;
    font-weight: 700;
}
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.image-grid img, .product-band img, .cta-panel img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.image-grid img:nth-child(2) { margin-top: 42px; }
.product-band {
    grid-template-columns: minmax(360px, 1.04fr) minmax(0, .96fr);
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--accent-2);
    font-weight: 900;
}
.cta-panel {
    grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
    padding-bottom: clamp(60px, 8vw, 110px);
}
.cta-panel > div {
    padding: clamp(24px, 4vw, 44px);
    background: var(--brand);
    color: #fff;
    border-radius: 8px;
}
.cta-panel p { color: rgba(255,255,255,.72); }
.cta-panel .btn.primary { background: #fff; color: var(--brand); border-color: #fff; }

@media (max-width: 920px) {
    nav { display: none; }
    .hero, .split, .product-band, .cta-panel {
        grid-template-columns: 1fr;
    }
    .hero { min-height: auto; padding-top: 36px; }
    .metrics { grid-template-columns: 1fr; }
    .image-grid img:nth-child(2) { margin-top: 0; }
}

@media (max-width: 560px) {
    .site-header { padding: 12px 16px; }
    .brand span { font-size: 21px; }
    .brand small { font-size: 12px; }
    .hero, .split, .product-band, .cta-panel { padding-left: 16px; padding-right: 16px; }
    .image-grid { grid-template-columns: 1fr; }
    .actions .btn { width: 100%; }
    .metrics { margin-left: 16px; margin-right: 16px; }
}
