
:root {
    color-scheme: dark;
    --bg: #10131a;
    --panel: #171b24;
    --panel2: #1e2430;
    --text: #f4f6fb;
    --muted: #aab4c3;
    --line: #2c3545;
    --accent: #f7931a;
    --accent2: #ffad42;
    --max: 1120px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 50% -10%, #2a2118 0, transparent 34rem),
        var(--bg);
    color: var(--text);
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

.wrap {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}

.topbar {
    border-bottom: 1px solid var(--line);
    background: rgba(16,19,26,.92);
}

.topbar-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    color: var(--accent);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-left: auto;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

.nav a:hover {
    color: var(--text);
}

.hero {
    padding: 70px 0 38px;
}

.eyebrow {
    color: var(--accent2);
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
}

h1 {
    margin: 8px 0 16px;
    font-size: clamp(34px, 7vw, 64px);
    line-height: 1.04;
    max-width: 850px;
}

.lead {
    color: var(--muted);
    max-width: 800px;
    font-size: clamp(17px, 2.5vw, 21px);
}

.tool {
    margin-top: 30px;
    padding: 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.tool-row {
    display: flex;
    gap: 10px;
}

.tool input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #0e1117;
    color: var(--text);
    padding: 15px 16px;
    font-size: 16px;
}

button,
.button {
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #111;
    padding: 14px 20px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#error {
    min-height: 24px;
    color: #ff9c9c;
    margin-top: 8px;
    font-size: 14px;
}

.live {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0 52px;
}

.metric {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
}

.metric-label {
    color: var(--muted);
    font-size: 13px;
}

.metric-value {
    margin-top: 4px;
    font-weight: 850;
    font-size: 23px;
}

.content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 42px;
    padding-bottom: 70px;
}

article section {
    margin-bottom: 48px;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.2;
}

h3 {
    margin-bottom: 5px;
}

p {
    color: #d0d6e0;
}

aside {
    align-self: start;
    position: sticky;
    top: 20px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
}

.card a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    padding: 7px 0;
}

.card a:hover {
    color: var(--text);
}

.faq {
    border-top: 1px solid var(--line);
    padding: 20px 0;
}

.faq p {
    margin-bottom: 0;
}

footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 30px 0 45px;
    font-size: 14px;
}

@media (max-width: 800px) {
    .topbar-inner {
        align-items: flex-start;
        padding: 15px 0;
        flex-direction: column;
    }

    .nav {
        margin-left: 0;
        gap: 10px 14px;
    }

    .hero {
        padding-top: 45px;
    }

    .tool-row {
        flex-direction: column;
    }

    .live {
        grid-template-columns: 1fr;
    }

    .content {
        grid-template-columns: 1fr;
    }

    aside {
        position: static;
    }
}
