html {
  scroll-behavior: smooth;
}

.page-cms .ss-methods {
  --ss-pink: #e6005c;
  --ss-orange: #ff8a00;
  --ss-ink: #161616;
  --ss-muted: #606060;
  --ss-line: rgba(230, 0, 92, 0.18);
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px 70px;
  color: var(--ss-ink);
}

.page-cms .ss-methods *,
.page-cms .ss-methods *::before,
.page-cms .ss-methods *::after {
  box-sizing: border-box;
}

.page-cms .ss-methods h1,
.page-cms .ss-methods h2,
.page-cms .ss-methods p,
.page-cms .ss-methods ul,
.page-cms .ss-methods figure {
  margin-top: 0;
}

.page-cms .ss-methods h1,
.page-cms .ss-methods h2 {
  color: var(--ss-ink);
  text-transform: none;
}

.ss-methods__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 78px) clamp(24px, 6vw, 70px) 32px;
  border: 1px solid var(--ss-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 138, 0, 0.2), transparent 28%),
    radial-gradient(circle at 10% 100%, rgba(230, 0, 92, 0.16), transparent 34%),
    linear-gradient(135deg, #fff8fb 0%, #fff 64%, #fff8ef 100%);
  box-shadow: 0 18px 46px rgba(230, 0, 92, 0.13);
}

.ss-methods__hero::after {
  position: absolute;
  right: -64px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 42px solid rgba(230, 0, 92, 0.06);
  border-radius: 50%;
  content: "";
}

.ss-methods__hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.ss-methods__eyebrow,
.ss-methods__heading > span,
.ss-method__label {
  display: inline-block;
  color: var(--ss-pink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ss-methods__hero h1 {
  max-width: 700px;
  margin: 14px 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.ss-methods__hero-copy p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--ss-muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

.ss-methods__nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.ss-methods__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgba(230, 0, 92, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--ss-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ss-methods__nav a:hover,
.ss-methods__nav a:focus-visible {
  border-color: var(--ss-pink);
  color: var(--ss-pink);
  transform: translateY(-2px);
}

.ss-methods__intro {
  margin: 66px 0;
}

.ss-methods__heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.ss-methods__heading h2 {
  margin: 10px 0 12px;
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.ss-methods__heading p {
  margin-bottom: 0;
  color: var(--ss-muted);
  font-size: 16px;
  line-height: 1.7;
}

.ss-methods__comparison {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.ss-methods__comparison a {
  display: flex;
  min-height: 174px;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px;
  border: 1px solid var(--ss-line);
  border-radius: 18px;
  background: #fff;
  color: var(--ss-ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(30, 25, 28, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ss-methods__comparison a:hover,
.ss-methods__comparison a:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(230, 0, 92, 0.13);
}

.ss-methods__comparison strong {
  color: var(--ss-pink);
  font-size: 19px;
}

.ss-methods__comparison span {
  color: var(--ss-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ss-method {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
  margin: 0 0 74px;
  padding: clamp(26px, 4vw, 44px);
  scroll-margin-top: 120px;
  border: 1px solid var(--ss-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(30, 25, 28, 0.07);
}

.ss-method--reverse .ss-method__content {
  order: 2;
}

.ss-method--reverse .ss-method__gallery {
  order: 1;
}

.ss-method__content {
  min-width: 0;
}

.ss-method__number {
  display: block;
  margin-bottom: 7px;
  color: rgba(230, 0, 92, 0.16);
  font-size: 58px;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.05em;
}

.ss-method__content h2 {
  margin: 11px 0 16px;
  font-size: clamp(26px, 3.3vw, 36px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.ss-method__content > p {
  margin-bottom: 20px;
  color: var(--ss-muted);
  font-size: 16px;
  line-height: 1.72;
}

.ss-method__content ul {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.ss-method__content li {
  position: relative;
  padding-left: 27px;
  color: #333;
  font-size: 15px;
  line-height: 1.55;
}

.ss-method__content li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--ss-pink);
  font-weight: 900;
  content: "✓";
}

.ss-method__products {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #ececec;
}

.ss-method__products strong,
.ss-method__products span {
  font-size: 14px;
}

.ss-method__products a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(230, 0, 92, 0.2);
  border-radius: 999px;
  background: #fff7fb;
  color: var(--ss-pink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.ss-method__products a:hover,
.ss-method__products a:focus-visible {
  border-color: var(--ss-pink);
  background: var(--ss-pink);
  color: #fff;
}

.ss-method__notice {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-left: 4px solid var(--ss-orange);
  border-radius: 12px;
  background: #fff8ef;
  color: #47321b;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.ss-method__gallery {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ss-method__photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  margin-bottom: 0;
  border-radius: 16px;
  background: #f4f4f4;
  aspect-ratio: 4 / 3;
}

.ss-method__photo--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.ss-method__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ss-method__photo:hover img {
  transform: scale(1.025);
}

.ss-method__photo figcaption {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.ss-method--canvas {
  grid-template-columns: 1fr;
}

.ss-method--canvas .ss-method__content {
  max-width: 850px;
}

.ss-method__gallery--canvas {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ss-method__gallery--canvas .ss-method__photo--wide {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

.ss-methods__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 26px;
  background: linear-gradient(118deg, #e6005c 0%, #f01670 52%, #ff8a00 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(230, 0, 92, 0.25);
}

.ss-methods__cta > div {
  max-width: 720px;
}

.ss-methods__cta span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ss-methods__cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
}

.ss-methods__cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
}

.ss-methods__cta > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--ss-pink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(72, 18, 40, 0.22);
  transition: transform 0.18s ease;
}

.ss-methods__cta > a:hover,
.ss-methods__cta > a:focus-visible {
  color: var(--ss-pink);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .ss-methods__comparison {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ss-methods__comparison a {
    min-height: 140px;
  }

  .ss-method {
    grid-template-columns: 1fr;
  }

  .ss-method--reverse .ss-method__content,
  .ss-method--reverse .ss-method__gallery {
    order: initial;
  }

  .ss-method__content {
    max-width: 780px;
  }

  .ss-methods__cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .page-cms .ss-methods {
    padding: 20px 12px 48px;
  }

  .ss-methods__hero {
    padding: 34px 22px 24px;
    border-radius: 21px;
  }

  .ss-methods__hero h1 {
    font-size: 34px;
  }

  .ss-methods__hero-copy p {
    font-size: 15px;
    line-height: 1.62;
  }

  .ss-methods__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 26px;
  }

  .ss-methods__intro {
    margin: 48px 0;
  }

  .ss-methods__comparison {
    grid-template-columns: 1fr;
  }

  .ss-methods__comparison a {
    min-height: 0;
  }

  .ss-method {
    gap: 26px;
    margin-bottom: 38px;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .ss-method__number {
    font-size: 48px;
  }

  .ss-method__content h2 {
    font-size: 27px;
  }

  .ss-method__content > p {
    font-size: 15px;
  }

  .ss-method__gallery,
  .ss-method__gallery--canvas {
    grid-template-columns: 1fr;
  }

  .ss-method__photo--wide,
  .ss-method__gallery--canvas .ss-method__photo--wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .ss-methods__cta {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .ss-methods__cta > a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ss-methods__nav a,
  .ss-methods__comparison a,
  .ss-method__photo img,
  .ss-methods__cta > a {
    transition: none;
  }
}
