/* CoastalDock visual HTML draft — signed tokens. Hairlines, not cheap frames. */
:root {
  --sand: #F3EEE4;
  --paper: #FAF7F1;
  --deep: #16343A;
  --teal: #2E6B66;
  --pine: #3A5340;
  --hair: #C8BFB2;
  --muted: #5E6864;
  --ink: #1C2A28;
  --creek: #B0C4BE;
  --gold: #DECDA0;
  --color-bg: var(--sand);
  --color-surface: var(--paper);
  --color-text: var(--deep);
  --color-primary: var(--teal);
  --color-text-muted: var(--muted);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

html, body {
  background: var(--sand);
  color: var(--deep);
  font-family: var(--font-body);
}

.header {
  background: var(--paper);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--hair);
  box-shadow: none;
}

.header__logo {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  color: var(--deep);
  letter-spacing: -0.01em;
}

.header__logo svg {
  width: 22px;
  height: 22px;
}

.header__link {
  font-weight: 400;
  color: var(--muted);
  background: transparent;
}

.header__link:hover {
  color: var(--deep);
  background: transparent;
}

.header__link--active {
  color: var(--teal);
  background: transparent;
}

.header__mobile-toggle {
  min-width: 40px;
  min-height: 40px;
}

/* Quiet locator pin */
.pin {
  display: inline-block;
  width: 14px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}
.pin::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
}
.pin::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--teal);
}
.pin i {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--paper);
  z-index: 1;
}

.hero {
  background: var(--deep);
  padding: 2.25rem 1.25rem 2rem;
  text-align: center;
  overflow: hidden;
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4A7F79;
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  color: var(--paper);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--creek);
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.hero .search-bar {
  background: var(--paper);
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid transparent;
  max-width: 54rem;
  overflow: hidden;
}

.search-bar__input {
  font-family: var(--font-body);
}

.search-bar__btn {
  background: var(--teal);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 500;
  min-height: 40px;
}

.search-bar__btn:hover {
  background: #245753;
}

.hero__meta {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--creek);
}

.stats-bar {
  background: var(--sand);
  border-bottom: 1px solid var(--hair);
}

.stats-bar__number {
  font-family: var(--font-display);
  color: var(--teal);
}

/* Home first-paint directory shop */
.home-shop {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
}

@media (max-width: 880px) {
  .home-shop { grid-template-columns: 1fr; }
}

.dir-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 12px;
  overflow: hidden;
}

.dir-card__map {
  position: relative;
  height: 148px;
  background:
    linear-gradient(180deg, #E6DFD2 0%, #E6DFD2 100%);
  background-color: #E6DFD2;
}

.dir-card__map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(200,191,178,0.45) 35px, rgba(200,191,178,0.45) 36px),
    repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(200,191,178,0.45) 35px, rgba(200,191,178,0.45) 36px);
  pointer-events: none;
}

.dir-card__water {
  position: absolute;
  left: 4%;
  bottom: 0;
  width: 44%;
  height: 72%;
  background: #D5E0DC;
  clip-path: polygon(8% 100%, 32% 18%, 78% 42%, 100% 100%);
}

.dir-card__creek {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 28%;
  height: 6px;
  background: #B0C4BE;
  transform: rotate(-3deg);
  border-radius: 3px;
}

.dir-card__pin {
  position: absolute;
  left: 56%;
  top: 42%;
  transform: translate(-50%, -50%);
}

.dir-card__sample {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--pine);
}

.dir-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.dir-card__name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  color: var(--deep);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.dir-card__city {
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

.dir-card__rule {
  height: 1px;
  background: var(--hair);
  border: 0;
  margin: 0 0 0.85rem;
}

.dir-card__lab {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  margin: 0 0 0.15rem;
}

.dir-card__phone {
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.dir-card__hours {
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.dir-card__addr {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

.promise__kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  margin: 0 0 0.4rem;
}

.promise__title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  color: var(--deep);
  margin: 0 0 0.75rem;
}

.promise__body {
  color: var(--ink);
  margin: 0 0 1.25rem;
  max-width: 42ch;
}

.upgrade-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.upgrade {
  border-radius: 10px;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--hair);
  background: var(--paper);
}

.upgrade--premium {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--paper);
}

.upgrade__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 0.35rem;
}

.upgrade--premium .upgrade__label {
  color: #8AA48A;
}

.upgrade__name {
  font-family: var(--font-display);
  font-weight: 650;
  margin: 0 0 0.2rem;
  color: var(--deep);
}

.upgrade--premium .upgrade__name { color: var(--paper); }

.upgrade__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--teal);
  margin: 0 0 0.45rem;
  line-height: 1;
}

.upgrade--premium .upgrade__price { color: var(--gold); }

.upgrade__note,
.upgrade__line {
  font-size: 0.8125rem;
  margin: 0;
  color: var(--muted);
}

.upgrade--premium .upgrade__note { color: var(--creek); }
.upgrade--premium .upgrade__line { color: var(--paper); }

.promise__cta {
  display: inline-block;
  margin-top: 1.15rem;
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
}

.promise__cta:hover { text-decoration: underline; }

