/* Content pages: legal documents, need-support band, page intros, numbered
 * card grids, form cards (contact, deposit limits, registration, login, verify).
 * Numbers: fig-spec on 54:32/54:74 (legal), 61:271 (need support), 63:30
 * (contact), 64:103 (deposit limits), 67:127 (registration), 67:307 (login),
 * 67:400 (verify); mobile 112:29/112:37, 118:51, 120:*, 121:*, 122:*, 126:*, 127:*. */

/* ── legal (54:32 / 54:74) ────────────────────────────────────────────── */
.legal-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 64px var(--page-pad-wide) 40px; }
.legal-head__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h1); line-height: 60.48px; color: var(--color-text-strong); }
.legal-head__row { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.legal-head__intro { max-width: 800px; font-size: var(--fs-lead); line-height: 27px; color: var(--color-text-2); }
.legal-head__updated { font-weight: 700; font-size: var(--fs-ui); line-height: 17px; color: var(--color-muted); }
.legal-head__rule { width: 100%; height: 0; margin: 16px 0 0; border: 0; border-top: 1px solid var(--color-border); }
.legal-body { display: flex; flex-direction: column; gap: 64px; padding: 0 var(--page-pad-wide) 64px; }
.legal-section { display: flex; flex-direction: column; gap: 20px; }
.legal-section__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h4); line-height: 28px; color: var(--color-text-strong); }
.legal-section__body { display: flex; flex-direction: column; gap: 20px; padding-bottom: 44px; box-shadow: inset 0 -1px 0 var(--color-border); }
.legal-p { font-size: var(--fs-lead); line-height: 27px; color: var(--color-text-2); }
.legal-p--strong { font-weight: 700; color: var(--color-text-strong); }
.legal-p a, .legal-list a, .legal-table a, .legal-note a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }
.legal-list { display: flex; flex-direction: column; gap: 8px; padding: 0 16px; }
.legal-list li { position: relative; padding-left: 18px; font-size: var(--fs-lead); line-height: 27px; color: var(--color-text-2); }
.legal-list li::before { content: "•"; position: absolute; left: 0; }
.legal-note { font-size: var(--fs-ui); line-height: 20.8px; color: var(--color-muted); text-align: center; }
.legal-sub { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.legal-sub__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 23px; color: var(--color-text-strong); }
.legal-sub--plain .legal-sub__title { font-size: var(--fs-lead); line-height: 20.16px; }
.legal-sub__badge { font-weight: 700; font-size: var(--fs-ui); line-height: 17px; color: var(--color-muted); white-space: nowrap; }
.legal-sub__badge--on { color: var(--color-brand); }
.legal-table-wrap { overflow-x: auto; border-radius: var(--radius-md); background: var(--color-surface); }
.legal-table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); line-height: 22px; color: var(--color-text-2); }
.legal-table th { padding: 12px 16px; background: var(--color-bg); text-align: left; font-weight: 700; font-size: var(--fs-ui); line-height: 17px; color: var(--color-text-strong); }
.legal-table td { padding: 14px 16px; vertical-align: top; }
.legal-table tr + tr td { box-shadow: inset 0 1px 0 var(--color-border); }
.legal-table__key { width: 220px; }

