/* The Contact Us page, and the forms and code samples on the Results API
   page (which otherwise borrows the terms page's prose styles). */

.contact-page {
    max-width: 560px;
    margin: 2rem auto 0;
}

.contact-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.contact-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .form-hint {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.contact-submit {
    min-width: 9rem;
    min-height: 44px;
    font-weight: 700;
}

.form-optional {
    font-weight: 400;
    color: var(--color-text-muted);
}

/* The spam trap: off screen rather than display:none, which some bots skip. */
.contact-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-aside {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ---- Results API ---- */

.developers-page pre {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    overflow-x: auto;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0.5rem 0 1rem;
}

.developers-page code {
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.85em;
}

.developers-page pre code {
    font-size: inherit;
}

.developers-page p > code,
.developers-page li > code {
    background: var(--color-surface-alt);
    border-radius: 3px;
    padding: 0.05rem 0.3rem;
}

.developers-page .contact-form {
    margin-top: 0.75rem;
}
