:root {
    --bg: #0F1117;
    --bg-raised: #171923;
    --bg-card: #1C1F2E;
    --border: #2D3148;
    --text: #E2E8F0;
    --text-muted: #8B92A8;
    --accent: #6C63FF;
    --accent-light: #A78BFA;
    --gradient: linear-gradient(135deg, #6C63FF 0%, #A78BFA 100%);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Site header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 4rem;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
}

.site-header-logo:hover {
    text-decoration: none;
}

.site-header-logo img {
    width: 2rem;
    height: 2rem;
}

.site-header-nav {
    display: flex;
    gap: 24px;
}

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

.site-header-nav a:hover {
    color: var(--text);
    text-decoration: none;
}

/* Hero */
.hero {
    padding: 80px 0 80px;
    text-align: center;
}

.logo {
    margin-bottom: 16px;
}

.logo-mark {
    width: 216px;
    height: 216px;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Install block */
.install-block {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 16px;
    max-width: 100%;
}

.install-block code {
    font-family: var(--mono);
    font-size: 14px;
    padding: 12px 16px;
    color: var(--text);
    white-space: nowrap;
    overflow-x: auto;
}

.copy-btn {
    background: none;
    border: none;
    border-left: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    padding: 12px 14px;
    font-size: 16px;
    transition: color 0.15s;
    flex-shrink: 0;
}

.copy-btn:hover { color: var(--text); }

.cta-secondary {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.cta-secondary:hover { color: var(--text); }

/* Feature cards */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 0 80px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px;
}

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

.card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* How it works */
.how-it-works {
    padding: 40px 0 80px;
}

.how-it-works h2,
.prompts h2,
.requirements h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.how-it-works > p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.infographic {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 85px;
    margin-bottom: 0;
}

.infographic img {
    width: 100%;
    height: auto;
    display: block;
}

.tool-count {
    font-size: 14px;
    color: var(--text-muted);
}

.how-it-works-split {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.how-it-works-text {
    flex: 1;
}

.how-it-works-text p + .tool-count {
    margin-top: 20px;
}

.context-screenshot {
    flex: 0 0 55%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.context-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Prompt examples */
.prompts {
    padding: 40px 0 80px;
}

.prompt-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.prompt-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    font-style: italic;
}


/* Requirements */
.requirements {
    padding: 40px 0 80px;
}

.req-list {
    list-style: none;
    margin-top: 16px;
}

.req-list li {
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
}

.req-list li::before {
    margin-right: 8px;
    font-size: 13px;
}

.req-list .required::before {
    content: "Required";
    color: var(--accent-light);
    font-weight: 600;
}

.req-list .auto::before {
    content: "Auto";
    color: var(--accent);
    font-weight: 600;
}

.req-list .platform::before {
    content: "Detected";
    color: #8b8b8b;
    font-weight: 600;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

footer .links {
    margin-bottom: 10px;
}

footer .links a {
    color: var(--text-muted);
    margin: 0 12px;
}

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

/* Responsive */
@media (max-width: 700px) {
    .hero { padding: 60px 0 50px; }

    .features {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .prompt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .install-block code {
        font-size: 12px;
        padding: 10px 12px;
    }

    .how-it-works-split {
        flex-direction: column;
    }

    .context-screenshot {
        flex: none;
        width: 100%;
    }
}