/* ── need support (61:271 / 118:51) ───────────────────────────────────── */
.need-support { display: flex; flex-direction: column; gap: 24px; padding: 48px var(--page-pad-wide); background: var(--color-bg-deep); box-shadow: inset 0 1px 0 var(--color-border), inset 0 -1px 0 var(--color-border); }
.need-support__head { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.need-support__title { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 35.28px; color: var(--color-text-strong); }
.need-support__lead { font-size: var(--fs-body); line-height: 18.2px; color: var(--color-muted); }
.need-support__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.support-card { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-border); }
.support-card__head { display: flex; align-items: center; gap: 16px; }
.support-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-help); color: #fff; }
.support-card__icon .icon { width: 18px; height: 18px; }
.support-card__logo img { width: 118px; height: 39px; }
.support-card__text { display: flex; flex-direction: column; gap: 2px; }
.support-card__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lead); line-height: 20.16px; color: var(--color-text); }
.support-card__sub { font-size: var(--fs-body); line-height: 18.2px; color: var(--color-muted); text-decoration: none; }
.support-card__sub--phone { position: relative; color: var(--color-brand); font-weight: 700; }
.support-card__sub--phone::after { content: ""; position: absolute; inset: 50% 0 auto 0; translate: 0 -50%; height: 100%; min-height: 24px; }
.support-card__logo + .support-card__text .support-card__sub { font-size: var(--fs-ui); line-height: 17px; }
.support-card__desc { font-size: var(--fs-ui); line-height: 19.5px; color: var(--color-muted); }
.btn--xs { padding: 8px 16px; font-size: var(--fs-ui); line-height: 16.38px; }

/* ── page intro (help 38:296, contact 63:31, deposit 64:104) ──────────── */
.content { display: flex; flex-direction: column; gap: 48px; padding: 48px var(--page-pad-wide) 80px; }
.intro { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.intro__title { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 45.36px; color: var(--color-text-alt); }
.intro__lead { font-size: 15px; line-height: 22px; color: var(--color-muted); max-width: 1280px; }
.intro__sub { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h4); line-height: 28px; color: var(--color-text-alt); margin-top: 16px; }
.intro .eyebrow { margin-bottom: 0; }
.intro--spaced .eyebrow { margin-bottom: 30px; }
.intro--top { padding-top: 30px; }
.block.block--24 { gap: 24px; }   /* 64:132 / 121:61 — outranks the later .block rule */
.form-card.form-card--24, .form-card.form-card--24 form, .form-card--24 .form-card__head { gap: 24px; }   /* 64:113→64:115, 121:42→121:44: 24 between title, lead and fields */
.form-card__head { display: flex; flex-direction: column; }
.gambling-support { padding-top: 48px; box-shadow: inset 0 1px 0 var(--color-border); gap: 16px; }   /* 63:138: line, 48 down to the title, 16 between the rest */
.gambling-support .block__head { display: flex; flex-direction: column; gap: 16px; }
.gambling-support .need-support__cards { gap: 16px; }
.grid-3--start, .grid-2--start { align-items: start; }
.block { display: flex; flex-direction: column; gap: 16px; }
.block__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h4); line-height: 28px; color: var(--color-text-alt); }
.block__lead { font-size: var(--fs-body); line-height: 18.2px; color: var(--color-muted); }
.gambling-support .block__lead { font-size: 15px; line-height: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.num-card { background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--color-border); }
.num-card__num--badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--color-brand-tint); color: var(--color-brand); font-weight: 700; font-size: var(--fs-ui); line-height: 17px; }
.num-card--badge { padding: 20px; }   /* 64:135 */
.num-card--badge .num-card__text { font-size: var(--fs-body); }
.list { display: flex; flex-direction: column; gap: 10px; }
.list li { position: relative; padding-left: 16px; font-size: var(--fs-body); line-height: 20px; color: var(--color-muted); }
.list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--color-muted); }

