body {
  margin: 0;
  background: #08090b;
  color: #f8fafc;
  font-family: Rubik, Arial, Helvetica, sans-serif;
}

body a {
  color: inherit;
}

.wsp-counter-page {
  background: #08090b;
}

.wsp-counter-container {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
}

.wsp-counter-hero {
  padding: 72px 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, .2), transparent 42%),
    #09090b;
}

.wsp-counter-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  font-weight: 800;
}

.wsp-counter-breadcrumbs a {
  color: #fb923c;
  text-decoration: none;
}

.wsp-counter-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 28px;
  align-items: start;
}

.wsp-counter-eyebrow {
  margin: 0 0 12px;
  color: #fb923c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wsp-counter-hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
}

.wsp-counter-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, .76);
  font-size: 17px;
  line-height: 1.62;
}

.wsp-counter-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(15, 23, 42, .78);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .24);
}

.wsp-counter-panel h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
}

.wsp-counter-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

.wsp-counter-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.wsp-counter-stat {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.wsp-counter-stat strong {
  display: block;
  color: #fff;
  font-size: 26px;
}

.wsp-counter-stat span {
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.wsp-counter-disclosure {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 4px solid #fb923c;
  background: rgba(251, 146, 60, .12);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.5;
}

.wsp-counter-section {
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.wsp-counter-section h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 30px;
}

.wsp-counter-section-intro {
  max-width: 780px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.6;
}

.wsp-counter-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wsp-counter-quick {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: #111827;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.wsp-counter-quick span {
  color: #fb923c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wsp-counter-quick strong {
  font-size: 18px;
}

.wsp-counter-quick small {
  color: rgba(255, 255, 255, .68);
  line-height: 1.45;
}

.wsp-counter-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(150px, .45fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(15, 23, 42, .72);
}

.wsp-counter-tools label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wsp-counter-tools input,
.wsp-counter-tools select {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 11px 12px;
  color: #111827;
  background: #fff;
  font: inherit;
}

.wsp-counter-result-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
}

.wsp-counter-reset {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 9px 13px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
  cursor: pointer;
}

.wsp-counter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wsp-counter-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: #111827;
}

.wsp-counter-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.wsp-counter-card h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

.wsp-counter-card p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.48;
}

.wsp-counter-part {
  color: #fb923c;
  font-weight: 900;
}

.wsp-counter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wsp-counter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  font-weight: 800;
}

.wsp-counter-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: auto;
}

.wsp-counter-amazon,
.wsp-counter-breakdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.wsp-counter-amazon {
  background: #f97316;
}

.wsp-counter-breakdown {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
}

.wsp-counter-empty {
  display: none;
  padding: 22px;
  border: 1px solid rgba(251, 146, 60, .28);
  border-radius: 10px;
  background: rgba(251, 146, 60, .1);
  color: rgba(255, 255, 255, .8);
  line-height: 1.55;
}

.wsp-counter-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.wsp-counter-more button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  color: #fff;
  background: #334155;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 980px) {
  .wsp-counter-hero-grid,
  .wsp-counter-tools {
    grid-template-columns: 1fr;
  }

  .wsp-counter-quick-grid,
  .wsp-counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wsp-counter-hero {
    padding-top: 48px;
  }

  .wsp-counter-quick-grid,
  .wsp-counter-grid,
  .wsp-counter-stats,
  .wsp-counter-card-actions {
    grid-template-columns: 1fr;
  }
}
