/* ============================================================
   Deposit Limits — betpinnacle-deposit-limits (1440) / deposit-limits-mobile (390)
   ============================================================ */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- hero ---------- */
.dl-hero { background: var(--paper); padding: 40px 0 32px; }
.dl-title {
  font-family: var(--font-display); font-weight: 700; font-size: 44px;
  line-height: 1.05; color: var(--ink);
}
.dl-intro { font-size: 15px; line-height: 1.5; color: #4b5563; margin-top: 16px; }
@media (min-width: 992px) {
  .dl-hero { padding: 80px 0 64px; }
  .dl-title { font-size: 72px; }
  .dl-intro { font-size: 18px; max-width: 840px; }
}

/* ---------- documentation layout ---------- */
.dl-doc { background: var(--paper); padding-bottom: 64px; }
.dl-doc-wrap { display: flex; flex-direction: column; }
@media (min-width: 992px) {
  .dl-doc { padding-bottom: 96px; }
  .dl-doc-wrap { flex-direction: row; align-items: flex-start; gap: 48px; }
}

/* ---------- contents / toc ---------- */
.dl-contents { margin-bottom: 40px; }
.dl-contents-label {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  line-height: 1.35; letter-spacing: 1px; text-transform: uppercase; color: #666666;
  margin-bottom: 16px;
}
.dl-toc { display: flex; flex-direction: column; }
.dl-toc-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.dl-toc-item:last-child { border-bottom: 0; }
.toc-num {
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  line-height: 1.35; color: var(--brown); flex: none;
}
.toc-label {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  line-height: 1.35; color: #666666; flex: 1 1 auto;
}
.dl-toc-item.is-active .toc-label { color: var(--ink); }
@media (min-width: 992px) {
  .dl-contents {
    width: 280px; flex: none; margin-bottom: 0;
    position: sticky; top: 24px;
  }
  .dl-toc { gap: 14px; }
  .dl-toc-item { padding: 0; border-bottom: 0; }
  .toc-num { font-size: 13px; }
}

/* ---------- article ---------- */
.dl-article { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
@media (min-width: 992px) {
  .dl-article { flex: 1 1 0; }
}
.dl-divider { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }

.dl-section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.dl-sec-head { display: flex; flex-direction: column; gap: 12px; }
.dl-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  line-height: 1.4; letter-spacing: 1px; text-transform: uppercase; color: #666666;
}
.dl-dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex: none;
}
.dl-sec-title {
  font-family: var(--font-display); font-weight: 700; font-size: 28px;
  line-height: 1.35; color: var(--ink); text-transform: uppercase;
}
.dl-para { font-size: 15px; line-height: 1.6; color: #4b5563; }

.dl-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.dl-bullets li { display: flex; gap: 10px; }
.dl-bullet-text { flex: 1 1 auto; font-size: 14px; line-height: 1.5; color: #4b5563; }

.dl-defs { display: flex; flex-direction: column; gap: 16px; }
.dl-def { display: flex; flex-direction: column; gap: 4px; }
.dl-def-term {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  line-height: 1.35; color: var(--ink);
}
.dl-def-text { font-size: 14px; line-height: 1.5; color: #4b5563; }

.dl-links { display: flex; flex-direction: column; gap: 12px; }
.dl-link {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  line-height: 1.35; color: var(--ink); text-decoration: underline;
  align-self: flex-start;
}

@media (min-width: 992px) {
  .dl-sec-head { gap: 16px; }
  .dl-sec-title { font-size: 32px; text-transform: none; }
  .dl-para { font-size: 16px; }
  .dl-bullets { padding-left: 8px; }
  .dl-bullet-text { font-size: 15px; }
  .dl-defs { padding-left: 8px; }
  .dl-def-term { font-size: 18px; }
  .dl-def-text { font-size: 15px; }
  .dl-links { flex-direction: row; gap: 24px; }
  .dl-link { font-size: 16px; }
}

/* ---------- loss warning ---------- */
.loss-warning { background: var(--accent); padding: 40px 0; }
.lw-wrap { display: flex; flex-direction: column; gap: 24px; }
.lw-kicker {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  line-height: 1.35; color: var(--ink);
}
.lw-title {
  font-family: var(--font-display); font-weight: 700; font-size: 36px;
  line-height: 1.05; color: var(--ink); margin-top: 12px; text-transform: uppercase;
}
.lw-line1 { font-size: 13px; line-height: 1.4; color: var(--ink); margin-top: 12px; }
.lw-line2 { font-weight: 700; font-size: 13px; line-height: 1; color: var(--ink); margin-top: 12px; }
.betstop-module {
  background: var(--ink); border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.bm-title {
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  line-height: 1.35; color: #ffffff;
}
.bm-text { font-size: 13px; line-height: 1.4; color: #ffffff; opacity: 0.9; }
.bm-link {
  font-family: var(--font-mono); font-weight: 800; font-size: 13px;
  line-height: 1; color: var(--accent);
}
@media (min-width: 992px) {
  .loss-warning { padding: 96px 0; }
  .lw-wrap { flex-direction: row; align-items: center; gap: 48px; }
  .lw-left { flex: 1 1 auto; }
  .lw-kicker { font-size: 18px; }
  .lw-title { font-size: 56px; margin-top: 16px; }
  .lw-line1 { font-size: 15px; line-height: 1.2; margin-top: 16px; }
  .lw-line2 { font-size: 15px; margin-top: 16px; }
  .betstop-module { width: 420px; flex: none; border-radius: 24px; padding: 32px; gap: 16px; }
  .bm-title { font-size: 36px; letter-spacing: -1px; }
  .bm-text { font-size: 14px; line-height: 1.5; color: var(--slate); opacity: 1; }
}

/* --- interaction polish --- */
.dl-toc-item:hover .toc-label { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .dl-toc-item .toc-label { transition: color 0.15s cubic-bezier(0.2, 0, 0, 1); }
}