/* ── form cards (contact 58:2765, deposit 64:112, registration 67:127) ── */
.form-card { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: var(--form-w-md); padding: 32px 40px; border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-border); }
.form-card__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h4); line-height: 28px; color: var(--color-text-alt); }
.form-card__lead { font-size: 15px; line-height: 22px; color: var(--color-muted); }
.form-card form { display: flex; flex-direction: column; gap: 20px; }
.form-card .btn--submit { padding: 12px 20px; }
.form-card__note { font-size: var(--fs-small); line-height: 18px; color: var(--color-muted); }
.form-card__note strong { color: var(--color-text-2); font-weight: 600; }
.form-card__section { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.form-card__section-title { padding-bottom: 12px; box-shadow: inset 0 -1px 0 var(--color-border); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lead); line-height: 20.16px; color: var(--color-text); }
.form-card__section + .form-card__section { margin-top: 0; }
.consents { display: flex; flex-direction: column; gap: 14px; }
.rg-strip { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius-md); background: var(--color-bg); font-size: var(--fs-small); line-height: 16px; color: var(--color-muted); }
.rg-strip a { color: var(--color-text); text-decoration: underline; text-underline-offset: 2px; }
.rg-strip strong { color: var(--color-text); font-weight: 600; }
.form-foot { text-align: center; font-size: var(--fs-body); line-height: 18.2px; color: var(--color-muted); }
.form-foot a { color: var(--color-brand); text-decoration: none; }
.form-foot a:hover { text-decoration: underline; }

/* auth pages (registration 67:123, login 67:303, verify 67:397) */
.auth { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 48px 16px 96px; }
.auth--short { padding: 80px 16px 120px; }
.auth__head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; width: 100%; max-width: var(--form-w); }
.auth__title { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 35px; color: var(--color-text); }
.auth__lead { font-size: 15px; line-height: 20px; color: var(--color-muted); }
.auth .form-card { max-width: var(--form-w); padding: 32px; gap: 24px; }
.auth .form-card form { gap: 24px; }
.auth--sm .auth__head, .auth--sm .form-card { max-width: var(--form-w-sm); }
.form-fields { display: flex; flex-direction: column; gap: 24px; }

/* verify code (67:400) */
.verify { align-items: center; text-align: center; }
.verify__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--color-brand-tint); color: var(--color-brand); }
.verify__icon .icon { width: 20px; height: 20px; }
.verify__text { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-body); line-height: 18.2px; color: var(--color-muted); }
.verify__text > span:last-child { font-size: var(--fs-ui); line-height: 17px; color: var(--color-dim); }
.verify__email { font-weight: 700; font-size: 15px; line-height: 20px; color: var(--color-text); }
.code { display: flex; justify-content: center; gap: 8px; }
.code__box {
  width: 40px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-md); text-align: center;
  background: var(--color-bg); color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-border);
  font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 23px;
}
.code__box:focus { outline: none; box-shadow: inset 0 0 0 1px var(--color-brand), var(--focus-ring); }
.verify__hint { font-size: var(--fs-small); line-height: 16px; color: var(--color-dim); }
.verify__hint-box { padding: 10px 12px; border-radius: var(--radius-md); background: var(--color-brand-tint); box-shadow: inset 0 0 0 1px var(--color-brand); font-size: var(--fs-small); line-height: 16px; color: var(--color-text); }
.verify__hint-box strong { font-family: var(--font-display); letter-spacing: .1em; }
.verify__resend { padding-top: 16px; box-shadow: inset 0 1px 0 var(--color-border); font-size: var(--fs-small); line-height: 16px; color: var(--color-muted); }
.verify__resend button { padding: 0; border: 0; background: none; color: var(--color-brand); font: inherit; font-weight: 600; cursor: pointer; }

/* contact: email card + gambling support (63:138) */

/* ── mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .legal-head { gap: 12px; padding: 32px var(--page-pad-m) 24px; }
  .legal-head__title { font-size: 28px; line-height: 35px; }
  .legal-head__intro { font-size: var(--fs-body); line-height: 22px; }
  .legal-head__updated { font-weight: 700; }
  .legal-head__rule { margin: 8px 0; }   /* 112:35: a 16px divider wrapper, the line in the middle */
  .legal-body { gap: 32px; padding: 0 var(--page-pad-m) 40px; }
  .legal-section { gap: 12px; }
  .legal-section__title { font-size: 18px; line-height: 23px; }
  .legal-section__body { gap: 12px; padding-bottom: 28px; }
  .legal-p, .legal-list li { font-size: var(--fs-body); line-height: 22px; }
  .legal-list { gap: 6px; padding: 0 8px; }
  .legal-list li { line-height: 20px; }
  .legal-sub__title { font-size: var(--fs-lead); line-height: 20px; }
  /* underage-gambling mobile frame (118:*): 32 / 20 / 15-24 instead of the shared 28 / 18 / 14-22 */
  .legal--wide .legal-head__title { font-size: 32px; line-height: 40px; }
  .legal--wide .legal-head__intro { font-size: 15px; line-height: 24px; }
  .legal--wide .legal-section__title { font-size: 20px; line-height: 25.2px; }
  .legal--wide .legal-p { font-size: 15px; line-height: 24px; }
  /* the cookie table becomes stacked label/value blocks, as the mobile frame draws it (115:27) */
  .legal-table-wrap { overflow: visible; background: none; border-radius: 0; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; }
  .legal-table thead { display: none; }
  .legal-table tbody { display: flex; flex-direction: column; gap: 10px; }
  .legal-table tr { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--color-bg-deeper); }
  .legal-table td { padding: 0; font-size: var(--fs-body); line-height: 22px; }
  .legal-table tr + tr td { box-shadow: none; }
  .legal-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-weight: 700; font-size: var(--fs-small); line-height: 16px; color: var(--color-muted); }
  .legal-table__key { width: auto; }

  .need-support { gap: 20px; padding: 40px var(--page-pad-m); }
  .need-support__head { align-items: flex-start; text-align: left; gap: 8px; }
  .need-support__title { font-size: 24px; line-height: 30px; }
  .need-support__cards { grid-template-columns: 1fr; gap: 20px; }
  .support-card { padding: 20px; gap: 16px; }
  .support-card .btn--xs { padding: 10px 0; }

  .content { gap: 32px; padding: 32px var(--page-pad-m) 48px; }
  .intro__title { font-size: 28px; line-height: 35px; }
  .intro__lead { font-size: var(--fs-ui); line-height: 20px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 12px; }
  .form-card { padding: 20px; max-width: none; }   /* 120:35, 121:41, 126:35 */
  .form-card__title { font-size: 20px; line-height: 25.2px; }
  .form-card__lead { font-size: var(--fs-body); line-height: 21px; }
  .form-card .btn--submit { padding-block: 13px; }   /* 121:58: 44px */
  .form-card--24 .field { gap: 8px; }   /* 121:44 */
  .form-card--contact form { gap: 16px; }   /* 120:38 */
  .form-card--contact textarea { min-height: 100px; }   /* 120:53 */
  .auth { padding: 32px var(--page-pad-m) 64px; }
  .auth--short { padding: 40px var(--page-pad-m) 64px; }
  .auth .form-card { padding: 20px; gap: 24px; }   /* 126:35 */
  .auth .form-card form { gap: 24px; }
  .form-fields { gap: 24px; }
  /* 122:32: 16px card padding, 16 between fields, 24 between sections */
  .auth--register .form-card { padding: 16px; }
  .auth--register .form-card form { gap: 16px; }
  .auth--register .form-card__section + * { margin-top: 0; }
  .auth--register .form-card__section { margin-top: 8px; }
  .auth--register .form-card__section:first-child { margin-top: 0; }
  .auth__title { font-size: 22px; line-height: 28px; }
  .code { gap: 6px; }
  .code__box { width: 44px; }
}

@media (min-width: 640px) and (max-width: 1199px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2, .need-support__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 389px) {
  .code__box { width: 38px; }
}

