.pms-page {
  flex: 1;
}

.pms-page [id] {
  scroll-margin-top: calc(var(--header-h) + 56px);
}

.pms-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #063f32;
}

.pms-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}

.pms-hero .hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(4, 36, 28, 0.82) 0%,
      rgba(4, 36, 28, 0.55) 48%,
      rgba(4, 36, 28, 0.28) 100%
    ),
    linear-gradient(180deg, rgba(4, 36, 28, 0.1) 0%, rgba(4, 36, 28, 0.45) 100%);
}

.pms-hero .hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 80px;
}

.pms-hero .eyebrow {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pms-mint);
}

.pms-hero .title {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.pms-hero .subtitle {
  margin: 0 0 14px;
  max-width: 18em;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.pms-hero .desc {
  margin: 0 0 32px;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.pms-hero .actions,
.pms-pricing .actions,
.pms-cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pms-hero .btn-primary,
.pms-hero .btn-ghost,
.pms-pricing .btn-primary,
.pms-pricing .btn-ghost,
.pms-cta .btn-primary,
.pms-cta .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  gap: 8px;
}

.pms-page .btn-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.pms-hero .btn-primary,
.pms-cta .btn-primary {
  background: #fff;
  color: var(--pms-primary) !important;
}

.pms-hero .btn-primary:hover,
.pms-cta .btn-primary:hover {
  background: var(--pms-mint);
  color: var(--pms-primary-hover) !important;
}

.pms-hero .btn-ghost,
.pms-cta .btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.pms-hero .btn-ghost:hover,
.pms-cta .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
}

.pms-cta .btn-ghost {
  background: transparent;
}

.pms-anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(103, 81, 58, 0.12);
}

.pms-anchor-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pms-anchor-inner::-webkit-scrollbar {
  display: none;
}

.pms-anchor-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pms-text-secondary);
  white-space: nowrap;
  transition:
    color 0.15s,
    background 0.15s;
}

.pms-anchor-link:hover {
  color: var(--pms-primary);
  background: rgba(0, 93, 70, 0.05);
}

.pms-anchor-link.is-active {
  color: var(--pms-primary);
  font-weight: 700;
  background: rgba(0, 93, 70, 0.08);
}

.pms-pain {
  padding: 72px 20px;
  background: var(--pms-bg1);
}

.pms-pain .inner,
.pms-features .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pms-pain .title,
.pms-features .title,
.pms-scenes .title,
.pms-highlights .title,
.pms-pricing .title,
.pms-trust .title {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--pms-primary);
}

.pms-pain .lead,
.pms-features .lead,
.pms-scenes .lead,
.pms-pricing .lead,
.pms-trust .lead {
  margin: 0 0 36px;
  text-align: center;
  color: var(--pms-text-secondary);
}

.pms-pain .grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .pms-pain .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pms-pain .card {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(0, 93, 70, 0.1);
  border-radius: var(--radius);
}

.pms-pain .pain {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--pms-text-secondary);
  line-height: 1.5;
}

.pms-pain .value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pms-primary);
  line-height: 1.4;
}

.pms-features {
  padding: 72px 20px 80px;
  background: #fff;
}

.pms-features .lead {
  margin-bottom: 40px;
}

.pms-features .grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .pms-features .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .pms-features .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pms-features .card {
  padding: 22px 20px;
  background: var(--pms-bg1);
  border: 1px solid rgba(103, 81, 58, 0.08);
  border-radius: var(--radius);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.pms-features .card:hover {
  border-color: rgba(0, 93, 70, 0.2);
  box-shadow: var(--shadow-card);
}

.pms-features .name {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pms-primary);
}

.pms-features .desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--pms-text-secondary);
}

.pms-scenes {
  padding: 72px 20px;
  background: linear-gradient(180deg, var(--pms-bg1) 0%, #efe8df 100%);
}

.pms-scenes .inner {
  max-width: 1000px;
  margin: 0 auto;
}

.pms-scenes .row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .pms-scenes .row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .pms-scenes .row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pms-scenes .item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.85);
  border-top: 3px solid var(--pms-primary);
}

.pms-scenes .name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pms-primary);
}

.pms-scenes .desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--pms-text-secondary);
}

