/* Betfair API Provider page (/betfair-api-provider/): design from the client PDF (Nov 2026), navy + blue.
   View: views/pages/betfair-api.ejs (main.bf-lp). */
.bf-lp {
  --bf-navy: #0b1730;
  --bf-navy-2: #12223f;
  --bf-blue: #1a6ef5;
  --bf-blue-dark: #0f58d1;
  --bf-ink: #0f1c33;
  --bf-text: #55627a;
  --bf-line: #e1e8f3;
  --bf-tint: #f3f7fc;
  --bf-card: #f1f6fd;
  --bf-teal: #e9f6f6;
  background: #fff;
  color: var(--bf-text);
}
.bf-lp .bf-wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- type ---------- */
.bf-lp .bf-eyebrow { margin: 0 0 10px; color: var(--bf-blue); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.bf-lp .bf-eyebrow span { margin: 0 4px; opacity: 0.7; }
.bf-lp .bf-eyebrow--light { color: #6fb2ff; }
.bf-lp .bf-h2 { margin: 0 0 16px; color: var(--bf-ink); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.bf-lp .bf-h2--sm { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 8px; }
.bf-lp .bf-h2 strong { font-weight: inherit; }
.bf-lp .bf-h3 { margin: 0 0 14px; color: var(--bf-ink); font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 800; line-height: 1.3; }
.bf-lp .bf-h3 strong { font-weight: inherit; }
.bf-lp .bf-text { max-width: 980px; margin: 0 0 14px; color: var(--bf-text); font-size: 0.95rem; line-height: 1.75; }
.bf-lp .bf-text strong { color: var(--bf-ink); }
.bf-lp .bf-text--small { font-size: 0.82rem; }
.bf-lp .bf-inline { color: inherit; text-decoration: none; }

/* ---------- buttons ---------- */
.bf-lp .bf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 20px; border: 0; border-radius: 6px; font: inherit; font-size: 0.9rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: background 0.18s; }
.bf-lp .bf-btn--primary { background: var(--bf-blue); color: #fff; }
.bf-lp .bf-btn--primary:hover { background: var(--bf-blue-dark); }
.bf-lp .bf-btn--dark { background: #26395a; color: #fff; }
.bf-lp .bf-btn--dark:hover { background: #31486f; }
.bf-lp .bf-btn--block { width: 100%; }
.bf-lp .bf-btn:focus-visible { outline: 3px solid #6fb2ff; outline-offset: 3px; }
.bf-lp .bf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- sections ---------- */
.bf-lp .bf-section { padding: 64px 0; }
.bf-lp .bf-section--slim { padding: 36px 0; }
.bf-lp .bf-section--tint { background: var(--bf-tint); }
.bf-lp .bf-section--dark { background: var(--bf-navy); }
.bf-lp .bf-section--dark .bf-h2 { color: #fff; }
.bf-lp .bf-section--dark .bf-text { color: #c4cee0; }

/* ---------- hero ---------- */
.bf-lp .bf-hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 64px; background: #05070d; color: #fff; }
.bf-lp .bf-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.bf-lp .bf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 9, 20, 0.92) 0%, rgba(8, 15, 32, 0.78) 40%, rgba(8, 15, 32, 0.25) 68%, rgba(8, 15, 32, 0) 100%); }
.bf-lp .bf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.8fr); gap: 44px; align-items: start; }
.bf-lp .bf-hero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.bf-lp .bf-hero__sub { margin: 0 0 18px; color: #8ec2ff; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; line-height: 1.4; }
.bf-lp .bf-hero__text { max-width: 640px; margin: 0 0 18px; color: #d0d8e6; font-size: 0.97rem; line-height: 1.75; }
.bf-lp .bf-hero__text strong { color: #fff; }
.bf-lp .bf-hero__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; max-width: 620px; margin: 0; padding: 0; list-style: none; }
.bf-lp .bf-hero__points li { display: flex; align-items: center; gap: 8px; color: #e4e9f2; font-size: 0.88rem; }
.bf-lp .bf-hero__points .icon { width: 15px; height: 15px; color: #3ddc97; }

/* Lead form card */
.bf-lp .bf-form { padding: 26px 24px 24px; border-radius: 12px; background: #fff; color: var(--bf-ink); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.bf-lp .bf-form__title { margin: 0 0 4px; color: var(--bf-ink); font-size: 1.6rem; font-weight: 800; }
.bf-lp .bf-form__intro { margin: 0 0 18px; color: var(--bf-text); font-size: 0.85rem; }
.bf-lp .bf-form .lead-form { display: grid; gap: 12px; }
.bf-lp .bf-field { display: grid; gap: 5px; min-width: 0; }
.bf-lp .bf-field label { color: var(--bf-ink); font-size: 0.76rem; font-weight: 800; }
.bf-lp .bf-req { color: #c2410c; }
.bf-lp .bf-form input, .bf-lp .bf-form select, .bf-lp .bf-form textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #d8e2f0; border-radius: 6px; background: #f6f9fd; color: var(--bf-ink); font: inherit; font-size: 0.86rem; }
.bf-lp .bf-form textarea { min-height: 70px; resize: vertical; }
.bf-lp .bf-form input:focus, .bf-lp .bf-form select:focus, .bf-lp .bf-form textarea:focus { outline: 2px solid var(--bf-blue); outline-offset: 0; border-color: var(--bf-blue); background: #fff; }
.bf-lp .bf-form [aria-invalid="true"] { border-color: #dc2626; }
.bf-lp .bf-phone { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 8px; }

/* ---------- panel, cards, grids ---------- */
.bf-lp .bf-panel { margin-top: 24px; padding: 28px 30px; border-radius: 12px; background: var(--bf-card); }
.bf-lp .bf-panel .bf-text:last-child { margin-bottom: 0; }
.bf-lp .bf-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.bf-lp .bf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-lp .bf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bf-lp .bf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bf-lp .bf-card { padding: 22px; border: 1px solid var(--bf-line); border-radius: 12px; background: #fff; }
.bf-lp .bf-section--tint .bf-card--row { background: var(--bf-card); border-color: transparent; }
.bf-lp .bf-card--row { display: flex; gap: 16px; }
.bf-lp .bf-num { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 8px; background: #e6f0ff; color: var(--bf-blue); font-size: 0.85rem; font-weight: 800; }
.bf-lp .bf-card--row .bf-num { margin: 0; }
.bf-lp .bf-card h3 { margin: 0 0 8px; color: var(--bf-ink); font-size: 1.05rem; font-weight: 800; line-height: 1.35; }
.bf-lp .bf-card h3 strong { font-weight: inherit; }
.bf-lp .bf-card p { margin: 0; color: var(--bf-text); font-size: 0.86rem; line-height: 1.65; }

/* Features */
.bf-lp .bf-features li { display: grid; gap: 6px; padding: 16px 16px 18px; border-radius: 10px; background: var(--bf-card); }
.bf-lp .bf-features strong { display: flex; align-items: center; gap: 8px; color: var(--bf-ink); font-size: 0.92rem; }
.bf-lp .bf-features strong .icon { width: 15px; height: 15px; color: #0f9d76; }
.bf-lp .bf-features span { color: var(--bf-text); font-size: 0.83rem; line-height: 1.55; }

/* Why (dark) */
.bf-lp .bf-why { margin-top: 26px; }
.bf-lp .bf-why li { display: grid; gap: 6px; padding: 18px; border-radius: 10px; background: var(--bf-navy-2); }
.bf-lp .bf-why strong { color: #fff; font-size: 0.95rem; }
.bf-lp .bf-why span { color: #b8c4d9; font-size: 0.85rem; line-height: 1.55; }

/* India / eligibility notice */
.bf-lp .bf-notice { padding: 26px 30px; border-radius: 12px; background: var(--bf-teal); }
.bf-lp .bf-notice .bf-text:last-child { margin-bottom: 0; }

/* Pricing chips */
.bf-lp .bf-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 6px 0 24px; padding: 0; list-style: none; }
.bf-lp .bf-chips li { padding: 12px 14px; border-radius: 8px; background: var(--bf-card); color: var(--bf-ink); font-size: 0.86rem; font-weight: 700; }

/* Related links */
.bf-lp .bf-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; margin: 8px 0 0; padding: 0; list-style: none; }
.bf-lp .bf-related a { color: var(--bf-blue); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.bf-lp .bf-related a:hover { text-decoration: underline; }

/* FAQ */
.bf-lp .bf-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.bf-lp .bf-faq__item { padding: 18px 20px; border: 1px solid var(--bf-line); border-radius: 10px; background: var(--bf-tint); }
.bf-lp .bf-faq__item h3 { margin: 0 0 8px; color: var(--bf-ink); font-size: 0.98rem; font-weight: 800; }
.bf-lp .bf-faq__item p { margin: 0; color: var(--bf-text); font-size: 0.86rem; line-height: 1.65; }

/* CTA band */
.bf-lp .bf-band { padding: 40px 0; background: var(--bf-navy); color: #fff; }
.bf-lp .bf-band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.bf-lp .bf-band h2 { margin: 0 0 6px; color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.bf-lp .bf-band p { margin: 0; color: #c4cee0; font-size: 0.92rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bf-lp .bf-hero__grid { grid-template-columns: 1fr; }
  .bf-lp .bf-hero .bf-form { max-width: 560px; }
  .bf-lp .bf-grid--3, .bf-lp .bf-grid--4, .bf-lp .bf-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-lp .bf-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bf-lp .bf-grid--2, .bf-lp .bf-faq { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bf-lp .bf-wrap { width: calc(100% - 32px); }
  .bf-lp .bf-section { padding: 48px 0; }
  .bf-lp .bf-hero { padding: 40px 0 48px; }
  .bf-lp .bf-hero::before { background: linear-gradient(180deg, rgba(5, 9, 20, 0.85) 0%, rgba(8, 15, 32, 0.95) 100%); }
  .bf-lp .bf-hero__points, .bf-lp .bf-grid--3, .bf-lp .bf-grid--4, .bf-lp .bf-chips, .bf-lp .bf-related { grid-template-columns: 1fr; }
  .bf-lp .bf-panel, .bf-lp .bf-notice { padding: 20px 18px; }
  .bf-lp .bf-form { padding: 22px 18px; }
}
