/* ===========================================================================
 * Backline professional polish layer
 * =========================================================================== */
:root {
  --bk-ink: #0f172a;
  --bk-muted: #475569;
  --bk-soft: #f6f8f7;
  --bk-line: #dbe7e4;
  --bk-teal: #0f766e;
  --bk-teal-dark: #0b5f59;
  --bk-gold: #d8a94a;
  --bk-gold-soft: #fff7df;
  --bk-shadow: 0 18px 48px -38px rgba(15, 23, 42, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, #ffffff 0, var(--bk-soft) 680px),
    var(--bk-soft);
  color: var(--bk-ink);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

.clean-header,
.bk-section-title,
.bk-hero__title,
.hero h2,
.section-head h3,
.price-card h4,
.launch-panel h3,
.signup-pitch h3,
.bl-footer__wordmark {
  letter-spacing: 0 !important;
}

header.sticky,
header.site {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 36px -34px rgba(15, 23, 42, 0.9);
}

header.site {
  backdrop-filter: blur(18px);
}

.bk-hero {
  border-radius: 8px !important;
  min-height: clamp(500px, 64vh, 710px);
  box-shadow: 0 32px 80px -54px rgba(15, 23, 42, 0.85);
}

.bk-hero::after {
  background:
    linear-gradient(90deg, rgba(4, 14, 12, 0.95) 0%, rgba(4, 14, 12, 0.88) 48%, rgba(4, 14, 12, 0.66) 100%) !important;
}

.bk-hero__img {
  opacity: 0.1 !important;
  filter: saturate(0.9) contrast(1.08);
}

.bk-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: center;
}

.bk-hero__inner > :not(.bk-hero__visual-card) {
  grid-column: 1;
}

.bk-hero__visual-card {
  grid-column: 2;
  grid-row: 1 / span 6;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 26px 62px -38px rgba(0, 0, 0, 0.8);
}

.bk-hero__visual-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.bk-hero__eyebrow,
.eyebrow,
.kicker,
.bk-eyebrow {
  letter-spacing: 0;
}

.bk-hero__sub {
  max-width: 680px;
}

.bk-hero__search {
  max-width: 760px;
}

.bk-hero__searchwrap,
.bk-hero__btn,
.btn,
.filter-chip,
.price-card a,
.bk-money-btn,
.bl-footer__button,
.bk-claim-link {
  border-radius: 8px !important;
}

.bk-hero__searchwrap {
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.55);
}

.bk-start-section {
  margin-top: 2.25rem;
  padding: 2rem 0 0.25rem;
}

#start-title,
#asap-repair,
#vendor-placements,
#service-types,
#focus-repair {
  scroll-margin-top: 112px;
}

.bk-hero__panic {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.bk-hero__panic a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fffb;
  padding: 0.55rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.bk-hero__panic a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.bk-hero__panic .bk-hero__panic-main {
  border-color: rgba(251, 191, 36, 0.62);
  background: #b45309;
  color: #fff;
}

.bk-asap-section {
  margin-top: 1rem;
  border: 1px solid #e8c48a;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(180, 83, 9, 0.1), transparent 34%),
    #fffaf0;
  box-shadow: 0 26px 60px -44px rgba(92, 45, 10, 0.58);
  overflow: hidden;
}

.bk-asap-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  border-bottom: 1px solid rgba(180, 83, 9, 0.18);
}

.bk-asap-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #92400e;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bk-asap-head h2 {
  margin: 0.35rem 0 0;
  color: #111827;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.bk-asap-head p {
  max-width: 57rem;
  margin: 0.55rem 0 0;
  color: #475569;
  line-height: 1.55;
}

.bk-asap-state-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.bk-asap-state-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(180, 83, 9, 0.28);
  border-radius: 8px;
  background: #fff;
  color: #7c2d12;
  padding: 0.55rem 0.75rem;
  font-size: 0.83rem;
  font-weight: 850;
  text-decoration: none;
}

.bk-asap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.9rem;
}

.bk-asap-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(180, 83, 9, 0.2);
  border-radius: 8px;
  background: #fff;
  padding: 0.85rem;
  box-shadow: 0 18px 46px -38px rgba(92, 45, 10, 0.45);
}

