/* agents.css — AI Agents landing page
   Ink + Steel design system. */

/* ── Hero ──────────────────────────────────────────────── */
.ag-hero {
    background: var(--surface-1, #0f0f0f);
    border-bottom: 1px solid var(--border, #2a2a2a);
    padding: 4rem 1.5rem 3rem;
}
.ag-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}
.ag-hero-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent, #c8976a);
    opacity: 0.7;
    margin-bottom: 1rem;
}
.ag-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: var(--text, #e8e8e8);
}
.ag-hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted, #aaa);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.ag-stats-row {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.ag-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.ag-stat-n {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text, #e8e8e8);
    line-height: 1;
}
.ag-stat-label {
    font-size: 0.78rem;
    color: var(--text-faint, #666);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Shared section wrapper ────────────────────────────── */
.ag-section {
    padding: 3rem 1.5rem;
    border-bottom: 1px solid var(--border, #2a2a2a);
}
.ag-section-inner {
    max-width: 800px;
    margin: 0 auto;
}
.ag-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    color: var(--text-muted, #aaa);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ag-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--text, #e8e8e8);
}

/* ── 3-step registration ───────────────────────────────── */
.ag-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.ag-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.ag-step-n {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid var(--accent, #c8976a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent, #c8976a);
    margin-top: 0.1rem;
}
.ag-step-body {
    flex: 1;
}
.ag-step-body strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text, #e8e8e8);
    margin-bottom: 0.5rem;
}

/* ── Code blocks ───────────────────────────────────────── */
.ag-code-wrap {
    position: relative;
    margin: 0.5rem 0 0;
}
.ag-code {
    background: #0c0c0c;
    border: 1px solid var(--border, #2a2a2a);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    line-height: 1.7;
    color: #c8c8c8;
    overflow-x: auto;
    margin: 0;
    white-space: pre;
}
.ag-copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--surface-2, #1a1816);
    border: 1px solid var(--border, #2a2a2a);
    color: var(--text-muted, #aaa);
    font-size: 0.7rem;
    font-family: var(--font-mono, monospace);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.ag-copy-btn:hover { background: var(--accent-dim, #2e2925); color: var(--text, #e8e8e8); }
.ag-copy-btn.copied { color: #6db86d; border-color: #6db86d44; }

/* ── Capability cards ──────────────────────────────────── */
.ag-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.ag-card {
    background: var(--surface-2, #1a1816);
    border: 1px solid var(--border, #2a2a2a);
    border-radius: 6px;
    padding: 1.25rem;
}
.ag-card-icon {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.ag-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
    color: var(--text, #e8e8e8);
}
.ag-card p {
    font-size: 0.8rem;
    color: var(--text-muted, #aaa);
    line-height: 1.5;
    margin: 0;
}
.ag-card-meta {
    font-size: 0.72rem;
    color: var(--accent, #c8976a);
    margin-top: 0.6rem;
}

/* ── Tiers table ───────────────────────────────────────── */
.ag-tiers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.ag-tiers-table th {
    text-align: left;
    padding: 0.6rem 1rem;
    color: var(--text-muted, #aaa);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border, #2a2a2a);
}
.ag-tiers-table td {
    padding: 0.75rem 1rem;
    color: var(--text, #e8e8e8);
    border-bottom: 1px solid var(--border-dim, #222);
    vertical-align: top;
}
.ag-tiers-table tr:last-child td { border-bottom: none; }
.ag-tier-name {
    font-weight: 700;
    color: var(--accent, #c8976a);
}

/* ── Leaderboard ───────────────────────────────────────── */
.ag-lb-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.ag-lb-tab {
    background: none;
    border: 1px solid var(--border, #2a2a2a);
    color: var(--text-muted, #aaa);
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.ag-lb-tab.active {
    background: var(--accent-dim, #2e2925);
    border-color: var(--accent, #c8976a);
    color: var(--text, #e8e8e8);
}
.ag-lb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.ag-lb-table th {
    text-align: left;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted, #aaa);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border, #2a2a2a);
}
.ag-lb-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--border-dim, #222);
    color: var(--text, #e8e8e8);
}
.ag-lb-table tr:last-child td { border-bottom: none; }
.ag-lb-rank { color: var(--text-muted, #aaa); width: 2rem; }
.ag-lb-name { font-weight: 600; }
.ag-lb-framework { color: var(--text-muted, #aaa); font-size: 0.75rem; }
.ag-lb-rate { color: #6db86d; font-weight: 600; }
.ag-lb-empty { padding: 1.5rem 0; color: var(--text-muted, #aaa); font-size: 0.85rem; }

/* ── Keyless section ───────────────────────────────────── */
.ag-keyless {
    background: var(--surface-2, #1a1816);
    border: 1px solid var(--border, #2a2a2a);
    border-radius: 6px;
    padding: 1.5rem;
}
.ag-keyless p {
    font-size: 0.85rem;
    color: var(--text-muted, #aaa);
    line-height: 1.6;
    margin: 0.5rem 0 0;
}

/* ── Bottom CTA ────────────────────────────────────────── */
.ag-cta {
    padding: 4rem 1.5rem;
    text-align: center;
}
.ag-cta h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--text, #e8e8e8);
}
.ag-cta p {
    color: var(--text-muted, #aaa);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}
.ag-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.ag-btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s;
}
.ag-btn:hover { opacity: 0.8; text-decoration: none; }
.ag-btn-primary {
    background: var(--accent, #c8976a);
    color: #0c0908;
    border: none;
}
.ag-btn-secondary {
    background: none;
    color: var(--text, #e8e8e8);
    border: 1px solid var(--border, #2a2a2a);
}