/* Facility first-paint */
.fp {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.fp__crumb {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.fp__crumb a { color: var(--muted); text-decoration: none; }
.fp__crumb a:hover { color: var(--teal); }

.fp__title {
  font-family: var(--font-display);
  font-weight: 680;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--deep);
  margin: 0 0 0.4rem;
}

.fp__sub {
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.fp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 880px) {
  .fp__grid, .fp__lower { grid-template-columns: 1fr; }
}

.fp-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
}

.fp-row {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hair);
}

.fp-row:last-child { border-bottom: 0; }

.fp-row__lab {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  margin: 0 0 0.2rem;
}

.fp-row__val {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--deep);
}

.fp-row__val a { color: var(--teal); text-decoration: none; }

.fp-map {
  position: relative;
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hair);
  background: #E6DFD2;
}

.fp-map__grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(200,191,178,0.5) 35px, rgba(200,191,178,0.5) 36px),
    repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(200,191,178,0.5) 35px, rgba(200,191,178,0.5) 36px);
}

.fp-map__water {
  position: absolute;
  left: 8%;
  top: 18%;
  width: 46%;
  height: 38%;
  background: #D5E0DC;
  border-radius: 50%;
}

.fp-map__creek {
  position: absolute;
  left: 6%;
  right: 8%;
  top: 52%;
  height: 8px;
  background: #B0C4BE;
  border-radius: 8px;
  transform: rotate(-4deg);
}

.fp-map__pin {
  position: absolute;
  left: 58%;
  top: 46%;
  transform: translate(-50%, -50%);
}

.fp-map__tip {
  position: absolute;
  left: calc(58% + 16px);
  top: calc(46% - 34px);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--deep);
  white-space: nowrap;
}

.fp__lower {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.fp-hours__lab {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  margin: 0 0 0.4rem;
}

.fp-hours__sent {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--deep);
  margin: 0 0 0.5rem;
}

.fp-hours__note {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

.fp-claim__lab {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  margin: 0 0 0.5rem;
}

.fp-meta {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

/* Shared chrome restyle */
.page-header {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0.5rem;
}

.page-header__title {
  font-family: var(--font-display);
  font-weight: 680;
  color: var(--deep);
}

.info-section {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 12px;
  box-shadow: none;
}

.info-row {
  border-bottom: 1px solid var(--hair);
}

.info-row__label {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.footer {
  background: var(--paper);
  border-top: 1px solid var(--hair);
}

.footer__brand-name,
.footer__heading {
  font-family: var(--font-display);
  color: var(--deep);
}

.card {
  background: var(--paper);
  border: 1px solid var(--hair);
  box-shadow: none;
}

.card__name {
  font-family: var(--font-display);
}

.card__stars { display: none; }

.btn--primary {
  background: var(--teal);
  color: var(--paper);
}

.btn--accent {
  background: var(--pine);
  color: var(--paper);
}

@media (max-width: 600px) {
  .upgrade-row { grid-template-columns: 1fr 1fr; }
  .hero { padding: 1.5rem 1rem 1.35rem; }
  .dir-card__name { font-size: 1.2rem; }
}

.hero .search-bar__select { display: none; }
.hero .search-bar { align-items: stretch; }
@media (max-width: 600px) {
  .hero .search-bar { flex-direction: row; }
  .hero .search-bar__btn { border-radius: 6px; margin: 8px 8px 8px 0; padding: 0 1rem; }
}

@media (max-width: 600px) {
  .hero { padding: 1.1rem 1rem 1rem; }
  .hero__kicker { margin-bottom: 0.4rem; }
  .hero__title { font-size: 1.7rem; margin-bottom: 0.45rem; }
  .hero__subtitle { font-size: 0.82rem; margin-bottom: 0.75rem; }
  .hero__meta { margin-top: 0.7rem; font-size: 0.7rem; }
  .home-shop { padding: 0.85rem 1rem 1.1rem; gap: 0.75rem; }
  .dir-card__map { height: 86px; }
  .dir-card__body { padding: 0.7rem 0.85rem 0.8rem; }
  .dir-card__name { font-size: 1.05rem; }
  .dir-card__city { margin-bottom: 0.45rem; }
  .dir-card__hours { margin-bottom: 0.4rem; }
  .dir-card__phone { margin-bottom: 0.45rem; }
  .promise__title { font-size: 1.25rem; }
  .promise__body { display: none; }
  .upgrade { padding: 0.65rem 0.7rem 0.7rem; }
  .upgrade__price { font-size: 1.4rem; }
  .upgrade__label { display: none; }
  .promise__cta { margin-top: 0.7rem; font-size: 0.85rem; }
}

/* Funnel first-paint (list-your-facility, pricing-guide) */
.funnel {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.funnel__kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.5rem;
}
.funnel__title {
  font-family: var(--font-display);
  font-weight: 680;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--deep);
  margin: 0 0 0.75rem;
}
.funnel__lede {
  max-width: 46rem;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.funnel .upgrade-row {
  max-width: 36rem;
  margin: 0 0 1.5rem;
}
.funnel__note {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 46rem;
  margin: 0 0 1.25rem;
}
.funnel__cta {
  display: inline-block;
  background: var(--teal);
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  min-height: 40px;
}
.funnel__cta:hover { background: #245753; color: var(--paper); }
.funnel__ghost {
  display: inline-block;
  margin-left: 0.75rem;
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
}
.funnel__ghost:hover { text-decoration: underline; }
.funnel-panel {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
  max-width: 46rem;
  margin: 0 0 1.5rem;
}
@media (max-width: 600px) {
  .funnel { padding: 1.1rem 1rem 1.5rem; }
  .funnel .upgrade__label { display: block; }
}


/* ===== Paper ILS shop (2026-08-22) ===== */
.header {
  min-height: 68px;
}
.header__inner {
  min-height: 68px;
  height: 68px;
  padding-top: 0;
  padding-bottom: 0;
}
.header__cta {
  background: var(--teal);
  color: var(--paper);
  border-radius: 6px;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
}
.header__cta:hover {
  background: #245753;
  color: var(--paper);
}

.hero--paper,
.hero.hero--paper {
  background: var(--paper);
  text-align: left;
  padding: 2.25rem 1.25rem 1.75rem;
}
.hero--paper .hero__title { color: var(--deep); }
.hero--paper .hero__subtitle {
  color: var(--ink);
  margin-left: 0;
  margin-right: 0;
  max-width: 46rem;
}
.hero--paper .hero__kicker { color: var(--teal); text-transform: none; letter-spacing: 0.06em; }
.hero--paper .hero__meta { color: var(--muted); }
.hero--paper .search-bar {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 10px;
  max-width: 52rem;
}
.hero__content--shop {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(12rem, 0.7fr);
  gap: 2rem;
  align-items: start;
}
.hero__count-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--teal);
  line-height: 1;
  margin: 1.5rem 0 0.25rem;
}
.hero__count-lab { font-weight: 500; color: var(--deep); margin: 0 0 0.5rem; }
.hero__count-note { font-size: 0.875rem; color: var(--muted); margin: 0 0 0.25rem; }

.shop-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0 0;
}
.shop-chips a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: var(--sand);
  color: var(--deep);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
}
.shop-chips a:hover { border-color: var(--teal); color: var(--teal); }