.pms-highlights {
  padding: 72px 20px;
  background: #fff;
}

.pms-highlights .inner {
  max-width: 860px;
  margin: 0 auto;
}

.pms-highlights .title {
  margin-bottom: 36px;
}

.pms-highlights .list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pms-highlights .item {
  display: grid;
  grid-template-columns: 3em 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(103, 81, 58, 0.12);
}

.pms-highlights .item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pms-highlights .num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pms-second);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.pms-highlights .name {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--pms-text);
}

.pms-highlights .desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--pms-text-secondary);
}

.pms-pricing {
  padding: 72px 20px 80px;
  background: var(--pms-bg1);
}

.pms-pricing .inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.pms-pricing .lead {
  line-height: 1.65;
}

.pms-pricing .grid {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
  text-align: left;
}

@media (min-width: 768px) {
  .pms-pricing .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pms-pricing .card {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid rgba(0, 93, 70, 0.12);
  border-radius: var(--radius);
}

.pms-pricing .name {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--pms-primary);
}

.pms-pricing .desc {
  margin: 0 0 16px;
  min-height: 3.2em;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--pms-text-secondary);
}

.pms-pricing .price {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pms-bg3);
}

.pms-pricing .actions {
  justify-content: center;
}

.pms-pricing .btn-primary,
.pms-pricing .btn-ghost {
  min-height: 46px;
  padding: 0 22px;
}

.pms-pricing .btn-primary {
  background: var(--pms-primary);
  color: #fff !important;
}

.pms-pricing .btn-primary:hover {
  background: var(--pms-primary-hover);
  color: #fff !important;
}

.pms-pricing .btn-ghost {
  border: 1px solid rgba(0, 93, 70, 0.28);
  color: var(--pms-primary);
  background: #fff;
}

.pms-pricing .btn-ghost:hover {
  border-color: var(--pms-primary);
  background: var(--pms-gray-50);
}

.pms-trust {
  padding: 72px 20px 80px;
  background: #fff;
  border-top: 1px solid rgba(103, 81, 58, 0.08);
}

.pms-trust .inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.pms-trust .title {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.pms-trust .metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .pms-trust .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .pms-trust .metrics {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.pms-trust .metric {
  padding: 28px 20px 26px;
  background: var(--pms-bg1);
  border: 1px solid rgba(0, 93, 70, 0.1);
  border-radius: var(--radius);
  text-align: center;
}

.pms-trust .value-row {
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--pms-primary);
  line-height: 1;
}

.pms-trust .value {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pms-trust .unit {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pms-second);
}

.pms-trust .label {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pms-text);
}

.pms-trust .desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--pms-text-secondary);
}

.pms-cta {
  padding: 72px 20px 88px;
  background: var(--pms-primary);
  color: #fff;
  text-align: center;
}

.pms-cta .inner {
  max-width: 640px;
  margin: 0 auto;
}

.pms-cta .title {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: #fff;
}

.pms-cta .lead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.pms-cta .actions {
  justify-content: center;
}

.mp-trial {
  position: relative;
  display: inline-flex;
}

.mp-trial .btn-ghost {
  font-family: inherit;
  cursor: pointer;
}

.mp-trial-pop {
  position: absolute;
  z-index: 6;
  left: calc(100% + 10px);
  bottom: calc(100% - 12px);
  display: none;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 45, 35, 0.2);
  text-align: center;
}

.mp-trial:hover .mp-trial-pop,
.mp-trial:focus-within .mp-trial-pop {
  display: block;
}

.mp-trial-pop img {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0 auto;
}

.mp-trial-tip {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  color: var(--pms-text);
}

@media (max-width: 640px) {
  .pms-hero .actions,
  .pms-pricing .actions,
  .pms-cta .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pms-hero .actions > .btn-primary,
  .pms-pricing .actions > .btn-primary,
  .pms-pricing .actions > .btn-ghost,
  .pms-cta .actions > .btn-primary,
  .pms-hero .actions > .mp-trial,
  .pms-pricing .actions > .mp-trial,
  .pms-cta .actions > .mp-trial,
  .mp-trial .btn-ghost {
    width: 100%;
  }

  .mp-trial-pop {
    left: auto;
    right: 0;
    bottom: calc(100% + 10px);
  }
}
