/**
 * Grit Trust-Surface Pages (Issue #1119)
 *
 * Shared styles for /about/, /press/, and /kickstarter/.
 * Uses CSS variables from grit-brand.css (loaded by grit/base.html);
 * hero gradient matches the safety page's brand treatment.
 */

/* ============================================
   SHARED HERO + SECTION SCAFFOLD
   ============================================ */

.trust-hero {
    background: linear-gradient(135deg, rgba(123, 68, 193, 0.95) 0%, rgba(30, 150, 252, 0.95) 50%, rgba(123, 68, 193, 0.9) 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
}

.trust-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.trust-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto;
}

.trust-hero .lead a {
    color: white;
    text-decoration: underline;
}

.trust-section {
    padding: 4rem 0;
}

.trust-narrow {
    max-width: 760px;
}

.trust-section h2 {
    color: var(--slate-darkest);
    margin: 2.5rem 0 1rem;
}

.trust-section h2:first-child {
    margin-top: 0;
}

.trust-section p,
.trust-section li {
    color: var(--slate-medium);
}

.trust-section a {
    color: var(--accent-blue);
}

/* Pledge callout on /about/ */
.trust-pledge {
    background: var(--glass-primary);
    border-left: 4px solid var(--color-purple);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.trust-pledge h2 {
    margin-top: 0;
    font-size: var(--text-xl);
}

.trust-pledge p {
    margin-bottom: 0;
}

/* CTA button row */
.trust-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2.5rem 0 1.5rem;
}

.trust-contact {
    text-align: center;
    font-size: 0.95rem;
}

/* ============================================
   PRESS KIT
   ============================================ */

.press-boilerplate {
    background: var(--glass-secondary);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
}

.press-boilerplate p {
    margin-bottom: 0;
}

.press-fact-table {
    width: 100%;
    border-collapse: collapse;
}

.press-fact-table th,
.press-fact-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(50, 48, 49, 0.15);
    text-align: left;
    vertical-align: top;
    color: var(--slate-medium);
}

.press-fact-table th {
    color: var(--slate-darkest);
    font-weight: 700;
    text-transform: lowercase;
    white-space: nowrap;
    width: 8.5rem;
}

.press-assets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.press-asset-card {
    border: 1px solid rgba(50, 48, 49, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.press-asset-preview {
    background: var(--color-neutral);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.press-asset-preview img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* The logo is a transparent SVG — preview it on the brand charcoal so it reads */
.press-asset-preview-logo {
    background: var(--color-charcoal);
    padding: 2rem;
}

.press-asset-preview-logo img {
    width: 120px;
    height: 120px;
}

.press-asset-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.press-asset-body h3 {
    font-size: var(--text-lg);
    color: var(--slate-darkest);
    margin-bottom: 0.5rem;
}

.press-asset-body p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.press-hooks {
    padding-left: 1.25rem;
}

.press-hooks li {
    margin-bottom: 1rem;
}

.press-hooks li strong {
    color: var(--slate-darkest);
}

/* ============================================
   KICKSTARTER PRE-LAUNCH CAPTURE
   ============================================ */

/* Reuses the launch-list markup contract from grit/base.html's footer,
   restyled for the hero (the footer scopes its styles under
   .grit-footer-compact, so these are the page-level equivalents). */

.ks-capture {
    max-width: 460px;
    margin: 2.5rem auto 0;
    text-align: left;
}

.ks-capture .launch-list-label {
    display: block;
    color: white;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ks-capture .launch-list-row {
    display: flex;
    gap: 0.5rem;
}

.ks-capture .launch-list-row input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-charcoal);
}

.ks-capture .launch-list-privacy {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    margin-top: 0.75rem;
}

.ks-capture .launch-list-error {
    color: #fca5a5;
    margin-top: 0.75rem;
}

.ks-capture .launch-list-thanks {
    color: white;
    font-size: 1.1rem;
    margin-top: 0.75rem;
    text-align: center;
}

@media (max-width: 480px) {
    .ks-capture .launch-list-row {
        flex-direction: column;
    }
}