.shop-wrap { max-width: 80rem; margin: 0 auto; padding: 2rem 1.25rem 2.5rem; }
.shop-proof { background: var(--sand); }
.shop-how { background: var(--paper); }
.shop-money { background: var(--sand); }

.home-shop { padding: 0; }
.dir-card__map { aspect-ratio: 3 / 2; height: auto; min-height: 160px; }
.dir-card { border-radius: 11px; }
.dir-card__chip {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: var(--sand);
  color: var(--pine);
  font-size: 0.75rem;
  font-weight: 500;
}
.proof-facts { display: flex; flex-direction: column; gap: 1rem; }
.proof-facts .fp-map { min-height: 220px; }
.proof-facts__card { margin: 0; max-width: none; }

.how-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 1.25rem 0 0;
}
.how-card {
  background: var(--sand);
  border-radius: 11px;
  padding: 1.15rem 1.25rem 1.35rem;
}
.how-card__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 650;
  color: var(--teal);
  margin: 0 0 0.5rem;
}
.how-card__title { font-weight: 600; color: var(--deep); margin: 0 0 0.5rem; }
.how-card__body { color: var(--ink); margin: 0; font-size: 0.9375rem; }

.upgrade-row--wide { max-width: none; }
.upgrade { border-radius: 11px; }
.upgrade__start {
  display: inline-block;
  margin-top: 0.75rem;
  background: var(--teal);
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
}
.upgrade__start:hover { background: #245753; color: var(--paper); }
.upgrade--premium .upgrade__start {
  background: #DECDA0;
  color: var(--deep);
}
.upgrade--premium .upgrade__start:hover { background: #cfc08a; color: var(--deep); }

.fp-acts {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.fp-acts li { margin: 0 0 0.45rem; }
.fp-acts a { color: var(--deep); font-weight: 500; text-decoration: none; }
.fp-acts a:hover { color: var(--teal); }

.footer--deep {
  background: var(--deep);
  border-top: 0;
}
.footer--deep .footer__brand-name,
.footer--deep .footer__heading { color: var(--paper); }
.footer--deep .footer__brand-desc,
.footer--deep .footer__copyright { color: var(--creek); }
.footer--deep .footer__links a { color: var(--paper); }
.footer--deep .footer__links a:hover { color: var(--creek); }
.footer--deep .footer__bottom { border-top-color: #2a4a50; }

@media (max-width: 880px) {
  .hero__content--shop { grid-template-columns: 1fr; }
  .hero__count-num { margin-top: 0; }
  .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero--paper { padding: 1.1rem 1rem 1.25rem; }
  .hero--paper .hero__title { font-size: 1.7rem; color: var(--deep); }
  .hero--paper .hero__subtitle { display: block; font-size: 0.875rem; color: var(--ink); }
  .shop-wrap { padding: 1rem; }
  .shop-chips a { font-size: 0.75rem; }
  .dir-card__map { min-height: 120px; }
}
