/* agents.html — the "send your agent" landing page.
   Tokens come from styles.css; this file only adds page-specific layout.
   Design guide rules that bite here: flat colors, 1px borders, no shadows,
   no pill shapes, Newsreader italic only. */

.ag-page {
    /* Centered reading column. The shared .container is 1200px — too wide for a
       text pitch, so the copy hugged the left with dead space on the right.
       Capping the page centers everything into one balanced column. */
    max-width: 760px;
    margin: 0 auto;
    padding-top: 0;
}

/* ---- header ---- */

.ag-header {
    padding: var(--space-xl) 0 var(--space-lg);
    border-bottom: 1px solid var(--gray-800);
}

.ag-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: var(--space-sm);
}

.ag-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin: 0 0 var(--space-md);
    max-width: 16ch;
}

.ag-lede {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.5;
    color: var(--gray-200);
    max-width: 46ch;
    margin: 0 0 var(--space-md);
}

.ag-sub {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-400);
    max-width: 60ch;
    margin: 0;
}

/* ---- install ---- */

.ag-install {
    padding: var(--space-lg) 0;
}

.ag-code {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 8px;
    padding: var(--space-md);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
}

.ag-code pre {
    margin: 0;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--gray-200);
    flex: 1;
}

.ag-code .ag-prompt {
    color: var(--gray-600);
    user-select: none;
}

.ag-copy {
    flex-shrink: 0;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--pink-muted);
    border-radius: 4px;
    padding: 0.5rem 0.9rem;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ag-copy:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.ag-install-note {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: var(--space-sm) 0 0;
    line-height: 1.7;
}

.ag-install-note code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--pink);
    font-size: 0.8rem;
}

/* ---- generic section ---- */

.ag-section {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--gray-800);
}

.ag-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 var(--space-sm);
}

.ag-section > .container > p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-400);
    max-width: 68ch;
    margin: 0 0 var(--space-sm);
}

.ag-section strong {
    color: var(--gray-200);
    font-weight: 600;
}

/* ---- steps ---- */

.ag-steps {
    list-style: none;
    counter-reset: ag-step;
    padding: 0;
    margin: var(--space-md) 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: var(--space-sm);
}

.ag-steps li {
    counter-increment: ag-step;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 8px;
    padding: var(--space-md);
    transition: all 0.2s ease;
}

.ag-steps li:hover {
    border-color: var(--pink);
    background: var(--gray-800);
}

.ag-steps li::before {
    content: counter(ag-step);
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-bottom: var(--space-xs);
}

.ag-steps h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 var(--space-xs);
}

.ag-steps p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--gray-400);
    margin: 0;
}

/* ---- measurement table ---- */

.ag-table-wrap {
    overflow-x: auto;
    margin-top: var(--space-md);
}

.ag-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 460px;
}

.ag-table th {
    text-align: left;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
    padding: 0 var(--space-sm) var(--space-xs) 0;
    border-bottom: 1px solid var(--gray-800);
}

.ag-table td {
    padding: var(--space-sm) var(--space-sm) var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-800);
    color: var(--gray-400);
    line-height: 1.6;
    vertical-align: top;
}

.ag-table td:first-child {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    color: #88a8d4; /* blue = data, per the design guide */
    white-space: nowrap;
}

/* ---- the disagreement callout ---- */

.ag-versus {
    background: var(--dark);
    border: 1px solid var(--gray-800);
    border-radius: 8px;
    padding: var(--space-md);
    margin-top: var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.ag-versus-item h4 {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 var(--space-xs);
}

.ag-versus-stats {
    font-size: 0.8rem;
    color: #88a8d4;
    margin: 0 0 var(--space-xs);
    line-height: 1.6;
}

.ag-versus-verdict {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--pink);
    margin: 0;
}

/* ---- links out ---- */

.ag-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.ag-btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ag-btn--primary {
    background: var(--yellow);
    color: var(--black);
}

.ag-btn--primary:hover {
    background: var(--yellow-hover);
}

.ag-btn--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--pink-muted);
}

.ag-btn--outline:hover {
    border-color: var(--pink);
    color: var(--pink);
}

@media (max-width: 640px) {
    .ag-versus {
        grid-template-columns: 1fr;
    }

    .ag-code {
        flex-direction: column;
    }

    .ag-copy {
        align-self: flex-start;
    }
}
