/* Hero: two-column layout with the icon on the right (matches /finance-sentiment-analyzer) */
.access-hero {
    min-height: auto;
    padding: 160px 48px 48px;
    overflow: hidden;
}

.access-hero .section-label {
    margin-bottom: 16px;
}

.access-hero h1 {
    max-width: 620px;
}

.access-hero p {
    max-width: 600px;
}

.access-hero .hero-stats,
.access-hero .hero-cta {
    max-width: 600px;
}

/* The hero now clears the nav, so the cards section needs far less top padding */
.page-pricing #pricing {
    padding-top: 16px;
}

@media (max-width: 768px) {
    .access-hero {
        padding: 120px 20px 32px;
    }

    .access-hero h1,
    .access-hero p,
    .access-hero .hero-stats,
    .access-hero .hero-cta {
        max-width: none;
    }
}

.pricing-section-head .access-section-copy {
    max-width: 860px;
    white-space: normal;
}

.access-apply-section .pricing-section-head {
    margin-bottom: var(--space-6);
}

.access-form-aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.access-apply-section .api-section {
    grid-template-columns: minmax(240px, 3fr) minmax(0, 7fr);
}

.access-note-list {
    margin: 0;
}

.access-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.access-form-full {
    grid-column: 1 / -1;
}

.access-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.access-checkbox-grid .checkbox-label {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--field-border-color);
    border-radius: var(--field-radius);
    background: var(--field-bg);
    min-height: 100%;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 0;
}

.access-checkbox-grid .checkbox-label:hover {
    border-color: var(--c-border-medium);
}

.access-checkbox-grid .checkbox-label input[type="checkbox"] {
    margin-top: 2px;
}

.access-form-hint {
    margin: 10px 0 0;
    color: var(--c-text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    /* Stack the aside + form into one column; the page-specific override above
       (minmax(240px, 3fr) …) is more specific than the shared mobile
       .api-section rule, so it must be restacked here or the form overflows. */
    .access-apply-section .api-section {
        grid-template-columns: 1fr;
    }

    .access-apply-section .pricing-section-head {
        margin-bottom: var(--space-5);
    }

    .access-form-aside {
        gap: 16px;
    }

    .access-form-grid,
    .access-checkbox-grid {
        grid-template-columns: 1fr;
    }
}
