:root {
    --bg: #020617;
    --panel: rgba(15, 23, 42, 0.92);
    --panel-soft: rgba(30, 41, 59, 0.82);
    --border: rgba(148, 163, 184, 0.22);
    --text: #f8fafc;
    --muted: #94a3b8;
    --yellow: #facc15;
    --green: #22c55e;
    --blue: #38bdf8;
    --orange: #f97316;
    --danger: #ef4444;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #0f172a, #020617 62%);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 96px 16px 32px;
}

/* NAV */

.site-nav {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: calc(100% - 24px);
    max-width: 1100px;
    background: rgba(2, 6, 23, 0.88);
    border: 1px solid var(--border);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.nav-logo {
    color: var(--yellow);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
}

.nav-name {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 650;
    font-size: 0.92rem;
    transition: 0.15s ease;
    border: 1px solid transparent;
}

.nav-link {
    color: #cbd5e1;
}

.nav-link:hover {
    background: rgba(148, 163, 184, 0.12);
    color: white;
}

.btn-primary {
    background: var(--yellow);
    color: #0f172a;
}

.btn-primary:hover {
    background: #fde047;
}

.btn-dark {
    background: #0f172a;
    color: white;
    border-color: var(--border);
}

.btn-green {
    background: #16a34a;
    color: white;
}

.btn-orange {
    background: var(--orange);
    color: white;
}

/* TYPOGRAPHY SYSTEM */

.text-brand {
    font-size: clamp(5.5rem, 17vw, 8.8rem);
    font-weight: 850;
    letter-spacing: -0.08em;
    line-height: 0.82;
    margin: 0;
}

.text-logo-sub {
    font-size: clamp(2.1rem, 6vw, 3.4rem);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1;
    color: #e2e8f0;
}

.text-slogan {
    font-size: clamp(1rem, 2.5vw, 1.55rem);
    font-weight: 550;
    color: #e2e8f0;
}

.text-slogan-number {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--yellow);
    letter-spacing: -0.05em;
}

.text-heading {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 650;
    line-height: 1.12;
    margin: 0;
}

.text-subheading {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
}

.text-value {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.1;
}

.text-content {
    font-size: 1rem;
    font-weight: 450;
    line-height: 1.65;
}

.text-meta {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.45;
}

.text-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
}

/* HERO */

.hero-lockup {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 34px;
    padding-top: 20px;
}

.hero-slogan {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.hero-divider {
    color: var(--muted);
    opacity: 0.7;
}

.trust-panel {
    max-width: 780px;
    margin: 28px auto 0;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
}

/* LAYOUT / COMPONENTS */

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.card-soft {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
}

.section {
    margin-bottom: 32px;
}

.section-title {
    font-size: clamp(1.65rem, 4vw, 2.4rem);
    font-weight: 650;
    line-height: 1.1;
    margin: 0 0 8px;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin: 0 0 18px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat-card {
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.muted {
    color: var(--muted);
}

.table-wrap {
    overflow-x: auto;
}

.clean-table {
    width: 100%;
    border-collapse: collapse;
}

.clean-table th,
.clean-table td {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    text-align: left;
    vertical-align: middle;
}

.clean-table th {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 0.78rem;
}

.badge-yellow {
    background: var(--yellow);
    color: #0f172a;
}

.badge-green {
    background: #16a34a;
    color: white;
}

.badge-orange {
    background: var(--orange);
    color: white;
}

.input {
    width: 100%;
    background: #020617;
    border: 1px solid var(--border);
    color: white;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 1rem;
    outline: none;
}

.input:focus {
    border-color: var(--yellow);
}

.code-block {
    display: block;
    background: #020617;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    color: #cbd5e1;
    font-size: 0.78rem;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* MOBILE */

@media (max-width: 760px) {
    .page-shell {
        padding: 88px 12px 24px;
    }

    .site-nav {
        top: 8px;
        width: calc(100% - 16px);
        border-radius: 16px;
    }

    .nav-name {
        display: none;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-link,
    .btn {
        padding: 9px 10px;
        font-size: 0.82rem;
    }

    .text-brand {
        font-size: clamp(4.6rem, 21vw, 6.2rem);
    }

    .text-logo-sub {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    .hero-slogan {
        white-space: normal;
        gap: 7px;
        line-height: 1.25;
    }

    .text-slogan {
        font-size: 0.95rem;
    }

    .trust-panel {
        padding: 18px;
        border-radius: 18px;
    }

    .card {
        padding: 18px;
        border-radius: 20px;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clean-table th,
    .clean-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
}