.community-intro { position: relative; max-width: 780px; padding: 52px 0 36px; }
.community-intro::before, .newsletter-page::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 144px;
    height: 28px;
    background: var(--brand-ornament) left center / contain no-repeat;
    pointer-events: none;
}
.community-intro h1 { margin: 16px 0 24px; }
.community-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 48px; }
.community-card { padding: 32px; background: white; border: 1px solid var(--brand-line); border-radius: 20px; min-width: 0; }
.community-card h2, .community-details h2 { margin: 0 0 12px; font-size: 28px; letter-spacing: -.5px; line-height: 1.2; }
.community-card > p, .community-details p { color: var(--brand-muted); }
.community-aside { display: grid; gap: 32px; min-width: 0; }
.community-details { padding: 8px 12px; }
.community-details address { font-style: normal; color: var(--brand-muted); font-size: 14px; }
.community-email { display: inline-block; padding: 8px 0; font-size: 20px; color: var(--brand-accent); overflow-wrap: anywhere; }
.newsletter-card { background: var(--brand-soft); }
.community-form { margin-top: 24px; }
.community-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.community-field label { font-size: 15px; font-weight: 650; }
.community-form .community-field input, .community-form .community-field select, .community-form .community-field textarea {
    width: 100%; min-width: 0; min-height: 48px; padding: 12px; color: var(--brand-ink);
    background: #fff; border: 1px solid var(--brand-control-border); border-radius: 10px; font: inherit;
}
.community-form .community-field select {
    appearance: none;
    background-image: var(--brand-select-arrow);
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    text-overflow: ellipsis;
}
.community-field textarea { resize: vertical; }
.community-field small, .community-fineprint { font-size: 13px; color: var(--brand-muted); line-height: 1.6; }
.community-form :focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }
.community-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.community-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-accent); }
.community-form .community-button { min-height: 48px; max-width: 100%; white-space: normal; padding: 12px 22px; background: var(--brand-accent);
    color: #fff; border: 1px solid var(--brand-accent); border-radius: 10px; cursor: pointer; font: 650 15px/1.5 var(--brand-font-body); }
.community-form .community-button:hover { background: var(--brand-accent-hover); }
.community-form .community-button-secondary { background: white; color: var(--brand-accent); }
.community-form .community-button-secondary:hover { background: var(--brand-blush); }
.community-success { padding: 20px; border: 1px solid var(--feedback-success-border); border-radius: 12px; background: var(--feedback-success-bg); color: var(--feedback-success-text); }
.community-success h3 { margin-top: 0; }
.community-success p:last-child { margin-bottom: 0; }
.form-errors { padding: 16px 16px 16px 32px; background: var(--feedback-error-bg); color: var(--feedback-error-text); border-radius: 10px; }
.community-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.community-captcha { display: grid; gap: 8px; min-width: 0; margin: 20px 0 16px; text-align: center; }
.community-captcha .community-fineprint { margin: 0; }
.community-captcha-widget { min-width: 0; max-width: 100%; }
.community-captcha-widget[data-size="compact"] { display: flex; justify-content: center; }
.community-captcha-widget:empty { display: none; }
.community-captcha-retry { justify-self: center; width: auto; }
.community-captcha-retry[hidden] { display: none; }
.community-captcha + .community-button { width: 100%; }
.newsletter-page { position: relative; max-width: 680px; margin: 48px auto 64px; }
.newsletter-page::before { top: -32px; }
.newsletter-page h1 { font-size: clamp(32px, 5vw, 48px); overflow-wrap: anywhere; }
.app-contact { container: app-contact / inline-size; }
@container app-contact (max-width: 760px) {
    .community-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
    .community-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .community-intro { padding-top: 24px; }
    .community-intro::before { top: 0; width: 104px; height: 20px; }
    .community-card { padding: 24px; }
}
@media (max-width: 400px) {
    .community-card { padding: 20px 16px; }
    .community-button { width: 100%; }
}
