@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bcs-bg: #f3f6fb;
  --bcs-card: rgba(255, 255, 255, 0.94);
  --bcs-ink: #152238;
  --bcs-muted: #5c6d88;
  --bcs-line: #d8e1ee;
  --bcs-accent: #1455cc;
  --bcs-accent-2: #e9f0ff;
  --bcs-good: #0d8a57;
  --bcs-shadow: 0 22px 60px rgba(19, 35, 59, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--bcs-ink);
  background:
    radial-gradient(circle at top left, rgba(20,85,204,.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(20,85,204,.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #edf3fb 100%);
}
body::before {
  content: "";
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 140px;
  height: 140px;
  background: url("/bcs-crest.svg") center/contain no-repeat;
  opacity: .05;
  pointer-events: none;
  z-index: 0;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.bcs-shell { max-width: 1200px; margin: 0 auto; padding: 40px 20px 88px; }
.bcs-hero,
.bcs-business-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 34px;
  background: linear-gradient(135deg, #16315d 0%, #1b4fa5 58%, #2f77d7 100%);
  color: #fff;
  box-shadow: var(--bcs-shadow);
}
.bcs-hero::before,
.bcs-business-hero::before {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 70%);
}
.bcs-hero { display: flex; justify-content: space-between; gap: 22px; align-items: flex-end; }
.bcs-hero-home { min-height: 360px; }
.bcs-hero-copy { position: relative; z-index: 1; max-width: 760px; }
.bcs-crest {
  width: 220px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,.18));
}
.bcs-crest-small {
  width: 150px;
  height: auto;
}
.bcs-hero-panel {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  display: grid;
  gap: 12px;
}
.bcs-stat {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
}
.bcs-stat strong { display: block; font-size: 1.2rem; margin-bottom: 4px; }
.bcs-stat span { color: rgba(255,255,255,.82); font-size: 14px; }
.bcs-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  color: inherit;
  opacity: .78;
}
.bcs-title {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: .95;
}
.bcs-subtle { margin: 12px 0 0; max-width: 780px; color: inherit; opacity: .88; }
.bcs-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.bcs-btn, .bcs-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}
.bcs-btn { background: #fff; color: #123a7f; }
.bcs-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.24); color: #fff; }
.bcs-section { margin-top: 28px; }
.bcs-section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 16px; }
.bcs-section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.35rem); font-family: "Fraunces", serif; }
.bcs-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bcs-steps { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bcs-card {
  background: var(--bcs-card);
  border: 1px solid var(--bcs-line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--bcs-shadow);
  backdrop-filter: blur(8px);
}
.bcs-card h2, .bcs-card h3 { margin-top: 0; }
.bcs-business-card { overflow: hidden; padding: 0; }
.bcs-business-media {
  height: 210px;
  background-size: cover;
  background-position: center;
}
.bcs-business-content { padding: 22px; }
.bcs-business-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.bcs-business-logo {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #14325f;
  display: grid;
  place-items: center;
  padding: 10px;
  flex: 0 0 auto;
  overflow: hidden;
}
.bcs-business-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bcs-business-logo-small {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  padding: 8px;
}
.bcs-business-logo-detail {
  margin-bottom: 12px;
}
.bcs-leader-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--bcs-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(20, 34, 53, 0.05);
}
.bcs-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.bcs-podium-card {
  border-radius: 22px;
  padding: 18px;
  border: 1px solid var(--bcs-line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(20, 34, 53, 0.06);
}
.bcs-podium-card strong {
  display: block;
  font-size: 1rem;
  margin: 10px 0 6px;
}
.bcs-podium-card.gold {
  background: linear-gradient(180deg, #fff1c8 0%, #fff9ea 100%);
  border-color: rgba(206, 164, 64, .34);
}
.bcs-podium-card.silver {
  background: linear-gradient(180deg, #eef2f7 0%, #fbfdff 100%);
  border-color: rgba(142, 156, 181, .3);
}
.bcs-podium-card.bronze {
  background: linear-gradient(180deg, #f8e1d2 0%, #fff8f3 100%);
  border-color: rgba(171, 122, 87, .3);
}
.bcs-podium-rank {
  display: inline-flex;
  min-width: 46px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(18, 49, 94, .08);
  color: #12315e;
}
.bcs-podium-score {
  margin-top: 12px;
  font-weight: 800;
  color: var(--bcs-accent);
}
.bcs-leader-list {
  display: grid;
  gap: 12px;
}
.bcs-leader-row.gold {
  border-color: rgba(206, 164, 64, .32);
  background: linear-gradient(180deg, #fff8e7 0%, #fffdf7 100%);
}
.bcs-leader-row.silver {
  border-color: rgba(142, 156, 181, .28);
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}
.bcs-leader-row.bronze {
  border-color: rgba(171, 122, 87, .28);
  background: linear-gradient(180deg, #fff3ec 0%, #ffffff 100%);
}
.bcs-rank-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #123a7f;
  background: #e8f0ff;
}
.bcs-leader-row.gold .bcs-rank-badge {
  background: linear-gradient(180deg, #ffe49a 0%, #f6c852 100%);
  color: #5a3c00;
}
.bcs-leader-row.silver .bcs-rank-badge {
  background: linear-gradient(180deg, #eef3f8 0%, #cfd8e4 100%);
  color: #36465e;
}
.bcs-leader-row.bronze .bcs-rank-badge {
  background: linear-gradient(180deg, #f3d0bb 0%, #d79a72 100%);
  color: #5f2f12;
}
.bcs-leader-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}
.bcs-leader-score {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.bcs-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #edf3ff;
  color: var(--bcs-accent);
  font-size: 13px;
  font-weight: 800;
}
.bcs-meta { color: var(--bcs-muted); font-size: 14px; line-height: 1.6; }
.bcs-list { display: grid; gap: 10px; }
.bcs-pill {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bcs-accent-2);
  color: var(--bcs-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bcs-tier, .bcs-progress-card {
  border: 1px solid var(--bcs-line);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fbfdff;
}
.bcs-tier strong, .bcs-progress-card strong { display: block; margin-bottom: 4px; }
.bcs-progress { height: 12px; background: #edf2f9; border-radius: 999px; overflow: hidden; margin: 10px 0; }
.bcs-progress > span { display: block; height: 100%; background: linear-gradient(90deg, #0d5bd4 0%, #5d9cff 100%); }
.bcs-form { display: grid; gap: 12px; }
.bcs-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bcs-input, .bcs-textarea, select.bcs-input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--bcs-line);
  border-radius: 14px;
  font: inherit;
  background: white;
  color: var(--bcs-ink);
}
.bcs-textarea { min-height: 110px; resize: vertical; }
.bcs-upload {
  display: grid;
  gap: 8px;
  color: var(--bcs-ink);
  font-weight: 700;
}
.bcs-upload span {
  font-size: 14px;
}
.bcs-proof-note {
  margin-top: -2px;
}
.bcs-status {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--bcs-line);
  background: #f7faff;
  color: var(--bcs-ink);
}
.bcs-status.ok { border-color: rgba(13,138,87,.2); color: var(--bcs-good); background: rgba(13,138,87,.07); }
.bcs-status.error { border-color: rgba(172,68,58,.2); color: #9c2f26; background: rgba(172,68,58,.08); }
.bcs-sales-list { display: grid; gap: 10px; }
.bcs-sale { padding: 14px; border-radius: 16px; border: 1px solid var(--bcs-line); background: #fbfdff; }
.bcs-sale strong { display: block; }
.bcs-step-no {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e9f0ff;
  color: var(--bcs-accent);
  font-weight: 800;
  margin-bottom: 12px;
}
.bcs-auth-grid { align-items: start; }
.bcs-auth-card {
  position: relative;
  overflow: hidden;
}
.bcs-auth-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,85,204,.13) 0%, rgba(20,85,204,0) 72%);
}
.bcs-auth-heading {
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.bcs-auth-heading h2 {
  margin-bottom: 6px;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}
.bcs-auth-footer-card {
  margin-top: 18px;
}
.bcs-auth-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bcs-auth-points strong {
  display: block;
  margin-bottom: 6px;
}
.bcs-overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bcs-dashboard-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
.bcs-highlight-card h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 4px; }
.bcs-business-hero {
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.bcs-business-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,21,44,.18) 0%, rgba(7,21,43,.72) 100%);
}
.bcs-business-hero-copy { position: relative; z-index: 1; max-width: 760px; }

@media (max-width: 920px) {
  .bcs-steps,
  .bcs-auth-points,
  .bcs-overview-grid,
  .bcs-dashboard-grid { grid-template-columns: 1fr; }
  .bcs-podium { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .bcs-hero { flex-direction: column; align-items: flex-start; }
  .bcs-shell { padding: 22px 16px 70px; }
  .bcs-hero,
  .bcs-business-hero { padding: 24px; border-radius: 24px; }
  .bcs-business-media { height: 180px; }
  .bcs-business-topline { align-items: flex-start; }
  .bcs-crest {
    width: 108px;
    height: 108px;
  }
  .bcs-leader-row {
    grid-template-columns: 42px 1fr;
  }
  .bcs-leader-score {
    grid-column: 2;
    justify-content: flex-start;
  }
  .bcs-rank-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}
