/* BettorHub — sales hub (light editorial) + mobile-first phone preview.
 * Loaded after theme.css; overrides the dark body for the hub page only.
 */
body.hub {
  background: #f4f6f9;
  color: #0f172a;
  font-size: 16px;
  background-image:
    radial-gradient(900px 420px at 8% -8%, rgba(15, 118, 110, .10), transparent 60%),
    radial-gradient(760px 380px at 96% 0%, rgba(59, 130, 246, .08), transparent 55%);
}
body.hub a:hover { color: inherit; }

.hub-wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: clamp(18px, 3.4vw, 34px); }

/* ============ header ============ */
.hub-header {
  position: sticky; inset-block-start: 0; z-index: 60;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid #e4e9f1;
}
.hub-header-inner { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.hub-brand { display: flex; align-items: center; gap: 10px; }
.hub-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, #0f766e, #0b4f4a); color: #eafff9;
  font-weight: 800; font-size: 13px; letter-spacing: .03em;
  box-shadow: 0 8px 18px rgba(15, 118, 110, .28);
}
.hub-brand-text { display: flex; flex-direction: column; font-weight: 750; font-size: 15.5px; line-height: 1.15; color: #0f172a; }
.hub-brand-text small { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #77839a; font-weight: 650; }
.hub-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.hub-nav a { padding: 8px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: #4c576b; }
.hub-nav a:hover { background: #eef2f7; color: #0f172a; }
.hub-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: 12px 20px; border-radius: 11px; border: 1px solid #d8dfea;
  background: #ffffff; color: #0f172a; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s;
  text-decoration: none; white-space: nowrap;
}
.hub-btn:hover { background: #f7f9fc; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 23, 42, .08); }
.hub-btn--primary { background: #0f766e; border-color: transparent; color: #ffffff; }
.hub-btn--primary:hover { background: #0d6a63; color: #ffffff; }
.hub-btn--sm { padding: 9px 15px; font-size: 13px; border-radius: 9px; }

/* ============ hero ============ */
.hub-hero { padding-block: clamp(38px, 6vw, 76px) clamp(28px, 4vw, 52px); }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hub-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 750;
  letter-spacing: .14em; text-transform: uppercase; color: #0f766e;
  background: #e8f4f2; border: 1px solid #cbe7e3; border-radius: 999px; padding: 6px 12px;
}
.hub-live { width: 7px; height: 7px; border-radius: 50%; background: #0f766e; box-shadow: 0 0 0 4px rgba(15, 118, 110, .16); }
.hub-hero h1 {
  font-size: clamp(38px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -.038em;
  margin-block: 20px 18px; font-weight: 800; color: #0b1220;
}
.hub-hero h1 em {
  font-style: normal; color: #0f766e;
  background: linear-gradient(transparent 62%, #b9e6df 62%);
  padding-inline: 2px;
}
.hub-hero-sub { font-size: clamp(15px, 1.7vw, 18px); color: #4c576b; max-width: 54ch; line-height: 1.62; margin-block-end: 24px; }
.hub-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-block-end: 30px; }
.hub-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; border-block-start: 1px solid #e0e6ef; padding-block-start: 20px; max-width: 560px; }
.hub-facts li { display: flex; flex-direction: column; gap: 1px; }
.hub-facts b { font-size: 22px; letter-spacing: -.03em; color: #0b1220; }
.hub-facts span { font-size: 11.5px; color: #77839a; }
.hub-scope-note {
  margin: 18px 0 0; max-width: 560px; font-size: 12px; line-height: 1.65;
  color: #5b6577; border-inline-start: 2px solid #0f766e;
  padding: 2px 0 2px 10px; background: linear-gradient(90deg, rgba(15, 118, 110, .06), transparent 70%);
}
.hub-scope-note b { color: #0f766e; }

/* ============ phone preview ============ */
.hub-phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hub-phone {
  width: min(292px, 84vw); border-radius: 42px; padding: 10px 10px 12px;
  background: #101a30; border: 1px solid #22304d;
  box-shadow: 0 30px 70px rgba(15, 23, 42, .28), 0 6px 20px rgba(15, 23, 42, .16);
  transform: rotate(-2.2deg);
  color: #e9eefb; font-size: 12px;
  display: flex; flex-direction: column; gap: 9px;
  position: relative;
}
.hub-phone::before {
  content: ""; position: absolute; inset-block-start: 7px; inset-inline: 0; margin-inline: auto;
  width: 92px; height: 5px; border-radius: 99px; background: #22304d;
}
.hub-phone-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 6px 0; }
.hub-phone-brand { font-weight: 800; font-size: 12px; letter-spacing: .02em; }
.hub-phone-brand span { color: #38d39f; padding-inline: 3px; }
.hub-phone-age { font-size: 9.5px; font-weight: 800; color: #38d39f; border: 1px solid rgba(56, 211, 159, .5); border-radius: 999px; padding: 1px 7px; }
.hub-phone-tabs { display: flex; gap: 2px; padding: 4px 4px 0; font-size: 10.5px; color: #8b9bc0; }
.hub-phone-tabs span { padding: 5px 8px; border-radius: 7px; }
.hub-phone-tabs .is-on { color: #ffffff; background: rgba(255, 255, 255, .08); }
.hub-phone-edition { display: flex; align-items: center; gap: 7px; background: #0b1426; border: 1px solid #1d2942; border-radius: 10px; padding: 7px 9px; }
.hub-phone-flag { font-size: 16px; }
.hub-phone-edition > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.15; }
.hub-phone-edition b { font-size: 11.5px; }
.hub-phone-edition small { font-size: 9px; color: #8b9bc0; }
.hub-phone-chev { margin-inline-start: auto; font-size: 9px; color: #8b9bc0; }
.hub-phone-ticker { display: flex; align-items: center; gap: 6px; font-size: 9.5px; color: #8b9bc0; background: rgba(56, 211, 159, .07); border: 1px solid rgba(56, 211, 159, .2); border-radius: 9px; padding: 7px 9px; overflow: hidden; }
.hub-phone-ticker span:nth-child(2) { color: #dfe7f8; font-weight: 650; }
.hub-phone-ticker .odds { margin-inline-start: auto; color: #38d39f; font-weight: 750; white-space: nowrap; }
.hub-phone-card { background: #0e1628; border: 1px solid #1d2942; border-radius: 12px; padding: 9px 10px; }
.hub-phone-flagtag { font-size: 8.5px; font-weight: 700; letter-spacing: .05em; color: #ffb020; }
.hub-phone-card h3 { font-size: 12px; line-height: 1.32; margin: 4px 0 4px; font-weight: 700; }
.hub-phone-card p { font-size: 9.5px; line-height: 1.45; color: #93a1c3; margin: 0 0 6px; }
.hub-phone-meta { display: flex; align-items: center; gap: 5px; font-size: 8.5px; color: #6f7fa5; }
.hub-phone-av { width: 15px; height: 15px; border-radius: 50%; background: #1f5c49; color: #bff5e3; display: grid; place-items: center; font-size: 8px; font-weight: 750; }
.hub-phone-bottom { display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 4px 2px; border-block-start: 1px solid #1d2942; margin-block-start: 2px; color: #6f7fa5; font-size: 12px; text-align: center; }
.hub-phone-bottom .is-on { color: #38d39f; }
.hub-phone-note { font-size: 11.5px; color: #77839a; text-align: center; }

/* ============ sections ============ */
.hub-section { padding-block: clamp(44px, 6.4vw, 82px); }
.hub-section--tint { background: #eef2f7; border-block: 1px solid #e2e8f0; }
.hub-section-head { max-width: 760px; margin-block-end: 30px; }
.hub-kicker { font-size: 11.5px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: #0f766e; }
.hub-section-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.03em; margin-block: 10px 10px; color: #0b1220; }
.hub-section-head p { font-size: 15px; color: #4c576b; line-height: 1.62; margin: 0; }
.hub-section-head code { background: #e6ebf2; color: #0f172a; }

/* edition cards */
.edition-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.edition-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: #ffffff; border: 1px solid #e1e7f0; border-radius: 18px;
  padding: 20px 20px 18px; color: inherit;
  transition: transform .15s, box-shadow .18s, border-color .15s;
  overflow: hidden;
}
.edition-card::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px;
  background: var(--card-accent, #0f766e);
}
.edition-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, .1); border-color: #cfd9e6; }
.edition-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.edition-card-flag { font-size: 22px; line-height: 1; }
.edition-card-market { font-weight: 750; font-size: 15px; }
.edition-card-tag { margin-inline-start: auto; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--card-accent, #0f766e); background: color-mix(in srgb, var(--card-accent, #0f766e) 10%, #ffffff); border: 1px solid color-mix(in srgb, var(--card-accent, #0f766e) 26%, #ffffff); padding: 2px 7px; border-radius: 999px; }
.edition-card h3 { margin: 0; font-size: 15px; color: #0b1220; }
.edition-card p { margin: 0; font-size: 12.8px; color: #5b6577; line-height: 1.55; }
.edition-card-foot { display: flex; justify-content: space-between; gap: 8px; margin-block-start: auto; padding-block-start: 10px; font-size: 11.5px; color: #77839a; }
.edition-card-foot span:last-child { color: var(--card-accent, #0f766e); font-weight: 700; }
.edition-card-legal { font-size: 10px; color: #8a94a6; border-block-start: 1px dashed #e5eaf1; padding-block-start: 8px; }
.edition-card--add { background: #f8fafc; border-style: dashed; }
.edition-card--add::before { background: #cbd5e1; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { background: #ffffff; border: 1px solid #e1e7f0; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 7px; }
.feature-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #e8f4f2; color: #0f766e; font-size: 17px; }
.feature-card h3 { margin: 2px 0 0; font-size: 16px; color: #0b1220; }
.feature-card p { margin: 0; font-size: 13px; color: #5b6577; line-height: 1.6; }
.feature-tag { margin-block-start: auto; align-self: flex-start; font-size: 10.5px; font-weight: 700; color: #0f766e; background: #e8f4f2; padding: 3px 9px; border-radius: 999px; }

/* network */
.network-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.network-card { background: #ffffff; border: 1px solid #e1e7f0; border-radius: 15px; padding: 17px; display: flex; flex-direction: column; gap: 6px; }
.network-cn { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #0b1220; color: #ffffff; font-size: 13px; font-weight: 750; }
.network-card h3 { margin: 2px 0 0; font-size: 15px; color: #0b1220; }
.network-card p { margin: 0; font-size: 12.4px; color: #5b6577; line-height: 1.58; }
.network-status { margin-block-start: auto; align-self: flex-start; font-size: 10.5px; font-weight: 700; color: #8a94a6; background: #f1f4f8; border: 1px solid #e5eaf1; padding: 2px 8px; border-radius: 999px; }
.network-status.is-ready { color: #0f766e; background: #e8f4f2; border-color: #cbe7e3; }
.network-card--note { background: linear-gradient(160deg, #0f766e, #0b4f4a); border-color: transparent; color: #eafff9; }
.network-card--note h3 { color: #ffffff; }
.network-card--note p { color: #c9eee7; }

/* compliance */
.compliance-table-wrap { background: #ffffff; border: 1px solid #e1e7f0; border-radius: 16px; overflow-x: auto; }
.compliance-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 620px; }
.compliance-table th, .compliance-table td { padding: 13px 16px; text-align: start; border-block-end: 1px solid #eef2f7; vertical-align: top; }
.compliance-table th { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #77839a; background: #f8fafc; }
.compliance-table tbody tr:last-child td { border-block-end: 0; }
.compliance-table td:first-child { font-weight: 700; white-space: nowrap; }
.compliance-table .bad { color: #b42318; font-weight: 650; }
.compliance-table .ok { color: #0f766e; font-weight: 650; }
.hub-disclaimer { font-size: 12px; color: #5b6577; line-height: 1.65; margin-block-start: 14px; max-width: 90ch; }

/* footer */
.hub-footer { background: #0b1220; color: #c4cde0; padding-block: 42px 30px; }
.hub-footer-inner { display: grid; gap: 22px; }
.hub-footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.hub-footer-brand .hub-mark { flex: none; }
.hub-footer-brand b { color: #ffffff; font-size: 16px; }
.hub-footer-brand p { margin: 4px 0 0; font-size: 12.5px; color: #8b9bc0; max-width: 52ch; line-height: 1.6; }
.hub-footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.hub-footer-links a { color: #aab6cf; }
.hub-footer-links a:hover { color: #38d39f; }
.hub-footer-legal { margin: 0; padding-block-start: 18px; border-block-start: 1px solid #1d2942; font-size: 11.5px; color: #77839a; }

/* ============ responsive ============ */
@media (max-width: 1060px) {
  .edition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .network-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hub-phone-wrap { order: 2; }
  .hub-phone { transform: rotate(0); }
}
@media (max-width: 780px) {
  .hub-nav { display: none; }
  .hub-header-inner { min-height: 62px; }
  .hub-hero { padding-block-start: 30px; }
  .hub-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edition-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: 1fr 1fr; }
  .hub-section { padding-block: 40px; }
  .hub-btn { padding: 11px 16px; }
  .hub-hero-cta .hub-btn { flex: 1; }
}
@media (max-width: 480px) {
  .hub-phone { width: min(280px, 88vw); }
  .hub-brand-text small { display: none; }
  .hub-header-inner { gap: 10px; }
  .hub-header-inner .hub-btn--sm { padding: 8px 11px; font-size: 12px; }
  .network-grid { grid-template-columns: 1fr; }
  .hub-facts b { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-phone { transform: none; }
  .edition-card:hover, .hub-btn:hover { transform: none; }
}