.bk-asap-card--lead {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: inset 0 3px 0 #0f766e, 0 18px 46px -38px rgba(15, 23, 42, 0.5);
}

.bk-asap-card__top,
.bk-asap-serves {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bk-asap-rank,
.bk-asap-states {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.bk-asap-rank {
  background: #0f766e;
  color: #fff;
}

.bk-asap-states {
  background: #f1f5f9;
  color: #475569;
}

.bk-asap-card h3 {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.bk-asap-card h3 a {
  color: #0f172a;
  text-decoration: none;
}

.bk-asap-card p {
  flex: 1;
  margin: 0.45rem 0 0;
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.45;
}

.bk-asap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.bk-asap-tags span {
  border: 1px solid #dbe7e4;
  border-radius: 999px;
  background: #f7fbfa;
  color: #0f766e;
  padding: 0.2rem 0.48rem;
  font-size: 0.72rem;
  font-weight: 850;
}

.bk-asap-serves {
  justify-content: flex-start;
  margin-top: 0.7rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.25;
}

.bk-asap-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.bk-asap-call,
.bk-asap-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.bk-asap-call {
  gap: 0.45rem;
  background: #0f766e;
  color: #fff;
}

.bk-asap-site {
  border: 1px solid #dbe7e4;
  background: #fff;
  color: #0f172a;
}

.bk-asap-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.95rem 1rem;
  color: #64748b;
  font-size: 0.82rem;
}

.bk-asap-foot a {
  color: #0f766e;
  font-weight: 900;
  text-decoration: none;
}

.bk-start-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.25rem;
  align-items: stretch;
  border: 1px solid var(--bk-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--bk-shadow);
  overflow: hidden;
}

.bk-start-copy {
  padding: 1.4rem;
  border-right: 1px solid var(--bk-line);
}

.bk-start-copy h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.7rem, 3.4vw, 2.65rem);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
  color: var(--bk-ink);
}

.bk-start-copy p {
  margin: 0.85rem 0 0;
  color: var(--bk-muted);
  line-height: 1.62;
}

.bk-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.bk-start-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 245px;
  padding: 1.4rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
  transition: background 0.16s ease, transform 0.16s ease;
}

.bk-start-card + .bk-start-card {
  border-left: 1px solid var(--bk-line);
}

.bk-start-card:hover {
  background: #f7fbfa;
  transform: translateY(-1px);
}

.bk-start-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e7f5f3;
  color: var(--bk-teal);
  font-size: 1rem;
}

.bk-start-card--vendor .bk-start-icon {
  background: var(--bk-gold-soft);
  color: #8a5d07;
}

.bk-start-card h3 {
  margin: 1rem 0 0;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
}

.bk-start-card p {
  margin: 0.55rem 0 0;
  color: var(--bk-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.bk-start-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--bk-teal);
  font-size: 0.9rem;
  font-weight: 850;
}

.bk-start-card--vendor .bk-start-action {
  color: #8a5d07;
}

.modern-card,
.entry-row,
.bk-cat-card,
.value-card,
.price-card,
.launch-panel,
.launch-checklist,
.signup,
.bk-inventory__card,
.bk-landlord__panel,
.bk-landlord__visual,
.bk-landlord__metric,
.bk-landlord__product,
.bk-claim-box,
.bk-sponsor-strip,
.profile,
.card {
  border-radius: 8px !important;
  border-color: var(--bk-line) !important;
  box-shadow: var(--bk-shadow);
}

.modern-card:hover,
.entry-row:hover,
.bk-cat-card:hover,
.value-card:hover,
.price-card:hover,
.bk-inventory__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px -36px rgba(15, 23, 42, 0.55);
}

.bk-cat-card,
.value-card,
.price-card,
.bk-inventory__card {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.bk-cat-card:hover {
  border-color: rgba(15, 118, 110, 0.45) !important;
  background: #f7fbfa !important;
}

.bk-cat-icon,
.ic {
  border-radius: 8px !important;
}

.bk-landlord {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(216, 169, 74, 0.05)),
    #f8fbfa;
}