/* deposit limits extras (64:112) */
.intro__title--lg { font-size: 36px; line-height: 45.36px; }
.segmented--form { padding: 4px; }
.segmented--form .segmented__item { padding: 8px 0; font-family: var(--font-body); font-weight: 500; font-size: var(--fs-ui); line-height: 17px; cursor: pointer; }
.segmented--form .segmented__item.is-active { font-weight: 700; }
.form-card--24 .field__label { color: var(--color-text-alt); }
.form-card--24 .field__prefix--text { font-weight: 500; font-size: var(--fs-body); line-height: 18.2px; }
.segmented--form .segmented__item:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.limit-current { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--color-bg); box-shadow: inset 0 0 0 1px var(--color-border); font-size: var(--fs-ui); line-height: 17px; color: var(--color-muted); }
.limit-current__value { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-body); color: var(--color-brand); }
.limit-current__pending { width: 100%; font-size: var(--fs-small); line-height: 16px; color: var(--color-dim); }
@media (max-width: 1199px) { .intro__title--lg { font-size: 28px; line-height: 35px; } }
.age-gate--page { text-align: center; }
.age-gate--page .age-gate__title { font-size: 24px; line-height: 30px; }
.field__help--right { justify-content: flex-end; }

/* Mobile frames draw every section full-width (390) with its own 16px padding,
   so below 1200 the wrapper stops padding and the sections take it over. */
@media (max-width: 1199px) {
  .content { gap: 0; padding: 0 0 8px; }
  .content > .intro { padding: 32px var(--page-pad-m) 24px; gap: 12px; }
  .content > .block { padding: 16px var(--page-pad-m) 24px; }
  .content > .card { margin: 16px var(--page-pad-m) 24px; }
  .content > .form-card { width: auto; margin: 0 var(--page-pad-m) 40px; }
  /* 120:57: the hairline sits 8px below the form, then 24 to the head (title 22/28, lead 14/21, 8 apart), 24 to the cards, 40 below */
  .content > .gambling-support { padding: 8px var(--page-pad-m) 40px; margin: 0; gap: 24px; box-shadow: none; }
  .content > .gambling-support::before { content: ""; height: 1px; background: var(--color-border); }
  .content .gambling-support .block__head { gap: 8px; }
  .content .gambling-support .block__title { font-size: 22px; line-height: 28px; }
  .content .gambling-support .block__lead { font-size: var(--fs-body); line-height: 21px; }
  .content > .block.block--24 { padding: 0 var(--page-pad-m) 40px; }
  .num-card--badge { padding: 16px; }   /* 121:64 */
  .legal-head { padding: 32px var(--page-pad-m) 24px; }
}
@media (max-width: 389px) {
  .disclosure__warning { flex-wrap: wrap; }
  .disclosure__warning-text { overflow-wrap: anywhere; }
}

/* mobile frame typography (110:*, 112:*, 122:*) */
@media (max-width: 1199px) {
  .auth__title { font-size: 28px; line-height: 35.28px; }
  .auth__lead { font-size: var(--fs-body); line-height: 18.2px; }
  .field__toggle { font-size: var(--fs-body); line-height: 18.2px; }
  .check__label { line-height: 20px; }
  .content .block__title { font-size: 20px; line-height: 25.2px; }
  .content .intro__lead { font-size: var(--fs-body); line-height: 20px; }
  /* contact (120:31) and deposit-limits (121:32) intros are drawn larger than the help-centre one (110:29) */
  .content .intro--top .intro__title, .content .intro--spaced .intro__title { font-size: 32px; line-height: 40px; }
  .content .intro--top .intro__lead { line-height: 21px; }
  .content .intro--spaced .eyebrow { margin-bottom: 0; }
  .content .intro--spaced .intro__sub { margin-top: 0; font-size: 20px; line-height: 25px; }
  .content .intro--spaced .intro__lead { font-size: 15px; line-height: 24px; }
  .content .block__lead, .payments__lead { font-size: var(--fs-ui); line-height: 18px; }
  .support-card__title { font-size: 15px; line-height: 19px; }
  .legal-sub--plain .legal-sub__title { font-size: 15px; line-height: 19px; }
  .legal-p--strong { line-height: 21px; }
}
