/* Nextwell Contact A composition, scoped to Ryselist's contact pages. */
.ry-contact-nextwell { background: var(--color-tokens-background-base); }
.ry-contact-nextwell .section_-hero-contact-a { padding-block: clamp(112px,11.12vw,160px) var(--spacing--96,96px); }
.ry-contact-nextwell .contact-a_halves { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--spacing--32); align-items: stretch; }
.ry-contact-nextwell .contact-a_left { min-width: 0; max-width: 34.25rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--spacing--64); }
.ry-contact-nextwell .headline_contact-a { display: block; max-width: none; width: 100%; margin: 0; text-align: left; }
.ry-contact-nextwell h1 { margin: 0 0 24px; font-size: clamp(42px,4.45vw,64px); line-height: 1.06; letter-spacing: -.035em; }
.ry-contact-nextwell .headline_contact-a > p { margin: 0; max-width: 28em; color: var(--color-tokens-tone-medium); font-size: 18px; line-height: 1.5; }
.ry-contact-nextwell .contact-a_info-list { width: 100%; max-width: 25rem; border-top: 1px solid var(--color-tokens-tone-faint); }
.ry-contact-nextwell .contact-a_info-tile { padding-block: 15px; border-bottom: 1px solid var(--color-tokens-tone-faint); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.ry-contact-nextwell .contact-a_info-tile a { color: var(--color-tokens-tone-medium); text-decoration: none; text-underline-offset: 3px; }
.ry-contact-nextwell .contact-a_info-tile a:hover { text-decoration: underline; }
.ry-contact-nextwell .contact-a_hours { color: var(--color-tokens-tone-medium); font-size: 12px; line-height: 1.65; margin: 16px 0 0; }
.ry-contact-nextwell .contact-a_form-card { min-width: 0; padding: 48px; background: var(--color-base-base-dark-4); border-radius: var(--radius-general-default); }
.ry-contact-nextwell .account_form-inner,.ry-contact-nextwell .profile-form_inner { display: flex; flex-direction: column; gap: 24px; }
.ry-contact-nextwell .text_input-label { display: block; margin: 0 0 8px; }
.ry-contact-nextwell .text-field { display: block; width: 100%; min-height: 50px; margin: 0; padding: 12px 16px; border: 1px solid transparent; border-radius: var(--radius-ui-input); background: var(--color-base-base-dark-8); color: var(--color-tokens-tone-strong); font-size: 16px; line-height: 1.5; }
.ry-contact-nextwell .text-field:focus { border-color: var(--color-tokens-tone-strong); background: var(--color-tokens-background-base); }
.ry-contact-nextwell textarea.text-field { min-height: 132px; resize: vertical; }
.ry-contact-nextwell .contact-a_privacy { margin: 0; font-size: 13px; line-height: 1.5; color: var(--color-tokens-tone-medium); }
.ry-contact-nextwell .contact-a_privacy a { text-decoration: underline; text-underline-offset: 3px; }
.ry-contact-nextwell .ry-contact-submit { width: 100%; padding: 0; border: 0; }
.ry-contact-nextwell .ry-contact-submit .button-inner { width: 100%; justify-content: center; }
.ry-contact-nextwell .contact-a_draft-note { display: block; margin-top: -12px; font-size: 12px; line-height: 1.5; color: var(--color-tokens-tone-medium); text-align: center; }
.ry-contact-nextwell .section_faq-tabs { padding-block: var(--spacing--80); border-top: 1px solid var(--color-tokens-tone-faint); }
.ry-contact-nextwell .headline_faq-tabs { max-width: 900px; margin: 0 auto 40px; text-align: center; }
.ry-contact-nextwell .headline_faq-tabs h2 { margin: 0; font-size: clamp(34px,3.9vw,56px); line-height: 1.08; letter-spacing: -.035em; }
.ry-contact-nextwell .ry-nextwell-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; max-width: 900px; margin: 0 auto 24px; border-bottom: 1px solid var(--color-tokens-tone-faint); }
.ry-contact-nextwell .ry-nextwell-tabs button { padding: 12px 8px; margin: 0 0 -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--color-tokens-tone-medium); font: inherit; cursor: pointer; }
.ry-contact-nextwell .ry-nextwell-tabs button[aria-selected="true"] { color: var(--color-tokens-tone-strong); border-color: var(--color-tokens-tone-strong); }
.ry-contact-nextwell .ry-nextwell-panel { max-width: 900px; margin-inline: auto; }
.ry-contact-nextwell.is-nextwell-ready .ry-nextwell-group-title { display: none; }
.ry-contact-nextwell .ry-nextwell-question { border-bottom: 1px solid var(--color-tokens-tone-faint); }
.ry-contact-nextwell .ry-nextwell-question summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 18px; line-height: 1.4; }
.ry-contact-nextwell summary::-webkit-details-marker { display: none; }
.ry-contact-nextwell .ry-nextwell-plus { flex: none; position: relative; width: 18px; height: 18px; }
.ry-contact-nextwell .ry-nextwell-plus::before,.ry-contact-nextwell .ry-nextwell-plus::after { content: ''; position: absolute; background: currentColor; inset: 8px 2px auto; height: 1px; }
.ry-contact-nextwell .ry-nextwell-plus::after { transform: rotate(90deg); }
.ry-contact-nextwell details[open] .ry-nextwell-plus::after { display: none; }
.ry-contact-nextwell .ry-nextwell-answer { padding: 0 42px 24px 0; color: var(--color-tokens-tone-medium); font-size: 16px; line-height: 1.6; }
.ry-contact-nextwell .ry-nextwell-answer p { margin: 0; }
.ry-contact-nextwell .ry-nextwell-answer a { text-decoration: underline; text-underline-offset: 3px; }
.ry-contact-nextwell [hidden] { display: none !important; }
.ry-contact-nextwell :is(input,textarea,button,a,summary):focus-visible { outline: 2px solid var(--color-tokens-tone-strong); outline-offset: 4px; }
@media (max-width:1100px) { .ry-contact-nextwell .contact-a_form-card { padding: 32px; } }
@media (max-width:991px) {
 .ry-contact-nextwell .contact-a_halves { grid-template-columns: minmax(0,1fr); gap: 48px; }
 .ry-contact-nextwell .contact-a_left { max-width: none; gap: 32px; }
 .ry-contact-nextwell .contact-a_info-list { max-width: none; }
}
@media (max-width:479px) {
 .ry-contact-nextwell .contact-a_form-card { padding: 24px; }
 .ry-contact-nextwell .profile-form_inner,.ry-contact-nextwell .account_form-inner { gap: 20px; }
 .ry-contact-nextwell .ry-nextwell-tabs { gap: 16px; font-size: 14px; }
 .ry-contact-nextwell .ry-nextwell-question summary { font-size: 16px; }
 .ry-contact-nextwell .ry-nextwell-answer { padding-right: 0; }
}

/* Contact FAQ follows the homepage split accordion. */
@media (min-width: 992px) {
 .ry-contact-nextwell #faq .headline_faq-left { position: sticky; top: 110px; align-self: start; }
}
