/* ==========================================================================
   BetStop — page styles
   Desktop frame: 1440, mobile frame: 390
   ========================================================================== */
.page-betstop {
  --o2: #e8642c;      /* editorial orange (desktop) */
  --paper2: #f5f0e8;
  --bg2: #fcfaf6;
  --line3: #dfd7cd;
  --y2: #f2c94c;
  --sky2: #a8d5e2;
  --peach: #fff3ed;
  --red: #e15b51;
}

.bs-kicker { font-family: var(--f-head); font-weight: 700; font-size: 14px; line-height: 19px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--o2); }
.bs-h2 { font-family: var(--f-head); font-weight: 700; font-size: 36px; line-height: 48px; color: var(--ink); }

/* Hero --------------------------------------------------------------------- */
.bs-hero { background: var(--bg2); display: flex; align-items: flex-start; gap: 64px; padding: 80px 24px 80px 64px; }
.bs-hero__left { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.bs-hero__eyebrow { display: flex; align-items: center; gap: 12px; }
.bs-tag {
  display: inline-flex; background: var(--peach); border-radius: 4px; padding: 4px 8px;
  font-family: var(--f-body); font-weight: 900; font-size: 11px; line-height: 14px; letter-spacing: .5px; color: var(--o2); white-space: nowrap;
}
.bs-hero__eyebrow-text { font-family: var(--f-body); font-weight: 700; font-size: 13px; line-height: 17px; letter-spacing: 1.5px; color: var(--o2); white-space: nowrap; }
.bs-hero__title { font-family: var(--f-head); font-weight: 700; font-size: 80px; line-height: 72px; letter-spacing: -2px; color: var(--ink); }
.bs-hero__intro { display: flex; flex-direction: column; gap: 12px; }
.bs-hero__sub { font-family: var(--f-head); font-weight: 700; font-size: 22px; line-height: 30px; color: var(--ink); }
.bs-hero__desc { font-family: var(--f-body); font-size: 16px; line-height: 26px; color: var(--muted); }

.bs-hero__cta { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 12px; align-items: center; }
.bs-hero__cta-meta { display: contents; }
.bs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--white); border-radius: 100px; padding: 12px 24px;
  font-family: var(--f-body); font-weight: 700; font-size: 14px; line-height: 18px; letter-spacing: .5px; white-space: nowrap;
  transition: filter .15s ease;
}
.bs-btn:hover { filter: brightness(1.15); }
.bs-hero__portal { font-family: var(--f-body); font-weight: 600; font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; }
.bs-hero__note { grid-column: 1 / -1; font-family: var(--f-body); font-size: 13px; line-height: 18px; color: var(--muted); }

