/* Contact Us (frames contact-us 1440 / contact-us-mobile 390). Numbers from fig-spec. */

/* ── hero ─────────────────────────────────────────────────────────────── */
.chero { display: flex; align-items: flex-end; padding: 80px 48px 80px var(--container-pad); background: var(--color-surface); }
.chero__inner { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }
.chero__copy { display: flex; flex-direction: column; gap: var(--space-24); width: 737px; }
.chero__eyebrow { font-family: var(--font-body); font-weight: 800; line-height: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.chero__eyebrow::before { width: 12px; height: 2px; }
.chero__title { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 62px; color: var(--color-text); }
.chero__status { display: inline-flex; align-items: center; gap: var(--space-8); align-self: flex-start; padding: 6px 12px; border-radius: var(--radius-sm); background: var(--color-bg); font-size: 13px; line-height: 14px; font-weight: 600; color: var(--color-text); }
.chero__dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; }
.chero__lead { width: 575px; font-size: 16px; line-height: 24px; color: #a1a8b5; }

/* ── form + rail ──────────────────────────────────────────────────────── */
.cwork { display: grid; grid-template-columns: 1fr 384px; gap: 64px; align-items: start; padding: 80px var(--container-pad); background: var(--color-light); color: var(--color-ink); }
.cform { display: flex; flex-direction: column; gap: var(--space-32); }
.cform__intro { display: flex; flex-direction: column; gap: var(--space-8); }
.cform__kicker { font-size: 11px; line-height: 12px; font-weight: 800; letter-spacing: 1.5px; color: var(--color-brand-ink); }
.cform__title { font-family: var(--font-display); font-weight: 900; font-size: 36px; line-height: 45px; color: var(--color-ink); }
.cform__sub { display: flex; justify-content: space-between; align-items: flex-start; }
.cform__desc { width: 500px; font-size: 15px; line-height: 16px; color: var(--color-muted-light); }
.cform__req { font-size: 13px; line-height: 14px; color: var(--color-muted-light); }
.cform__fields { display: flex; flex-direction: column; gap: var(--space-24); }
.cform .field__label { font-weight: 400; font-size: 12px; line-height: 13px; letter-spacing: 0; text-transform: uppercase; color: var(--color-ink); }
.field__req { color: var(--color-brand-ink); font-weight: 700; }
.cform .field input:not(.visually-hidden):not([type="checkbox"]):not([type="radio"]), .cform .field select { min-height: 52px; background: var(--color-light-2); }
.cform .field textarea { min-height: 180px; padding: 16px; background: var(--color-light-2); }
.cform .field__hint { margin-top: -2px; font-size: 12px; line-height: 17px; }
.cform__warning { display: flex; gap: var(--space-12); padding: 16px; border-radius: var(--radius-md); background: var(--color-light); box-shadow: inset 0 0 0 1px var(--color-line-light); }
.cform__warning-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-top: 5px; border-radius: 50%; background: var(--color-brand-ink); color: #fff; font-family: var(--font-mono); font-weight: 800; font-size: 12px; flex-shrink: 0; }
.cform__warning-text { display: flex; flex-direction: column; gap: 2px; }
.cform__warning-title { font-size: 14px; line-height: 15px; font-weight: 700; color: var(--color-ink); }
.cform__warning-desc { font-size: 13px; line-height: 14px; color: var(--color-muted-light); }
.cform__submit { display: flex; flex-direction: column; gap: var(--space-16); }
.cform__btn { align-self: flex-start; min-height: 44px; padding: 14px 28px; border-radius: var(--radius-md); font-size: 15px; line-height: 16px; }
.cform__consent { font-size: 12px; line-height: 17px; color: var(--color-muted-light); }
.cform__consent a { color: var(--color-brand-ink); }
.cform__done { display: flex; flex-direction: column; gap: var(--space-12); padding: 24px; border-radius: var(--radius-lg); background: var(--color-light-2); box-shadow: inset 0 0 0 1px var(--color-line-light); }
.cform__done-title { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 25px; color: var(--color-ink); }
.cform__done-text { font-size: 15px; line-height: 24px; color: var(--color-text-dark); }
.cform__done-text a { color: var(--color-brand-ink); }

.rail { display: flex; flex-direction: column; gap: var(--space-24); }
.rail__info { display: flex; flex-direction: column; gap: var(--space-24); }
.rail__head { display: flex; flex-direction: column; gap: var(--space-8); margin-bottom: 8px; width: 380px; }
.rail__kicker { font-size: 11px; line-height: 12px; font-weight: 800; letter-spacing: 1.5px; color: var(--color-muted-light); }
.rail__title { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 25px; color: var(--color-ink); }
.rail__items { display: flex; flex-direction: column; gap: var(--space-24); }
.rail__item { display: flex; flex-direction: column; gap: var(--space-8); }
.rail__item--tight { gap: var(--space-4); }
.rail__item-title { font-size: 14px; line-height: 15px; font-weight: 700; color: var(--color-ink); }
.rail__item-text { font-size: 13px; line-height: 18px; color: var(--color-muted-light); }
.rail__m { display: none; }
.rail__mail { color: var(--color-brand-ink); font-weight: 700; text-decoration: none; }
.rail__mail:hover { text-decoration: underline; }
.rail__rule { height: 1px; margin: -1px 0 0; border: 0; background: var(--color-line-light); }   /* a 0-height line, like the mockup LINE */
.rail__support-wrap { display: contents; }
.rail__operator { display: flex; flex-direction: column; gap: var(--space-16); }
.rail__table { display: flex; flex-direction: column; gap: 10px; }
.rail__row { display: grid; grid-template-columns: 134px 1fr; align-items: start; padding-top: 4px; }
.rail__row dt { font-size: 11px; line-height: 12px; font-weight: 600; color: var(--color-muted-light); }
.rail__row dd { font-size: 12px; line-height: 13px; font-weight: 500; color: var(--color-ink); }
.rail__support { display: flex; flex-direction: column; gap: var(--space-12); padding: 16px; border-radius: var(--radius-lg); background: var(--color-bg); color: var(--color-text); }
.rail__support-kicker { font-size: 11px; line-height: 12px; font-weight: 800; letter-spacing: 1.5px; color: var(--color-brand-2); }
.rail__support-phone { display: flex; flex-direction: column; gap: var(--space-4); }
.rail__phone { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 25px; color: var(--color-text); text-decoration: none; }
.rail__phone:hover { color: var(--color-brand-2); }
.rail__support-note { font-size: 13px; line-height: 14px; color: #a1a8b5; }
.rail__support-link { align-self: flex-start; font-size: 13px; line-height: 14px; font-weight: 700; color: var(--color-brand-2); text-decoration: none; }
.rail__support-link:hover { text-decoration: underline; }
.rail__support-rule { height: 0; margin: 0; border: 0; border-top: 1px solid var(--color-line-dark); }
.rail__betstop { display: flex; flex-direction: column; gap: var(--space-6); }
.rail__betstop-title { font-size: 13px; line-height: 14px; font-weight: 700; color: var(--color-text); }
.rail__betstop-text { font-size: 12px; line-height: 17px; color: #a1a8b5; }

/* ── mobile (frame contact-us-mobile 390) ─────────────────────────────── */
@media (max-width: 1199px) {
  .chero { padding: 40px 0; background: var(--color-bg); }
  .chero__inner { flex-direction: column; align-items: stretch; gap: var(--space-16); padding-inline: var(--container-pad-m); }
  .chero__copy { display: contents; }
  .chero__eyebrow { font-size: 10px; line-height: 11px; }
  .chero__title { font-size: 42px; line-height: 44px; }
  .chero__lead { width: auto; font-size: 14px; line-height: 20px; }
  .chero__status { order: 4; width: 330px; max-width: 100%; height: 30px; padding: 6px 12px; background: var(--color-surface); font-size: 13px; line-height: 18px; }
  .chero__dot { background: #22c55e; }

  .cwork { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .cform { gap: var(--space-32); padding: 48px var(--container-pad-m) 40px; }
  .cform__kicker { font-size: 10px; line-height: 11px; }
  .cform__title { font-size: 28px; line-height: 35px; color: var(--color-bg); }
  .cform__sub { flex-direction: column; gap: var(--space-8); }
  .cform__desc { width: auto; font-size: 14px; line-height: 20px; color: var(--color-bg); }
  .cform__req { font-size: 13px; line-height: 18px; }
  .cform__fields { gap: var(--space-16); }
  .cform .field__label { font-size: 11px; line-height: 12px; text-transform: uppercase; }
  .cform .field input:not(.visually-hidden), .cform .field select { font-size: 14px; line-height: 20px; }
  .cform .field textarea { min-height: 160px; }
  .cform .field__hint { margin-top: 4px; font-size: 12px; line-height: 16px; }
  .cform__warning { flex-direction: column; gap: var(--space-8); border-radius: var(--radius-10); }
  .cform__warning-icon { display: none; }
  .cform__warning-text { gap: var(--space-8); }
  .cform__warning-title { font-size: 14px; line-height: 20px; }
  .cform__warning-desc { font-size: 13px; line-height: 18px; color: var(--color-bg); }
  .cform__submit { gap: var(--space-12); }
  .cform__btn { align-self: stretch; min-height: 52px; }
  .cform__consent { font-size: 13px; line-height: 18px; }

  .rail { gap: 0; }
  .rail__info { gap: var(--space-24); padding: 48px var(--container-pad-m); }
  .rail__info::before { content: ""; height: 1px; margin-bottom: -1px; background: var(--color-line-light); }
  .rail__head { width: auto; margin-bottom: 0; gap: var(--space-8); }
  .rail__kicker { font-size: 10px; line-height: 11px; }
  .rail__title { font-size: 22px; line-height: 27px; color: var(--color-bg); }
  .rail__items { gap: 0; }
  .rail__item { gap: var(--space-8); }
  .rail__d { display: none; }
  .rail__m { display: inline; }
  .rail__item-title { font-size: 14px; line-height: 20px; color: var(--color-bg); }
  .rail__item-text { font-size: 13px; line-height: 18px; color: var(--color-bg); }
  .rail__items { gap: var(--space-16); }
  .rail__rule--last { display: none; }
  .rail__operator { gap: var(--space-24); padding: 48px var(--container-pad-m); }
  .rail__operator::before { content: ""; height: 1px; margin-bottom: -1px; background: var(--color-line-light); }
  .rail__operator .rail__kicker { font-size: 10px; line-height: 11px; }
  .rail__table { gap: 0; }
  .rail__row { grid-template-columns: 1fr; row-gap: 4px; padding: 14px 0; box-shadow: inset 0 -1px 0 var(--color-line-light); }
  .rail__row dt { font-size: 10px; line-height: 11px; text-transform: uppercase; }
  .rail__row dd { font-size: 14px; line-height: 20px; color: var(--color-bg); }
  .rail__support-wrap { display: block; padding: 48px var(--container-pad-m); }
  .rail__support { gap: var(--space-20); padding: 24px; }
  .rail__support-kicker { font-size: 10px; line-height: 11px; color: var(--color-text); }
  .rail__phone { font-size: 28px; line-height: 35px; }
  .rail__support-note { font-size: 13px; line-height: 18px; color: var(--color-text); }
  .rail__support-link { font-size: 13px; line-height: 18px; color: var(--color-brand); }
  .rail__betstop-title { line-height: 18px; }
  .rail__betstop-text { font-size: 12px; line-height: 17px; color: var(--color-text); }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .chero__copy { width: auto; flex: 1; }
  .chero__lead { width: 40%; flex-shrink: 0; }
}

/* mobile fixes from the frame-by-frame style check */
@media (max-width: 1199px) {
  .rail__row dt { font-weight: 800; }
  .rail__row dd { font-weight: 600; }
  .cform .field__label { font-weight: 700; color: var(--color-bg); }
  .cform__desc { opacity: .8; }
  .cform .field__hint { margin-top: 0; font-size: 13px; line-height: 18px; }
}
