/* Responsible gambling — frame responsible-gambling[1:1421] /
 * responsible-gambling-mobile[80:184].
 */

.control__inner, .tools__inner, .harm__inner, .track__inner {
  display: flex; flex-direction: column; gap: var(--space-32);
}

/* ── staying in control (responsible-gambling[39:49]) ─────────────────── */
/* section-header[39:50]: the heading column and a dark plaque on one baseline */
.control__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-32); }
.control__head-text { flex: 1 1 864px; min-width: 0; gap: var(--space-12); }
.control__step { font-size: 48px; line-height: 60.48px; font-weight: 800; color: var(--color-violet); opacity: .5; }
.control .section-head__kicker { letter-spacing: 0.72px; color: var(--color-sand-ink); }
.control .section-title { letter-spacing: normal; }
/* header-plaque[39:55]: 242×39, warm near-black with the notice yellow on it */
.control__plaque {
  flex: none; padding: 12px var(--space-24);
  background: #171510; color: var(--color-notice);
  font-size: var(--fs-2xs); line-height: 15.12px; font-weight: 800; text-transform: uppercase;
}
/* content[39:57]: a 2px violet rule, then the checklist 32 to the right of it */
.control__content { border-left: 2px solid var(--color-violet); padding-left: var(--space-32); }
/* checklist[39:59]: two columns, 32 apart, rows 24 apart */
.control__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-24) var(--space-32); }
.control__item { display: flex; align-items: flex-start; gap: var(--space-16); }
/* the mockup marks each line with a 12px lime square, not a numeral */
.control__item::before {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: 7px;
  background: var(--color-lime);
}
.control__text { font-size: var(--fs-body); line-height: 26px; }

