.nexus-close { margin-top: 24px; padding: 26px 24px; border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(145deg,var(--surface-selected),var(--surface)); }
.nexus-wordmark { display: flex; align-items: baseline; width: fit-content; margin: 0 0 18px; color: var(--text-heading); font-size: clamp(1.4rem,3vw,1.8rem); font-weight: 500; line-height: 1; letter-spacing: -.07em; }
.nexus-wordmark > span + span { margin-left: .13em; color: var(--accent); font-weight: 400; }
.nexus-close h4 { margin: 0; color: var(--text-heading); font-size: clamp(1.4rem,3vw,1.9rem); font-weight: 550; line-height: 1.2; letter-spacing: -.035em; }
.nexus-toggle { margin-top: 20px; min-height: 48px; }
.nexus-contact-panel { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.nexus-close [hidden] { display: none; }
.nexus-contact-form { display: grid; min-width: 0; gap: 19px; }
.nexus-field { display: grid; min-width: 0; gap: 8px; }
.nexus-field > label { color: var(--text-heading); font-size: .875rem; font-weight: 500; line-height: 1.5; }
.nexus-field > input { display: block; min-width: 0; width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--text); background: var(--surface); font-size: 1rem; line-height: 1.5; }
.nexus-field > input::placeholder { color: var(--placeholder); opacity: 1; }
.nexus-field > input:focus-visible,.nexus-consent input:focus-visible,.nexus-close .button:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 4px; }
.nexus-field > input[aria-invalid="true"] { border-color: var(--accent); }
.nexus-consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--text-soft); font-size: .875rem; line-height: 1.6; }
.nexus-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.nexus-field-error,.nexus-form-feedback { margin: 0; padding-left: 10px; border-left: 2px solid var(--accent); color: var(--text); font-size: .875rem; line-height: 1.55; }
.nexus-consent-field > .nexus-field-error { margin-top: 8px; }
.nexus-form-feedback:not(:empty) { margin-top: 12px; }
.nexus-submit { justify-self: start; min-height: 48px; }
@media (max-width: 540px) { .nexus-close { padding: 22px 16px; } .nexus-toggle,.nexus-submit { width: 100%; } }
