:root {
    --bg: #0f0f13;
    --card-bg: #17171d;
    --card-bg-raised: #1c1c23;
    --text: #f5f5f0;
    --text-muted: #9a9aa5;
    --text-muted-dim: #6b6b76;
    --yellow: #f3c623;
    --yellow-dim: rgba(243, 198, 35, 0.1);
    --brown: #c99f1c;
    --border: #26262f;
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius-sm: 6px;
    --radius-md: 10px;
    --transition-fast: 0.15s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg);
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

header.topbar {
    border-bottom: 1px solid var(--border);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.brand img {
    width: 30px;
    height: 30px;
}

.brand span {
    font-weight: 700;
    font-size: 17px;
}

.topbar nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-left: 24px;
    transition: color var(--transition-fast);
}

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

.hero {
    padding: 90px 0 60px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-copy {
    flex: 1 1 380px;
    max-width: 560px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 18px;
}

.hero h1 .accent {
    color: var(--yellow);
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 480px;
}

.cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-primary {
    background-color: var(--yellow);
    color: #16130a;
}

.btn-primary:hover {
    background-color: var(--brown);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--yellow);
    transform: translateY(-1px);
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
}

.code-box {
    max-width: 460px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.code-box-head {
    display: flex;
    gap: 5px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}

.code-box-head .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
}

.code-box-body {
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--yellow);
    overflow-x: auto;
    white-space: nowrap;
}

.hero-logo {
    flex: 0 0 auto;
}

.hero-logo img {
    width: 220px;
    max-width: 40vw;
    height: auto;
}

h2.section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted-dim);
    margin: 60px 0 18px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: border-color var(--transition-fast);
}

.card:hover {
    border-color: var(--yellow-dim);
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    color: var(--text-muted);
    font-size: 14.5px;
}

.oss-strip {
    margin: 60px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card-bg-raised);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.oss-strip h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.oss-strip p {
    color: var(--text-muted);
    font-size: 14px;
}

footer {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted-dim);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--yellow);
}

.footer-links {
    display: flex;
    gap: 18px;
}

@media (max-width: 700px) {
    .hero-logo { display: none; }
    .hero h1 { font-size: 38px; }
}
