/* Enterprise product overview; scoped to this page. */
.enterprise-page .enterprise-hero { padding: 56px 0 42px; }
.enterprise-page .page-badge { margin-bottom: 18px; }
.enterprise-page h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; }
.enterprise-lead { max-width: 780px; margin: 18px auto 12px; font-size: 1.25rem; line-height: 1.5; color: #1f5f50; font-weight: 600; }
.enterprise-intro { max-width: 760px; margin: 0 auto; color: #475569; }
.enterprise-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.enterprise-content { max-width: 1040px; }
.enterprise-content > h2 { margin: 0 0 22px; text-align: center; color: #0f172a; font-size: 1.6rem; }
.enterprise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.enterprise-feature { border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; background: #fff; }
.enterprise-feature h3 { margin: 0 0 12px; font-size: 1.1rem; line-height: 1.4; color: #0f172a; }
.enterprise-feature p, .enterprise-access-box p { color: #475569; line-height: 1.65; font-size: .95rem; }
.enterprise-access { margin-top: 28px; padding-bottom: 56px; }
.enterprise-access-box { padding: 26px 28px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; }
.enterprise-access-box h2 { margin-bottom: 12px; font-size: 1.25rem; color: #0f172a; }
.enterprise-access-box p + p { margin-top: 12px; }
.enterprise-related { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
.enterprise-related a { color: #1f5f50; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.enterprise-body a:focus-visible, .enterprise-body button:focus-visible { outline: 3px solid #2b7e6b; outline-offset: 4px; }
.enterprise-body .menu-toggle { border: 0; background: transparent; color: #1f5f50; font: inherit; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 850px) { .enterprise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) {
    .enterprise-page .enterprise-hero { padding: 36px 0; }
    .enterprise-page .container { padding-left: 18px; padding-right: 18px; }
    .enterprise-grid { grid-template-columns: 1fr; gap: 12px; }
    .enterprise-feature, .enterprise-access-box { padding: 20px; }
    .enterprise-lead { font-size: 1.1rem; }
    .enterprise-actions .btn { max-width: 100%; white-space: normal; }
}

/* Keep only the access heading and introduction visible until expanded. */
details.enterprise-access-box > summary { list-style: none; cursor: pointer; position: relative; padding-right: 30px; }
details.enterprise-access-box > summary::-webkit-details-marker { display: none; }
details.enterprise-access-box > summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: #1f5f50; line-height: 1.2; }
details.enterprise-access-box[open] > summary::after { content: "−"; }
details.enterprise-access-box > summary:focus-visible { outline: 3px solid #2b7e6b; outline-offset: 6px; border-radius: 4px; }
.enterprise-access-details { margin-top: 14px; }

/* Purchase paths use the existing Pro and annual Enterprise checkouts. */
.enterprise-purchase { scroll-margin-top: 100px; margin-bottom: 48px; }
.enterprise-purchase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.enterprise-purchase-card { padding: 28px; border: 1px solid #cbd5e1; border-radius: 14px; background: #fff; }
.enterprise-purchase-card h3 { color: #0f172a; margin: 0 0 14px; font-size: 1.25rem; }
.enterprise-purchase-card p { color: #475569; line-height: 1.65; margin: 0 0 20px; }
.enterprise-purchase-card .btn { max-width: 100%; white-space: normal; text-align: center; }
.enterprise-purchase-card .enterprise-next { display: block; margin: 18px 0; color: #1f5f50; text-decoration: underline; text-underline-offset: 3px; }
.enterprise-purchase-card .btn + p { margin-top: 20px; }
.enterprise-purchase-card p:last-child { margin-bottom: 0; }
.enterprise-purchase-note { margin-top: 18px; color: #475569; font-size: .9rem; line-height: 1.65; }
@media (max-width: 700px) {
    .enterprise-purchase { scroll-margin-top: 150px; }
    .enterprise-purchase-grid { grid-template-columns: 1fr; }
    .enterprise-purchase-card { padding: 22px; }
}
