/* ScrubSites - homepage */

/* ---------- Hero ---------- */
.hero {
  overflow-x: clip;
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(circle at 92% 12%, var(--bubble) 0 120px, transparent 121px),
    radial-gradient(circle at 80% 30%, var(--bubble) 0 46px, transparent 47px),
    var(--suds);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy h1 {
  font-stretch: 80%;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin: 28px 0 24px;
}
.hero-link {
  font-weight: 700;
}
.hero-promises {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 1rem;
  font-weight: 700;
}
.hero-promises li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-promises li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--scourer)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
  flex: none;
}

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

/* ---------- The wipe toy ---------- */
.wipe {
  position: relative;
  padding: 0 0 8px;
}
.browser {
  border: var(--edge);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: var(--edge);
  background: var(--bubble);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--white);
}
.dots i:first-child {
  background: var(--sponge);
}
.url {
  flex: 1;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock {
  position: relative;
  container-type: inline-size;
  padding: 4cqw 5cqw 5cqw;
  color: var(--ink);
  user-select: none;
  -webkit-user-select: none;
}
.mock-nav {
  display: flex;
  align-items: center;
  gap: 3cqw;
  font-size: 2.3cqw;
  font-weight: 700;
}
.mock-logo {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.3cqw;
  letter-spacing: -0.02em;
}
.mock-logo svg {
  width: 3.4cqw;
  height: 3.4cqw;
}
.mock-links {
  margin-left: auto;
  display: flex;
  gap: 2.6cqw;
}
.mock-btn {
  background: var(--scourer);
  color: var(--white);
  border-radius: 999px;
  padding: 1cqw 2.4cqw;
  font-weight: 700;
  white-space: nowrap;
}
.mock-btn.big {
  font-size: 2.5cqw;
  padding: 1.6cqw 3.4cqw;
}
.mock-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4cqw;
  align-items: center;
  margin: 5cqw 0 4.5cqw;
}
.mock-text {
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
}
.mock-h {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 85%;
  font-size: 6.2cqw;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.mock-p {
  font-size: 2.4cqw;
  line-height: 1.45;
  color: var(--ink-soft);
}
.mock-cta {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  font-size: 2.3cqw;
  font-weight: 700;
}
.mock-art {
  width: 100%;
  height: auto;
  border-radius: 1.6cqw;
}
.mock-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2cqw;
}
.mock-tile {
  display: flex;
  flex-direction: column;
  gap: 0.6cqw;
  border: 2px solid var(--ink);
  border-radius: 1.6cqw;
  padding: 2cqw 2.2cqw;
  background: var(--suds);
}
.mock-tile b {
  font-family: var(--display);
  font-size: 2.7cqw;
  line-height: 1.1;
}
.mock-tile small {
  font-size: 2cqw;
  color: var(--ink-soft);
}
.mock-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6cqw;
  margin-top: 3cqw;
  font-size: 2cqw;
  font-weight: 700;
}
.mock-badges span {
  background: var(--scourer-light);
  border-radius: 999px;
  padding: 0.8cqw 2cqw;
}

.grime {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  transition: opacity 0.7s ease;
}
.grime:active {
  cursor: grabbing;
}
.grime.gone {
  opacity: 0;
  pointer-events: none;
}

.sponge {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(72px, 13%, 116px);
  pointer-events: none;
  z-index: 3;
  transform-origin: 50% 60%;
  will-change: transform;
  filter: drop-shadow(3px 4px 0 rgba(20, 35, 59, 0.35));
}
.sponge svg {
  width: 100%;
  height: auto;
}
.sponge.resting {
  transition: transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.bubble {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: radial-gradient(circle at 32% 30%, #ffffff 0 18%, rgba(217, 236, 255, 0.55) 40%, rgba(180, 215, 255, 0.25) 100%);
  box-shadow: inset -2px -2px 0 rgba(20, 35, 59, 0.12);
  animation: bubble-up 1.1s ease-out forwards;
}
@keyframes bubble-up {
  0% {
    transform: translate(0, 0) scale(0.4);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
    transform: translate(var(--dx), -46px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), -54px) scale(1.25);
  }
}

.sparkle {
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  pointer-events: none;
  animation: sparkle 1.4s ease-out forwards;
}
@keyframes sparkle {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  30% {
    transform: scale(1.15) rotate(30deg);
    opacity: 1;
  }
  100% {
    transform: scale(0) rotate(90deg);
    opacity: 0;
  }
}

.wipe-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 18px;
  min-height: 44px;
}
.wipe-hint {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.wipe-again {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 48px 0 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  border-top: 3px dashed var(--ink);
  opacity: 0.35;
}
.steps li {
  counter-increment: step;
  position: relative;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border: var(--edge);
  border-radius: 50%;
  background: var(--sponge);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  position: relative;
}
.steps li:last-child::before {
  background: var(--scourer);
  color: var(--white);
}
.steps p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .steps::before {
    display: none;
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
  }
  .steps li::before {
    grid-row: span 2;
    margin: 0;
  }
}

/* ---------- What you get ---------- */
.included {
  background: var(--bubble);
}
.included-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.not-included {
  margin-top: 36px;
  border-top: var(--edge);
  padding-top: 24px;
}
.not-included h3 {
  font-size: 1.3rem;
}
.not-included ul {
  padding-left: 1.2em;
  margin: 0;
  font-size: 1.02rem;
}
.not-included li {
  margin-bottom: 10px;
}

.jobsheet {
  background: var(--white);
  border: var(--edge);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}
.jobsheet-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: var(--sponge);
  border-bottom: var(--edge);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
}
.jobsheet-head span:last-child {
  font-weight: 500;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 6px 24px 10px;
}
.checklist li {
  position: relative;
  padding: 16px 0 16px 46px;
  font-size: 1.02rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed #b9c6d6;
}
.checklist li:last-child {
  border-bottom: 0;
}
.checklist b {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 26px;
  height: 26px;
  border: var(--edge);
  border-radius: 6px;
  background: var(--scourer-light)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13l5 5L21 5' fill='none' stroke='%231E7A4C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}
@media (max-width: 900px) {
  .included-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Only cleaners ---------- */
.only-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.only-grid p {
  max-width: 34em;
}
.service-pile {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.service-pile li {
  border: var(--edge);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  background: var(--white);
}
.service-pile li:nth-child(3n + 1) {
  background: var(--sponge);
  transform: rotate(-2deg);
}
.service-pile li:nth-child(4n + 2) {
  background: var(--scourer-light);
  transform: rotate(1.5deg);
}
@media (max-width: 900px) {
  .only-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.price-tag {
  border: var(--edge);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(24px, 4vw, 40px);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--display);
}
.amount {
  font-size: clamp(4.5rem, 10vw, 6.5rem);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.per {
  font-size: 1.4rem;
  font-weight: 600;
}
.price-tag ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.price-tag li {
  padding: 9px 0;
  border-bottom: 1px dashed #b9c6d6;
  font-weight: 700;
}
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.faq-list details {
  border-bottom: var(--edge);
}
.faq-list details:first-child {
  border-top: var(--edge);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border: var(--edge);
  border-radius: 50%;
  background: var(--sponge)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%2314233B' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  margin: 0 0 22px;
  max-width: 38em;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--sponge);
  border-top: var(--edge);
  padding: clamp(48px, 7vw, 88px) 0;
}
.final-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.final-grid h2 {
  margin: 0;
  max-width: 14em;
}
