/* The app's page (docs/design/Main.dc.html): the roller-stroke hero, the sample phone, features and help. */

.pm-hero { position: relative; overflow: hidden; padding: 28px 0 88px; }
.pm-hero-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.pm-hero-main { flex: 999 1 560px; min-width: 0; }

/* The roller stroke: a band of wet paint that runs off the left edge, revealed once on load. */
.pm-roll { position: relative; display: flex; align-items: stretch; margin-left: -1200px; }

.pm-band {
  flex: 1 1 auto;
  min-width: 0;
  padding: 44px 12px 60px 1200px;
  background: linear-gradient(180deg, #137079 0%, #0F5C63 52%, #0B4E54 100%);
  color: #F5F7F6;
}

.pm-title {
  margin: 0;
  font-family: var(--bricolage);
  font-weight: 800;
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.pm-edge { position: relative; flex: 0 0 clamp(56px, 8vw, 104px); margin-left: -1px; }
.pm-edge svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }

@keyframes pm-roll {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.pm-roll { animation: pm-roll 1400ms cubic-bezier(.3, .7, .2, 1) 150ms both; }

@media (prefers-reduced-motion: reduce) {
  .pm-roll { animation: none; }
}

/* Painter's tape with the line in the other language */
.pm-tape {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: -26px 0 0 0;
  padding: 10px 26px 12px;
  background: #8EC3F0;
  color: #22272B;
  font-family: var(--bricolage);
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.2;
  transform: rotate(-1.5deg);
  transform-origin: left center;
  clip-path: polygon(0 4%, 2% 18%, 0 34%, 2% 50%, 0 66%, 2% 82%, 0 96%, 100% 100%, 98% 84%, 100% 68%, 98% 52%, 100% 36%, 98% 20%, 100% 2%);
}

.pm-lede { margin: 28px 0 0; max-width: 34em; font-size: 20px; line-height: 1.5; text-wrap: pretty; }
.pm-steps-link { margin: 14px 0 0; font-size: 18px; font-weight: 700; }
/* Home's note, where the waitlist's form was until the store badges come (W6). */
.pm-soon { margin: 32px 0 0; font-family: var(--bricolage); font-weight: 700; font-size: 20px; line-height: 1.3; color: #0F5C63; }

/* The sample job on a phone */
.phone { flex: 1 1 290px; max-width: 320px; margin: 8px auto 0; display: flex; flex-direction: column; gap: 14px; }
.phone-frame { border-radius: 46px; background: #22272B; padding: 11px; box-shadow: 0 32px 64px -28px rgba(11, 78, 84, 0.55); }

.phone-screen {
  border-radius: 36px;
  background: #EEF1F0;
  padding: 30px 16px 18px;
  box-sizing: border-box;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-job { padding: 0 4px 4px; }
.phone-kicker { font-size: 13px; color: #56616A; }
.phone-job-name { font-family: var(--bricolage); font-weight: 700; font-size: 22px; line-height: 1.15; }
.phone-rooms { font-size: 14px; color: #56616A; }

.pkg { background: #FFFFFF; border: 2px solid #D3DAD8; border-radius: 14px; }
.pkg-swatch { height: 22px; background: #E6E2D6; border-radius: 12px 12px 0 0; }
.pkg-body { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.pkg-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pkg-name { font-family: var(--bricolage); font-weight: 700; font-size: 18px; }
.pkg-price { font-family: var(--bricolage); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.pkg-desc { font-size: 13px; line-height: 1.4; color: #56616A; }
.pkg-better { position: relative; border: 3px solid #0F5C63; }
.pkg-better .pkg-swatch { background: #9CC8C2; border-radius: 11px 11px 0 0; }
.pkg-best .pkg-swatch { background: #0F5C63; }

.pkg-tag {
  position: absolute;
  top: -12px;
  right: 12px;
  padding: 3px 12px 4px;
  background: #8EC3F0;
  color: #22272B;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  transform: rotate(-2deg);
  clip-path: polygon(0 6%, 4% 30%, 0 55%, 4% 80%, 0 100%, 100% 96%, 96% 70%, 100% 45%, 96% 20%, 100% 0);
}

.phone-cta {
  margin-top: auto;
  height: 50px;
  border-radius: 12px;
  background: #F6C744;
  color: #22272B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bricolage);
  font-weight: 700;
  font-size: 16px;
}

.phone figcaption { font-size: 14px; line-height: 1.4; color: #56616A; text-align: center; }

/* What the app does */
.pm-features { padding: 88px 0; background: #EEF1F0; }

.pm-h2 {
  margin: 0 0 32px;
  font-family: var(--bricolage);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; border-radius: 18px; overflow: hidden; }

.feature {
  flex: 1 1 200px;
  min-height: 300px;
  box-sizing: border-box;
  padding: 28px 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: #E6E2D6;
  color: #22272B;
}

.feature h3 { margin: 0; font-family: var(--bricolage); font-weight: 700; font-size: 23px; line-height: 1.15; }
.feature p { margin: 0; font-size: 16px; line-height: 1.5; }
.feature-satin { background: #9CC8C2; }
.feature-tape { background: #8EC3F0; }
.feature-lagoon { background: #0F5C63; color: #F5F7F6; }
.feature-charcoal { background: #22272B; color: #F5F7F6; }

/* Below 600px the chips stack, so each is shorter; from 600px they're as in the mockup. */
@media (max-width: 599.98px) {
  .feature { min-height: 180px; }
}

.pm-more { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pm-more-note { font-size: 16px; color: #56616A; }

/* Need help? The card the mockup set beside "Made by Mule Mountain Labs", which moved to
   mulemountainlabs.com's home, so it stands alone at the card's own width. */
.pm-help { padding: 88px 0; background: #F5F7F6; }
.help-card { max-width: 560px; box-sizing: border-box; padding: 28px; background: #FFFFFF; border: 1px solid #D3DAD8; border-radius: 16px; }
.help-card h2 { margin: 0; font-family: var(--bricolage); font-weight: 700; font-size: 22px; line-height: 1.2; }
/* The mockup's email ran past the card at 320px; it may break, as Home's contact email does. */
.help-card p { margin: 8px 0 0; font-size: 17px; overflow-wrap: anywhere; }
.help-card-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