/* ── tools (responsible-gambling[39:80]) ──────────────────────────────── */
/* the band is ink; kicker lime, heading white, lead in warm grey */
.tools { background: var(--color-ink); color: #fff; }
.tools .section-head__stack { gap: var(--space-12); }
.tools .section-head__kicker { letter-spacing: 0.72px; color: var(--color-lime); }
.tools .section-title { letter-spacing: normal; }
.tools .section-lead { line-height: 20.16px; color: var(--color-sand-muted); max-width: none; }
/* tools-grid[39:85]: 24 gaps, rows of 2:1 and 1:2, the last card full width */
.tools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-24); }
.tool {
  display: flex; flex-direction: column; gap: var(--space-16);
  padding: var(--space-32); border-radius: var(--radius-sm);
  background: var(--color-bg); color: var(--color-ink);
}
.tool--wide { grid-column: span 2; }
.tool--row { grid-column: span 3; }
.tool__head { display: flex; flex-direction: column; gap: var(--space-16); }
.tool__no { font-size: var(--fs-h5); line-height: 40.32px; font-weight: 800; }
.tool__title { font-size: var(--fs-h6); line-height: 35.28px; font-weight: 800; text-transform: uppercase; }
.tool--wide .tool__title { font-size: var(--fs-h5); line-height: 40.32px; }
.tool__text { font-size: var(--fs-small); line-height: 22px; }
.tool--wide .tool__text { font-size: var(--fs-body-sm); line-height: 24px; max-width: 800px; }
.tool__link {
  align-self: flex-start; color: inherit;
  font-size: var(--fs-small); line-height: 18px; font-weight: 800;
  text-decoration: underline; text-underline-offset: 3px;
}
.tool__link:hover { text-decoration-thickness: 2px; }
.tool--lime { background: var(--color-lime); color: var(--color-ink); }
.tool--violet { background: var(--color-violet); color: #fff; }
/* tool-card-05[39:106] lays the title column beside the body text */
.tool--row { flex-direction: row; align-items: center; gap: var(--space-32); }
.tool--row .tool__head { flex: 0 0 200px; gap: var(--space-8); }
.tool--row .tool__title { font-size: var(--fs-h6); line-height: 35.28px; }
.tool--row .tool__text { flex: 1; font-size: var(--fs-body-sm); line-height: 24px; }

/* ── self-exclusion & BetStop (responsible-gambling[39:111]) ──────────── */
.betstop-band { background: var(--color-sand); color: var(--color-ink-warm); }
.betstop-band__inner { display: grid; grid-template-columns: 528px 1fr; gap: var(--space-32); align-items: start; }
.betstop-band__left { display: flex; flex-direction: column; gap: var(--space-24); }
.betstop-band .section-head__stack { gap: var(--space-24); }
.betstop-band .section-head__kicker { letter-spacing: 0.96px; color: var(--color-ink-warm); }
.betstop-band .section-title { line-height: 58px; letter-spacing: normal; color: var(--color-ink-warm); }
/* stop-marker[39:115]: a 127×140 lime block with «STOP» centred in it */
.betstop-band__word {
  align-self: flex-start; display: grid; place-items: center;
  width: 127px; height: 140px; padding: var(--space-20);
  background: var(--color-lime); color: var(--color-ink);
  font-size: var(--fs-h5); line-height: 40.32px; font-weight: 800; text-transform: uppercase;
}
/* exclusion-right[39:117]: a square-cornered white card, pad 40, groups 24 apart */
.betstop-band__card {
  display: flex; flex-direction: column; gap: var(--space-24);
  padding: var(--space-40); background: var(--color-bg);
  box-shadow: inset 0 0 0 1px var(--color-border);
}
.betstop-band__lead { font-size: var(--fs-body); line-height: 26px; }
.betstop-band__rule { height: 1px; border: 0; margin: 0; background: var(--color-border); }
.betstop-band__title { font-size: var(--fs-lead); line-height: 30.24px; font-weight: 800; text-transform: uppercase; }
.betstop-band__text { font-size: var(--fs-body-sm); line-height: 24px; }
.betstop-band__contact { display: flex; flex-direction: column; gap: var(--space-8); }
.betstop-band__contact-label { font-size: var(--fs-body-sm); line-height: 19px; }
.betstop-band__phone { font-size: var(--fs-h6); line-height: 35.28px; font-weight: 800; }
.betstop-band__phone a { color: inherit; text-decoration: none; }
.betstop-band__phone a:hover { color: var(--color-violet); }
.betstop-band__link {
  color: inherit; font-size: var(--fs-small); line-height: 18px; font-weight: 800;
  text-decoration: underline; text-underline-offset: 3px;
}
.betstop-band__link:hover { color: var(--color-violet); }

/* ── recognising harm (responsible-gambling[39:126]) ──────────────────── */
.harm { background: var(--color-sand); color: var(--color-ink-warm); }
.harm__inner { gap: var(--space-56); }
.harm__head { display: grid; grid-template-columns: 528px 1fr; gap: var(--space-32); align-items: start; }
.harm .section-head__stack { gap: var(--space-12); }
.harm .section-head__kicker { letter-spacing: 0.96px; color: var(--color-sand-ink); }
.harm .section-title { line-height: 58px; letter-spacing: normal; color: var(--color-ink-warm); }
.harm .section-lead { line-height: 26px; color: var(--color-sand-ink); max-width: none; }
.harm__body { display: grid; grid-template-columns: 632fr 696fr; gap: var(--space-32); align-items: start; }
/* signs-list[39:133]: title, a sand rule, then 8px lime bullets 12 from the text */
.harm__signs { display: flex; flex-direction: column; gap: var(--space-16); }
.harm__title { font-size: var(--fs-lead); line-height: 30.24px; font-weight: 800; text-transform: uppercase; }
.harm__signs .harm__title { padding-bottom: var(--space-16); border-bottom: 1px solid var(--color-notice-line); }
.harm__list { display: flex; flex-direction: column; gap: var(--space-16); }
.harm__list li {
  position: relative; padding-left: var(--space-20);
  font-size: var(--fs-body-sm); line-height: 19px;
}
.harm__list li::before {
  content: ""; position: absolute; left: 0; top: 5.5px;
  width: 8px; height: 8px; background: var(--color-lime);
}
/* reflection-panel[39:157]: violet, radius 20, pad 32, everything 20 apart */
.harm__check {
  display: flex; flex-direction: column; gap: var(--space-20);
  padding: var(--space-32); border-radius: 20px;
  background: var(--color-violet); color: #fff;
}
.harm__check .harm__title { color: #fff; }
.harm__intro { font-size: var(--fs-small); line-height: 18px; opacity: .9; }
.harm__questions { display: flex; flex-direction: column; gap: var(--space-20); }
.harm__questions li { font-size: var(--fs-small); line-height: 18px; font-weight: 500; }
.harm__q-no { font-weight: 500; }
.harm__rule { height: 1px; border: 0; margin: 0; background: #fff; }
.harm__check .notice {
  background: none; padding: 0; border-radius: 0;
  font-size: var(--fs-small); line-height: 18px; font-weight: 700; color: #fff;
}
.harm__check .notice a { color: var(--color-lime); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

/* ── keeping track (responsible-gambling[39:167]) ─────────────────────── */
.track { background: var(--color-ink); color: var(--color-sand); padding-block: 96px; }
.track .section-head__stack { gap: var(--space-12); }
.track__inner { gap: var(--space-48); }
.track__head { display: grid; grid-template-columns: 528px 1fr; gap: var(--space-32); align-items: start; }
.track__step { font-size: 48px; line-height: 60.48px; font-weight: 800; color: var(--color-lime); opacity: .3; }
.track .section-head__kicker { letter-spacing: 0.96px; color: var(--color-notice); }
.track .section-title { line-height: 58px; letter-spacing: normal; color: var(--color-sand); }
.track__prose { display: flex; flex-direction: column; gap: var(--space-20); max-width: 752px; }
.track__prose p { font-size: var(--fs-body); line-height: 26px; color: var(--color-sand); opacity: .8; }
.track__prose p + p { font-size: var(--fs-body-sm); line-height: 24px; color: var(--color-sand-muted); opacity: 1; }
/* tracking-plaques[39:176]: four 24-padded cards, 24 apart */
.track__defs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-24); }
.track__defs .doc-def {
  display: flex; flex-direction: column; gap: var(--space-12);
  padding: var(--space-24); border-radius: var(--radius-sm);
  background: var(--color-bg); color: var(--color-ink);
  box-shadow: inset 0 0 0 1px var(--color-border);
}
.track__defs .doc-def:first-child { background: var(--color-lime); box-shadow: none; }
.track__defs .doc-def:nth-child(2) { background: var(--color-violet); color: #fff; box-shadow: none; }
.track__defs .doc-def__term {
  font-size: var(--fs-3xs); line-height: 14px; font-weight: 800;
  letter-spacing: 0.88px; text-transform: uppercase; color: inherit;
}
.track__defs .doc-def__text { font-size: var(--fs-small); line-height: 21px; color: inherit; }

@media (max-width: 1199px) {
  .control__inner, .tools__inner, .harm__inner, .track__inner,
  .betstop-band__inner, .harm__body { gap: var(--space-24); }

  /* staying-in-control[80:210]: header gap 8, plaque 202×30, checklist 16 apart */
  .control__head { flex-direction: column; align-items: flex-start; gap: var(--space-16); }
  .control__head-text { gap: var(--space-8); }
  .control__step { font-size: var(--fs-h5); line-height: 40.32px; opacity: 1; }
  .control .section-head__kicker { font-size: var(--fs-3xs); line-height: 14px; }
  .control .section-title { font-size: var(--fs-h6); line-height: 35.28px; }
  .control__plaque { padding: 8px var(--space-12); background: var(--color-ink); }
  .control__content { border-left: 0; padding-left: 0; }
  .control__list { grid-template-columns: 1fr; gap: var(--space-16); }
  .control__item { gap: var(--space-12); }
  .control__item::before { width: 10px; height: 10px; margin-top: 5px; border-radius: 1px; }
  .control__text { font-size: var(--fs-small); line-height: 21px; }

  /* tools-section[80:243]: pad 40, gap 24; cards pad 20, gap 12 */
  .tools .section-head__stack { gap: var(--space-8); }
  .tools .section-title { font-size: var(--fs-h6); line-height: 35.28px; }
  .tools .section-lead { font-size: var(--fs-small); line-height: 21px; }
  .tools__grid { grid-template-columns: 1fr; gap: var(--space-16); }
  .tool, .tool--wide, .tool--row { grid-column: auto; }
  .tool { padding: var(--space-20); gap: var(--space-12); }
  .tool--row { flex-direction: column; align-items: stretch; gap: var(--space-12); }
  .tool--row .tool__head, .tool__head { flex: 1 1 auto; gap: var(--space-12); }
  .tool__no { font-size: var(--fs-lead); line-height: 30px; }
  .tool__title, .tool--wide .tool__title, .tool--row .tool__title { font-size: var(--fs-lg); line-height: 23px; }
  .tool__text, .tool--wide .tool__text, .tool--row .tool__text { font-size: var(--fs-small); line-height: 21px; }

  /* self-exclusion-section[80:271]: header gap 8, marker 80×49, card pad 20 */
  .betstop-band__inner { grid-template-columns: 1fr; }
  .betstop-band__left { gap: var(--space-16); }
  .betstop-band .section-head__stack { gap: var(--space-8); }
  .betstop-band .section-head__kicker { color: var(--color-sand-ink); }
  .betstop-band .section-title { font-size: var(--fs-h6); line-height: 31px; color: var(--color-ink); }
  .betstop-band__word {
    width: 80px; height: 49px; padding: var(--space-12); border-radius: 2px;
    font-size: var(--fs-subtitle); line-height: 25.2px;
  }
  .betstop-band__card { padding: var(--space-20); gap: var(--space-20); border-radius: var(--radius-sm); }
  .betstop-band__lead { font-size: var(--fs-small); line-height: 21px; }
  .betstop-band__title { font-size: var(--fs-lg); line-height: 23px; }
  .betstop-band__text { font-size: var(--fs-small); line-height: 21px; }
  .betstop-band__phone { font-size: var(--fs-lead); line-height: 30px; }

  /* harm-recognition[80:287] + self-reflection-panel[80:324] */
  .harm__head { grid-template-columns: 1fr; gap: var(--space-8); }
  .harm .section-title { font-size: var(--fs-h6); line-height: 31px; color: var(--color-ink); }
  .harm .section-lead { font-size: var(--fs-small); line-height: 21px; }
  .harm__body { grid-template-columns: 1fr; }
  .harm__title { font-size: var(--fs-body); line-height: 20.16px; }
  .harm__list li { font-size: var(--fs-small); line-height: 20px; }
  .harm__check { padding: var(--space-24); border-radius: var(--radius-sm); gap: var(--space-16); }
  .harm__check .harm__title { font-size: var(--fs-subtitle); line-height: 25.2px; }
  .harm__intro { font-size: var(--fs-xs); line-height: 16.38px; }
  .harm__questions { gap: var(--space-12); }
  .harm__questions li { font-size: var(--fs-xs); line-height: 16.38px; }
  .harm__check .notice { font-size: var(--fs-xs); line-height: 16.38px; }

  /* keeping-track-section[80:346]: everything in one column, 8 apart */
  .track { padding-block: var(--space-40); }
  .track .section-head__stack, .control__head-text { gap: var(--space-8); }
  .harm .section-head__stack { gap: var(--space-8); }
  .track__head { grid-template-columns: 1fr; gap: var(--space-8); }
  .track__step { font-size: var(--fs-h5); line-height: 40.32px; opacity: 1; }
  .track .section-head__kicker { font-size: var(--fs-3xs); line-height: 14px; }
  .track .section-title { font-size: var(--fs-h6); line-height: 31px; }
  .track__prose { gap: var(--space-8); }
  .track__prose p { font-size: var(--fs-small); line-height: 21px; }
  .track__prose p + p { font-size: var(--fs-xs); line-height: 21px; }
  .track__defs { grid-template-columns: 1fr; gap: var(--space-12); }
  .track__defs .doc-def { padding: var(--space-20); }
}

/* doc.css is loaded here for .doc-prose / .doc-defs, and it brings the 51px
   utility-strip profile of the document frames. This page belongs to the 44px
   group (responsible-gambling-mobile[79:1775]), so take it back. */
@media (max-width: 1199px) {
  .u-strip { font-size: var(--fs-micro); line-height: 13px; }
  .u-strip__inner { gap: var(--space-4); }
  .u-strip__links { font-size: var(--fs-nano); line-height: 11.34px; gap: var(--space-8); }
}

/* The hero is drawn without buttons on both frames; the mobile one
   (responsible-gambling-mobile[80:198]) runs 40/16 padding, gap 24, a 44/44
   headline over a 44/48 highlight, a 15/22 lead and a 24x6 lime rule. */
.hero__rule { display: none; }
.hero__title .hero__line,
.hero__title .hero__mark { letter-spacing: normal; }
@media (max-width: 1199px) {
  .hero { padding-block: var(--space-40); }
  .hero__inner, .hero__left { gap: var(--space-24); }
  .hero__title { gap: var(--space-8); }
  .hero__line { font-size: var(--fs-h3); line-height: 44px; }
  .hero__line--2 .hero__mark { font-size: var(--fs-h3); line-height: 40px; padding: 4px 8px; border-radius: var(--radius-xs); }
  .hero__lead { font-size: var(--fs-body-sm); line-height: 22px; }
  .hero__rule { display: block; width: 24px; height: 6px; border-radius: 1px; background: var(--color-lime); }
}

/* Below the mobile frame the 44px highlight does not fit «Perspective.» */
@media (max-width: 389px) {
  .hero__line, .hero__line--2 .hero__mark { font-size: 34px; line-height: 36px; }
}