.bk-landlord__grid,
.bk-landlord__layout {
  gap: 1rem;
}

.bk-landlord__metrics {
  align-content: stretch;
}

.bk-landlord__panel {
  padding: clamp(1.1rem, 2.35vw, 1.6rem);
}

.bk-landlord__metric {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.7rem;
  min-height: 148px;
}

.bk-money-btn:hover,
.bk-hero__btn:hover,
.btn-accent:hover,
.btn-amber:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

#focus-repair {
  background: #fff;
  border: 1px solid var(--bk-line);
  border-radius: 8px;
  padding: clamp(1.1rem, 3vw, 1.6rem) !important;
  box-shadow: var(--bk-shadow);
}

#directory-details {
  border: 1px solid var(--bk-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--bk-shadow);
  overflow: hidden;
}

#directory-details > summary {
  padding: 1rem 1.15rem;
  color: var(--bk-ink) !important;
  list-style-position: inside;
}

#directory-details[open] > summary {
  border-bottom: 1px solid var(--bk-line);
  background: #f7fbfa;
}

.hero {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.section-head {
  max-width: 780px;
}

.band-soft,
.band-white,
section[aria-labelledby="why-title"] {
  position: relative;
}

.pricing-grid {
  align-items: stretch;
}

.price-card.featured {
  border-color: rgba(216, 169, 74, 0.55) !important;
}

.bl-footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .bk-hero__inner {
    grid-template-columns: 1fr;
  }

  .bk-hero__inner > :not(.bk-hero__visual-card),
  .bk-hero__visual-card {
    grid-column: 1;
  }

  .bk-hero__visual-card {
    grid-row: auto;
    max-width: 620px;
  }

  .bk-asap-head,
  .bk-asap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bk-asap-head {
    align-items: start;
  }

  .bk-asap-state-links {
    justify-content: flex-start;
  }

  .bk-start-panel,
  .bk-start-grid {
    grid-template-columns: 1fr;
  }

  .bk-start-copy {
    border-right: 0;
    border-bottom: 1px solid var(--bk-line);
  }

  .bk-start-card + .bk-start-card {
    border-left: 0;
    border-top: 1px solid var(--bk-line);
  }

  .bk-start-card {
    min-height: 190px;
  }
}

@media (max-width: 680px) {
  header.sticky [class~="max-w-xl"][class~="mx-8"] {
    display: none;
  }

  header.sticky [class~="h-20"] {
    height: 74px;
  }

  header.sticky .clean-header {
    font-size: 1.85rem !important;
  }

  header.sticky a[href="./community.html"],
  header.sticky .bk-cta-amber {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0 !important;
    justify-content: center;
  }

  header.sticky a[href="./community.html"] span,
  header.sticky .bk-cta-amber span {
    display: none !important;
  }

  .bk-hero {
    min-height: 620px;
  }

  .bk-hero__inner {
    padding: 2.25rem 1.2rem !important;
  }

  .bk-hero__visual-card {
    display: none;
  }

  .bk-hero__search {
    display: grid;
    gap: 0.75rem;
  }

  .bk-hero__panic,
  .bk-hero__panic a {
    width: 100%;
  }

  .bk-hero__panic a {
    justify-content: center;
  }

  .bk-asap-section {
    margin-top: 0.75rem;
  }

  .bk-asap-head,
  .bk-asap-grid {
    grid-template-columns: 1fr;
  }

  .bk-asap-head {
    padding: 1rem;
  }

  .bk-asap-state-links a,
  .bk-asap-actions {
    width: 100%;
  }

  .bk-asap-state-links a {
    justify-content: center;
    flex: 1 1 100%;
  }

  .bk-asap-grid {
    padding: 0.75rem;
  }

  .bk-asap-card {
    padding: 0.8rem;
  }

  .bk-asap-actions {
    grid-template-columns: 1fr;
  }

  .bk-asap-call {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .bk-start-section {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
  }

  .bk-start-copy,
  .bk-start-card {
    padding: 1.1rem;
  }

  .bk-landlord__metric {
    min-height: auto;
  }
}
