@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  --blue: #214ed3;
  --navy: #162b56;
  --ink: #1a2941;
  --muted: #5d687a;
  --line: #dce2ed;
  --paper: #f6f8fc;
  --green: #177452;
  --orange: #a24c16;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--blue);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #f3ac4f;
  outline-offset: 4px;
}
.topbar {
  max-width: 1320px;
  margin: auto;
  padding: 25px 44px;
  display: flex;
  align-items: center;
  gap: 64px;
}
.brand {
  font-weight: 700;
  letter-spacing: -1.5px;
  font-size: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
}
.brand-dot {
  margin-left: -10px;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.topbar nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 0;
  font-weight: 600;
}
.topbar nav .text-button {
  color: var(--ink);
  font-weight: 500;
}
.independent {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.independent span {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}
.hero {
  max-width: 1320px;
  margin: auto;
  padding: 36px 44px 64px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 50px;
}
.location-note {
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 20px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(60px, 6.4vw, 88px);
  line-height: 0.99;
  letter-spacing: -1.8px;
  margin-bottom: 24px;
  font-weight: 700;
}
.intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-cta {
  background: var(--blue);
  color: white;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 7px;
  display: inline-flex;
  gap: 36px;
  align-items: center;
  font-weight: 600;
}
.hero-cta span {
  font-size: 23px;
  line-height: 1;
}
.hero-visual {
  height: 365px;
  background: #e8edf9;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  color: var(--blue);
  isolation: isolate;
}
.hero-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 69px,
      #d5dff4 70px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 69px,
      #d5dff4 70px
    );
  transform: perspective(300px) rotateX(55deg) scale(2);
  transform-origin: bottom;
  opacity: 0.5;
  z-index: -1;
}
.rack-art {
  position: absolute;
  inset: 45px 75px 55px;
  transform: rotate(-5deg);
}
.upright {
  position: absolute;
  width: 15px;
  top: 5px;
  bottom: 0;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 5px 3px 0 #153996;
}
.upright:before {
  content: "";
  position: absolute;
  inset: 15px 5px;
  background: repeating-linear-gradient(
    0deg,
    #e8edf9 0,
    #e8edf9 3px,
    transparent 3px,
    transparent 18px
  );
}
.upright.left {
  left: 30px;
}
.upright.right {
  right: 30px;
}
.rack-top {
  position: absolute;
  height: 12px;
  top: 5px;
  left: 30px;
  right: 25px;
  background: var(--blue);
  box-shadow: 0 4px 0 #153996;
}
.rack-floor {
  position: absolute;
  bottom: -8px;
  height: 13px;
  left: 9px;
  right: 2px;
  background: var(--blue);
  transform: skewX(-35deg);
}
.barbell {
  position: absolute;
  top: 94px;
  left: -12px;
  right: -12px;
  height: 8px;
  background: #6b7b9c;
  border: 2px solid #425981;
}
.barbell i {
  position: absolute;
  top: -30px;
  left: 14px;
  height: 64px;
  width: 13px;
  border-radius: 3px;
  background: var(--navy);
  border-right: 3px solid #496797;
}
.barbell i:nth-child(2) {
  left: 29px;
  top: -41px;
  height: 86px;
  width: 17px;
}
.barbell i:nth-child(3) {
  left: auto;
  right: 29px;
  top: -41px;
  height: 86px;
  width: 17px;
}
.barbell i:nth-child(4) {
  left: auto;
  right: 14px;
}
.plate {
  width: 49px;
  height: 49px;
  border: 13px solid #344c7c;
  position: absolute;
  border-radius: 50%;
  bottom: 5px;
  left: 46px;
}
.p2 {
  left: 83px;
  border-color: #6b82ad;
  width: 42px;
  height: 42px;
}
.art-stamp {
  position: absolute;
  right: 20px;
  bottom: 47px;
  background: #d7f1b5;
  color: #2b4936;
  transform: rotate(7deg);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  padding: 13px 19px;
  border-radius: 4px;
  box-shadow: 2px 3px 0 #a4c582;
}
.art-caption {
  position: absolute;
  bottom: 15px;
  left: 22px;
  font-size: 11px;
  color: #4e6490;
}
.directory {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 42px max(24px, calc((100vw - 1232px) / 2)) 64px;
}
.directory-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
h2 {
  font-size: 29px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 9px;
}
.directory-heading p {
  color: var(--muted);
  margin: 0;
}
.mode-switch {
  display: flex;
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 9px;
  background: white;
  flex-shrink: 0;
}
.mode-switch button {
  padding: 8px 11px;
  border: 0;
  background: transparent;
  border-radius: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.mode-switch button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
}
.data-notice {
  padding: 12px 16px;
  background: #e9eefb;
  border: 1px solid #d5def5;
  color: #354f86;
  border-radius: 7px;
  font-size: 13px;
  margin-bottom: 24px;
}
.data-notice.demo {
  background: #fff4df;
  color: #80531e;
  border-color: #f2d5a6;
}
.workspace {
  display: grid;
  grid-template-columns: 225px 1fr;
  gap: 29px;
}
.filters {
  align-self: start;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 20px;
}
.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.filter-head h3 {
  font-size: 14px;
  margin: 0;
}
.filter-head button {
  font-size: 11px;
}
.field {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
input[type="search"],
.field select {
  width: 100%;
  padding: 10px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: white;
  margin-top: 7px;
  font-size: 12px;
}
.range-field {
  display: block;
  margin: 24px 0;
}
.range-field span {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}
.range-field output {
  color: var(--blue);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
  margin: 12px 0 1px;
}
.range-field small,
.filter-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 22px 0 0;
}
legend {
  padding: 0;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 12px;
}
fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 11px 0;
  font-size: 12px;
}
input[type="checkbox"] {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
  margin: 0;
}
.filter-note {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  margin: 20px 0 0;
}
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 15px;
  min-height: 28px;
}
.results-toolbar p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.results-toolbar label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.results-toolbar select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  max-width: 130px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.gym-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.gym-card:hover {
  box-shadow: 0 5px 20px #193a7610;
}
.gym-cover {
  height: 138px;
  background: #e1e9f7;
  position: relative;
  overflow: hidden;
  padding: 19px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gym-cover:after {
  content: "";
  position: absolute;
  right: 25px;
  top: 32px;
  width: 110px;
  height: 80px;
  border: 8px solid currentColor;
  border-bottom: 0;
  opacity: 0.12;
  transform: skewY(-8deg);
}
.gym-cover.tone-1 {
  background: #e5eee7;
  color: #346547;
}
.gym-cover.tone-2 {
  background: #e9e5f2;
  color: #654786;
}
.gym-cover.tone-3 {
  background: #f1e9dd;
  color: #855b34;
}
.gym-cover.tone-4 {
  background: #dcecf0;
  color: #345d6d;
}
.cover-mark {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 43px;
  line-height: 1;
  letter-spacing: -1px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  max-width: 78%;
}
.cover-label {
  font-size: 10px;
  font-weight: 600;
}
.cover-status {
  position: absolute;
  top: 13px;
  right: 13px;
  background: #ffffffda;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 9px;
  color: var(--ink);
}
.card-body {
  padding: 18px 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.card-location {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 4px;
}
.card-title {
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.card-description {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 38px;
  margin-bottom: 15px;
}
.score-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}
.score-badge {
  background: var(--blue);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.score-badge.mid {
  background: #946015;
}
.score-badge.pending {
  font-size: 12px;
  color: #596b89;
  background: #eef2f8;
  padding: 11px;
}
.score-label {
  font-size: 11px;
  font-weight: 600;
}
.score-label small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 3px;
}
.google-score {
  margin-left: auto;
  text-align: right;
  font-size: 11px;
  color: var(--muted);
}
.google-score strong {
  display: block;
  color: #886517;
  font-size: 15px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}
.tag {
  font-size: 10px;
  padding: 4px 7px;
  background: #f2f5f9;
  border-radius: 4px;
  color: #4b5b73;
}
.price-row {
  display: flex;
  gap: 18px;
  border-top: 1px solid #edf0f5;
  padding-top: 13px;
  margin-top: auto;
}
.price-row div {
  font-size: 10px;
  color: var(--muted);
}
.price-row strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.price-note {
  font-size: 10px;
  color: var(--muted);
  margin: 8px 0 12px;
}
.card-button {
  width: 100%;
  border: 1px solid #cdd8f5;
  border-radius: 5px;
  padding: 9px;
  color: var(--blue);
  background: #f7f9ff;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.empty,
.error,
.loading {
  grid-column: 1/-1;
  padding: 50px 25px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}
.empty h3,
.error h3 {
  color: var(--ink);
}
.empty button,
.error button {
  padding: 9px 16px;
  background: var(--blue);
  border: 0;
  border-radius: 5px;
  color: white;
}
.principles {
  max-width: 1320px;
  margin: auto;
  padding: 65px 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 35px;
}
.principles h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 35px;
}
.principles h3 {
  font-size: 14px;
  margin: 4px 0 10px;
}
.principles p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
footer {
  max-width: 1232px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  display: flex;
  align-items: center;
  gap: 25px;
}
footer .brand {
  font-size: 22px;
}
footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
footer button {
  margin-left: auto;
  font-size: 12px;
}
dialog {
  border: 0;
  border-radius: 14px;
  padding: 0;
  width: min(700px, calc(100vw - 28px));
  max-height: 88vh;
  color: var(--ink);
  box-shadow: 0 20px 100px #0a22484d;
}
dialog::backdrop {
  background: #10234880;
  backdrop-filter: blur(3px);
}
.close {
  position: absolute;
  right: 15px;
  top: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 23px;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  line-height: 1;
  z-index: 2;
}
.modal-padding {
  padding: 34px;
}
.modal-padding h2 {
  font-size: 31px;
  padding-right: 20px;
}
.eyebrow {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 10px;
}
.modal-padding p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.modal-padding h3 {
  font-size: 16px;
  margin: 25px 0 10px;
}
.modal-banner {
  padding: 12px;
  background: #fff4df;
  border-radius: 6px;
  color: #80531e !important;
}
.audit-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}
.audit-score {
  background: var(--paper);
  padding: 15px;
  border-radius: 7px;
  font-size: 11px;
}
.audit-score strong {
  display: block;
  font-size: 27px;
  color: var(--blue);
}
.audit-score small {
  font-size: 10px;
  color: var(--muted);
}
.audit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.audit-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.audit-table td:last-child {
  text-align: right;
  font-weight: 600;
}
.source-list {
  list-style: none;
  padding: 0;
  font-size: 12px;
}
.source-list li {
  margin: 10px 0;
}
.source-list a {
  overflow-wrap: anywhere;
}
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.primary-link,
.secondary-link {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: var(--blue);
  color: white;
}
.secondary-link {
  background: #eef2fc;
  color: var(--blue);
}
.warning {
  color: var(--orange) !important;
}
.audit-findings {
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}
.audit-findings li {
  margin: 9px 0;
  line-height: 1.6;
}
@media (min-width: 1500px) {
  .directory {
    padding-left: calc((100vw - 1232px) / 2);
    padding-right: calc((100vw - 1232px) / 2);
  }
}
@media (max-width: 1000px) {
  .topbar {
    padding: 23px 26px;
    gap: 35px;
  }
  .hero {
    padding: 30px 26px 45px;
    gap: 25px;
  }
  .hero-visual {
    height: 330px;
  }
  .rack-art {
    inset: 40px 55px 55px;
  }
  .workspace {
    grid-template-columns: 205px 1fr;
    gap: 20px;
  }
  .filters {
    padding: 16px;
  }
  .card-body {
    padding: 16px;
  }
  .principles {
    padding: 45px 26px;
    gap: 22px;
  }
  .principles h2 {
    font-size: 29px;
  }
  footer {
    margin: 0 26px;
  }
  .directory-heading {
    align-items: flex-start;
  }
  .mode-switch button {
    font-size: 11px;
  }
  .google-score {
    font-size: 10px;
  }
  .score-row {
    gap: 9px;
  }
}
@media (max-width: 760px) {
  .topbar {
    padding: 18px 20px;
    gap: 20px;
  }
  .brand {
    font-size: 27px;
  }
  .topbar nav {
    margin-left: auto;
    gap: 20px;
    font-size: 12px;
  }
  .independent {
    display: none;
  }
  .hero {
    padding: 30px 20px 35px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .location-note {
    font-size: 12px;
  }
  .intro {
    font-size: 16px;
  }
  .hero-visual {
    height: 250px;
  }
  .rack-art {
    inset: 25px max(65px, 25%) 40px;
  }
  .art-caption {
    bottom: 12px;
  }
  .art-stamp {
    right: 28px;
    bottom: 40px;
    font-size: 22px;
  }
  .directory {
    padding: 30px 20px 40px;
  }
  .directory-heading {
    display: block;
  }
  .directory-heading h2 {
    font-size: 25px;
  }
  .directory-heading p {
    font-size: 13px;
  }
  .mode-switch {
    display: inline-flex;
    margin-top: 17px;
  }
  .data-notice {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .workspace {
    display: block;
  }
  .filters {
    padding: 16px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }
  .filter-head {
    grid-column: 1/-1;
    margin-bottom: 12px;
  }
  .field {
    margin-bottom: 0;
  }
  .range-field {
    margin: 16px 0;
  }
  .filters fieldset {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 12px;
  }
  .filters legend {
    margin-bottom: 0;
  }
  .filters fieldset label {
    font-size: 11px;
    margin: 7px 0;
  }
  .filter-note {
    grid-column: 1/-1;
    margin-top: 12px;
    padding-top: 10px;
  }
  .cards {
    gap: 14px;
  }
  .gym-cover {
    height: 125px;
    padding: 16px;
  }
  .cover-mark {
    font-size: 35px;
  }
  .cover-status {
    font-size: 8px;
    top: 8px;
    right: 8px;
  }
  .card-title {
    font-size: 18px;
  }
  .card-description {
    font-size: 11px;
  }
  .card-body {
    padding: 14px;
  }
  .score-row {
    flex-wrap: wrap;
  }
  .google-score {
    margin-left: 0;
  }
  .score-label {
    font-size: 10px;
  }
  .score-label small {
    font-size: 9px;
  }
  .tags {
    gap: 4px;
  }
  .tag {
    font-size: 9px;
    padding: 3px 5px;
  }
  .price-row {
    gap: 10px;
  }
  .price-row strong {
    font-size: 12px;
  }
  .principles {
    grid-template-columns: 1fr 1fr;
    padding: 35px 20px;
    gap: 25px;
  }
  .principles h2 {
    font-size: 32px;
  }
  footer {
    margin: 0 20px;
    gap: 15px;
    flex-wrap: wrap;
  }
  footer p {
    font-size: 10px;
  }
  footer button {
    font-size: 11px;
  }
  .modal-padding {
    padding: 28px 22px;
  }
  .modal-padding h2 {
    font-size: 27px;
  }
}
@media (max-width: 430px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .gym-cover {
    height: 145px;
  }
  .cover-mark {
    font-size: 43px;
  }
  .score-row {
    flex-wrap: nowrap;
  }
  .google-score {
    margin-left: auto;
  }
  .card-description {
    min-height: 0;
  }
  .card-title {
    font-size: 21px;
  }
  .price-row strong {
    font-size: 15px;
  }
  .card-button {
    padding: 11px;
  }
  .hero h1 {
    font-size: 64px;
  }
  .topbar nav {
    gap: 15px;
  }
  .hero-visual {
    height: 230px;
  }
  .audit-scores {
    gap: 6px;
  }
  .audit-score {
    padding: 11px;
  }
  .audit-score strong {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