/* Diagram */
.bs-arch { flex: 0 0 533px; width: 533px; }
.bs-diagram {
  height: 540px; padding: 32px; background: var(--paper2); box-shadow: inset 0 0 0 1px var(--line3); border-radius: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.bs-diagram__label { font-family: var(--f-head); font-weight: 700; font-size: 14px; line-height: 19px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.bs-diagram__core {
  width: 280px; padding: 24px; background: var(--white); border-radius: 16px;
  box-shadow: 0 8px 16px rgba(232, 100, 44, .08); /* design render: no visible stroke on desktop */
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.bs-diagram__core-title { font-family: var(--f-head); font-weight: 700; font-size: 24px; line-height: 32px; color: var(--ink); white-space: nowrap; }
.bs-diagram__core-badge { background: var(--peach); border-radius: 4px; padding: 2px 8px; font-family: var(--f-body); font-weight: 700; font-size: 11px; line-height: 14px; color: var(--o2); white-space: nowrap; }
/* Figma render shows only the arrow head (the 2px connector line is not rendered) */
.bs-diagram__arrow { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 40px; color: var(--o2); }
.bs-diagram__arrow-line { display: none; }
.bs-diagram__arrow svg { width: 10px; height: 10px; }
.bs-diagram__providers { align-self: stretch; display: flex; justify-content: center; gap: 12px; }
.bs-provider {
  width: 100px; padding: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.bs-provider__name { font-family: var(--f-head); font-weight: 700; font-size: 13px; line-height: 18px; color: var(--muted); white-space: nowrap; }
.bs-provider__status { font-family: var(--f-body); font-weight: 700; font-size: 10px; line-height: 13px; color: var(--red); white-space: nowrap; }
.bs-provider--self { width: 110px; background: var(--ink); box-shadow: 0 4px 12px rgba(0, 0, 0, .06); }
.bs-provider--self .bs-provider__name { color: var(--white); }
.bs-provider--self .bs-provider__status { color: var(--o2); }
.bs-diagram__foot { width: 320px; text-align: center; font-family: var(--f-body); font-size: 12px; line-height: 16px; color: var(--muted); }

/* External service note ---------------------------------------------------- */
.bs-note { background: var(--paper2); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); padding: 24px 64px; }
.bs-note__inner { display: flex; align-items: center; gap: 16px; }
.bs-note__head { display: flex; align-items: center; gap: 8px; }
.bs-note__badge {
  display: inline-flex; background: var(--ink); color: var(--white); border-radius: 4px; padding: 4px 8px;
  font-family: var(--f-body); font-weight: 900; font-size: 11px; line-height: 14px; letter-spacing: .5px; white-space: nowrap;
}
.bs-note__status { font-family: var(--f-head); font-weight: 700; font-size: 14px; line-height: 19px; color: var(--ink); }
.bs-note__text { font-family: var(--f-body); font-size: 15px; line-height: 20px; color: var(--ink); }
.bs-note__text strong { font-weight: 700; }
.bs-note__link { margin-left: auto; font-family: var(--f-body); font-weight: 700; font-size: 15px; line-height: 20px; color: var(--o2); white-space: nowrap; }
.bs-note__link:hover, .bs-step__link:hover { text-decoration: underline; }

/* How it works ------------------------------------------------------------- */
.bs-how { background: var(--bg2); padding: 80px 64px; display: flex; flex-direction: column; gap: 56px; }
.bs-how__head { display: flex; flex-direction: column; gap: 12px; }
.bs-how__desc { max-width: 720px; font-family: var(--f-body); font-size: 16px; line-height: 21px; color: var(--muted); }
.bs-steps { display: flex; gap: 24px; }
.bs-step { flex: 1 1 0; min-width: 0; height: 380px; padding: 32px; border-radius: 16px; display: flex; flex-direction: column; }
.bs-step--1 { background: #fef9e6; box-shadow: inset 0 0 0 1px var(--y2); }
.bs-step--2 { background: #eaf4fc; box-shadow: inset 0 0 0 1px var(--sky2); }
.bs-step--3 { background: #1a140f; box-shadow: inset 0 0 0 1px var(--ink); }
.bs-step__top { display: flex; justify-content: space-between; align-items: center; }
.bs-step__num { font-family: var(--f-head); font-weight: 700; font-size: 48px; line-height: 65px; color: var(--o2); }
.bs-step--2 .bs-step__num { color: var(--ink); }
.bs-step--3 .bs-step__num { color: var(--y2); }
.bs-step__tag {
  background: var(--white); border-radius: 4px; padding: 4px 8px;
  font-family: var(--f-body); font-weight: 900; font-size: 11px; line-height: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.bs-step--3 .bs-step__tag { background: var(--brown); color: var(--white); }
.bs-step__body { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.bs-step__title { font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 27px; color: var(--ink); }
.bs-step--3 .bs-step__title { color: var(--white); }
.bs-step__text { font-family: var(--f-body); font-size: 14px; line-height: 22px; color: var(--muted); }
.bs-step--3 .bs-step__text { color: var(--line); opacity: .8; }
.bs-step__foot {
  margin-top: auto; display: flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-weight: 700; font-size: 13px; line-height: 17px; color: var(--ink); white-space: nowrap;
}
.bs-step__foot svg { flex: 0 0 auto; width: 16px; height: 16px; }
.bs-step__link { font-size: 14px; line-height: 18px; color: var(--o2); align-self: flex-start; }
.bs-step--3 .bs-step__foot { color: var(--y2); }

/* Account implications ----------------------------------------------------- */
.bs-account { background: var(--paper2); display: flex; align-items: flex-start; gap: 64px; padding: 80px 24px 80px 64px; }
.bs-account__head { flex: 0 0 533px; display: flex; flex-direction: column; gap: 20px; }
.bs-account__title { font-family: var(--f-head); font-weight: 700; font-size: 40px; line-height: 42px; color: var(--ink); }
.bs-account__desc { font-family: var(--f-body); font-size: 15px; line-height: 24px; color: var(--muted); }
.bs-impl { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bs-impl__item {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 24px; align-items: center;
  padding: 24px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
}
.bs-impl__item:nth-child(even) { background: var(--bg2); }
.bs-impl__num { font-family: var(--f-head); font-weight: 700; font-size: 28px; line-height: 38px; color: var(--o2); }
.bs-impl__content { display: flex; flex-direction: column; gap: 6px; }
.bs-impl__title { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 22px; color: var(--ink); }
.bs-impl__title svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--o2); }
.bs-impl__text { font-family: var(--f-body); font-size: 13px; line-height: 20px; color: var(--muted); }

/* ==========================================================================
   Fluid desktop (768–1439): scale the 1440 design proportionally
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1439px) {
  .bs-hero, .bs-account { padding-left: max(32px, 4.444vw); padding-right: max(24px, 1.667vw); gap: clamp(24px, 4.444vw, 64px); }
  .bs-note, .bs-how { padding-left: max(32px, 4.444vw); padding-right: max(32px, 4.444vw); }
  .bs-hero__title { font-size: clamp(44px, 5.556vw, 80px); letter-spacing: -.025em; }
  .bs-arch { flex-basis: clamp(320px, 37vw, 533px); width: clamp(320px, 37vw, 533px); }
  .bs-diagram { height: auto; min-height: 540px; padding: clamp(20px, 2.22vw, 32px); }
  .bs-diagram__core { max-width: 100%; }
  .bs-diagram__providers { flex-wrap: wrap; }
  .bs-diagram__foot { max-width: 100%; }
  .bs-note__inner { flex-wrap: wrap; }
  .bs-note__link { margin-left: 0; }
  .bs-steps { gap: clamp(12px, 1.667vw, 24px); }
  .bs-step { height: auto; min-height: 380px; padding: clamp(20px, 2.22vw, 32px); }
  .bs-step__foot { margin-top: 24px; }
  .bs-account__head { flex-basis: clamp(240px, 37vw, 533px); }
  .bs-account__title { font-size: clamp(28px, 2.78vw, 40px); line-height: 1.05; }
  .bs-impl__item { grid-template-columns: 40px minmax(0, 1fr); }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767px) {
  .bs-kicker { font-size: 12px; line-height: 16px; letter-spacing: 1.2px; color: var(--orange); }
  .bs-h2 { font-size: 26px; line-height: 29px; }

  /* Hero */
  .bs-hero { display: block; padding: 32px 16px; }
  .bs-hero__left { gap: 24px; }
  .bs-hero__eyebrow { gap: 8px; }
  .bs-tag { background: var(--orange); color: var(--white); padding: 3px 6px; font-size: 10px; line-height: 13px; letter-spacing: 0; }
  .bs-hero__eyebrow-text { font-family: var(--f-head); font-size: 12px; line-height: 16px; letter-spacing: 1.2px; color: var(--orange); }
  .bs-hero__title { font-size: 34px; line-height: 36px; letter-spacing: -1px; }
  .bs-hero__intro { gap: 8px; }
  .bs-hero__sub { font-size: 18px; line-height: 24px; }
  .bs-hero__desc { font-size: 14px; line-height: 21px; }
  .bs-hero__cta { display: flex; flex-direction: column; gap: 12px; }
  .bs-hero__cta-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .bs-btn { width: 100%; padding: 14px; letter-spacing: 0; }
  .bs-hero__portal { font-weight: 700; font-size: 10px; line-height: 13px; letter-spacing: .5px; text-transform: uppercase; }
  .bs-hero__note { font-size: 12px; line-height: 17px; text-align: center; }

  /* Diagram becomes its own full-width band */
  .bs-arch { width: auto; margin: 32px -16px -32px; padding: 24px 16px; background: var(--paper2); box-shadow: inset 0 1px 0 var(--line3), inset 0 -1px 0 var(--line3); }
  .bs-diagram { height: auto; padding: 20px; background: var(--bg); border-radius: 16px; justify-content: flex-start; gap: 16px; }
  .bs-diagram__label { font-size: 12px; line-height: 16px; letter-spacing: 1.2px; }
  .bs-diagram__core { width: 100%; padding: 16px; border-radius: 12px; gap: 4px; box-shadow: inset 0 0 0 2px var(--orange); }
  .bs-diagram__core-title { font-size: 18px; line-height: 24px; }
  .bs-diagram__core-badge { padding: 2px 6px; font-size: 10px; line-height: 13px; color: var(--orange); }
  .bs-diagram__arrow { height: 28px; color: var(--orange); }
  .bs-diagram__arrow svg { width: 8px; height: 8px; }
  .bs-diagram__providers { flex-direction: column; gap: 10px; }
  .bs-provider { width: auto; flex-direction: row; justify-content: space-between; padding: 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line3); }
  .bs-provider__name { font-size: 14px; line-height: 19px; }
  .bs-provider__status { background: var(--peach); border-radius: 4px; padding: 2px 8px; }
  .bs-provider--self { box-shadow: inset 0 0 0 1.5px var(--orange); }
  .bs-provider--self .bs-provider__status { background: var(--orange); color: var(--white); }
  .bs-diagram__foot { width: auto; line-height: 17px; }

  /* Note */
  .bs-note { background: none; box-shadow: none; padding: 20px 16px 10px; }
  .bs-note__inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; background: var(--paper2); border-radius: 8px; }
  .bs-note__badge { padding: 2px 6px; font-size: 10px; line-height: 13px; letter-spacing: 0; }
  .bs-note__text { font-size: 13px; line-height: 20px; }
  .bs-note__link { margin-left: 0; align-self: flex-start; font-size: 13px; line-height: 17px; color: var(--orange); }

  /* How it works */
  .bs-how { background: none; padding: 32px 16px; gap: 24px; }
  .bs-how__head { gap: 6px; }
  .bs-how__desc { max-width: none; font-size: 14px; line-height: 21px; }
  .bs-steps { flex-direction: column; gap: 14px; }
  .bs-step { height: auto; padding: 20px; border-radius: 12px; gap: 16px; }
  .bs-step--1 { box-shadow: inset 0 0 0 1px var(--yellow); }
  .bs-step--2 { background: var(--sky); }
  .bs-step__num { font-size: 34px; line-height: 46px; color: var(--orange); }
  .bs-step--2 .bs-step__num { color: var(--ink); }
  .bs-step--3 .bs-step__num { color: var(--yellow); }
  .bs-step__tag { padding: 2px 6px; font-weight: 700; font-size: 10px; line-height: 13px; }
  .bs-step__body { gap: 6px; margin-top: 0; }
  .bs-step__title { font-size: 18px; line-height: 24px; }
  .bs-step__text { line-height: 21px; }
  .bs-step--2 .bs-step__text { color: var(--ink); }
  .bs-step--3 .bs-step__text { color: var(--bg); }
  .bs-step__foot { margin-top: 0; padding-top: 4px; gap: 6px; font-size: 12px; line-height: 16px; }
  .bs-step__foot svg { width: 14px; height: 14px; }
  .bs-step__link { padding-top: 0; font-size: 13px; line-height: 17px; color: var(--orange); }
  .bs-step--3 .bs-step__foot { color: var(--yellow); }

  /* Account implications */
  .bs-account { flex-direction: column; align-items: stretch; gap: 24px; padding: 32px 16px; }
  .bs-account__head { flex: 0 0 auto; gap: 6px; }
  .bs-account__title { font-size: 26px; line-height: 29px; }
  .bs-account__desc { font-size: 14px; line-height: 21px; }
  .bs-impl__item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 20px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line3); }
  .bs-impl__item:nth-child(even) { background: var(--white); }
  .bs-impl__num { font-size: 26px; line-height: 35px; color: var(--orange); }
  .bs-impl__content { display: contents; }
  .bs-impl__title { font-size: 15px; line-height: 20px; }
  .bs-impl__title svg { color: var(--orange); }
  .bs-impl__text { flex: 0 0 100%; font-size: 14px; line-height: 21px; }
}
