/* DJPLAY footer and public legal pages. Intentionally independent of Vite's
   generated Tailwind bundle to keep legal/navigation styling release-safe. */
.djplay-site-footer { margin-top: 3.5rem; background: #fff; border-top: 1px solid #e2e8f0; }
.djplay-site-footer__inner { max-width: 1500px; margin: 0 auto; padding: 1.75rem 1.5rem; }
.djplay-site-footer__top { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.25rem; }
.djplay-site-footer__nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.djplay-site-footer__nav a { color: #475569; text-decoration: none; font-size: .8rem; font-weight: 650; line-height: 1.4; }
.djplay-site-footer__nav a:hover, .djplay-site-footer__nav a[aria-current="page"] { color: #6d28d9; }
.djplay-site-footer__bottom { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #f1f5f9; color: #94a3b8; font-size: .75rem; }
.djplay-site-footer a:focus-visible, .djplay-legal-page a:focus-visible { outline: 3px solid #a78bfa; outline-offset: 3px; border-radius: 4px; }
.djplay-legal-page { max-width: 1120px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.djplay-legal-hero { position: relative; overflow: hidden; padding: 2.5rem; border-radius: 1.5rem; border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.05); }
.djplay-legal-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #7c3aed; }
.djplay-legal-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.75rem; margin-top: 1.75rem; align-items: start; }
.djplay-legal-content { min-width: 0; }
.djplay-legal-content > section { margin-bottom: 1.75rem; border: 1px solid #e2e8f0; background: #fff; border-radius: 1rem; padding: 2rem; box-shadow: 0 1px 3px rgba(15,23,42,.045); }
.djplay-legal-content > section:last-child { margin-bottom: 0; }
.djplay-legal-content h2 { font-size: 1.2rem; line-height: 1.4; font-weight: 750; letter-spacing: -.02em; color: #0f172a; }
.djplay-legal-content p, .djplay-legal-content address, .djplay-legal-content dl { overflow-wrap: anywhere; }
.djplay-legal-content p { line-height: 1.75; }
.djplay-legal-content a { text-underline-offset: 3px; }
.djplay-legal-sidebar { min-width: 0; }
.djplay-legal-sidebar nav { border: 1px solid #e2e8f0; background: #fff; border-radius: 1rem; padding: 1rem; box-shadow: 0 1px 3px rgba(15,23,42,.045); }
@media (min-width: 768px) {
  .djplay-site-footer__top { flex-direction: row; align-items: center; }
}
@media (min-width: 1024px) {
  .djplay-legal-layout { grid-template-columns: minmax(0,3fr) minmax(225px,1fr); }
}
@media (max-width: 639px) {
  .djplay-site-footer__inner { padding: 1.5rem 1rem; }
  .djplay-legal-page { padding: 1.75rem 1rem 2.5rem; }
  .djplay-legal-hero { padding: 1.65rem; }
  .djplay-legal-content > section { padding: 1.4rem; }
}

/* Dedicated progressive-enhancement contact form (React + fully functional HTML fallback). */
.djplay-contact-panel { padding: 2rem; }
.djplay-contact-eyebrow { color: #7c3aed; font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.djplay-contact-heading { font-size: 1.6rem; font-weight: 800; line-height: 1.25; margin-top: .55rem; color: #0f172a; letter-spacing: -.03em; }
.djplay-contact-intro { font-size: .9rem; line-height: 1.75; color: #64748b; margin-top: .75rem; }
.djplay-contact-form { margin-top: 2rem; }
.djplay-contact-step { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 1.3rem; padding-bottom: 1rem; border-bottom: 1px solid #eeeaf4; }
.djplay-contact-step:first-of-type { margin-top: .7rem; }
.djplay-contact-step > span { background: #f3efff; border: 1px solid #e8defe; color: #6d28d9; font-weight: 800; border-radius: .8rem; width: 42px; height: 42px; display: grid; place-items: center; font-size: .82rem; flex: none; }
.djplay-contact-step strong { display: block; color: #17132a; font-size: .95rem; font-weight: 800; }
.djplay-contact-step p { margin: .25rem 0 0; font-size: .78rem; color: #64748b; }
.djplay-contact-fields { display: grid; gap: 1.2rem; }
.djplay-contact-fields--two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.djplay-contact-field { min-width: 0; }
.djplay-contact-field label { display: block; font-weight: 700; color: #29324a; font-size: .82rem; margin-bottom: .5rem; }
.djplay-contact-field label span { color: #7c3aed; }
.djplay-contact-field :is(input,select,textarea) { display: block; width: 100%; box-sizing: border-box; min-width: 0; min-height: 48px; background: #fff; border: 1px solid #cbd5e1; border-radius: .75rem; padding: .82rem .9rem; font: inherit; font-size: .88rem; line-height: 1.55; color: #0f172a; outline: none; transition: border-color .16s,box-shadow .16s; }
.djplay-contact-field textarea { min-height: 180px; resize: vertical; }
.djplay-contact-field :is(input,select,textarea):focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.11); }
.djplay-contact-field :is(input,select,textarea):disabled { opacity: .7; cursor: wait; }
.djplay-contact-field :is(input,select,textarea)[aria-invalid="true"] { border-color: #e11d48; }
.djplay-contact-field :is(input,textarea)::placeholder { color: #94a3b8; }
.djplay-contact-field small { color: #be123c; font-size: .76rem; display: block; margin-top: .35rem; }
.djplay-contact-field__hint { display: flex; justify-content: space-between; gap: 1rem; margin-top: .45rem; font-size: .75rem; color: #94a3b8; }
.djplay-contact-submit { padding-top: 1.8rem; display: grid; justify-items: start; gap: 1rem; }
.djplay-contact-submit p { max-width: 640px; line-height: 1.7; color: #64748b; font-size: .8rem; }
.djplay-contact-submit a,.djplay-contact-alert a { color: #6d28d9; font-weight: 700; text-decoration: underline; }
.djplay-contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem; border: 0; border-radius: .8rem; background: #6d28d9; color: #fff; min-height: 49px; padding: .78rem 1.5rem; text-decoration: none; cursor: pointer; font-size: .86rem; font-weight: 800; transition: background .18s; }
.djplay-contact-button:hover { background: #5b21b6; color: #fff; }
.djplay-contact-button:disabled { opacity: .62; cursor: wait; }
.djplay-contact-button:focus-visible { outline: 3px solid #a78bfa; outline-offset: 3px; }
.djplay-contact-button--secondary { color: #6d28d9; background: #f3efff; }
.djplay-contact-button--secondary:hover { background: #e9d5ff; color: #5b21b6; }
.djplay-contact-alert { border: 1px solid #fecdd3; border-radius: .75rem; color: #9f1239; background: #fff1f2; padding: 1rem 1.1rem; line-height: 1.7; font-size: .83rem; width: 100%; }
.djplay-contact-alert ul { list-style: disc; padding-left: 1.2rem; }
.djplay-contact-sent { padding: 2.5rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.djplay-contact-sent__icon { display: grid; place-items: center; border-radius: 50%; width: 62px; height: 62px; background: #f3efff; color: #6d28d9; font-size: 1.6rem; font-weight: 900; }
.djplay-contact-sent h2 { font-size: 1.3rem; font-weight: 800; color: #0f172a; }
.djplay-contact-sent p { color: #64748b; line-height: 1.7; font-size: .9rem; max-width: 390px; }
.djplay-contact-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.djplay-contact-info { margin-top: 1.75rem; }
.djplay-contact-info h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; color: #0f172a; }
.djplay-contact-info__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.djplay-contact-info__grid > div { min-width: 0; padding: 1.4rem; border-radius: .9rem; background: #f8f7fc; }
.djplay-contact-info__grid span { display: block; color: #7c3aed; font-size: .67rem; font-weight: 850; letter-spacing: .12em; }
.djplay-contact-info__grid a { display: inline-block; margin-top: .55rem; color: #362073; text-decoration: underline; overflow-wrap: anywhere; font-size: .84rem; font-weight: 750; }
.djplay-contact-info__grid p { font-size: .79rem; line-height: 1.6; margin-top: .6rem; color: #64748b; }
@media (max-width: 639px) {
 .djplay-contact-panel { padding: 1.35rem; }
 .djplay-contact-fields--two,.djplay-contact-info__grid { grid-template-columns: minmax(0,1fr); }
 .djplay-contact-step { margin-top: 1.6rem; }
 .djplay-contact-button { width: 100%; }
}

/* Integrated CAPTCHA: one small equation/input control, no secondary card. */
.djplay-contact-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .8rem 1.35rem;
    margin-top: 1.55rem;
    padding: 1.15rem 0 0;
    border: 0;
    border-top: 1px solid #edf0f5;
    border-radius: 0;
    background: transparent;
}
.djplay-contact-captcha__intro {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
}
.djplay-contact-captcha__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 29px;
    height: 29px;
    border: 1px solid #ebe5f6;
    border-radius: 9px;
    background: #f7f4fd;
    color: #7955bd;
    font-size: .84rem;
    font-weight: 750;
}
.djplay-contact-captcha__copy strong {
    display: block;
    color: #2b3142;
    font-size: .82rem;
    font-weight: 720;
    line-height: 1.35;
}
.djplay-contact-captcha__copy > span {
    display: block;
    margin-top: .12rem;
    color: #8790a1;
    font-size: .72rem;
    line-height: 1.4;
}
.djplay-contact-captcha__math {
    display: inline-flex;
    align-items: stretch;
    flex: none;
    min-height: 44px;
    overflow: hidden;
    border: 1px solid #e1e4ec;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(21, 25, 44, .035);
    transition: border-color .17s ease, box-shadow .17s ease;
}
.djplay-contact-captcha__math:focus-within {
    border-color: #9c83db;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .095);
}
.djplay-contact-captcha__equation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    margin: 0;
    padding: 0 1rem;
    color: #332b48;
    font: 700 1.02rem/1.3 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: .015em;
    white-space: nowrap;
    cursor: text;
}
.djplay-contact-captcha__input {
    display: block;
    width: 62px;
    min-width: 62px;
    min-height: 44px;
    margin: 0;
    padding: .45rem .35rem;
    border: 0;
    border-left: 1px solid #ece8f5;
    border-radius: 0;
    outline: 0;
    background: #f8f6fd;
    color: #52328f;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    text-align: center;
    transition: background-color .17s ease;
}
.djplay-contact-captcha__input:focus { background: #f3effc; outline: 0; }
.djplay-contact-captcha__input::placeholder { color: #aa9dbf; opacity: 1; }
.djplay-contact-captcha__input[aria-invalid="true"] { background: #fff1f2; color: #be123c; }
.djplay-contact-captcha__error {
    flex-basis: 100%;
    color: #be123c;
    font-size: .75rem;
    line-height: 1.4;
}
.djplay-contact-captcha + .djplay-contact-submit { padding-top: 1.1rem; }
@media (max-width: 560px) {
    .djplay-contact-captcha { align-items: flex-start; gap: .75rem; }
    .djplay-contact-captcha__math { margin-left: 0; }
}
